Skip to content

Commit

Permalink
Merge branch 'main' into qa-tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
pieter-edelman-nictiz committed Aug 22, 2023
2 parents b50c77b + 8818944 commit ea0ba04
Show file tree
Hide file tree
Showing 17 changed files with 1,387 additions and 0 deletions.
46 changes: 46 additions & 0 deletions examples/nl-core-BowelFunction-01-Condition-01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<Condition xmlns="http://hl7.org/fhir">
<id value="nl-core-BowelFunction-01-Condition-01"/>
<meta>
<profile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-Stoma"/>
</meta>
<category>
<coding>
<system value="http://snomed.info/sct"/>
<code value="245857005"/>
<display value="stoma"/>
</coding>
</category>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="261072008"/>
<display value="dubbelloops colostoma"/>
</coding>
</code>
<bodySite>
<extension url="http://nictiz.nl/fhir/StructureDefinition/ext-AnatomicalLocation.Laterality">
<valueCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="7771000"/>
<display value="links"/>
</coding>
</valueCodeableConcept>
</extension>
<coding>
<system value="http://snomed.info/sct"/>
<code value="80581009"/>
<display value="bovenbuik"/>
</coding>
</bodySite>
<subject>
<reference value="Patient/nl-core-Patient-01"/>
<type value="Patient"/>
<display value="Patient, Johanna Petronella Maria (Jo) van Putten-van der Giessen"/>
</subject>
<onsetDateTime value="2014-02-28"/>
<note>
<text value="Stoma is definitief. Vandaag stoma verzorgd, samen met patiënt. Peristomale huid is licht geïrriteerd."/>
</note>
</Condition>
74 changes: 74 additions & 0 deletions examples/nl-core-BowelFunction-01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="UTF-8"?>
<Observation xmlns="http://hl7.org/fhir">
<id value="nl-core-BowelFunction-01"/>
<meta>
<profile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-BowelFunction"/>
</meta>
<extension url="http://nictiz.nl/fhir/StructureDefinition/ext-StomaReference">
<valueReference>
<reference value="Condition/nl-core-BowelFunction-01-Condition-01"/>
<type value="Condition"/>
<display value="Stoma, type: dubbelloops colostoma"/>
</valueReference>
</extension>
<status value="final"/>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="111989001"/>
<display value="defecatie"/>
</coding>
</code>
<subject>
<reference value="Patient/nl-core-Patient-01"/>
<type value="Patient"/>
<display value="Patient, Johanna Petronella Maria (Jo) van Putten-van der Giessen"/>
</subject>
<component>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="162098000"/>
<display value="frequentie van defecatie"/>
</coding>
</code>
<valueQuantity>
<value value="3"/>
<unit value="/d"/>
<system value="http://unitsofmeasure.org"/>
<code value="/d"/>
</valueQuantity>
</component>
<component>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="443172007"/>
<display value="score op Bristol Stoelgangschaal"/>
</coding>
</code>
<valueCodeableConcept>
<coding>
<system value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.3.1"/>
<code value="Type 4"/>
<display value="Als een worst of slang, glad en zacht"/>
</coding>
</valueCodeableConcept>
</component>
<component>
<code>
<coding>
<system value="http://loinc.org"/>
<code value="9397-1"/>
<display value="Color of Stool"/>
</coding>
</code>
<valueCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="167605001"/>
<display value="kleur van feces normaal"/>
</coding>
</valueCodeableConcept>
</component>
</Observation>
22 changes: 22 additions & 0 deletions examples/nl-core-BowelFunction-02-Device-01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<Device xmlns="http://hl7.org/fhir">
<id value="nl-core-BowelFunction-02-Device-01"/>
<meta>
<profile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicalDevice.Product"/>
</meta>
<type>
<coding>
<system value="http://snomed.info/sct"/>
<code value="1141889003"/>
<display value="incontinentiebroek"/>
</coding>
</type>
<patient>
<reference value="Patient/nl-core-Patient-01"/>
<type value="Patient"/>
<display value="Patient, Johanna Petronella Maria (Jo) van Putten-van der Giessen"/>
</patient>
<note>
<text value="Elastisch broekje"/>
</note>
</Device>
23 changes: 23 additions & 0 deletions examples/nl-core-BowelFunction-02-DeviceUseStatement-01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<DeviceUseStatement xmlns="http://hl7.org/fhir">
<id value="nl-core-BowelFunction-02-DeviceUseStatement-01"/>
<meta>
<profile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicalDevice"/>
</meta>
<status value="active"/>
<subject>
<reference value="Patient/nl-core-Patient-01"/>
<type value="Patient"/>
<display value="Patient, Johanna Petronella Maria (Jo) van Putten-van der Giessen"/>
</subject>
<device>
<reference value="Device/nl-core-BowelFunction-02-Device-01"/>
<type value="Device"/>
<display value="Elastisch broekje"/>
</device>
<reasonReference>
<reference value="Observation/nl-core-BowelFunction-02"/>
<type value="Observation"/>
<display value="Bowel function observation, fecal continence: incidenteel ontlastingsverlies, defecation consistency: Zachte stukjes met gehavende randen"/>
</reasonReference>
</DeviceUseStatement>
86 changes: 86 additions & 0 deletions examples/nl-core-BowelFunction-02.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="UTF-8"?>
<Observation xmlns="http://hl7.org/fhir">
<id value="nl-core-BowelFunction-02"/>
<meta>
<profile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-BowelFunction"/>
</meta>
<status value="final"/>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="111989001"/>
<display value="defecatie"/>
</coding>
</code>
<subject>
<reference value="Patient/nl-core-Patient-01"/>
<type value="Patient"/>
<display value="Patient, Johanna Petronella Maria (Jo) van Putten-van der Giessen"/>
</subject>
<note>
<text value="Patiënt was vanmorgen incontinent."/>
</note>
<component>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="129008009"/>
<display value="darmcontrole"/>
</coding>
</code>
<valueCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="165230005"/>
<display value="incidenteel ontlastingsverlies"/>
</coding>
</valueCodeableConcept>
</component>
<component>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="162098000"/>
<display value="frequentie van defecatie"/>
</coding>
</code>
<valueQuantity>
<value value="4"/>
<unit value="/d"/>
<system value="http://unitsofmeasure.org"/>
<code value="/d"/>
</valueQuantity>
</component>
<component>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="443172007"/>
<display value="score op Bristol Stoelgangschaal"/>
</coding>
</code>
<valueCodeableConcept>
<coding>
<system value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.3.1"/>
<code value="Type 6"/>
<display value="Zachte stukjes met gehavende randen"/>
</coding>
</valueCodeableConcept>
</component>
<component>
<code>
<coding>
<system value="http://loinc.org"/>
<code value="9397-1"/>
<display value="Color of Stool"/>
</coding>
</code>
<valueCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="267056008"/>
<display value="grijswitte feces"/>
</coding>
</valueCodeableConcept>
</component>
</Observation>
6 changes: 6 additions & 0 deletions known-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,12 @@ nl-core-BodyHeight-*:
- 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-BowelFunction-02-DeviceUseStatement-01:
ignored issues:
DeviceUseStatement.reasonReference[0]:
- message: This element does not match any known slice defined in the profile http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicalDevice
reason: The Validator is unable to follow the reference on disk, and so is unable to analyze which profile the referenced resource matches.

nl-core-*Function.*Aid-*:
ignored issues:
DeviceUseStatement:
Expand Down
4 changes: 4 additions & 0 deletions release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ This document contains release notes per zib, indicating differences with their
## zib-BarthelADLIndex
* There was no profile in the STU3 version and therefore no diff.

## zib-BowelFunction
* The mapping of the Stoma concept has been moved from extension to profile level.
* MedicalDevice extension has been removed because the reference is reversed in FHIR. The MedicalDevice profile refers to this profile.

## zib-CareTeam
* CareTeam is a newly added zib in the 2020 release. It has no previous profile and therefore no diff.

Expand Down
72 changes: 72 additions & 0 deletions resources/nl-core/nl-core-BowelFunction.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="nl-core-BowelFunction" />
<url value="http://nictiz.nl/fhir/StructureDefinition/nl-core-BowelFunction" />
<name value="NlcoreBowelFunction" />
<title value="nl core BowelFunction" />
<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 important function of the rectum in particular is the temporary storage and excretion of feces, at the moment there is cause to do so. Disrupting the bowel functions can lead to fecal incontinence and constipation." />
<purpose value="A derived profile from [zib-BowelFunction](http://nictiz.nl/fhir/StructureDefinition/zib-BowelFunction) 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-bowelfunction-v3.1.1-2020EN" />
<uri value="https://zibs.nl/wiki/BowelFunction-v3.1.1(2020EN)" />
<name value="zib BowelFunction-v3.1.1(2020EN)" />
</mapping>
<kind value="resource" />
<abstract value="false" />
<type value="Observation" />
<baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-BowelFunction" />
<derivation value="constraint" />
<differential>
<element id="Observation">
<path value="Observation" />
<comment value="Please note that on a functional level, zib BowelFunction references zib MedicalDevice, but in FHIR this direction is reversed. Therefore, the concept IncontinenceMaterial (NL-CM:4.15.6) is mapped on `DeviceUseStatement.reasonReference` in profile [nl-core-MedicalDevice](http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicalDevice) instead of in this profile." />
<alias value="nl-core-BowelFunction" />
</element>
<element id="Observation.extension">
<path value="Observation.extension" />
<slicing>
<discriminator>
<type value="value" />
<path value="url" />
</discriminator>
<rules value="open" />
</slicing>
<min value="0" />
</element>
<element id="Observation.extension:stoma">
<path value="Observation.extension" />
<sliceName value="stoma" />
<min value="0" />
</element>
<element id="Observation.extension:stoma.value[x]">
<path value="Observation.extension.value[x]" />
<type>
<code value="Reference" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-Stoma" />
</type>
</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>
Loading

0 comments on commit ea0ba04

Please sign in to comment.