<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="NICE-BodyTemperature" />
  <meta>
    <lastUpdated value="2023-10-04T15:03:29.9601462+00:00" />
  </meta>
  <url value="https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-BodyTemperature-2022Q1" />
  <name value="NICE-BodyTemperature" />
  <title value="NICE-BodyTemperature" />
  <status value="active" />
  <date value="2023-10-04T15:33:14.3221484+00:00" />
  <publisher value="NICE" />
  <contact>
    <name value="NICE" />
    <telecom>
      <system value="email" />
      <value value="vragen@stichting-nice.nl" />
    </telecom>
  </contact>
  <description value="Body temperature taken during first 24 hours of IC admission. &#xD;&#xA;&#xD;&#xA;- Use temperature measured via rectum, blood, oesophagus or ear.&#xD;&#xA;- In case temperature is measured orally, add 0.5 degrees.&#xD;&#xA;- In case temperature is measured via armpit or groin, add 1 degree.&#xD;&#xA;- Temperature measured peripherally (such as on the skin) may not be submitted.&#xD;&#xA;- For surgical and resuscitated patients also use the artificially lowered body temperature." />
  <purpose value="A profile derived from the HL7 Vital Signs profile for body temperature in order to add mappings from the Dutch Health and Care Information models (HCIM; Dutch: Zorginformatiebouwsteen or ZIB) BodyTemperature version 3.1, release 2017." />
  <copyright value="CC0" />
  <fhirVersion value="3.0.2" />
  <mapping>
    <identity value="NICE-Datadictionary-MDS" />
    <uri value="https://www.stichting-nice.nl/dd/#528" />
    <name value="NICE-Datadictionary-MDS" />
    <comment value="The Minimal Data Set (MDS)" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-BodyTemperature" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
      <definition value="This profile defines how to represent Body Temperature observations in FHIR using a standard LOINC code and UCUM units of measure.&#xD;&#xA;Measuring and documenting the body temperature of a person as a surrogate for a person’s central body temperature (the highest temperature at the centre of the torso)" />
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#405" />
        <comment value="Highest body temperature" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#406" />
        <comment value="Lowest body temperature" />
      </mapping>
    </element>
    <element id="Observation.extension">
      <path value="Observation.extension" />
      <min value="1" />
    </element>
    <element id="Observation.extension:Verified">
      <path value="Observation.extension" />
      <sliceName value="Verified" />
      <short value="Is the instance validated by a medical professional?" />
      <definition value="Extension that is used to indicate whether the entire instance has been validated.&#xD;&#xA;&#xD;&#xA;Every instance shall be validated by a hospital member / datamanager. However, this is not always feasible in case of automated submission of NICE data elements. This extensions shall be used to indicate the validation status of the instance." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-Verified-2022Q1" />
      </type>
    </element>
    <element id="Observation.extension:NICE-ExtremeValueType">
      <path value="Observation.extension" />
      <sliceName value="NICE-ExtremeValueType" />
      <short value="Highest | Lowest" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-ExtremeValueType-2022Q1" />
      </type>
    </element>
    <element id="Observation.status">
      <path value="Observation.status" />
      <short value="Only validated (final) values" />
      <definition value="The status of the temperature value. Needs to be validated by a clinician." />
      <fixedCode value="final" />
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-Patient-2022Q1" />
      </type>
    </element>
    <element id="Observation.context">
      <path value="Observation.context" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-Encounter-2022Q1" />
      </type>
    </element>
    <element id="Observation.effective[x]:effectiveDateTime">
      <path value="Observation.effectiveDateTime" />
      <sliceName value="effectiveDateTime" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="Observation.valueQuantity:valueQuantity">
      <path value="Observation.valueQuantity" />
      <sliceName value="valueQuantity" />
      <comment value="Use temperature measured via rectum, blood, oesophagus or ear. If temperature is measured orally, add 0.5 degrees. If temperature is measured via the armpit or groin, add 1 degree. &#xD;&#xA;The measurement must be taken within a time period of 2 hours before to a maximum of 2 hours after suspicion of sepsis" />
    </element>
    <element id="Observation.valueQuantity:valueQuantity.value">
      <path value="Observation.valueQuantity.value" />
      <minValueDecimal value="10.0" />
      <maxValueDecimal value="43.0" />
      <constraint>
        <key value="valueRange" />
        <severity value="error" />
        <human value="Restricts the minimum and maximum allowed values" />
        <expression value="ValueQuantity.value &gt;= 10.0 and ValueQuantity.value &lt;= 43.0" />
      </constraint>
    </element>
    <element id="Observation.valueQuantity:valueQuantity.unit">
      <path value="Observation.valueQuantity.unit" />
      <short value="Degrees in Celcius (Cel)" />
      <definition value="A human-readable form of the unit. 'Cel' is preferable, as defined in UCUM." />
    </element>
  </differential>
</StructureDefinition>