<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="zib-StrongKidsScore" />
  <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/zib-StrongKidsScore" />
  <name value="ZibStrongKidsScore" />
  <title value="zib StrongKidsScore" />
  <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 StrongKids score is a (validated) measuring tool for determining the extent of a child’s malnutrition.&#xD;&#xA;StrongKids is developed to recognize and treat malnutrition in children aged &gt; 1 month to 18 years in a hospital setting.&#xD;&#xA;The tool comprises four questions, each of which is assigned a score. The total score determines the extent of malnutrition.&#xD;&#xA;(STRONGkids= Screening Tool Risk On Nutritional Status and Growth)" />
  <purpose value="This Observation resource represents the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) StrongKidsScore v1.1 (2020)](https://zibs.nl/wiki/StrongKidsScore-v1.1(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-strongkidsscore-v1.1-2020EN" />
    <uri value="https://zibs.nl/wiki/StrongKidsScore-v1.1(2020EN)" />
    <name value="zib StrongKidsScore-v1.1(2020EN)" />
  </mapping>
  <kind value="resource" />
  <abstract value="true" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
      <short value="StrongKidsScore" />
      <alias value="StrongKidsScore" />
      <constraint>
        <key value="zib-StrongKidsScore-1" />
        <severity value="error" />
        <human value="If one of the component codes is present, all SHALL be present." />
        <expression value="component.where(code.coding.system='urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1' and code.coding.code.subsetOf('4028003'|'4028004'|'4028005'|'4028008')).count().subsetOf(0|4)" />
      </constraint>
      <constraint>
        <key value="zib-StrongKidsScore-2" />
        <severity value="error" />
        <human value="If the component codes are not all present, the value SHALL be present." />
        <expression value="value.empty().not() or component.where(code.coding.system='urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1' and code.coding.code.subsetOf('4028003'|'4028004'|'4028005'|'4028008')).count()=4" />
      </constraint>
      <mapping>
        <identity value="zib-strongkidsscore-v1.1-2020EN" />
        <map value="NL-CM:4.28.1" />
        <comment value="StrongKidsScore" />
      </mapping>
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://snomed.info/sct" />
          <code value="108341000146107" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.effective[x]:effectiveDateTime">
      <path value="Observation.effective[x]" />
      <sliceName value="effectiveDateTime" />
      <short value="ScoreDateTime" />
      <definition value="The date and time at which the StrongKids score was determined." />
      <alias value="ScoreDatumTijd" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="zib-strongkidsscore-v1.1-2020EN" />
        <map value="NL-CM:4.28.6" />
        <comment value="ScoreDateTime" />
      </mapping>
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.value[x]:valueInteger">
      <path value="Observation.value[x]" />
      <sliceName value="valueInteger" />
      <short value="TotalScore" />
      <definition value="The total score is the sum of all the individual scores. The total score has a range from 0 - 5." />
      <comment value="The individual scores are communicated using the different `Observation.component` slices. The ordinal values of these indivdual scores, which are used to calculate the total score, are defined by the underlying code system and are registered in the ValueSet resources bound on these slices, using the [ordinalValue](http://hl7.org/fhir/StructureDefinition/ordinalValue) extension." />
      <alias value="TotaalScore" />
      <type>
        <code value="integer" />
      </type>
      <minValueInteger value="0" />
      <maxValueInteger value="5" />
      <condition value="zib-StrongKidsScore-2" />
      <mapping>
        <identity value="zib-strongkidsscore-v1.1-2020EN" />
        <map value="NL-CM:4.28.2" />
        <comment value="TotalScore" />
      </mapping>
    </element>
    <element id="Observation.note">
      <path value="Observation.note" />
      <max value="1" />
    </element>
    <element id="Observation.note.text">
      <path value="Observation.note.text" />
      <short value="Comment" />
      <definition value="A comment on the circumstances during the measurement." />
      <alias value="Toelichting" />
      <mapping>
        <identity value="zib-strongkidsscore-v1.1-2020EN" />
        <map value="NL-CM:4.28.7" />
        <comment value="Comment" />
      </mapping>
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="code" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.component:weightLossScore">
      <path value="Observation.component" />
      <sliceName value="weightLossScore" />
      <max value="1" />
      <condition value="zib-StrongKidsScore-1" />
      <condition value="zib-StrongKidsScore-2" />
    </element>
    <element id="Observation.component:weightLossScore.code">
      <path value="Observation.component.code" />
      <patternCodeableConcept>
        <coding>
          <system value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1" />
          <code value="4028003" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.component:weightLossScore.value[x]">
      <path value="Observation.component.value[x]" />
      <short value="WeightLossScore" />
      <definition value="The score based on undesired weight loss or arrest in growth or weight gain over the past weeks to month(s)." />
      <alias value="GewichtsverliesScore" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.4.28.1--20200901000000" />
      </binding>
      <mapping>
        <identity value="zib-strongkidsscore-v1.1-2020EN" />
        <map value="NL-CM:4.28.3" />
        <comment value="WeightLossScore" />
      </mapping>
    </element>
    <element id="Observation.component:conditionScore">
      <path value="Observation.component" />
      <sliceName value="conditionScore" />
      <max value="1" />
      <condition value="zib-StrongKidsScore-1" />
      <condition value="zib-StrongKidsScore-2" />
    </element>
    <element id="Observation.component:conditionScore.code">
      <path value="Observation.component.code" />
      <patternCodeableConcept>
        <coding>
          <system value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1" />
          <code value="4028004" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.component:conditionScore.value[x]">
      <path value="Observation.component.value[x]" />
      <short value="ConditionScore" />
      <definition value="The score based on the presence of a condition that can cause an increased risk of malnutrition. A list with conditions with increased risk is given on http://www.stuurgroepondervoeding.nl/toolkits/screeningsinstrument." />
      <alias value="ZiekteBeeldScore" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.4.28.2--20200901000000" />
      </binding>
      <mapping>
        <identity value="zib-strongkidsscore-v1.1-2020EN" />
        <map value="NL-CM:4.28.4" />
        <comment value="ConditionScore" />
      </mapping>
    </element>
    <element id="Observation.component:nutritionScore">
      <path value="Observation.component" />
      <sliceName value="nutritionScore" />
      <max value="1" />
      <condition value="zib-StrongKidsScore-1" />
      <condition value="zib-StrongKidsScore-2" />
    </element>
    <element id="Observation.component:nutritionScore.code">
      <path value="Observation.component.code" />
      <patternCodeableConcept>
        <coding>
          <system value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1" />
          <code value="4028005" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.component:nutritionScore.value[x]">
      <path value="Observation.component.value[x]" />
      <short value="NutritionScore" />
      <definition value="The score based on the presence of aspects that indicate a deteriorated nutrition status:&#xD;&#xA;- excessive diarrhea and/or vomiting&#xD;&#xA;- use of fluid or enteral nutrition&#xD;&#xA;- reduced intake of food during the past 1-3 days&#xD;&#xA;- obstruction of food intake by pain" />
      <alias value="VoedingsScore" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.4.28.3--20200901000000" />
      </binding>
      <mapping>
        <identity value="zib-strongkidsscore-v1.1-2020EN" />
        <map value="NL-CM:4.28.5" />
        <comment value="NutritionScore" />
      </mapping>
    </element>
    <element id="Observation.component:nutritionStatusScore">
      <path value="Observation.component" />
      <sliceName value="nutritionStatusScore" />
      <max value="1" />
      <condition value="zib-StrongKidsScore-1" />
      <condition value="zib-StrongKidsScore-2" />
    </element>
    <element id="Observation.component:nutritionStatusScore.code">
      <path value="Observation.component.code" />
      <patternCodeableConcept>
        <coding>
          <system value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.0.1" />
          <code value="4028008" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.component:nutritionStatusScore.value[x]">
      <path value="Observation.component.value[x]" />
      <short value="NutritionStatusScore" />
      <definition value="The score gives an indication of the nutrition status of the patient based on the professional opinion of the healthcare professional." />
      <alias value="VoedingstoestandScore" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.4.28.4--20200901000000" />
      </binding>
      <mapping>
        <identity value="zib-strongkidsscore-v1.1-2020EN" />
        <map value="NL-CM:4.28.8" />
        <comment value="NutritionStatusScore" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>