<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="zib-FLACCpainScale" />
  <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-FLACCpainScale" />
  <name value="ZibFLACCpainScale" />
  <title value="zib FLACCpainScale" />
  <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 FLACC (Faces, Legs, Activity, Cry and Consolability) is a pain assessment tool, that is used to assess pain in children aged 0-7 years old by observing their behaviour.&#xD;&#xA;The FLACC has five subscales that need to be addressed. The final score indicates whether the observed child suffers pain and 'how much'. The score is often combined with a NRS-score that is completed by the nurses on basis of clinical experience." />
  <purpose value="This Observation resource represents the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) FLACCpainScale v1.1 (2020)](https://zibs.nl/wiki/FLACCpainScale-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-flaccpainscale-v1.1-2020EN" />
    <uri value="https://zibs.nl/wiki/FLACCpainScale-v1.1(2020EN)" />
    <name value="zib FLACCpainScale-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="FLACCpainScale" />
      <alias value="FLACCpijnScore" />
      <mapping>
        <identity value="zib-flaccpainscale-v1.1-2020EN" />
        <map value="NL-CM:12.13.1" />
        <comment value="FLACCpainScale" />
      </mapping>
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://snomed.info/sct" />
          <code value="108291000146105" />
        </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 FLACC score was determined." />
      <alias value="ScoreDatumTijd" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="zib-flaccpainscale-v1.1-2020EN" />
        <map value="NL-CM:12.13.11" />
        <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 - 10." />
      <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="10" />
      <mapping>
        <identity value="zib-flaccpainscale-v1.1-2020EN" />
        <map value="NL-CM:12.13.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-flaccpainscale-v1.1-2020EN" />
        <map value="NL-CM:12.13.12" />
        <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:face">
      <path value="Observation.component" />
      <sliceName value="face" />
      <max value="1" />
    </element>
    <element id="Observation.component:face.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="12013003" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.component:face.value[x]">
      <path value="Observation.component.value[x]" />
      <short value="Face" />
      <definition value="Observation Faces;&#xD;&#xA;The extent to which the child’s expression on the face is tensed, grimace, tension of jaws." />
      <alias value="Gezicht" />
      <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.12.13.1--20200901000000" />
      </binding>
      <mapping>
        <identity value="zib-flaccpainscale-v1.1-2020EN" />
        <map value="NL-CM:12.13.3" />
        <comment value="Face" />
      </mapping>
    </element>
    <element id="Observation.component:legs">
      <path value="Observation.component" />
      <sliceName value="legs" />
      <max value="1" />
    </element>
    <element id="Observation.component:legs.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="12013004" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.component:legs.value[x]">
      <path value="Observation.component.value[x]" />
      <short value="Legs" />
      <definition value="Observation legs: the extent to which the child is restless (body and legs)." />
      <alias value="Benen" />
      <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.12.13.2--20200901000000" />
      </binding>
      <mapping>
        <identity value="zib-flaccpainscale-v1.1-2020EN" />
        <map value="NL-CM:12.13.4" />
        <comment value="Legs" />
      </mapping>
    </element>
    <element id="Observation.component:activity">
      <path value="Observation.component" />
      <sliceName value="activity" />
      <max value="1" />
    </element>
    <element id="Observation.component:activity.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="12013005" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.component:activity.value[x]">
      <path value="Observation.component.value[x]" />
      <short value="Activity" />
      <definition value="Observation activity: the extent to which the child is restless and has tense muscles." />
      <alias value="Activiteit" />
      <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.12.13.3--20200901000000" />
      </binding>
      <mapping>
        <identity value="zib-flaccpainscale-v1.1-2020EN" />
        <map value="NL-CM:12.13.5" />
        <comment value="Activity" />
      </mapping>
    </element>
    <element id="Observation.component:cry">
      <path value="Observation.component" />
      <sliceName value="cry" />
      <max value="1" />
    </element>
    <element id="Observation.component:cry.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="12013006" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.component:cry.value[x]">
      <path value="Observation.component.value[x]" />
      <short value="Cry" />
      <definition value="Observation Crying: the extent to which the child is crying, whimpers or laments." />
      <alias value="Huilen" />
      <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.12.13.4--20200901000000" />
      </binding>
      <mapping>
        <identity value="zib-flaccpainscale-v1.1-2020EN" />
        <map value="NL-CM:12.13.6" />
        <comment value="Cry" />
      </mapping>
    </element>
    <element id="Observation.component:consolability">
      <path value="Observation.component" />
      <sliceName value="consolability" />
      <max value="1" />
    </element>
    <element id="Observation.component:consolability.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="12013009" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.component:consolability.value[x]">
      <path value="Observation.component.value[x]" />
      <short value="Consolability" />
      <definition value="Observation Consolability: the extent to which the child is consolable." />
      <alias value="Troostbaar" />
      <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.12.13.5--20200901000000" />
      </binding>
      <mapping>
        <identity value="zib-flaccpainscale-v1.1-2020EN" />
        <map value="NL-CM:12.13.9" />
        <comment value="Consolability" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>