{
  "resourceType": "StructureDefinition",
  "url": "http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Observation-TodUrsache",
  "version": "0.9.0",
  "name": "TodUrsache",
  "title": "Tod Ursache",
  "status": "active",
  "description": "Tod Ursache",
  "fhirVersion": "4.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "short": "Todesursache",
        "definition": "Todesursachen und Krebs-Tod-Relation"
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "mustSupport": true
      },
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "fixedUri": "http://hl7.org/fhir/observation-category"
      },
      {
        "id": "Observation.category.coding.code",
        "path": "Observation.category.coding.code",
        "fixedCode": "laboratory"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "mustSupport": false
      },
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "fixedCode": "68343-3"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Patient-Patient",
              "http://dktk.dkfz.de/fhir/StructureDefinition/onco-core-Patient-Pseudonym"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.value[x].coding",
        "path": "Observation.value[x].coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.value[x].coding:icd-10-gm",
        "path": "Observation.value[x].coding",
        "sliceName": "icd-10-gm",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "ADT-GEKID",
            "map": "Tod:Todesursachen_ICD",
            "comment": "Tod:Todesursachen_ICD"
          },
          {
            "identity": "ISO-11179",
            "map": "urn:adt:dataelement:105:1"
          }
        ]
      },
      {
        "id": "Observation.value[x].coding:icd-10-gm.system",
        "path": "Observation.value[x].coding.system",
        "short": "ICD-10-GM",
        "min": 1,
        "fixedUri": "http://fhir.de/CodeSystem/bfarm/icd-10-gm",
        "mustSupport": true
      },
      {
        "id": "Observation.value[x].coding:todTumorbedingt",
        "path": "Observation.value[x].coding",
        "sliceName": "todTumorbedingt",
        "short": "Tod Tumor bedingt",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://dktk.dkfz.de/fhir/onco/core/ValueSet/JNUVS"
        },
        "mapping": [
          {
            "identity": "ADT-GEKID",
            "map": "Tod:Tod_tumorbedingt",
            "comment": "Tod:Tod_tumorbedingt"
          },
          {
            "identity": "ISO-11179",
            "map": "urn:adt:dataelement:104:1"
          }
        ]
      },
      {
        "id": "Observation.value[x].coding:todTumorbedingt.system",
        "path": "Observation.value[x].coding.system",
        "short": "todTumorbedingt",
        "min": 1,
        "fixedUri": "http://dktk.dkfz.de/fhir/onco/core/CodeSystem/JNUCS",
        "mustSupport": true
      }
    ]
  }
}