From 3b4868b3a89980a5de0e8070ca2816413c56f150 Mon Sep 17 00:00:00 2001 From: Eduard Date: Tue, 27 Feb 2024 18:11:01 +0100 Subject: [PATCH 1/7] Initial commit of hg-CorrespondenceItem --- resources/hg-CorrespondenceItem.xml | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 resources/hg-CorrespondenceItem.xml diff --git a/resources/hg-CorrespondenceItem.xml b/resources/hg-CorrespondenceItem.xml new file mode 100644 index 0000000..7322541 --- /dev/null +++ b/resources/hg-CorrespondenceItem.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 121cd190e8d2e2bfb96232f1254b1f8b7a050cd8 Mon Sep 17 00:00:00 2001 From: Eduard Date: Tue, 27 Feb 2024 19:08:52 +0100 Subject: [PATCH 2/7] Initial commit of hg-CorrespondenceItem --- ....16.840.1.113883.2.4.3.11.60.103.11.24.xml | 43 +++++++++++++ resources/hg-CorrespondenceItem.xml | 61 +++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 Valuesets/2.16.840.1.113883.2.4.3.11.60.103.11.24.xml diff --git a/Valuesets/2.16.840.1.113883.2.4.3.11.60.103.11.24.xml b/Valuesets/2.16.840.1.113883.2.4.3.11.60.103.11.24.xml new file mode 100644 index 0000000..89dbe9b --- /dev/null +++ b/Valuesets/2.16.840.1.113883.2.4.3.11.60.103.11.24.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + <status value="draft" /> + <experimental value="true" /> + <!-- <publisher value="ntb" /> + <contact> + <name value="ntb" /> + <telecom> + <system value="url" /> + <value value="https://www.nhg.nl" /> + </telecom> + </contact> --> + <description value="NHG tabel 69 Soort correspondentie - Alle waarden" /> + <immutable value="false" /> + <compose> + <include> + <system value="https://referentiemodel.nhg.org/tabellen/nhg-tabel-69-soort-correspondentie" /> + </include> + </compose> +</ValueSet> \ No newline at end of file diff --git a/resources/hg-CorrespondenceItem.xml b/resources/hg-CorrespondenceItem.xml index 7322541..804f623 100644 --- a/resources/hg-CorrespondenceItem.xml +++ b/resources/hg-CorrespondenceItem.xml @@ -29,5 +29,66 @@ <comment value="IdentificationNumber" /> </mapping> </element> + <element id="Communication.category"> + <path value="Communication.category" /> + <binding> + <strength value="required" /> + <description value="valyeCodes for general categories of communications such as alerts, instructions, etc." /> + <valueSet value="https://decor.nictiz.nl/ad/#/hg-/terminology/valueset/2.16.840.1.113883.2.4.3.11.60.103.11.24" /> + </binding> + <mapping> + <identity value="hg-dataset-020-beta1-20230612" /> + <map value="hg-dataelement-587" /> + <comment value="CorrespondenceCategory" /> + </mapping> + </element> + <element id="Communication.encounter"> + <path value="Communication.encounter" /> + <mapping> + <identity value="hg-dataset-020-beta1-20230612" /> + <map value="hg-dataelement-1285" /> + <comment value="RelationContact" /> + </mapping> + </element> + <element id="Communication.recipient"> + <path value="Communication.recipient" /> + <mapping> + <identity value="hg-dataset-020-beta1-20230612" /> + <map value="hg-dataelement-536" /> + <comment value="CorrespondenceAddressee" /> + </mapping> + </element> + <element id="Communication.sender"> + <path value="Communication.sender" /> + <mapping> + <identity value="hg-dataset-020-beta1-20230612" /> + <map value="hg-dataelement-382" /> + <comment value="CorrespondenceSender" /> + </mapping> + </element> + <element id="Communication.note.author[x]"> + <path value="Communication.note.author[x]" /> + <mapping> + <identity value="hg-dataset-020-beta1-20230612" /> + <map value="hg-dataelement-581" /> + <comment value="CorrespondenceProcessor" /> + </mapping> + </element> + <element id="Communication.note.time"> + <path value="Communication.note.time" /> + <mapping> + <identity value="hg-dataset-020-beta1-20230612" /> + <map value="hg-dataelement-583" /> + <comment value="CorrespondenceProcessingDate" /> + </mapping> + </element> + <element id="Communication.note.text"> + <path value="Communication.note.text" /> + <mapping> + <identity value="hg-dataset-020-beta1-20230612" /> + <map value="hg-dataelement-381" /> + <comment value="CorrespondenceSummary" /> + </mapping> + </element> </differential> </StructureDefinition> \ No newline at end of file From 4b6e125beb7e29f5ae89ab158612c438668cdb14 Mon Sep 17 00:00:00 2001 From: Eduard <rijcke@nictiz.nl> Date: Fri, 8 Mar 2024 14:02:47 +0100 Subject: [PATCH 3/7] Initial commit of hg-CorrespondenceItem including hg-Document --- resources/hg-CorrespondenceItem.xml | 2 +- resources/hg-Document.xml | 54 +++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 resources/hg-Document.xml diff --git a/resources/hg-CorrespondenceItem.xml b/resources/hg-CorrespondenceItem.xml index 804f623..d6cd8e7 100644 --- a/resources/hg-CorrespondenceItem.xml +++ b/resources/hg-CorrespondenceItem.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <StructureDefinition xmlns="http://hl7.org/fhir"> <id value="hg-CorrespondenceItem" /> - <url value="https://example.org/fhir/StructureDefinition/hg-CorrespondenceItem" /> + <url value="http://nictiz.nl/fhir/StructureDefinition/hg-CorrespondenceItem" /> <name value="HgCorrespondenceItem" /> <status value="draft" /> <description value="An CorrespondenceItem as used within the medical record (Dossiergegevens) section in the ELZ data set. It is based on the HL7 FHIR Communcation core 4.0.1 resource as much as possible, but adds some elements that are necessary for data exchange in the primary care domain." /> diff --git a/resources/hg-Document.xml b/resources/hg-Document.xml new file mode 100644 index 0000000..bfeb546 --- /dev/null +++ b/resources/hg-Document.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="utf-8"?> +<StructureDefinition xmlns="http://hl7.org/fhir"> + <id value="hg-Document" /> + <url value="http://nictiz.nl/fhir/StructureDefinition/hg-Document" /> + <name value="HgDocument" /> + <status value="draft" /> + <description value="An Document as used within the medical record (Dossiergegevens) section in the ELZ data set. It is based on the HL7 FHIR DocumentReference core 4.0.1 resource as much as possible, but adds some elements that are necessary for data exchange in the primary care domain." /> + <purpose value="A derived profile from [DocumentReference](http://hl7.org/fhir/R4/documentreference.html) to provide a version better suited for use in ELZ use cases." /> + <fhirVersion value="4.0.1" /> + <mapping> + <identity value="hg-dataset-020-beta1-20230612" /> + <uri value="https://decor.nictiz.nl/pub/eerstelijnszorg/hg-html-20230612T223800/ds-2.16.840.1.113883.2.4.3.11.60.103.1.1-2020-10-19T175239.html" /> + <comment value="ART-DECOR dataset ELZ 0.2.0-beta.1 20230612" /> + </mapping> + <kind value="resource" /> + <abstract value="false" /> + <type value="DocumentReference" /> + <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DocumentReference" /> + <derivation value="constraint" /> + <differential> + <element id="DocumentReference.masterIdentifier"> + <path value="DocumentReference.masterIdentifier" /> + <mapping> + <identity value="hg-dataset-020-beta1-20230612" /> + <map value="hg-dataelement-375" /> + <comment value="DocumentIdentification" /> + </mapping> + </element> + <element id="DocumentReference.identifier"> + <path value="DocumentReference.identifier" /> + <mapping> + <identity value="hg-dataset-020-beta1-20230612" /> + <map value="hg-dataelement-379" /> + <comment value="DocumentSetIdentification" /> + </mapping> + </element> + <element id="DocumentReference.content.attachment"> + <path value="DocumentReference.content.attachment" /> + <mapping> + <identity value="hg-dataset-020-beta1-20230612" /> + <map value="hg-dataelement-378" /> + <comment value="DocumentContent" /> + </mapping> + </element> + <element id="DocumentReference.content.attachment.contentType"> + <path value="DocumentReference.content.attachment.contentType" /> + <mapping> + <identity value="hg-dataset-020-beta1-20230612" /> + <map value="hg-dataelement-377" /> + <comment value="DocumentFileType" /> + </mapping> + </element> + </differential> +</StructureDefinition> \ No newline at end of file From a44563451a478777440f0da4f469fd5b7900b1f4 Mon Sep 17 00:00:00 2001 From: Eduard <rijcke@nictiz.nl> Date: Tue, 11 Jun 2024 11:17:38 +0200 Subject: [PATCH 4/7] Added the EpisodeOfCare mapping --- resources/hg-CorrespondenceItem.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/resources/hg-CorrespondenceItem.xml b/resources/hg-CorrespondenceItem.xml index d6cd8e7..6b847e6 100644 --- a/resources/hg-CorrespondenceItem.xml +++ b/resources/hg-CorrespondenceItem.xml @@ -29,6 +29,14 @@ <comment value="IdentificationNumber" /> </mapping> </element> + <element id="Communication.basedOn"> + <path value="Communication.basedOn" /> + <mapping> + <identity value="hg-dataset-020-beta1-20230612" /> + <map value="hg-dataelement-1288" /> + <comment value="EpisodeOfCare" /> + </mapping> + </element> <element id="Communication.category"> <path value="Communication.category" /> <binding> From a6f9119311c253c24c5a1a56eec3d383bd7e5274 Mon Sep 17 00:00:00 2001 From: Eduard <rijcke@nictiz.nl> Date: Mon, 15 Jul 2024 16:59:32 +0200 Subject: [PATCH 5/7] Added some additional information after the QA R4 Guide Lines validation --- resources/hg-CorrespondenceItem.xml | 14 +++++++++++++- resources/hg-Document.xml | 14 +++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/resources/hg-CorrespondenceItem.xml b/resources/hg-CorrespondenceItem.xml index 6b847e6..6577920 100644 --- a/resources/hg-CorrespondenceItem.xml +++ b/resources/hg-CorrespondenceItem.xml @@ -3,14 +3,26 @@ <id value="hg-CorrespondenceItem" /> <url value="http://nictiz.nl/fhir/StructureDefinition/hg-CorrespondenceItem" /> <name value="HgCorrespondenceItem" /> + <title value="hg CorrespondenceItem" /> <status value="draft" /> + <publisher value="Nictiz" /> + <contact> + <name value="Nictiz" /> + <telecom> + <system value="url" /> + <value value="https://www.nictiz.nl" /> + <use value="work" /> + </telecom> + </contact> <description value="An CorrespondenceItem as used within the medical record (Dossiergegevens) section in the ELZ data set. It is based on the HL7 FHIR Communcation core 4.0.1 resource as much as possible, but adds some elements that are necessary for data exchange in the primary care domain." /> <purpose value="A derived profile from [Communication](http://hl7.org/fhir/R4/communication.html) to provide a version better suited for use in ELZ use cases." /> + <copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." /> <fhirVersion value="4.0.1" /> <mapping> <identity value="hg-dataset-020-beta1-20230612" /> <uri value="https://decor.nictiz.nl/pub/eerstelijnszorg/hg-html-20230612T223800/ds-2.16.840.1.113883.2.4.3.11.60.103.1.1-2020-10-19T175239.html" /> - <comment value="ART-DECOR dataset ELZ 0.2.0-beta.1 20230612" /> + <name value="ART-DECOR dataset ELZ 0.2.0-beta.1 20230612" /> + <comment value="Relation with the ELZ data set." /> </mapping> <kind value="resource" /> <abstract value="false" /> diff --git a/resources/hg-Document.xml b/resources/hg-Document.xml index bfeb546..6193058 100644 --- a/resources/hg-Document.xml +++ b/resources/hg-Document.xml @@ -3,14 +3,26 @@ <id value="hg-Document" /> <url value="http://nictiz.nl/fhir/StructureDefinition/hg-Document" /> <name value="HgDocument" /> + <title value="hg Document" /> <status value="draft" /> + <publisher value="Nictiz" /> + <contact> + <name value="Nictiz" /> + <telecom> + <system value="url" /> + <value value="https://www.nictiz.nl" /> + <use value="work" /> + </telecom> + </contact> <description value="An Document as used within the medical record (Dossiergegevens) section in the ELZ data set. It is based on the HL7 FHIR DocumentReference core 4.0.1 resource as much as possible, but adds some elements that are necessary for data exchange in the primary care domain." /> <purpose value="A derived profile from [DocumentReference](http://hl7.org/fhir/R4/documentreference.html) to provide a version better suited for use in ELZ use cases." /> + <copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." /> <fhirVersion value="4.0.1" /> <mapping> <identity value="hg-dataset-020-beta1-20230612" /> <uri value="https://decor.nictiz.nl/pub/eerstelijnszorg/hg-html-20230612T223800/ds-2.16.840.1.113883.2.4.3.11.60.103.1.1-2020-10-19T175239.html" /> - <comment value="ART-DECOR dataset ELZ 0.2.0-beta.1 20230612" /> + <name value="ART-DECOR dataset ELZ 0.2.0-beta.1 20230612" /> + <comment value="Relation with the ELZ data set." /> </mapping> <kind value="resource" /> <abstract value="false" /> From 438b8014b2f2c8579acf3c54d04db147d1285657 Mon Sep 17 00:00:00 2001 From: Eduard <rijcke@nictiz.nl> Date: Thu, 10 Oct 2024 13:59:06 +0200 Subject: [PATCH 6/7] Textual fix --- resources/hg-CorrespondenceItem.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/hg-CorrespondenceItem.xml b/resources/hg-CorrespondenceItem.xml index 6577920..627df14 100644 --- a/resources/hg-CorrespondenceItem.xml +++ b/resources/hg-CorrespondenceItem.xml @@ -53,7 +53,7 @@ <path value="Communication.category" /> <binding> <strength value="required" /> - <description value="valyeCodes for general categories of communications such as alerts, instructions, etc." /> + <description value="valueCodes for general categories of communications such as alerts, instructions, etc." /> <valueSet value="https://decor.nictiz.nl/ad/#/hg-/terminology/valueset/2.16.840.1.113883.2.4.3.11.60.103.11.24" /> </binding> <mapping> From af42f05e1b8c3206d5265476d56373a50c65025b Mon Sep 17 00:00:00 2001 From: Eduard <rijcke@nictiz.nl> Date: Thu, 10 Oct 2024 14:29:38 +0200 Subject: [PATCH 7/7] Added a reference to hg-Document profile in hg-CorrespondenceItem --- resources/hg-CorrespondenceItem.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/resources/hg-CorrespondenceItem.xml b/resources/hg-CorrespondenceItem.xml index 627df14..a4e68e5 100644 --- a/resources/hg-CorrespondenceItem.xml +++ b/resources/hg-CorrespondenceItem.xml @@ -86,6 +86,22 @@ <comment value="CorrespondenceSender" /> </mapping> </element> + <element id="Communication.reasonReference"> + <path value="Communication.reasonReference" /> + <type> + <code value="Reference" /> + <profile value="http://nictiz.nl/fhir/StructureDefinition/hg-Document" /> + <targetProfile value="http://hl7.org/fhir/StructureDefinition/Condition" /> + <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" /> + <targetProfile value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport" /> + <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference" /> + </type> + <mapping> + <identity value="hg-dataset-020-beta1-20230612" /> + <map value="hg-dataelement-374" /> + <comment value="Document" /> + </mapping> + </element> <element id="Communication.note.author[x]"> <path value="Communication.note.author[x]" /> <mapping>