{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_PS_Allergy_Intolerance_Immunization",
  "version": "1.0.0",
  "name": "KBV_PR_MIO_PS_Allergy_Intolerance_Immunization",
  "status": "draft",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "description": "Dieses Profil bildet eine codierte Allergie gegen Impfstoffe ab.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "AllergyIntolerance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "AllergyIntolerance",
        "path": "AllergyIntolerance",
        "constraint": [
          {
            "key": "all-1",
            "severity": "error",
            "human": "onsetPeriod.start must at least contain a year",
            "expression": "onsetPeriod.start.exists() implies onsetPeriod.start.toString().length() >= 4",
            "source": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_PS_Allergy_Intolerance_Immunization"
          },
          {
            "key": "all-2",
            "severity": "error",
            "human": "OnsetPeriod.end must at least contain a year.",
            "expression": "onsetPeriod.end.exists() implies onsetPeriod.end.toString().length() >= 4",
            "source": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_PS_Allergy_Intolerance_Immunization"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.meta",
        "path": "AllergyIntolerance.meta",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.meta.versionId",
        "path": "AllergyIntolerance.meta.versionId",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.meta.lastUpdated",
        "path": "AllergyIntolerance.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.meta.source",
        "path": "AllergyIntolerance.meta.source",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.meta.profile",
        "path": "AllergyIntolerance.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_PS_Allergy_Intolerance_Immunization|1.0.0"
      },
      {
        "id": "AllergyIntolerance.meta.security",
        "path": "AllergyIntolerance.meta.security",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.meta.tag",
        "path": "AllergyIntolerance.meta.tag",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.implicitRules",
        "path": "AllergyIntolerance.implicitRules",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.language",
        "path": "AllergyIntolerance.language",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.contained",
        "path": "AllergyIntolerance.contained",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.identifier",
        "path": "AllergyIntolerance.identifier",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.clinicalStatus",
        "path": "AllergyIntolerance.clinicalStatus",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding",
        "path": "AllergyIntolerance.clinicalStatus.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding.system",
        "path": "AllergyIntolerance.clinicalStatus.coding.system",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding.version",
        "path": "AllergyIntolerance.clinicalStatus.coding.version",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding.code",
        "path": "AllergyIntolerance.clinicalStatus.coding.code",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding.display",
        "path": "AllergyIntolerance.clinicalStatus.coding.display",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding.display.extension",
        "path": "AllergyIntolerance.clinicalStatus.coding.display.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding.display.extension:anzeigenameClinicalStatus",
        "path": "AllergyIntolerance.clinicalStatus.coding.display.extension",
        "sliceName": "anzeigenameClinicalStatus",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding.display.extension:anzeigenameClinicalStatus.extension",
        "path": "AllergyIntolerance.clinicalStatus.coding.display.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding.display.extension:anzeigenameClinicalStatus.extension:content",
        "path": "AllergyIntolerance.clinicalStatus.coding.display.extension.extension",
        "sliceName": "content"
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding.display.extension:anzeigenameClinicalStatus.extension:content.value[x]",
        "path": "AllergyIntolerance.clinicalStatus.coding.display.extension.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding.display.extension:anzeigenameClinicalStatus.extension:content.value[x]:valueString",
        "path": "AllergyIntolerance.clinicalStatus.coding.display.extension.extension.value[x]",
        "sliceName": "valueString",
        "definition": "In diesem Attribut sollen die entsprechende deutsche Bezeichnung des Loinc oder Snomed-Codes aus der Conceptmap eingetragen werden, also in diesem Fall den Displaynamen des Targetsystems aus https://fhir.kbv.de/ConceptMap/KBV_CM_MIO_PS_Allergy_Intolerance_Clinical_Status_German|1.0.0",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding.userSelected",
        "path": "AllergyIntolerance.clinicalStatus.coding.userSelected",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.text",
        "path": "AllergyIntolerance.clinicalStatus.text",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.verificationStatus",
        "path": "AllergyIntolerance.verificationStatus",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding",
        "path": "AllergyIntolerance.verificationStatus.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding.system",
        "path": "AllergyIntolerance.verificationStatus.coding.system",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding.version",
        "path": "AllergyIntolerance.verificationStatus.coding.version",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding.code",
        "path": "AllergyIntolerance.verificationStatus.coding.code",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding.display",
        "path": "AllergyIntolerance.verificationStatus.coding.display",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding.display.extension",
        "path": "AllergyIntolerance.verificationStatus.coding.display.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding.display.extension:anzeigenameVerificationStatus",
        "path": "AllergyIntolerance.verificationStatus.coding.display.extension",
        "sliceName": "anzeigenameVerificationStatus",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding.display.extension:anzeigenameVerificationStatus.extension",
        "path": "AllergyIntolerance.verificationStatus.coding.display.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding.display.extension:anzeigenameVerificationStatus.extension:content",
        "path": "AllergyIntolerance.verificationStatus.coding.display.extension.extension",
        "sliceName": "content"
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding.display.extension:anzeigenameVerificationStatus.extension:content.value[x]",
        "path": "AllergyIntolerance.verificationStatus.coding.display.extension.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding.display.extension:anzeigenameVerificationStatus.extension:content.value[x]:valueString",
        "path": "AllergyIntolerance.verificationStatus.coding.display.extension.extension.valueString",
        "sliceName": "valueString",
        "definition": "In diesem Attribut sollen die entsprechende deutsche Bezeichnung des Loinc oder Snomed-Codes aus der Conceptmap eingetragen werden, also in diesem Fall den Displaynamen des Targetsystems aus https://fhir.kbv.de/ConceptMap/KBV_CM_MIO_PS_Allergy_Intolerance_Verification_Status_German|1.0.0",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding.userSelected",
        "path": "AllergyIntolerance.verificationStatus.coding.userSelected",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.verificationStatus.text",
        "path": "AllergyIntolerance.verificationStatus.text",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.type",
        "path": "AllergyIntolerance.type",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.type.extension",
        "path": "AllergyIntolerance.type.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.type.extension:anzeigenameType",
        "path": "AllergyIntolerance.type.extension",
        "sliceName": "anzeigenameType",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.type.extension:anzeigenameType.extension",
        "path": "AllergyIntolerance.type.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.type.extension:anzeigenameType.extension:content",
        "path": "AllergyIntolerance.type.extension.extension",
        "sliceName": "content"
      },
      {
        "id": "AllergyIntolerance.type.extension:anzeigenameType.extension:content.value[x]",
        "path": "AllergyIntolerance.type.extension.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.type.extension:anzeigenameType.extension:content.value[x]:valueString",
        "path": "AllergyIntolerance.type.extension.extension.valueString",
        "sliceName": "valueString",
        "definition": "In diesem Attribut sollen die entsprechende deutsche Bezeichnung des Loinc oder Snomed-Codes aus der Conceptmap eingetragen werden, also in diesem Fall den Displaynamen des Targetsystems aus https://fhir.kbv.de/ConceptMap/KBV_CM_MIO_PS_Allergy_Intolerance_Type_German|1.0.0",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.category",
        "path": "AllergyIntolerance.category",
        "max": "1",
        "patternCode": "biologic",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.category.extension",
        "path": "AllergyIntolerance.category.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.category.extension:anzeigenameCategory",
        "path": "AllergyIntolerance.category.extension",
        "sliceName": "anzeigenameCategory",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.category.extension:anzeigenameCategory.extension",
        "path": "AllergyIntolerance.category.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.category.extension:anzeigenameCategory.extension:content",
        "path": "AllergyIntolerance.category.extension.extension",
        "sliceName": "content"
      },
      {
        "id": "AllergyIntolerance.category.extension:anzeigenameCategory.extension:content.value[x]",
        "path": "AllergyIntolerance.category.extension.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.category.extension:anzeigenameCategory.extension:content.value[x]:valueString",
        "path": "AllergyIntolerance.category.extension.extension.valueString",
        "sliceName": "valueString",
        "definition": "In diesem Attribut sollen die entsprechende deutsche Bezeichnung des Loinc oder Snomed-Codes aus der Conceptmap eingetragen werden, also in diesem Fall den Displaynamen des Targetsystems aus https://fhir.kbv.de/ConceptMap/KBV_CM_MIO_PS_Allergy_Intolerance_Category_German|1.0.0",
        "min": 1,
        "fixedString": "Impfstoff",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.criticality",
        "path": "AllergyIntolerance.criticality",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.criticality.extension",
        "path": "AllergyIntolerance.criticality.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.criticality.extension:anzeigenameCriticality",
        "path": "AllergyIntolerance.criticality.extension",
        "sliceName": "anzeigenameCriticality",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.criticality.extension:anzeigenameCriticality.extension",
        "path": "AllergyIntolerance.criticality.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.criticality.extension:anzeigenameCriticality.extension:content",
        "path": "AllergyIntolerance.criticality.extension.extension",
        "sliceName": "content"
      },
      {
        "id": "AllergyIntolerance.criticality.extension:anzeigenameCriticality.extension:content.value[x]",
        "path": "AllergyIntolerance.criticality.extension.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.criticality.extension:anzeigenameCriticality.extension:content.value[x]:valueString",
        "path": "AllergyIntolerance.criticality.extension.extension.valueString",
        "sliceName": "valueString",
        "definition": "In diesem Attribut sollen die entsprechende deutsche Bezeichnung des Loinc oder Snomed-Codes aus der Conceptmap eingetragen werden, also in diesem Fall den Displaynamen des Targetsystems aus https://fhir.kbv.de/ConceptMap/KBV_CM_MIO_PS_Allergy_Intolerance_Criticality_German|1.0.0",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.code",
        "path": "AllergyIntolerance.code",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.code.coding",
        "path": "AllergyIntolerance.code.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.code.coding.system",
        "path": "AllergyIntolerance.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "AllergyIntolerance.code.coding.version",
        "path": "AllergyIntolerance.code.coding.version",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.code.coding.code",
        "path": "AllergyIntolerance.code.coding.code",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.code.coding.display",
        "path": "AllergyIntolerance.code.coding.display",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.code.coding.userSelected",
        "path": "AllergyIntolerance.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.code.text",
        "path": "AllergyIntolerance.code.text",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.patient",
        "path": "AllergyIntolerance.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_PS_Patient|1.0.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.patient.reference",
        "path": "AllergyIntolerance.patient.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.patient.type",
        "path": "AllergyIntolerance.patient.type",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.patient.identifier",
        "path": "AllergyIntolerance.patient.identifier",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.patient.display",
        "path": "AllergyIntolerance.patient.display",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.encounter",
        "path": "AllergyIntolerance.encounter",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.onset[x]",
        "path": "AllergyIntolerance.onset[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod",
        "path": "AllergyIntolerance.onset[x]",
        "sliceName": "onsetPeriod",
        "type": [
          {
            "code": "Period"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.start",
        "path": "AllergyIntolerance.onset[x].start",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.start.extension",
        "path": "AllergyIntolerance.onset[x].start.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.start.extension:lebensphase-von",
        "path": "AllergyIntolerance.onset[x].start.extension",
        "sliceName": "lebensphase-von",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Stage_Life"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.start.extension:lebensphase-von.value[x]",
        "path": "AllergyIntolerance.onset[x].start.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.start.extension:lebensphase-von.value[x]:valueCodeableConcept",
        "path": "AllergyIntolerance.onset[x].start.extension.value[x]",
        "sliceName": "valueCodeableConcept",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.start.extension:lebensphase-von.value[x]:valueCodeableConcept.coding",
        "path": "AllergyIntolerance.onset[x].start.extension.value[x].coding",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.start.extension:lebensphase-von.value[x]:valueCodeableConcept.coding.display.extension",
        "path": "AllergyIntolerance.onset[x].start.extension.value[x].coding.display.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.start.extension:lebensphase-von.value[x]:valueCodeableConcept.coding.display.extension:anzeigeNameDisplay",
        "path": "AllergyIntolerance.onset[x].start.extension.value[x].coding.display.extension",
        "sliceName": "anzeigeNameDisplay",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.start.extension:lebensphase-von.value[x]:valueCodeableConcept.coding.display.extension:anzeigeNameDisplay.extension",
        "path": "AllergyIntolerance.onset[x].start.extension.value[x].coding.display.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.start.extension:lebensphase-von.value[x]:valueCodeableConcept.coding.display.extension:anzeigeNameDisplay.extension:content",
        "path": "AllergyIntolerance.onset[x].start.extension.value[x].coding.display.extension.extension",
        "sliceName": "content",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.start.extension:lebensphase-von.value[x]:valueCodeableConcept.coding.display.extension:anzeigeNameDisplay.extension:content.value[x]",
        "path": "AllergyIntolerance.onset[x].start.extension.value[x].coding.display.extension.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.start.extension:lebensphase-von.value[x]:valueCodeableConcept.coding.display.extension:anzeigeNameDisplay.extension:content.value[x]:valueString",
        "path": "AllergyIntolerance.onset[x].start.extension.value[x].coding.display.extension.extension.value[x]",
        "sliceName": "valueString",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.start.extension:lebensphase-von.value[x]:valueCodeableConcept.coding.userSelected",
        "path": "AllergyIntolerance.onset[x].start.extension.value[x].coding.userSelected",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.end",
        "path": "AllergyIntolerance.onset[x].end",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.end.extension",
        "path": "AllergyIntolerance.onset[x].end.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.end.extension:lebensphase-bis",
        "path": "AllergyIntolerance.onset[x].end.extension",
        "sliceName": "lebensphase-bis",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Stage_Life"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.end.extension:lebensphase-bis.value[x]",
        "path": "AllergyIntolerance.onset[x].end.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.end.extension:lebensphase-bis.value[x]:valueCodeableConcept",
        "path": "AllergyIntolerance.onset[x].end.extension.value[x]",
        "sliceName": "valueCodeableConcept",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.end.extension:lebensphase-bis.value[x]:valueCodeableConcept.coding",
        "path": "AllergyIntolerance.onset[x].end.extension.value[x].coding",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.end.extension:lebensphase-bis.value[x]:valueCodeableConcept.coding.display.extension",
        "path": "AllergyIntolerance.onset[x].end.extension.value[x].coding.display.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.end.extension:lebensphase-bis.value[x]:valueCodeableConcept.coding.display.extension:anzeigeNameDisplay",
        "path": "AllergyIntolerance.onset[x].end.extension.value[x].coding.display.extension",
        "sliceName": "anzeigeNameDisplay",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.end.extension:lebensphase-bis.value[x]:valueCodeableConcept.coding.display.extension:anzeigeNameDisplay.extension",
        "path": "AllergyIntolerance.onset[x].end.extension.value[x].coding.display.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.end.extension:lebensphase-bis.value[x]:valueCodeableConcept.coding.display.extension:anzeigeNameDisplay.extension:content",
        "path": "AllergyIntolerance.onset[x].end.extension.value[x].coding.display.extension.extension",
        "sliceName": "content",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.end.extension:lebensphase-bis.value[x]:valueCodeableConcept.coding.display.extension:anzeigeNameDisplay.extension:content.value[x]",
        "path": "AllergyIntolerance.onset[x].end.extension.value[x].coding.display.extension.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.end.extension:lebensphase-bis.value[x]:valueCodeableConcept.coding.display.extension:anzeigeNameDisplay.extension:content.value[x]:valueString",
        "path": "AllergyIntolerance.onset[x].end.extension.value[x].coding.display.extension.extension.value[x]",
        "sliceName": "valueString",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetPeriod.end.extension:lebensphase-bis.value[x]:valueCodeableConcept.coding.userSelected",
        "path": "AllergyIntolerance.onset[x].end.extension.value[x].coding.userSelected",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.recordedDate",
        "path": "AllergyIntolerance.recordedDate",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.recorder",
        "path": "AllergyIntolerance.recorder",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_PS_Practitioner|1.0.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_PS_Practitioner_Role|1.0.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.recorder.reference",
        "path": "AllergyIntolerance.recorder.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.recorder.type",
        "path": "AllergyIntolerance.recorder.type",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.recorder.identifier",
        "path": "AllergyIntolerance.recorder.identifier",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.recorder.display",
        "path": "AllergyIntolerance.recorder.display",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.asserter",
        "path": "AllergyIntolerance.asserter",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.lastOccurrence",
        "path": "AllergyIntolerance.lastOccurrence",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.note",
        "path": "AllergyIntolerance.note",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.note.author[x]",
        "path": "AllergyIntolerance.note.author[x]",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.reaction",
        "path": "AllergyIntolerance.reaction",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.substance",
        "path": "AllergyIntolerance.reaction.substance",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding",
        "path": "AllergyIntolerance.reaction.substance.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "closed"
        },
        "max": "2"
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:snomedCode",
        "path": "AllergyIntolerance.reaction.substance.coding",
        "sliceName": "snomedCode",
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_MIO_PS_Top_Substance_SNOMEDCT"
        }
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:snomedCode.system",
        "path": "AllergyIntolerance.reaction.substance.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:snomedCode.version",
        "path": "AllergyIntolerance.reaction.substance.coding.version",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:snomedCode.code",
        "path": "AllergyIntolerance.reaction.substance.coding.code",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:snomedCode.display",
        "path": "AllergyIntolerance.reaction.substance.coding.display",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:snomedCode.display.extension",
        "path": "AllergyIntolerance.reaction.substance.coding.display.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:snomedCode.display.extension:anzeigenameSubstanz",
        "path": "AllergyIntolerance.reaction.substance.coding.display.extension",
        "sliceName": "anzeigenameManifestation",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:snomedCode.display.extension:anzeigenameSubstanz.extension",
        "path": "AllergyIntolerance.reaction.substance.coding.display.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:snomedCode.display.extension:anzeigenameSubstanz.extension:content",
        "path": "AllergyIntolerance.reaction.substance.coding.display.extension.extension",
        "sliceName": "content"
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:snomedCode.display.extension:anzeigenameSubstanz.extension:content.value[x]",
        "path": "AllergyIntolerance.reaction.substance.coding.display.extension.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:snomedCode.display.extension:anzeigenameSubstanz.extension:content.value[x]:valueString",
        "path": "AllergyIntolerance.reaction.substance.coding.display.extension.extension.valueString",
        "sliceName": "valueString",
        "definition": "In diesem Attribut sollen die entsprechende deutsche Bezeichnung des Loinc oder Snomed-Codes aus der Conceptmap eingetragen werden, also in diesem Fall den Displaynamen des Targetsystems aus https://fhir.kbv.de/ConceptMap/KBV_CM_MIO_PS_Top_Substance_SNOMEDCT_German|1.0.0",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:snomedCode.userSelected",
        "path": "AllergyIntolerance.reaction.substance.coding.userSelected",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:pznCode",
        "path": "AllergyIntolerance.reaction.substance.coding",
        "sliceName": "pznCode",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:pznCode.system",
        "path": "AllergyIntolerance.reaction.substance.coding.system",
        "min": 1,
        "fixedUri": "http://fhir.de/CodeSystem/ifa/pzn"
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:pznCode.version",
        "path": "AllergyIntolerance.reaction.substance.coding.version",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:pznCode.code",
        "path": "AllergyIntolerance.reaction.substance.coding.code",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:pznCode.display",
        "path": "AllergyIntolerance.reaction.substance.coding.display",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:pznCode.userSelected",
        "path": "AllergyIntolerance.reaction.substance.coding.userSelected",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:atcCode",
        "path": "AllergyIntolerance.reaction.substance.coding",
        "sliceName": "atcCode",
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_MIO_PS_Top_Substance_ATC"
        }
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:atcCode.system",
        "path": "AllergyIntolerance.reaction.substance.coding.system",
        "min": 1,
        "fixedUri": "http://www.whocc.no/atc"
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:atcCode.version",
        "path": "AllergyIntolerance.reaction.substance.coding.version",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:atcCode.code",
        "path": "AllergyIntolerance.reaction.substance.coding.code",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:atcCode.display",
        "path": "AllergyIntolerance.reaction.substance.coding.display",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:atcCode.userSelected",
        "path": "AllergyIntolerance.reaction.substance.coding.userSelected",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.reaction.substance.text",
        "path": "AllergyIntolerance.reaction.substance.text",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation",
        "path": "AllergyIntolerance.reaction.manifestation",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding",
        "path": "AllergyIntolerance.reaction.manifestation.coding",
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "example",
          "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_MIO_PS_Reaction_Allergy"
        }
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding.system",
        "path": "AllergyIntolerance.reaction.manifestation.coding.system",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding.version",
        "path": "AllergyIntolerance.reaction.manifestation.coding.version",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding.code",
        "path": "AllergyIntolerance.reaction.manifestation.coding.code",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding.display",
        "path": "AllergyIntolerance.reaction.manifestation.coding.display",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding.display.extension",
        "path": "AllergyIntolerance.reaction.manifestation.coding.display.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding.display.extension:anzeigenameManifestation",
        "path": "AllergyIntolerance.reaction.manifestation.coding.display.extension",
        "sliceName": "anzeigenameManifestation",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding.display.extension:anzeigenameManifestation.extension",
        "path": "AllergyIntolerance.reaction.manifestation.coding.display.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding.display.extension:anzeigenameManifestation.extension:content",
        "path": "AllergyIntolerance.reaction.manifestation.coding.display.extension.extension",
        "sliceName": "content"
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding.display.extension:anzeigenameManifestation.extension:content.value[x]",
        "path": "AllergyIntolerance.reaction.manifestation.coding.display.extension.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding.display.extension:anzeigenameManifestation.extension:content.value[x]:valueString",
        "path": "AllergyIntolerance.reaction.manifestation.coding.display.extension.extension.valueString",
        "sliceName": "valueString",
        "definition": "In diesem Attribut sollen die entsprechende deutsche Bezeichnung des Loinc oder Snomed-Codes aus der Conceptmap eingetragen werden, also in diesem Fall den Displaynamen des Targetsystems aus https://fhir.kbv.de/ConceptMap/KBV_CM_MIO_Reaction_Allergy_German|1.0.0",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding.userSelected",
        "path": "AllergyIntolerance.reaction.manifestation.coding.userSelected",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.text",
        "path": "AllergyIntolerance.reaction.manifestation.text",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.description",
        "path": "AllergyIntolerance.reaction.description",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.onset",
        "path": "AllergyIntolerance.reaction.onset",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.reaction.severity",
        "path": "AllergyIntolerance.reaction.severity",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.severity.extension",
        "path": "AllergyIntolerance.reaction.severity.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.reaction.severity.extension:anzeigenameSeverity",
        "path": "AllergyIntolerance.reaction.severity.extension",
        "sliceName": "anzeigenameSeverity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.severity.extension:anzeigenameSeverity.extension",
        "path": "AllergyIntolerance.reaction.severity.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.reaction.severity.extension:anzeigenameSeverity.extension:content",
        "path": "AllergyIntolerance.reaction.severity.extension.extension",
        "sliceName": "content"
      },
      {
        "id": "AllergyIntolerance.reaction.severity.extension:anzeigenameSeverity.extension:content.value[x]",
        "path": "AllergyIntolerance.reaction.severity.extension.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.severity.extension:anzeigenameSeverity.extension:content.value[x]:valueString",
        "path": "AllergyIntolerance.reaction.severity.extension.extension.valueString",
        "sliceName": "valueString",
        "definition": "In diesem Attribut sollen die entsprechende deutsche Bezeichnung des Loinc oder Snomed-Codes aus der Conceptmap eingetragen werden, also in diesem Fall den Displaynamen des Targetsystems aus https://fhir.kbv.de/ConceptMap/KBV_CM_MIO_PS_Severity_German|1.0.0",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.exposureRoute",
        "path": "AllergyIntolerance.reaction.exposureRoute",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.reaction.note",
        "path": "AllergyIntolerance.reaction.note",
        "max": "0"
      }
    ]
  }
}