Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sd exemple 030 #131

Merged
merged 5 commits into from
Feb 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 49 additions & 4 deletions input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ Alias: $telecom = http://hl7.org/fhir/contact-point-system
Alias: $category = eclaire-reglementation-precision-code-system
Alias: $contact = eclaire-type-contact-code-system
Alias: $title-type = eclaire-study-title-type-code-system
Alias: $eclaire-status-recruitment = eclaire-status-recruitment-code-system
Alias: $eclaire-study-party-role = eclaire-study-party-role-code-system
Alias: $eclaire-study-party-organization-type = eclaire-study-party-organization-type-code-system


Instance: fake-study-example
Expand All @@ -16,15 +19,54 @@ Usage: #example
* extension[0]
* url = "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-review-date"
* valueInstant = "2023-01-06T00:00:00Z"
* extension[+]
* url = "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-approval-date"
* valueInstant = "2023-03-06T00:00:00Z"
* extension[+]
* url = "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-therapeutic-area"
* valueString = "domaine thérapeutique z"
* extension[+]
* url = "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-recruitment-period"
* valuePeriod.start = "2022-06-30T00:00:00.000Z"
* extension[+]
* url = "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-secondary-sponsor"
* valueReference = Reference(Organization/2) "Energetic Dog"
* url = "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-recruitment-status"
* valueCodeableConcept.coding = $eclaire-status-recruitment#recruiting
* extension[+]
* url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-ResearchStudy.descriptionSummary"
* valueMarkdown = "Ceci est un test de ressource pour Eclaire"
* extension[+].extension[0].valueString = "Nom de la conséquence primaire"
* extension[=].extension[=].url = "value"
* extension[=].extension[+].valueCodeableConcept.coding = $outcome-type#primary
* extension[=].extension[=].valueCodeableConcept.text = "primaire"
* extension[=].extension[=].url = "type"
* extension[=].extension[+].valueMarkdown = "Description de la conséquence primaire"
* extension[=].extension[=].url = "description"
* extension[=].extension[+].valueReference = Reference(EvidenceVariable/1) "Aïe!"
* extension[=].extension[=].url = "description"
* extension[=].url = $outcome-measure-r5
* extension[+].extension[0].valueString = "Nom de la conséquence secondaire"
* extension[=].extension[=].url = "value"
* extension[=].extension[+].valueCodeableConcept.coding = $outcome-type#secondary
* extension[=].extension[=].valueCodeableConcept.text = "secondaire"
* extension[=].extension[=].url = "type"
* extension[=].extension[+].valueMarkdown = "Description de la conséquence secondaire"
* extension[=].extension[=].url = "description"
* extension[=].extension[+].valueReference = Reference(EvidenceVariable/1) "Ouille!"
* extension[=].extension[=].url = "description"
* extension[=].url = $outcome-measure-r5
* extension[+].extension[0].valueString = "THE sponsor"
* extension[=].extension[=].url = "name"
* extension[=].extension[+].valueCodeableConcept.coding = $eclaire-study-party-role#lead-sponsor
* extension[=].extension[=].valueCodeableConcept.text = "Sponsor principal"
* extension[=].extension[=].url = "role"
* extension[=].extension[+].valuePeriod.start = "2022-06-30T00:00:00.000Z"
* extension[=].extension[=].url = "period"
* extension[=].extension[+].valueCodeableConcept.coding = $eclaire-study-party-organization-type#academic
* extension[=].extension[=].valueCodeableConcept.text = "academic"
* extension[=].extension[=].url = "classifier"
* extension[=].extension[+].valueReference = Reference(Organization/2) "Etablissement du sponsor"
* extension[=].extension[=].url = "party"
* extension[=].url = $associated-party-r5
* extension[+].extension[0].valueString = "INDISPONIBLE"
* extension[=].extension[=].url = "value"
* extension[=].extension[+].valueCodeableConcept.coding = $title-type#human-use
Expand Down Expand Up @@ -113,8 +155,6 @@ Usage: #example
* text = "Countries of recruitment"
* description = "This is a fake research study"
* enrollment = Reference(Group/6) "Fast Zebra"
* sponsor = Reference(Organization:4) "Big boss"
* principalInvestigator = Reference(Practitioner:5) "Docteur Super"
* site = Reference(Location/8) "Rainbow"
* reasonStopped
* coding = $reasonstop#closed-due-to-toxicity
Expand All @@ -123,5 +163,10 @@ Usage: #example
* arm
* name = "Slow Elephant"
* description = "Hilarious Badger"
* extension[0].extension[0].valueString = "Nom de l'intervention"
* extension[=].extension[=].url = "name"
* extension[=].extension[+].valueString = "Description de l'intervention"
* extension[=].extension[=].url = "description"
* extension[=].url = "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-arm-intervention"
* objective
* name = "Inventive Mouse"
Loading