{
  "resourceType": "StructureDefinition",
  "id": "cde-age-at-diagnosis-of-essential-hypertension",
  "url": "http://somewhere.org/fhir/uv/myig/StructureDefinition/cde-age-at-diagnosis-of-essential-hypertension",
  "version": "0.2.0",
  "name": "CDE_AgeAtDiagnosisOfEssentialHypertension",
  "title": "CDE Age At Diagnosis Of Essential Hypertension",
  "status": "active",
  "date": "2023-03-09T12:00:30.596245+00:00",
  "description": "Dieses CDE enthält das 'Alter zum Zeitpunkt der Diagnose Essenzielle (primäre) Hypertonie'.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.org/attributebinding",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://somewhere.org/fhir/uv/myig/StructureDefinition/cls-obo-ncit-age",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "min": 1,
        "mustSupport": true
      },
      {
        "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": "30525-0"
      },
      {
        "id": "Observation.code.text",
        "path": "Observation.code.text",
        "min": 1,
        "patternString": "Age",
        "mustSupport": true
      },
      {
        "id": "Observation.valueQuantity",
        "path": "Observation.valueQuantity",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.valueQuantity.value",
        "path": "Observation.valueQuantity.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.valueQuantity.unit",
        "path": "Observation.valueQuantity.unit",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.valueQuantity.system",
        "path": "Observation.valueQuantity.system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.valueQuantity.code",
        "path": "Observation.valueQuantity.code",
        "short": "Coded responses from the common UCUM units for length.",
        "definition": "Coded responses from the common UCUM units for length.",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "wk | a",
          "valueSet": "http://somewhere.org/fhir/uv/myig/ValueSet/vs-mass-concentration-units"
        }
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code.coding.code"
            }
          ],
          "description": "Slice basiert auf component.code.coding.code #value",
          "ordered": false,
          "rules": "open"
        },
        "min": 2,
        "mustSupport": true
      },
      {
        "id": "Observation.component.valueCodeableConcept",
        "path": "Observation.component.valueCodeableConcept",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Observation.component:Diagnosis",
        "path": "Observation.component",
        "sliceName": "Diagnosis",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:Diagnosis.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:Diagnosis.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "short": "Diagnose",
        "min": 1,
        "fixedCode": "29308-4"
      },
      {
        "id": "Observation.component:Diagnosis.valueCodeableConcept",
        "path": "Observation.component.valueCodeableConcept",
        "short": "Essenzielle (primäre) Hypertonie",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://hl7.org/fhir/sid/icd-10-cm",
              "code": "I10"
            }
          ]
        }
      },
      {
        "id": "Observation.component:DateOfDiagnosis",
        "path": "Observation.component",
        "sliceName": "DateOfDiagnosis",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:DateOfDiagnosis.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component:DateOfDiagnosis.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "432213005"
      },
      {
        "id": "Observation.component:DateOfDiagnosis.valueDateTime",
        "path": "Observation.component.valueDateTime",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Observation.component:DateOfDiagnosis.valueDateTime.value",
        "path": "Observation.component.valueDateTime.value",
        "short": "Datum der Diagnosestellung",
        "min": 1,
        "mustSupport": true
      }
    ]
  }
}