diff --git a/.simplifier/folder.settings.json b/.simplifier/folder.settings.json new file mode 100644 index 0000000..de9eb64 --- /dev/null +++ b/.simplifier/folder.settings.json @@ -0,0 +1,4 @@ +{ + "IncludeSubdirectories": true, + "PreferredFormat": "Xml" +} \ No newline at end of file diff --git a/known-issues.yml b/known-issues.yml index d929fdf..c9c4c07 100644 --- a/known-issues.yml +++ b/known-issues.yml @@ -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. \ No newline at end of file diff --git a/zib/StructureDefinitions/ext-AddressInformation.AddressType.xml b/zib/StructureDefinitions/ext-AddressInformation.AddressType.xml index d8278f3..a61a79f 100644 --- a/zib/StructureDefinitions/ext-AddressInformation.AddressType.xml +++ b/zib/StructureDefinitions/ext-AddressInformation.AddressType.xml @@ -2,9 +2,7 @@ - -
No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.
-
+
No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.
@@ -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" /> </binding> <mapping> <identity value="zib-addressinformation-v1.2-2024EN" /> diff --git a/zib/StructureDefinitions/zib-AddressInformation.xml b/zib/StructureDefinitions/zib-AddressInformation.xml index d0ec689..f4cadd6 100644 --- a/zib/StructureDefinitions/zib-AddressInformation.xml +++ b/zib/StructureDefinitions/zib-AddressInformation.xml @@ -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. * A letter following the house number as assigned by the municipal authorities." /> <alias value="Huisnummerletter" /> <alias value="Huisnummertoevoeging" /> @@ -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" /> </binding> <mapping> <identity value="zib-addressinformation-v1.2-2024EN" /> diff --git a/zib/vocabulary/generated/ConceptMap-AdresSoortCodelijst-to-AddressType.xml b/zib/vocabulary/generated/ConceptMap-AdresSoortCodelijst-to-AddressType.xml new file mode 100644 index 0000000..f81aaab --- /dev/null +++ b/zib/vocabulary/generated/ConceptMap-AdresSoortCodelijst-to-AddressType.xml @@ -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"/> + <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> diff --git a/zib/vocabulary/generated/ConceptMap-AdresSoortCodelijst-to-AddressUse.xml b/zib/vocabulary/generated/ConceptMap-AdresSoortCodelijst-to-AddressUse.xml new file mode 100644 index 0000000..e0ee9dc --- /dev/null +++ b/zib/vocabulary/generated/ConceptMap-AdresSoortCodelijst-to-AddressUse.xml @@ -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"/> + <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>