{
  "resourceType": "StructureDefinition",
  "url": "https://www.simplifier.net/ziv-schnittstellen.de/fhir/ca/StructureDefinition/ziv_laborwerte",
  "name": "ZIV_Laborwerte",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.identifier",
        "path": "Observation.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.identifier:AnalyseBefundCode",
        "path": "Observation.identifier",
        "sliceName": "AnalyseBefundCode",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.identifier:AnalyseBefundCode.type",
        "path": "Observation.identifier.type",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.identifier:AnalyseBefundCode.type.coding",
        "path": "Observation.identifier.type.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "resolve()"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.identifier:AnalyseBefundCode.type.coding:observationInstanceV2",
        "path": "Observation.identifier.type.coding",
        "sliceName": "observationInstanceV2",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.identifier:AnalyseBefundCode.type.coding:observationInstanceV2.system",
        "path": "Observation.identifier.type.coding.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.identifier:AnalyseBefundCode.type.coding:observationInstanceV2.code",
        "path": "Observation.identifier.type.coding.code",
        "code": [
          {
            "system": "http://loinc.org"
          },
          {
            "system": "http://snomed.info/sct"
          }
        ],
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.identifier:AnalyseBefundCode.system",
        "path": "Observation.identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.identifier:AnalyseBefundCode.value",
        "path": "Observation.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.identifier:AnalyseBefundCode.assigner",
        "path": "Observation.identifier.assigner",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "definition": "The patient, or group of patients, location, or device 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.\r\nZIV: Für Klinik und Patient einsehbar."
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "definition": "Often just a dateTime for Vital Signs.\r\nZIV: Für Klinik und Patient einsehbar."
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "definition": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.\r\nZIV: Für Klinik und Patient einsehbar."
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "definition": "A categorical assessment of an observation value.  For example, high, low, normal.\r\nZIV: Für Klinik und Patient einsehbar."
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an \"OR\".   In other words, to represent two distinct target populations, two `referenceRange` elements would be used.\r\nZIV: Für Klinik und Patient einsehbar."
      }
    ]
  }
}