<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="NICE-LaboratoryTestResultObservation" />
  <meta>
    <lastUpdated value="2023-10-04T15:03:41.2404595+00:00" />
  </meta>
  <url value="https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-LaboratoryTestResultObservation-2022Q1" />
  <name value="NICE-LaboratoryTestResultObservation" />
  <title value="NICE-LaboratoryTestResultObservation" />
  <status value="active" />
  <date value="2023-10-26T14:21:42.886+00:00" />
  <publisher value="NICE" />
  <contact>
    <name value="NICE" />
    <telecom>
      <system value="email" />
      <value value="vragen@stichting-nice.nl" />
    </telecom>
  </contact>
  <description value="This profile is for sumbitting results of a laboratory test to the NICE." />
  <purpose value="This profile is used to submit laboratory test result related information to the Dutch National Intensive Care Evaluation (NICE). It was derived from the Nictiz Health and Care Information Model (HCIM; Dutch: Zorginformatiebouwsteen or ZIB) LaboratoryTestResultObservation, 2017 release version 3.1" />
  <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>
  <mapping>
    <identity value="NICE-Datadictionary-KIIC" />
    <uri value="https://www.stichting-nice.nl/dd/#906" />
    <name value="NICE-Datadictionary-KIIC" />
    <comment value="The Quality Indicators Intensive Care (KIIC) module" />
  </mapping>
  <mapping>
    <identity value="NICE-Datadictionary-SOFA" />
    <uri value="https://www.stichting-nice.nl/dd/#547" />
    <name value="NICE-Datadictionary-SOFA" />
    <comment value="The Sequential Organ Failure Assessment (SOFA) module" />
  </mapping>
  <mapping>
    <identity value="NICE-Datadictionary-Sepsis" />
    <uri value="https://www.stichting-nice.nl/dd/#646" />
    <name value="NICE-Datadictionary-Sepsis" />
    <comment value="The Sepsis registration" />
  </mapping>
  <mapping>
    <identity value="NICE-Datadictionary-Capacity" />
    <uri value="https://www.stichting-nice.nl/dd/#561" />
    <name value="NICE-Datadictionary-Capacity" />
    <comment value="The Patient Acuity Registration" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-LaboratoryTestResult-Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#233" />
        <comment value="PaO2" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#152" />
        <comment value="Lowest hematocrit" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#40" />
        <comment value="Lowest bicarbonate" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#410" />
        <comment value="Lowest thrombocytes" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#338" />
        <comment value="Lowest potassium" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#60" />
        <comment value="Lowest creatinine" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#24" />
        <comment value="Lowest albumin" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#382" />
        <comment value="Lowest sodium" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#59" />
        <comment value="Highest creatinine" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#151" />
        <comment value="Highest hematocrit" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#41" />
        <comment value="Highest bilirubin" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#337" />
        <comment value="Highest potassium" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#381" />
        <comment value="Highest sodium" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#438" />
        <comment value="Lowest white bloodcells" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#437" />
        <comment value="Highest white blood cells" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#23" />
        <comment value="Highest albumin" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#231" />
        <comment value="PaCO2" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#239" />
        <comment value="Arterial pH" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#133" />
        <comment value="Lowest glucose during first 24 hours of IC admission" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#39" />
        <comment value="Highest bicarbonate" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#132" />
        <comment value="Highest glucose during first 24 hours of IC admission" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#429" />
        <comment value="Serum ureum" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-KIIC" />
        <map value="https://www.stichting-nice.nl/dd/#131" />
        <comment value="Glucose value" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-KIIC" />
        <map value="https://www.stichting-nice.nl/dd/#798" />
        <comment value="Glucose-target lower threshold" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-KIIC" />
        <map value="https://www.stichting-nice.nl/dd/#797" />
        <comment value="Glucose-target upper threshold" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-SOFA" />
        <map value="https://www.stichting-nice.nl/dd/#391" />
        <comment value="PaO2" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-SOFA" />
        <map value="https://www.stichting-nice.nl/dd/#387" />
        <comment value="FiO2" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-SOFA" />
        <map value="https://www.stichting-nice.nl/dd/#392" />
        <comment value="Thrombocytes" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-SOFA" />
        <map value="https://www.stichting-nice.nl/dd/#383" />
        <comment value="Bilirubin" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-SOFA" />
        <map value="https://www.stichting-nice.nl/dd/#388" />
        <comment value="Creatinine" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-Sepsis" />
        <map value="https://www.stichting-nice.nl/dd/#681" />
        <comment value="Value of lactate measurement" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-Sepsis" />
        <map value="https://www.stichting-nice.nl/dd/#680" />
        <comment value="Date of lactate measurement" />
      </mapping>
    </element>
    <element id="Observation.extension">
      <path value="Observation.extension" />
      <min value="2" />
    </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:ExtremeValueType">
      <path value="Observation.extension" />
      <sliceName value="ExtremeValueType" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-ExtremeValueType-2022Q1" />
      </type>
    </element>
    <element id="Observation.extension:ScoreDay">
      <path value="Observation.extension" />
      <sliceName value="ScoreDay" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-ScoreDay-2022Q1" />
      </type>
    </element>
    <element id="Observation.status">
      <path value="Observation.status" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.status.extension:TestResultStatus">
      <path value="Observation.status.extension" />
      <sliceName value="TestResultStatus" />
    </element>
    <element id="Observation.status.extension:TestResultStatus.valueCodeableConcept:valueCodeableConcept.coding.code">
      <path value="Observation.status.extension.valueCodeableConcept.coding.code" />
      <fixedCode value="final" />
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.code.coding">
      <path value="Observation.code.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.code.coding:NICELaboratoryTestResultCodeList">
      <path value="Observation.code.coding" />
      <sliceName value="NICELaboratoryTestResultCodeList" />
      <min value="1" />
      <binding>
        <strength value="extensible" />
        <description value="The different LOINC codes describing the various types of laboratory results used by the NICE." />
        <valueSetReference>
          <reference value="https://fhir.stichting-nice.nl/fhir/ValueSet/NICE-LaboratoryTestResultCodeList" />
        </valueSetReference>
      </binding>
    </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>
      <mustSupport value="true" />
    </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>
      <mustSupport value="true" />
    </element>
    <element id="Observation.effective[x]:effectiveDateTime">
      <path value="Observation.effectiveDateTime" />
      <sliceName value="effectiveDateTime" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="Observation.value[x]:valueQuantity">
      <path value="Observation.valueQuantity" />
      <sliceName value="valueQuantity" />
      <type>
        <code value="Quantity" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Observation.specimen">
      <path value="Observation.specimen" />
      <definition value="To find the dateTime of the test, we require information on the specimen that was used when this observation was made." />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-LaboratoryTestResultSpecimen-2022Q1" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Observation.referenceRange.low">
      <path value="Observation.referenceRange.low" />
      <label value="ReferenceRangeLowerLimit" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.referenceRange.high">
      <path value="Observation.referenceRange.high" />
      <label value="ReferenceRangeUpperLimit" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>