{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_TELE_AllergyIntolerance",
  "version": "1.0.0",
  "name": "KBV_PR_MIO_TELE_AllergyIntolerance",
  "title": "KBV_PR_MIO_TELE_AllergyIntolerance",
  "status": "active",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "description": "Dieses Profil bildet eine Allergie oder Intoleranz ab.",
  "copyright": "Im folgenden Profil können Codes aus den Codesystemen Snomed, Loinc oder Ucum enthalten sein, die dem folgenden Urheberrecht unterliegen: This material includes SNOMED Clinical Terms® SNOMED CT® which is used by permission of SNOMED International. All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. SNOMED and SNOMED CT are registered trademarks of SNOMED International. Implementers of these artefacts must have the appropriate SNOMED CT Affiliate license. This material contains content from Loinc http://loinc.org. Loinc is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes Loinc Committee and is available at no cost under the license at http://loinc.org/license. Loinc® is a registered United States trademark of Regenstrief Institute, Inc. This product includes all or a portion of the UCUM table, UCUM codes, and UCUM definitions or is derived from it, subject to a license from Regenstrief Institute, Inc. and The UCUM Organization. Your use of the UCUM table, UCUM codes, UCUM definitions also is subject to this license, a copy of which is available at ​http://unitsofmeasure.org. The current complete UCUM table, UCUM Specification are available for download at ​http://unitsofmeasure.org. The UCUM table and UCUM codes are copyright © 1995-2009, Regenstrief Institute, Inc. and the Unified Codes for Units of Measures UCUM Organization. All rights reserved. THE UCUM TABLE IN ALL FORMATS, UCUM DEFINITIONS, AND SPECIFICATION ARE PROVIDED &quot;AS IS.&quot; ANY EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "AllergyIntolerance",
  "baseDefinition": "https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Allergy_Intolerance|1.2.1",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "AllergyIntolerance",
        "path": "AllergyIntolerance",
        "definition": "Dieses Profil bildet eine Allergie oder Intoleranz ab."
      },
      {
        "id": "AllergyIntolerance.meta",
        "path": "AllergyIntolerance.meta",
        "min": 1,
        "max": "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",
        "patternCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_TELE_AllergyIntolerance|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.text",
        "path": "AllergyIntolerance.text",
        "definition": "In diesem Element können die, in der Instanz, enthaltenen Informationen in einer menschenlesbaren Form zusammengefasst werden. Dabei ist zu beachten, dass keine Informationen aufgenommen werden dürfen, die nicht in strukturierter Form an anderer Stelle in der Instanz enthalten sind."
      },
      {
        "id": "AllergyIntolerance.text.status",
        "path": "AllergyIntolerance.text.status",
        "patternCode": "extensions"
      },
      {
        "id": "AllergyIntolerance.contained",
        "path": "AllergyIntolerance.contained",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.extension",
        "path": "AllergyIntolerance.extension",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.extension:abatement",
        "path": "AllergyIntolerance.extension",
        "sliceName": "abatement",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.extension:abatement.value[x]",
        "path": "AllergyIntolerance.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.extension:abatement.value[x]:valueDateTime",
        "path": "AllergyIntolerance.extension.value[x]",
        "sliceName": "valueDateTime",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.extension:abatement-lebensphase-bis",
        "path": "AllergyIntolerance.extension",
        "sliceName": "abatement-lebensphase-bis",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.extension:abatement-lebensphase-bis.value[x]",
        "path": "AllergyIntolerance.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.extension:abatement-lebensphase-bis.value[x]:valueCodeableConcept",
        "path": "AllergyIntolerance.extension.value[x]",
        "sliceName": "valueCodeableConcept",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.extension:abatement-lebensphase-bis.value[x]:valueCodeableConcept.coding",
        "path": "AllergyIntolerance.extension.value[x].coding",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.extension:abatement-lebensphase-bis.value[x]:valueCodeableConcept.coding.system",
        "path": "AllergyIntolerance.extension.value[x].coding.system",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.extension:abatement-lebensphase-bis.value[x]:valueCodeableConcept.coding.version",
        "path": "AllergyIntolerance.extension.value[x].coding.version",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.extension:abatement-lebensphase-bis.value[x]:valueCodeableConcept.coding.code",
        "path": "AllergyIntolerance.extension.value[x].coding.code",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.extension:abatement-lebensphase-bis.value[x]:valueCodeableConcept.coding.display",
        "path": "AllergyIntolerance.extension.value[x].coding.display",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.extension:abatement-lebensphase-bis.value[x]:valueCodeableConcept.coding.userSelected",
        "path": "AllergyIntolerance.extension.value[x].coding.userSelected",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.identifier",
        "path": "AllergyIntolerance.identifier",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.clinicalStatus",
        "path": "AllergyIntolerance.clinicalStatus",
        "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": "closed"
        },
        "min": 1
      },
      {
        "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"
        },
        "min": 1
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding.display.extension:anzeigenameClinicalStatus.extension:content",
        "path": "AllergyIntolerance.clinicalStatus.coding.display.extension.extension",
        "sliceName": "content",
        "min": 1
      },
      {
        "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.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_TELE_AllergyIntolerance_Clinical_Status_Codes_German|1.0.0",
        "min": 1,
        "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"
        },
        "min": 1
      },
      {
        "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"
        },
        "min": 1
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding.display.extension:anzeigenameVerificationStatus.extension:content",
        "path": "AllergyIntolerance.verificationStatus.coding.display.extension.extension",
        "sliceName": "content",
        "min": 1
      },
      {
        "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_TELE_AllergyIntolerance_Verification_Status_German|1.0.0",
        "min": 1,
        "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"
        },
        "min": 1
      },
      {
        "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"
        },
        "min": 1
      },
      {
        "id": "AllergyIntolerance.type.extension:anzeigenameType.extension:content",
        "path": "AllergyIntolerance.type.extension.extension",
        "sliceName": "content",
        "min": 1
      },
      {
        "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_TELE_AllergyIntolerance_Type_German|1.0.0",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.category",
        "path": "AllergyIntolerance.category",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.category.extension",
        "path": "AllergyIntolerance.category.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "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"
        },
        "min": 1
      },
      {
        "id": "AllergyIntolerance.category.extension:anzeigenameCategory.extension:content",
        "path": "AllergyIntolerance.category.extension.extension",
        "sliceName": "content",
        "min": 1
      },
      {
        "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_TELE_AllergyIntolerance_Category_German|1.0.0",
        "min": 1,
        "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"
        },
        "min": 1
      },
      {
        "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"
        },
        "min": 1
      },
      {
        "id": "AllergyIntolerance.criticality.extension:anzeigenameCriticality.extension:content",
        "path": "AllergyIntolerance.criticality.extension.extension",
        "sliceName": "content",
        "min": 1
      },
      {
        "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_TELE_AllergyIntolerance_Criticality_German|1.0.0",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.code",
        "path": "AllergyIntolerance.code",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.code.coding",
        "path": "AllergyIntolerance.code.coding",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.code.coding:codeSnomed",
        "path": "AllergyIntolerance.code.coding",
        "sliceName": "codeSnomed",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.code.coding:codeSnomed.version",
        "path": "AllergyIntolerance.code.coding.version",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.code.coding:codeSnomed.display",
        "path": "AllergyIntolerance.code.coding.display",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.code.coding:codeSnomed.userSelected",
        "path": "AllergyIntolerance.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.code.coding:codeASK",
        "path": "AllergyIntolerance.code.coding",
        "sliceName": "codeASK",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.code.coding:codeASK.version",
        "path": "AllergyIntolerance.code.coding.version",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.code.coding:codeASK.display",
        "path": "AllergyIntolerance.code.coding.display",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.code.coding:codeASK.userSelected",
        "path": "AllergyIntolerance.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.code.text",
        "path": "AllergyIntolerance.code.text",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.patient",
        "path": "AllergyIntolerance.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_TELE_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": "dateTime"
          },
          {
            "code": "Age"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetDateTime",
        "path": "AllergyIntolerance.onset[x]",
        "sliceName": "onsetDateTime",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetAge",
        "path": "AllergyIntolerance.onset[x]",
        "sliceName": "onsetAge",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetAge.extension",
        "path": "AllergyIntolerance.onset[x].extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "closed"
        },
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetAge.extension:lebensphase-von",
        "path": "AllergyIntolerance.onset[x].extension",
        "sliceName": "lebensphase-von",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetAge.extension:lebensphase-von.value[x]",
        "path": "AllergyIntolerance.onset[x].extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetAge.extension:lebensphase-von.value[x]:valueCodeableConcept",
        "path": "AllergyIntolerance.onset[x].extension.value[x]",
        "sliceName": "valueCodeableConcept",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetAge.extension:lebensphase-von.value[x]:valueCodeableConcept.coding",
        "path": "AllergyIntolerance.onset[x].extension.value[x].coding",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetAge.extension:lebensphase-von.value[x]:valueCodeableConcept.coding.userSelected",
        "path": "AllergyIntolerance.onset[x].extension.value[x].coding.userSelected",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetAge.value",
        "path": "AllergyIntolerance.onset[x].value",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetAge.comparator",
        "path": "AllergyIntolerance.onset[x].comparator",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetAge.unit",
        "path": "AllergyIntolerance.onset[x].unit",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetAge.system",
        "path": "AllergyIntolerance.onset[x].system",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.onset[x]:onsetAge.code",
        "path": "AllergyIntolerance.onset[x].code",
        "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_TELE_Practitioner|1.0.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_TELE_PractitionerRole|1.0.0"
            ]
          }
        ]
      },
      {
        "id": "AllergyIntolerance.recorder.reference",
        "path": "AllergyIntolerance.recorder.reference",
        "min": 1
      },
      {
        "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": "0"
      },
      {
        "id": "AllergyIntolerance.reaction",
        "path": "AllergyIntolerance.reaction",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.substance",
        "path": "AllergyIntolerance.reaction.substance",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation",
        "path": "AllergyIntolerance.reaction.manifestation",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding:codeSnomed",
        "path": "AllergyIntolerance.reaction.manifestation.coding",
        "sliceName": "codeSnomed",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding:codeSnomed.version",
        "path": "AllergyIntolerance.reaction.manifestation.coding.version",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding:codeSnomed.display",
        "path": "AllergyIntolerance.reaction.manifestation.coding.display",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding:codeSnomed.userSelected",
        "path": "AllergyIntolerance.reaction.manifestation.coding.userSelected",
        "min": 0
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.text",
        "path": "AllergyIntolerance.reaction.manifestation.text",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.description",
        "path": "AllergyIntolerance.reaction.description",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.reaction.onset",
        "path": "AllergyIntolerance.reaction.onset",
        "mustSupport": true
      },
      {
        "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"
        },
        "min": 1
      },
      {
        "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"
        },
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.severity.extension:anzeigenameSeverity.extension:content",
        "path": "AllergyIntolerance.reaction.severity.extension.extension",
        "sliceName": "content",
        "min": 1
      },
      {
        "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_TELE_AllergyIntolerance_Severity_German|1.0.0",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.exposureRoute",
        "path": "AllergyIntolerance.reaction.exposureRoute",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.exposureRoute.coding",
        "path": "AllergyIntolerance.reaction.exposureRoute.coding",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.exposureRoute.coding:codeSnomed",
        "path": "AllergyIntolerance.reaction.exposureRoute.coding",
        "sliceName": "codeSnomed",
        "patternCoding": {
          "system": "http://snomed.info/sct"
        },
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.exposureRoute.coding:codeSnomed.version",
        "path": "AllergyIntolerance.reaction.exposureRoute.coding.version",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.exposureRoute.coding:codeSnomed.display",
        "path": "AllergyIntolerance.reaction.exposureRoute.coding.display",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.exposureRoute.coding:codeSnomed.userSelected",
        "path": "AllergyIntolerance.reaction.exposureRoute.coding.userSelected",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.reaction.exposureRoute.text",
        "path": "AllergyIntolerance.reaction.exposureRoute.text",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.reaction.note",
        "path": "AllergyIntolerance.reaction.note",
        "max": "0"
      }
    ]
  }
}