From 4d40c7ca7fac20a5062621c47ca30bd7f66777bf Mon Sep 17 00:00:00 2001 From: sdemeyANS Date: Fri, 23 Feb 2024 16:26:58 +0100 Subject: [PATCH 1/5] Update ECLAIREResearchStudy-fake-example.fsh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mise à jour de l'exemple fake --- .../ECLAIREResearchStudy-fake-example.fsh | 55 +++++++++++++++++-- 1 file changed, 51 insertions(+), 4 deletions(-) diff --git a/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh b/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh index e94723a07..50bbc506f 100644 --- a/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh +++ b/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh @@ -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 @@ -16,6 +19,9 @@ 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" @@ -23,8 +29,44 @@ Usage: #example * 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 @@ -113,8 +155,8 @@ 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" +//* sponsor = Reference(Organization:4) "Big boss" +//* principalInvestigator = Reference(Practitioner:5) "Docteur Super" * site = Reference(Location/8) "Rainbow" * reasonStopped * coding = $reasonstop#closed-due-to-toxicity @@ -123,5 +165,10 @@ Usage: #example * arm * name = "Slow Elephant" * description = "Hilarious Badger" + * extension[+].extension[0].valueString = "Nom de l'intervention" + * extension[=].extension[=].url = "name" + * extension[+].extension[0].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" \ No newline at end of file From cf7b96662242578152b98e4f033b99a30f7bac5b Mon Sep 17 00:00:00 2001 From: sdemeyANS Date: Fri, 23 Feb 2024 16:31:18 +0100 Subject: [PATCH 2/5] typo --- input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh b/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh index 50bbc506f..5022d5109 100644 --- a/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh +++ b/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh @@ -167,7 +167,7 @@ Usage: #example * description = "Hilarious Badger" * extension[+].extension[0].valueString = "Nom de l'intervention" * extension[=].extension[=].url = "name" - * extension[+].extension[0].valueString = "Description de l'intervention" + * 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 From 716ecb94fbe0b2d86e664dc6135dd731dcd1b892 Mon Sep 17 00:00:00 2001 From: sdemeyANS Date: Fri, 23 Feb 2024 16:33:54 +0100 Subject: [PATCH 3/5] typo 2 --- input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh b/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh index 5022d5109..a441a58e4 100644 --- a/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh +++ b/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh @@ -165,7 +165,7 @@ Usage: #example * arm * name = "Slow Elephant" * description = "Hilarious Badger" - * extension[+].extension[0].valueString = "Nom de l'intervention" + * extension[0].extension[0].valueString = "Nom de l'intervention" * extension[=].extension[=].url = "name" * extension[+].extension[+].valueString = "Description de l'intervention" * extension[=].extension[=].url = "description" From 90ebc31d64f51efb3a4d8361abc4fe916b4e3a9d Mon Sep 17 00:00:00 2001 From: sdemeyANS Date: Fri, 23 Feb 2024 16:40:36 +0100 Subject: [PATCH 4/5] revert --- input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh b/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh index a441a58e4..5763e917f 100644 --- a/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh +++ b/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh @@ -167,7 +167,7 @@ Usage: #example * 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[+].valueString = "Description de l'intervention" * extension[=].extension[=].url = "description" * extension[=].url = "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-arm-intervention" * objective From b9125380eac6907d83f1c2f8c1d16b8dd00300cc Mon Sep 17 00:00:00 2001 From: sdemeyANS Date: Fri, 23 Feb 2024 16:45:40 +0100 Subject: [PATCH 5/5] suppr anciens elements --- input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh | 2 -- 1 file changed, 2 deletions(-) diff --git a/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh b/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh index 5763e917f..5689b61bd 100644 --- a/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh +++ b/input/fsh/Examples/ECLAIREResearchStudy-fake-example.fsh @@ -155,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