{
  "resourceType": "StructureDefinition",
  "id": "7d5ae38e-f153-4d94-ad6e-2516afe689a0",
  "meta": {
    "lastUpdated": "2022-08-02T12:27:48.125+00:00"
  },
  "url": "https://medico-emr.net/medico/r4/sd/Observation_HoursOnVentilator_1",
  "name": "Observation_HoursOnVentilator_1",
  "title": "Observation_HoursOnVentilator_1",
  "status": "active",
  "date": "2022-08-02T09:22:20.163415Z",
  "description": "A readonly profile to return the time a patient was on a ventilator. The sum of time can be retrieved for a case.\r\nThe ID of the ressource is built up as follows:\r\nVentilatorsum.Case-#####   - where #### is \"value\" from identifier for the encounter_case. \r\nImportant: This ressource is present in such Encounter_case - resources if at least one activity for ventilation had been recorded.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "https://medico-emr.net/medico/r4/sd/Observation_Base_1",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.id",
        "path": "Observation.id",
        "definition": "The ID is built up as follows:\r\nVentilatorSum.Case-#####   - where #### is \"value\" from identifier for the encounter_case."
      },
      {
        "id": "Observation.meta",
        "path": "Observation.meta"
      },
      {
        "id": "Observation.meta.lastUpdated",
        "path": "Observation.meta.lastUpdated",
        "definition": "When the resource last changed - e.g. when the version changed.\r\nMEDICO: based on the table x1120pad"
      },
      {
        "id": "Observation.meta.profile",
        "path": "Observation.meta.profile",
        "fixedCanonical": "https://medico-emr.net/medico/r4/sd/Observation_HoursOnVentilator_1"
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "definition": "The status of the result value.\r\nMEDICO: During the course of encounter_case the value of this observation may always change.",
        "fixedCode": "registered"
      },
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category"
      },
      {
        "id": "Observation.category.coding.code",
        "path": "Observation.category.coding.code",
        "fixedCode": "activity"
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "min": 1,
        "fixedCode": "74201-5"
      },
      {
        "id": "Observation.code.coding.userSelected",
        "path": "Observation.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.issued",
        "path": "Observation.issued",
        "max": "0"
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "max": "1"
      },
      {
        "id": "Observation.performer.id",
        "path": "Observation.performer.id",
        "max": "0"
      },
      {
        "id": "Observation.performer.reference",
        "path": "Observation.performer.reference",
        "min": 1
      },
      {
        "id": "Observation.performer.type",
        "path": "Observation.performer.type",
        "min": 1
      },
      {
        "id": "Observation.performer.identifier",
        "path": "Observation.performer.identifier",
        "max": "0"
      },
      {
        "id": "Observation.performer.display",
        "path": "Observation.performer.display",
        "max": "0"
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "definition": "MEDICO: Actual hours the patient (during encounter_case) spent on a ventilator.",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.value[x].value",
        "path": "Observation.value[x].value",
        "min": 1
      },
      {
        "id": "Observation.value[x].unit",
        "path": "Observation.value[x].unit",
        "min": 1,
        "fixedString": "hours"
      },
      {
        "id": "Observation.value[x].system",
        "path": "Observation.value[x].system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.value[x].code",
        "path": "Observation.value[x].code",
        "min": 1,
        "fixedCode": "h"
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "max": "0"
      },
      {
        "id": "Observation.hasMember",
        "path": "Observation.hasMember",
        "max": "0"
      },
      {
        "id": "Observation.derivedFrom",
        "path": "Observation.derivedFrom",
        "max": "0"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "max": "0"
      }
    ]
  }
}