Skip to content
Open
Show file tree
Hide file tree
Changes from 16 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
111 changes: 111 additions & 0 deletions examples/nl-core-FamilySituation-01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
<?xml version="1.0" encoding="UTF-8"?>
<Observation xmlns="http://hl7.org/fhir">
<id value="nl-core-FamilySituation-01"/>
<meta>
<profile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-FamilySituation"/>
</meta>
<status value="final"/>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="365470003"/>
<display value="bevinding betreffende gegevens over gezin en gezinssamenstelling"/>
</coding>
</code>
<subject>
<reference value="Patient/nl-core-TreatmentDirective2-02-Patient-01"/>
<type value="Patient"/>
<display value="Patient, Jan Pieter Mark (Piet) Pietersen"/>
</subject>
<note>
<text value="Beide inwonende kinderen zijn zeer zelfstandig."/>
</note>
<component>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="224130005"/>
<display value="gezinssamenstelling"/>
</coding>
</code>
<valueCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="160756002"/>
<display value="woont met familie"/>
</coding>
</valueCodeableConcept>
</component>
<component>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="224118004"/>
<display value="aantal nakomelingen"/>
</coding>
</code>
<valueInteger value="3"/>
</component>
<component>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="55811000146107"/>
<display value="aantal thuiswonende kinderen"/>
</coding>
</code>
<valueInteger value="2"/>
</component>
<component>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="270111000146104"/>
<display value="zorgtaken"/>
</coding>
</code>
<valueString value="Heeft zorg voor vader die in huis woont."/>
</component>
<component>
<extension url="http://nictiz.nl/fhir/StructureDefinition/ext-FamiliySituation.LivingAtHome">
<valueBoolean value="true"/>
</extension>
<extension url="http://nictiz.nl/fhir/StructureDefinition/ext-Comment">
<valueString value="Jongste kind"/>
</extension>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="67822003"/>
<display value="kind"/>
</coding>
</code>
<valueDateTime value="2011-04-19"/>
</component>
<component>
<extension url="http://nictiz.nl/fhir/StructureDefinition/ext-FamiliySituation.LivingAtHome">
<valueBoolean value="true"/>
</extension>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="67822003"/>
<display value="kind"/>
</coding>
</code>
<valueDateTime value="2003-01-01"/>
</component>
<component>
<extension url="http://nictiz.nl/fhir/StructureDefinition/ext-FamiliySituation.LivingAtHome">
<valueBoolean value="false"/>
</extension>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="67822003"/>
<display value="kind"/>
</coding>
</code>
<valueDateTime value="2001-07-01"/>
</component>
</Observation>
16 changes: 13 additions & 3 deletions known-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,9 @@ zib-Patient:
reason: The mapping is placed on the extension and not on the value[x] because of the nature of this extension. The extension itself contains a valueCoding that gets the zibs value. This datatype matches the zib CD type.
- cardinality: 0..* instead of 0..1
reason: Because of the nature of this extension the cardinality has a mismatch. Three zib concepts are mapped to this extension. Therefore the extension cannot be 0..1, but should be able to repeat.
Patient.maritalStatus:
- datatype: CodeableConcept instead of a reference
reason: The appropriate representation of zib MaritalStatus in FHIR is Patient.maritalStatus, not a separate resource.
additional notes:
Patient.telecom: Although there is a cardinality mismatch for the mapping of zib concept Patient.ContactInformation on this element (as pointed out above), the cardinalities between zib and FHIR do match for the mapping of zib concept Payer.ContactInformation (NL-CM:1.1.12), as these are both 0..*.

Expand Down Expand Up @@ -745,12 +748,19 @@ nl-core-BodyHeight-*:
Observation.value.ofType(Quantity).code:
- message: The value provided ('cm') is not in the value set 'Body Length Units'
reason: In absence of a terminology server, the Validator cannot check if 'cm' is a valid UCUM unit and raises an error.

nl-core-DOSScore-01:
ignored issues:
Observation.code.coding[0]:
- message: 'Local Error: Resolved system http://snomed.info/sct, but the definition is not complete. Server Error: Unable to find code 160591000146109 in http://snomed.info/sct'
reason: This is a Dutch SNOMED extension which is not present yet on the international terminology server.

nl-core-FamilySituation-01:
ignored issues:
Observation.component[3].code.coding[0]:
- message: 'Unable to find code 270111000146104 in http://snomed.info/sct'
reason: This is a Dutch SNOMED extension which is not present yet on the international terminology server.

nl-core-*Function.*Aid-*:
ignored issues:
DeviceUseStatement:
Expand Down Expand Up @@ -828,10 +838,10 @@ zib-ContactPerson:
- message: "Rule sd-pg-04: 'If mapping.map exists and the mapping is not implicit, alias should exist.'"
reason: The alias is defined on the datatype profile and not repeated in the differential.

zib-DOSScore:
zib-FamilySituation:
ignored issues:
StructureDefinition.differential.element[1].pattern.ofType(CodeableConcept).coding[0]:
- message: 'Local Error: Resolved system http://snomed.info/sct, but the definition is not complete. Server Error: Unable to find code 160591000146109 in http://snomed.info/sct'
Observation.component:careResponsibility.code:
- message: Unable to find code 270111000146104 in http://snomed.info/sct
reason: This is a Dutch SNOMED extension which is not present yet on the international terminology server.

zib-HealthcareProvider:
Expand Down
4 changes: 4 additions & 0 deletions release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ This document contains release notes per zib, indicating differences with their
* The extension EpisodOfCare-Title has been replaced by ext-EpisodeOfCare.EpisodeOfCareName because this zib concept is functionally equivalent.
* The extensions EpisodeOfCare-DateFirstEncounter and EpisodeOfCare-DateLastEncounter from the previous profile are not inherited because no functional backing exists.

## zib-FamilySituation
* The code on `Observation.component:careResponsibility.code` has changed to 270111000146104.
* A new extension commentChild has been added on `Observation.component:child`.

## zib-FeedingPatternInfant
* No specific changes have been made to this profile other than the generic changes for the Observation resource.

Expand Down
49 changes: 49 additions & 0 deletions resources/nl-core/nl-core-FamilySituation.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="nl-core-FamilySituation" />
<url value="http://nictiz.nl/fhir/StructureDefinition/nl-core-FamilySituation" />
<name value="NlcoreFamilySituation" />
<title value="nl core FamilySituation" />
<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="Traditionally, a family is defined as a group of people of one or more adults who carry responsibility for caring for and raising one or more children.&#xD;&#xA;Currently, the term is used more broadly for all forms of cohabitation which form a recognizable social unit, of people who are or who are not related and who have long-lasting, affective bonds and provide each other with support and care." />
<purpose value="A derived profile from [zib-FamilySituation](http://nictiz.nl/fhir/StructureDefinition/zib-FamilySituation) to provide a version better suited for implementation purposes. This profile augments the base profile with elements found in the various use cases that have adopted the zib." />
<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="zib-familysituation-v3.2-2020EN" />
<uri value="https://zibs.nl/wiki/FamilySituation-v3.2(2020EN)" />
<name value="zib FamilySituation-v3.2(2020EN)" />
</mapping>
<kind value="resource" />
<abstract value="false" />
<type value="Observation" />
<baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-FamilySituation" />
<derivation value="constraint" />
<differential>
<element id="Observation">
<path value="Observation" />
<comment value="The MaritalStatus concept of zib FamilySituation can be found in the instance of nl-core-Patient referenced in `.subject`." />
<alias value="nl-core-FamilySituation" />
</element>
<element id="Observation.subject">
<path value="Observation.subject" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Group" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Location" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient" />
</type>
</element>
</differential>
</StructureDefinition>
55 changes: 55 additions & 0 deletions resources/zib/ext-FamiliySituation.LivingAtHome.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="ext-FamiliySituation.LivingAtHome" />
<url value="http://nictiz.nl/fhir/StructureDefinition/ext-FamiliySituation.LivingAtHome" />
<name value="ExtFamiliySituationLivingAtHome" />
<title value="ext FamiliySituation.LivingAtHome" />
<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 extension for keeping track of the children living at home." />
<purpose value="This extension represents the LivingAtHome concept of [zib FamiliySituation v3.2(2020)](https://zibs.nl/wiki/FamilySituation-v3.2(2020EN))" />
<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="zib-familysituation-v3.2-2020EN" />
<uri value="https://zibs.nl/wiki/FamilySituation-v3.2(2020EN)" />
<name value="zib FamilySituation-v3.2(2020EN)" />
</mapping>
<kind value="complex-type" />
<abstract value="false" />
<context>
<type value="element" />
<expression value="Observation.component" />
</context>
<type value="Extension" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
<derivation value="constraint" />
<differential>
<element id="Extension.url">
<path value="Extension.url" />
<fixedUri value="http://nictiz.nl/fhir/StructureDefinition/ext-FamiliySituation.LivingAtHome" />
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]" />
<short value="LivingAtHome" />
<definition value="An indication stating whether the child lives at home." />
<alias value="Inwonend" />
<type>
<code value="boolean" />
</type>
<mapping>
<identity value="zib-familysituation-v3.2-2020EN" />
<map value="NL-CM:7.13.5" />
<comment value="LivingAtHome" />
</mapping>
</element>
</differential>
</StructureDefinition>
Loading