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

hg-CorrespondenceItem #29

Open
wants to merge 7 commits into
base: develop-profiles
Choose a base branch
from
Open
Show file tree
Hide file tree
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
43 changes: 43 additions & 0 deletions Valuesets/2.16.840.1.113883.2.4.3.11.60.103.11.24.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<ValueSet xmlns="http://hl7.org/fhir">
<id value="2.16.840.1.113883.2.4.3.11.60.103.11.24" />
<meta>
<source 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" />
<profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset" />
<!--<profile value="http://hl7.org/fhir/4.0/StructureDefinition/ValueSet"/>-->
<tag>
<system value="http://hl7.org/fhir/FHIR-version" />
<code value="4.0.1" />
</tag>
</meta>
<!-- <extension url="http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod">
<valuePeriod>
<start value="2020-09-01T00:00:00Z" />
</valuePeriod>
</extension> -->
<url value="https://decor.nictiz.nl/ad/#/hg-/terminology/valueset/2.16.840.1.113883.2.4.3.11.60.103.11.24" />
<!-- <identifier>
<use value="official" />
<system value="urn:ietf:rfc:3986" />
<value value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.2.14.1.8" />
</identifier>
<version value="2020-09-01T00:00:00" />-->
<name value="SoortCorrespondentieNHGCodelijst" />
<title value="SoortCorrespondentieNHGCodelijst" />
<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>
130 changes: 130 additions & 0 deletions resources/hg-CorrespondenceItem.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing short, alias and definition for every mapped element

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Targetprofiles for nl-core are missing

<StructureDefinition xmlns="http://hl7.org/fhir">
<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." />
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelfout HL7 FHIR Communication

<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" />
<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" />
<type value="Communication" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Communication" />
<derivation value="constraint" />
<differential>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing mapping dataelement 380 on root, short, alias, definition

<element id="Communication.identifier">
<path value="Communication.identifier" />
<short value="IdentificationNumber" />
<definition value="Globally unique number that identifies the instantiation of the information model. The number is composed of an identification of the issuer organization and a unique number assigned by this organization." />
<alias value="Identificatienummer" />
<mapping>
<identity value="hg-dataset-020-beta1-20230612" />
<map value="hg-dataelement-1282" />
<comment value="IdentificationNumber" />
</mapping>
</element>
<element id="Communication.basedOn">
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing short RelationEpisodeOfCare, alias RelatieZorgepisode and definition. English name and definition in ART-DECOR should be added as well.

<path value="Communication.basedOn" />
<mapping>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing target nl-core EpisodeOfCare profile

<identity value="hg-dataset-020-beta1-20230612" />
<map value="hg-dataelement-1288" />
<comment value="EpisodeOfCare" />
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RelationEpisodeOfCare

</mapping>
</element>
<element id="Communication.category">
<path value="Communication.category" />
<binding>
<strength value="required" />
<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>
<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.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>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is reasonReference the correct element or should it be payload.contentReference?

<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>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The author of the message is not the author of the note. I think this should be mapped somewhere else. Same for CorrespondenceProcessingDate.

<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" />
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be mapped on payload.contentString or DocumentReference.description?

</mapping>
</element>
</differential>
</StructureDefinition>
66 changes: 66 additions & 0 deletions resources/hg-Document.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing mapping of DocumentVersienummer (376)

<StructureDefinition xmlns="http://hl7.org/fhir">
<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." />
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A Document

<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" />
<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" />
<type value="DocumentReference" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/DocumentReference" />
<derivation value="constraint" />
<differential>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing mapping dataelement 374, alias, short, definition.

<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>