{
  "resourceType": "StructureDefinition",
  "id": "cde-current-age-calculated",
  "url": "http://somewhere.org/fhir/uv/myig/StructureDefinition/cde-current-age-calculated",
  "version": "0.2.0",
  "name": "CDE_CurrentAgeCalculated",
  "title": "CDE Current Age Calculated",
  "status": "active",
  "date": "2023-03-09T12:00:30.596245+00:00",
  "description": "Dieses CDE enthält das 'aktuelle Alter - berechnet'.",
  "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": "29553-5"
      },
      {
        "id": "Observation.code.text",
        "path": "Observation.code.text",
        "min": 1,
        "patternString": "Age calculated",
        "mustSupport": true
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.effectivePeriod",
        "path": "Observation.effectivePeriod",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "Observation.effectivePeriod.start",
        "path": "Observation.effectivePeriod.start",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.effectivePeriod.end",
        "path": "Observation.effectivePeriod.end",
        "min": 1,
        "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 number concentration.",
        "definition": "Coded responses from the common UCUM units for number concentration.",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "wk | a",
          "valueSet": "http://somewhere.org/fhir/uv/myig/ValueSet/vs-time-units"
        }
      },
      {
        "id": "Observation.derivedFrom",
        "path": "Observation.derivedFrom",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://somewhere.org/fhir/uv/myig/StructureDefinition/cde-birth-date"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}