<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://www.pacmed.nl/fhir/StructureDefinition/FHIRR4Observation_based_ICU_observation" />
  <name value="FHIRR4Observation_based_ICU_observation" />
  <status value="active" />
  <description value="Based on the FHIR R4 observation resource&#xD;&#xA;Usage: general ICU measurements that need no further profiling" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.id">
      <path value="Observation.id" />
      <min value="1" />
    </element>
    <element id="Observation.partOf">
      <path value="Observation.partOf" />
      <short value="Part of procedure" />
      <definition value="A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a surgical procedure or some ICU specific treatment." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure" />
      </type>
    </element>
    <element id="Observation.status">
      <path value="Observation.status" />
      <definition value="Unvalidated ICU measurements should have status 'registered'&#xD;&#xA;Validated ICU measurements should have status 'final'" />
    </element>
    <element id="Observation.code.coding">
      <path value="Observation.code.coding" />
      <slicing>
        <description value="Code defined by hospital EHR and standardized code" />
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.code.coding:OriginalCoding">
      <path value="Observation.code.coding" />
      <sliceName value="OriginalCoding" />
      <short value="Hospital parameter code" />
      <definition value="Hospital parameter code" />
    </element>
    <element id="Observation.code.coding:OriginalCoding.code">
      <path value="Observation.code.coding.code" />
      <min value="1" />
    </element>
    <element id="Observation.code.coding:OriginalCoding.display">
      <path value="Observation.code.coding.display" />
      <min value="1" />
    </element>
    <element id="Observation.code.coding:StandardizedCoding">
      <path value="Observation.code.coding" />
      <sliceName value="StandardizedCoding" />
      <definition value="Code defined by a terminology system, preferably LOINC or Snomed" />
    </element>
    <element id="Observation.code.coding:StandardizedCoding.system">
      <path value="Observation.code.coding.system" />
      <min value="1" />
    </element>
    <element id="Observation.code.coding:StandardizedCoding.code">
      <path value="Observation.code.coding.code" />
      <min value="1" />
    </element>
    <element id="Observation.code.coding:StandardizedCoding.display">
      <path value="Observation.code.coding.display" />
      <min value="1" />
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <short value="What person the observation was performed on" />
      <definition value="The patient this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation." />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
    </element>
    <element id="Observation.encounter">
      <path value="Observation.encounter" />
      <short value="Hospitalization during which this observation is made" />
      <definition value="Hospitalization during which this observation is made" />
      <min value="1" />
    </element>
    <element id="Observation.encounter.reference">
      <path value="Observation.encounter.reference" />
      <min value="1" />
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Period" />
      </type>
    </element>
    <element id="Observation.value[x]:valueQuantity">
      <path value="Observation.value[x]" />
      <sliceName value="valueQuantity" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="Observation.value[x]:valueCodeableConcept">
      <path value="Observation.value[x]" />
      <sliceName value="valueCodeableConcept" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="Observation.value[x]:valueDateTime">
      <path value="Observation.value[x]" />
      <sliceName value="valueDateTime" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="Observation.value[x]:valueBoolean">
      <path value="Observation.value[x]" />
      <sliceName value="valueBoolean" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="Observation.value[x]:valuePeriod">
      <path value="Observation.value[x]" />
      <sliceName value="valuePeriod" />
      <type>
        <code value="Period" />
      </type>
    </element>
    <element id="Observation.method">
      <path value="Observation.method" />
      <definition value="Indicates the mechanism used to perform the observation, e.g. invasve versus non-invasive for blood pressure if not already specified in the code." />
    </element>
    <element id="Observation.device">
      <path value="Observation.device" />
      <definition value="The device used to generate the observation data, e.g. an observation on an LDA item" />
    </element>
  </differential>
</StructureDefinition>