Skip to content

Commit

Permalink
Merge pull request #176 from Nictiz/zib-SNAQScore
Browse files Browse the repository at this point in the history
Zib-SNAQScore
  • Loading branch information
pieter-edelman-nictiz authored Sep 17, 2024
2 parents f3bcb2f + 2121180 commit cd9fda8
Show file tree
Hide file tree
Showing 11 changed files with 1,089 additions and 7 deletions.
120 changes: 120 additions & 0 deletions examples/nl-core-SNAQScore-01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<Observation xmlns="http://hl7.org/fhir">
<id value="nl-core-SNAQScore-01"/>
<meta>
<profile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-SNAQScore"/>
</meta>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<table>
<caption>Observatie/bepaling. Subject: Patient, Johanna Petronella Maria (Jo) van Putten-van der Giessen. Status: definitief</caption>
<tbody>
<tr>
<th>Bepalingdatum/tijd</th>
<td>27 januari 2013</td>
</tr>
<tr>
<th>Code</th>
<th>Waarde</th>
</tr>
<tr>
<td>
<span title="Short Nutritional Assessment Questionnaire (8881000146104 - SNOMED CT)">Short Nutritional Assessment Questionnaire</span>
</td>
<td>4</td>
</tr>
<tr>
<td>
<span title="SNAQScore GewichtsverliesScore (4006003 - 2.16.840.1.113883.2.4.3.11.60.40.4.0.1)">SNAQScore GewichtsverliesScore</span>
</td>
<td>
<span title="LossHigh (G2 - 2.16.840.1.113883.2.4.3.11.60.40.4.5.1)">LossHigh</span>
</td>
</tr>
<tr>
<td>
<span title="SNAQScore EetlustScore (4006004 - 2.16.840.1.113883.2.4.3.11.60.40.4.0.1)">SNAQScore EetlustScore</span>
</td>
<td>
<span title="GeenEetlust (B1 - 2.16.840.1.113883.2.4.3.11.60.40.4.5.2)">GeenEetlust</span>
</td>
</tr>
<tr>
<td>
<span title="SNAQScore VoedingsScore (4006005 - 2.16.840.1.113883.2.4.3.11.60.40.4.0.1)">SNAQScore VoedingsScore</span>
</td>
<td>
<span title="GeenVoeding (Z0 - 2.16.840.1.113883.2.4.3.11.60.40.4.5.3)">GeenVoeding</span>
</td>
</tr>
</tbody>
</table>
</div>
</text>
<status value="final"/>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="8881000146104"/>
<display value="Short Nutritional Assessment Questionnaire"/>
</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>
<effectiveDateTime value="2013-01-27"/>
<valueInteger value="4"/>
<note>
<text value="Grotere mate van ondervoeding t.o.v. vorig meetmoment."/>
</note>
<component>
<code>
<coding>
<system value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1"/>
<code value="4006003"/>
<display value="SNAQScore GewichtsverliesScore"/>
</coding>
</code>
<valueCodeableConcept>
<coding>
<system value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.5.1"/>
<code value="G2"/>
<display value="LossHigh"/>
</coding>
</valueCodeableConcept>
</component>
<component>
<code>
<coding>
<system value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1"/>
<code value="4006004"/>
<display value="SNAQScore EetlustScore"/>
</coding>
</code>
<valueCodeableConcept>
<coding>
<system value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.5.2"/>
<code value="B1"/>
<display value="GeenEetlust"/>
</coding>
</valueCodeableConcept>
</component>
<component>
<code>
<coding>
<system value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1"/>
<code value="4006005"/>
<display value="SNAQScore VoedingsScore"/>
</coding>
</code>
<valueCodeableConcept>
<coding>
<system value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.5.3"/>
<code value="Z0"/>
<display value="GeenVoeding"/>
</coding>
</valueCodeableConcept>
</component>
</Observation>
19 changes: 12 additions & 7 deletions release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,11 @@ This document contains release notes per zib, indicating differences with their
## zib-Refraction
* Refraction is a newly added zib in the 2020 release. It has no previous profile and therefore no diff.

## zib-SNAQScore
* The datatype of `Observation.value[x]` (zib concept TotalScore) element has been changed from Quantity to Integer, and minimum and maximum allowed values of 0 and 5 respectively are applied.
* The code on `Observation.component:weightLossScore.code` has changed to 4006003 and the system value to urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1.
* The code on `Observation.component:appetiteScore.code` has changed to 4006004 and the system value to urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1.
* The code on `Observation.component:nutritionScore.code` has changed to 4006005 and the system value to urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1.

## zib-SNAQrcScore
* The datatype of `Observation.value[x]` (zib concept TotalScore) element has been changed from Quantity to Integer, and minimum and maximum allowed values of 0 and 5 respectively are applied.
Expand All @@ -335,6 +340,13 @@ This document contains release notes per zib, indicating differences with their
* The code on `Observation.component:bmiScore.code` has changed to 4029005 and the system value to urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1.
* The code on `Observation.component:assistedEating.code` has changed to 4029008 and the system value to urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1.

## zib-SNAQ65plusScore
* The datatype of `Observation.value[x]` (zib concept TotalScore) element has been changed from Quantity to Integer, and minimum and maximum allowed values of 0 and 5 respectively are applied.
* The code on `Observation.component:weightLossScore.code` has changed to 4030003 and the system value to urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1.
* The code on `Observation.component:upperArmCircumference.code` has changed to 4030008 and the system value to urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1.
* The code on `Observation.component:appetiteScore.code` has changed to 4030004 and the system value to urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1.
* The code on `Observation.component:excerciseScore.code` has changed to 4030005 and the system value to urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1.

## zib-SOAPReport
* This is a newly added zib but had profiles that preceded the zib, namely gp-EncounterReport and gp-JournalEntry.
* Removed constraints not accounted for by the zib.
Expand All @@ -351,13 +363,6 @@ This document contains release notes per zib, indicating differences with their
* `Condition.bodySite` is now based on the zib AnatomicalLocation profile.
* `Condition.note` now honours the max cardinality of zib Comment.

## zib-SNAQ65plusScore
* The datatype of `Observation.value[x]` (zib concept TotalScore) element has been changed from Quantity to Integer, and minimum and maximum allowed values of 0 and 5 respectively are applied.
* The code on `Observation.component:weightLossScore.code` has changed to 4030003 and the system value to urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1.
* The code on `Observation.component:upperArmCircumference.code` has changed to 4030008 and the system value to urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1.
* The code on `Observation.component:appetiteScore.code` has changed to 4030004 and the system value to urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1.
* The code on `Observation.component:excerciseScore.code` has changed to 4030005 and the system value to urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1.

## zib-Stoma
* The resource to represent this zib has been changed from Observation to Condition. This aligns better with the meaning of the zib, as a stoma requires long term management.
* The general code of a Stoma has been added as a pattern to `Condition.category` allowing the category element to be used for other purposes too.
Expand Down
4 changes: 4 additions & 0 deletions resources/.simplifier/folder.settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"IncludeSubdirectories": true,
"PreferredFormat": "Xml"
}
52 changes: 52 additions & 0 deletions resources/nl-core/nl-core-SNAQScore.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="nl-core-SNAQScore" />
<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/nl-core-SNAQScore" />
<name value="NlcoreSNAQScore" />
<title value="nl core SNAQScore" />
<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="The Short Nutritional Assessment Questionnaire (SNAQ) is a (validated) measuring tool for determining the extent of a patient’s malnutrition. The tool comprises three questions, each of which is assigned a score. The total score determines the extent of malnutrition.&#xD;&#xA;The SNAQ helps to recognize and treat malnutrition at an early stage.&#xD;&#xA;Three varieties of the measuring tool were developed for different care settings: hospitals, nursing and retirement homes and independently living seniors. This concept describes the tool intended for the hospital setting." />
<purpose value="A derived profile from [zib-SNAQScore](http://nictiz.nl/fhir/StructureDefinition/zib-SNAQScore) 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-snaqscore-v3.2-2020EN" />
<uri value="https://zibs.nl/wiki/SNAQScore-v3.2(2020EN)" />
<name value="zib SNAQScore-v3.2(2020EN)" />
</mapping>
<kind value="resource" />
<abstract value="false" />
<type value="Observation" />
<baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-SNAQScore" />
<derivation value="constraint" />
<differential>
<element id="Observation">
<path value="Observation" />
<alias value="nl-core-SNAQScore" />
</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>
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="2.16.840.1.113883.2.4.3.11.60.40.4.5.2"/>
<meta>
<profile value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/>
<!--<profile value="http://hl7.org/fhir/4.0/StructureDefinition/CodeSystem"/>-->
</meta>
<language value="nl-NL"/>
<text>
<status value="empty"/>
<div xmlns="http://www.w3.org/1999/xhtml" lang="nl-NL" xml:lang="nl-NL">Definitie-resources zijn niet voorzien van een narrative. Een menselijk leesbare versie is te vinden via de implementation guide(s) waarin deze resource gebruikt wordt.</div>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod">
<valuePeriod>
<start value="2020-09-01T00:00:00Z"/>
</valuePeriod>
</extension>
<url value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.5.2"/>
<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.4.5.2"/>
</identifier>
<version value="2020-09-01T00:00:00"/>
<name value="SNAQ_Eetlust"/>
<title value="SNAQ_Eetlust"/>
<status value="active"/>
<experimental value="false"/>
<publisher value="Registratie aan de bron"/>
<contact>
<name value="Registratie aan de bron"/>
<telecom>
<system value="url"/>
<value value="https://www.registratieaandebron.nl"/>
</telecom>
<telecom>
<system value="url"/>
<value value="https://www.zibs.nl"/>
</telecom>
</contact>
<description value="SNAQ_Eetlust"/>
<caseSensitive value="false"/>
<content value="complete"/>
<count value="2"/>
<property>
<code value="ordinal-value"/>
<uri value="http://hl7.org/fhir/StructureDefinition/ordinalValue"/>
<description value="A numeric value that allows the comparison (less than, greater than) or other numerical manipulation of a concept (e.g. Adding up components of a score). Scores are usually a whole number, but occasionally decimals are encountered in scores."/>
<type value="integer"/>
</property>
<property>
<code value="status"/>
<uri value="http://hl7.org/fhir/concept-properties"/>
<description value="A code that indicates the status of the concept. Values found in this version of the code system are: active"/>
<type value="code"/>
</property>
<concept>
<extension url="http://hl7.org/fhir/StructureDefinition/ordinalValue">
<valueDecimal value="0"/>
</extension>
<code value="B0"/>
<display value="Eetlust"/>
<definition value="Normale eetlust"/>
<property>
<code value="ordinal-value"/>
<valueInteger value="0"/>
</property>
<property>
<code value="status"/>
<valueCode value="active"/>
</property>
</concept>
<concept>
<extension url="http://hl7.org/fhir/StructureDefinition/ordinalValue">
<valueDecimal value="1"/>
</extension>
<code value="B1"/>
<display value="GeenEetlust"/>
<definition value="Verminderde eetlust de afgelopen maand"/>
<property>
<code value="ordinal-value"/>
<valueInteger value="1"/>
</property>
<property>
<code value="status"/>
<valueCode value="active"/>
</property>
</concept>
</CodeSystem>
Loading

0 comments on commit cd9fda8

Please sign in to comment.