{
  "resourceType": "StructureDefinition",
  "url": "https://www.pacmed.nl/fhir/StructureDefinition/FHIRR4Observation_based_ICU_observation",
  "name": "FHIRR4Observation_based_ICU_observation",
  "status": "active",
  "description": "Based on the FHIR R4 observation resource\r\nUsage: general ICU measurements that need no further profiling",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.id",
        "path": "Observation.id",
        "min": 1
      },
      {
        "id": "Observation.partOf",
        "path": "Observation.partOf",
        "short": "Part of procedure",
        "definition": "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": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Procedure"
            ]
          }
        ]
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "definition": "Unvalidated ICU measurements should have status 'registered'\r\nValidated ICU measurements should have status 'final'"
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "description": "Code defined by hospital EHR and standardized code",
          "rules": "open"
        }
      },
      {
        "id": "Observation.code.coding:OriginalCoding",
        "path": "Observation.code.coding",
        "sliceName": "OriginalCoding",
        "short": "Hospital parameter code",
        "definition": "Hospital parameter code"
      },
      {
        "id": "Observation.code.coding:OriginalCoding.code",
        "path": "Observation.code.coding.code",
        "min": 1
      },
      {
        "id": "Observation.code.coding:OriginalCoding.display",
        "path": "Observation.code.coding.display",
        "min": 1
      },
      {
        "id": "Observation.code.coding:StandardizedCoding",
        "path": "Observation.code.coding",
        "sliceName": "StandardizedCoding",
        "definition": "Code defined by a terminology system, preferably LOINC or Snomed"
      },
      {
        "id": "Observation.code.coding:StandardizedCoding.system",
        "path": "Observation.code.coding.system",
        "min": 1
      },
      {
        "id": "Observation.code.coding:StandardizedCoding.code",
        "path": "Observation.code.coding.code",
        "min": 1
      },
      {
        "id": "Observation.code.coding:StandardizedCoding.display",
        "path": "Observation.code.coding.display",
        "min": 1
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "short": "What person the observation was performed on",
        "definition": "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": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Observation.encounter",
        "path": "Observation.encounter",
        "short": "Hospitalization during which this observation is made",
        "definition": "Hospitalization during which this observation is made",
        "min": 1
      },
      {
        "id": "Observation.encounter.reference",
        "path": "Observation.encounter.reference",
        "min": 1
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          },
          {
            "code": "CodeableConcept"
          },
          {
            "code": "boolean"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "Observation.value[x]:valueQuantity",
        "path": "Observation.value[x]",
        "sliceName": "valueQuantity",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.value[x]:valueCodeableConcept",
        "path": "Observation.value[x]",
        "sliceName": "valueCodeableConcept",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Observation.value[x]:valueDateTime",
        "path": "Observation.value[x]",
        "sliceName": "valueDateTime",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Observation.value[x]:valueBoolean",
        "path": "Observation.value[x]",
        "sliceName": "valueBoolean",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Observation.value[x]:valuePeriod",
        "path": "Observation.value[x]",
        "sliceName": "valuePeriod",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "definition": "Indicates the mechanism used to perform the observation, e.g. invasve versus non-invasive for blood pressure if not already specified in the code."
      },
      {
        "id": "Observation.device",
        "path": "Observation.device",
        "definition": "The device used to generate the observation data, e.g. an observation on an LDA item"
      }
    ]
  }
}