{
  "resourceType": "StructureDefinition",
  "url": "http://d4solutions.dedalus.eu/fhir/StructureDefinition/Observation-ForVitalSigns-SPO2-COVID19",
  "name": "Observation-ForVitalSigns-SPO2-COVID19",
  "status": "active",
  "experimental": false,
  "description": "Observation-ForVitalSigns-SPO2-COVID19",
  "fhirVersion": "3.0.2",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Observation-ForVitalSigns",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.meta.tag",
        "path": "Observation.meta.tag",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.status",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
            "valueString": "default: final"
          }
        ],
        "path": "Observation.status",
        "fixedCode": "final"
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org",
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "min": 1,
        "fixedCode": "59408-5",
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.code.coding.display",
        "mustSupport": true
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://d4solutions.dedalus.eu/fhir/StructureDefinition/Patient-COVID19",
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "Observation.context",
        "path": "Observation.context",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://d4solutions.dedalus.eu/fhir/StructureDefinition/Encounter-COVID19",
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code.coding.code"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Observation.component:Saturation",
        "path": "Observation.component",
        "sliceName": "Saturation",
        "max": "1"
      },
      {
        "id": "Observation.component:Saturation.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:Saturation.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:Saturation.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "59408-5",
        "mustSupport": true
      },
      {
        "id": "Observation.component:Saturation.value[x]:valueQuantity",
        "path": "Observation.component.valueQuantity",
        "sliceName": "valueQuantity",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:Saturation.value[x]:valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:Saturation.value[x]:valueQuantity.unit",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.valueQuantity.unit",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:Saturation.value[x]:valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:Saturation.value[x]:valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:PerfusionIndex",
        "path": "Observation.component",
        "sliceName": "PerfusionIndex",
        "max": "1"
      },
      {
        "id": "Observation.component:PerfusionIndex.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:PerfusionIndex.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PerfusionIndex.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "61006-3",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PerfusionIndex.code.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.code.coding.display",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PerfusionIndex.value[x]:valueQuantity",
        "path": "Observation.component.valueQuantity",
        "sliceName": "valueQuantity",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:PerfusionIndex.value[x]:valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:PerfusionIndex.value[x]:valueQuantity.unit",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.valueQuantity.unit",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:PerfusionIndex.value[x]:valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:PerfusionIndex.value[x]:valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:HeartRate",
        "path": "Observation.component",
        "sliceName": "HeartRate",
        "max": "1"
      },
      {
        "id": "Observation.component:HeartRate.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:HeartRate.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:HeartRate.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "8889-8",
        "mustSupport": true
      },
      {
        "id": "Observation.component:HeartRate.code.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.code.coding.display",
        "mustSupport": true
      },
      {
        "id": "Observation.component:HeartRate.value[x]:valueQuantity",
        "path": "Observation.component.valueQuantity",
        "sliceName": "valueQuantity",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:HeartRate.value[x]:valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:HeartRate.value[x]:valueQuantity.unit",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.valueQuantity.unit",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:HeartRate.value[x]:valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:HeartRate.value[x]:valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "mustSupport": true
      }
    ]
  }
}