Skip to content

Commit

Permalink
Added conceptmaps and valuesets changes also known-issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwin-nictiz committed Sep 10, 2024
1 parent 081cf68 commit 583c0e8
Show file tree
Hide file tree
Showing 6 changed files with 172 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .simplifier/folder.settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"IncludeSubdirectories": true,
"PreferredFormat": "Xml"
}
9 changes: 9 additions & 0 deletions known-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,12 @@ issues should occur: true
# These might occur in one or more profiles, or in none if they have been fixed in the meantime.

issues should occur: false

zib-AddressInformation:
zib deviations:
Address.line.extension:houseNumberIndication.value[x]:
- datatype: string instead of CD
reason: The mapping of zib AddressInformation on the FHIR Address datatype is the result of compatibility with HL7v3, which is the format that a lot of healthcare data in the Netherlands is stored in. As a result of this, the zib concept HouseNumberIndication with CD datatype is mapped to a FHIR string datatype with a constraint added (the value can only be 'by' or 'to').
Address.line.extension:*.value[x]:
- cardinality: 1..1 instead of 0..1
reason: The value of the extension is required, but the extension itself is optional, making the effective cardinality 0..1 as required by the zib.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="ext-AddressInformation.AddressType" />
<text>
<status value="empty"/>
<div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
</text>
<status value="empty" /><div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div></text>
<url value="http://nictiz.nl/fhir/StructureDefinition/ext-AddressInformation.AddressType" />
<name value="ExtAddressInformationAddressType" />
<title value="ext AddressInformation.AddressType" />
Expand Down Expand Up @@ -51,7 +49,7 @@
</type>
<binding>
<strength value="extensible" />
<valueSet value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.5.3--20200901000000" />
<valueSet value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.5.3--20240415000000" />

Check notice on line 52 in zib/StructureDefinitions/ext-AddressInformation.AddressType.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Canonical URL 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.5.3--20240415000000' does not resolve (at StructureDefinition.differential.element[1].binding.valueSet)
</binding>
<mapping>
<identity value="zib-addressinformation-v1.2-2024EN" />
Expand Down
4 changes: 2 additions & 2 deletions zib/StructureDefinitions/zib-AddressInformation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
</element>
<element id="Address.line.extension:houseNumberLetter-houseNumberAddition.value[x]">
<path value="Address.line.extension.value[x]" />
<short value="HouseNumberAddition / HouseNumberLetter" />
<short value="HouseNumberLetter / HouseNumberAddition" />
<definition value="* The letters or signs needed to locate the mailbox, in addition to the house number and letter.&#xD;&#xA;* A letter following the house number as assigned by the municipal authorities." />
<alias value="Huisnummerletter" />
<alias value="Huisnummertoevoeging" />
Expand Down Expand Up @@ -266,7 +266,7 @@
<alias value="Land" />
<binding>
<strength value="required" />
<valueSet value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.121.11.10--20200901000000" />
<valueSet value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.121.11.10--20240415000000" />

Check notice on line 269 in zib/StructureDefinitions/zib-AddressInformation.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Canonical URL 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.121.11.10--20240415000000' does not resolve (at StructureDefinition.differential.element[21].binding.valueSet)
</binding>
<mapping>
<identity value="zib-addressinformation-v1.2-2024EN" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<ConceptMap xmlns="http://hl7.org/fhir">
<id value="AdresSoortCodelijst-to-AddressType"/>
<text>
<status value="empty"/>
<div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/concept-bidirectional">
<valueBoolean value="false"/>
</extension>
<url value="http://nictiz.nl/fhir/ConceptMap/AdresSoortCodelijst-to-AddressType"/>
<version value="0.0.1"/>
<name value="AdresSoortCodelijst_to_AddressType"/>
<title value="AdresSoortCodelijst to AddressType"/>
<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="Maps AddressType codes as found in the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) AddressInformation v1.2 (2024)](https://zibs.nl/wiki/AddressInformation-v1.2(2024EN)) to `Address.type` codes as found in FHIR R4."/>
<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."/>
<sourceCanonical value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.5.3--20240415000000"/>

Check notice on line 26 in zib/vocabulary/generated/ConceptMap-AdresSoortCodelijst-to-AddressType.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Canonical URL 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.5.3--20240415000000' does not resolve (at ConceptMap.source.ofType(canonical))
<targetCanonical value="http://hl7.org/fhir/ValueSet/address-type"/>
<group>
<!-- 2.16.840.1.113883.5.1119 -->
<source value="http://terminology.hl7.org/CodeSystem/v3-AddressUse"/>
<target value="http://hl7.org/fhir/address-type"/>
<element>
<code value="PST"/>
<target>
<code value="postal"/>
<equivalence value="equal"/>
</target>
</element>
<element>
<code value="HP"/>
<target>
<code value="both"/>
<equivalence value="equivalent"/>
<comment value="HP: Primary Home/Officieel adres. An address that is both physical and postal. Use in conjunction with Address.use = 'home'. In exceptional cases, the HP address is not the primary postal address, but nevertheless 'both' is the most suitable type to differentiate HP from PHYS."/>
</target>
</element>
<element>
<code value="PHYS"/>
<target>
<code value="physical"/>
<equivalence value="equivalent"/>
<comment value="PHYS: Visit Address/Woon-/verblijfadres. A physical address that can be visited. Use in conjunction with Address.use = 'home'."/>
</target>
</element>
<element>
<code value="TMP"/>
<target>
<equivalence value="unmatched"/>
<comment value="Temporary Address/Tijdelijk adres. Use Address.use = 'temp'."/>
</target>
</element>
<element>
<code value="WP"/>
<target>
<equivalence value="unmatched"/>
<comment value="Work Place/Werkadres. Use Address.use = 'work'. A work place could be postal/physical or both. Which it is, is not known from the zib AddressInformation."/>
</target>
</element>
<element>
<code value="HV"/>
<target>
<equivalence value="unmatched"/>
<comment value="HV: Vacation Home/Vakantie adres. A physical address that can be visited."/>
</target>
</element>
</group>
</ConceptMap>
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<ConceptMap xmlns="http://hl7.org/fhir">
<id value="AdresSoortCodelijst-to-AddressUse"/>
<text>
<status value="empty"/>
<div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/concept-bidirectional">
<valueBoolean value="false"/>
</extension>
<url value="http://nictiz.nl/fhir/ConceptMap/AdresSoortCodelijst-to-AddressUse"/>
<version value="0.0.1"/>
<name value="AdresSoortCodelijst_to_AddressUse"/>
<title value="AdresSoortCodelijst to AddressUse"/>
<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="Maps AddressType codes as found in the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) AddressInformation v1.2 (2024)](https://zibs.nl/wiki/AddressInformation-v1.2(2024EN)) to `Address.use` codes as found in FHIR R4."/>
<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."/>
<sourceCanonical value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.5.3--20240415000000"/>

Check notice on line 26 in zib/vocabulary/generated/ConceptMap-AdresSoortCodelijst-to-AddressUse.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Canonical URL 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.5.3--20240415000000' does not resolve (at ConceptMap.source.ofType(canonical))
<targetCanonical value="http://hl7.org/fhir/ValueSet/address-use"/>
<group>
<!-- 2.16.840.1.113883.5.1119 -->
<source value="http://terminology.hl7.org/CodeSystem/v3-AddressUse"/>
<target value="http://hl7.org/fhir/address-use"/>
<element>
<code value="PST"/>
<target>
<equivalence value="unmatched"/>
<comment value="PST: Postal Address/Postadres. Postal addresses are marked in Address.type = 'postal'."/>
</target>
</element>
<element>
<code value="HP"/>
<target>
<code value="home"/>
<equivalence value="subsumes"/>
<comment value="HP: Primary Home/Officieel adres. A communication address at a home. Use in conjunction with Address.type = 'both'."/>
</target>
</element>
<element>
<code value="PHYS"/>
<target>
<code value="home"/>
<equivalence value="subsumes"/>
<comment value="PHYS: Visit Address/Woon-/verblijfadres. A communication address at a home. Use in conjunction with Address.type = 'physical'."/>
</target>
</element>
<element>
<code value="TMP"/>
<target>
<code value="temp"/>
<equivalence value="equal"/>
</target>
</element>
<element>
<code value="WP"/>
<target>
<code value="work"/>
<equivalence value="equal"/>
</target>
</element>
<element>
<code value="HV"/>
<target>
<code value="temp"/>
<equivalence value="wider"/>
<comment value="HV: Vacation Home/Vakantie adres. Any temporary address."/>
</target>
</element>
</group>
</ConceptMap>

0 comments on commit 583c0e8

Please sign in to comment.