<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="KBV-PR-MIO-EMP-AllergyIntolerance" />
  <url value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_EMP_AllergyIntolerance" />
  <version value="1.0.0" />
  <name value="KBV_PR_MIO_EMP_AllergyIntolerance" />
  <title value="KBV_PR_MIO_EMP_AllergyIntolerance" />
  <status value="draft" />
  <publisher value="Kassenärztliche Bundesvereinigung (KBV)" />
  <description value="Dieses Profil bildet eine Allergie oder Unverträglichkeit ab." />
  <copyright value="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 value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="AllergyIntolerance" />
  <baseDefinition value="https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_AllergyIntolerance" />
  <derivation value="constraint" />
  <differential>
    <element id="AllergyIntolerance">
      <path value="AllergyIntolerance" />
      <definition value="Dieses Profil bildet eine Allergie oder Unverträglichkeit ab." />
    </element>
    <element id="AllergyIntolerance.meta">
      <path value="AllergyIntolerance.meta" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.meta.versionId">
      <path value="AllergyIntolerance.meta.versionId" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.meta.lastUpdated">
      <path value="AllergyIntolerance.meta.lastUpdated" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.meta.profile">
      <path value="AllergyIntolerance.meta.profile" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="AllergyIntolerance.meta.profile:mioProfile">
      <path value="AllergyIntolerance.meta.profile" />
      <sliceName value="mioProfile" />
      <min value="1" />
      <max value="1" />
      <patternCanonical value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_EMP_AllergyIntolerance|1.0.0" />
    </element>
    <element id="AllergyIntolerance.text">
      <path value="AllergyIntolerance.text" />
      <definition value="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." />
    </element>
    <element id="AllergyIntolerance.text.status">
      <path value="AllergyIntolerance.text.status" />
      <fixedCode value="extensions" />
    </element>
    <element id="AllergyIntolerance.extension">
      <path value="AllergyIntolerance.extension" />
      <comment value="Das MustSupport gilt nur für die vordefinierten Slices." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.extension:abatement">
      <path value="AllergyIntolerance.extension" />
      <sliceName value="abatement" />
      <definition value="In diesem Element kann angegeben werden, in welchem Zeitraum bzw. ab wann der/die Patient:in die Allergie/Unverträglichkeit hatte." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.extension:abatement.extension">
      <path value="AllergyIntolerance.extension.extension" />
      <max value="0" />
    </element>
    <element id="AllergyIntolerance.extension:abatement.value[x]:valueDateTime">
      <path value="AllergyIntolerance.extension.value[x]" />
      <sliceName value="valueDateTime" />
      <type>
        <code value="dateTime" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.extension:abatement-lebensphase-bis">
      <path value="AllergyIntolerance.extension" />
      <sliceName value="abatement-lebensphase-bis" />
      <definition value="Angabe des ungefähren Alters, ab dem der/die Patient:in die Allergie nicht mehr hat." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.extension:abatement-lebensphase-bis.extension">
      <path value="AllergyIntolerance.extension.extension" />
      <max value="0" />
    </element>
    <element id="AllergyIntolerance.extension:abatement-lebensphase-bis.value[x]:valueCodeableConcept">
      <path value="AllergyIntolerance.extension.value[x]" />
      <sliceName value="valueCodeableConcept" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.extension:abatement-lebensphase-bis.value[x]:valueCodeableConcept.coding">
      <path value="AllergyIntolerance.extension.value[x].coding" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.extension:abatement-lebensphase-bis.value[x]:valueCodeableConcept.coding.system">
      <path value="AllergyIntolerance.extension.value[x].coding.system" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.extension:abatement-lebensphase-bis.value[x]:valueCodeableConcept.coding.version">
      <path value="AllergyIntolerance.extension.value[x].coding.version" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.extension:abatement-lebensphase-bis.value[x]:valueCodeableConcept.coding.code">
      <path value="AllergyIntolerance.extension.value[x].coding.code" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.extension:abatement-lebensphase-bis.value[x]:valueCodeableConcept.coding.display">
      <path value="AllergyIntolerance.extension.value[x].coding.display" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.clinicalStatus">
      <path value="AllergyIntolerance.clinicalStatus" />
      <definition value="Beschreibt den Status einer Allergie bzw. Unverträglichkeit aus klinischer Sicht." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.clinicalStatus.coding">
      <path value="AllergyIntolerance.clinicalStatus.coding" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.clinicalStatus.coding.system">
      <path value="AllergyIntolerance.clinicalStatus.coding.system" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.clinicalStatus.coding.version">
      <path value="AllergyIntolerance.clinicalStatus.coding.version" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.clinicalStatus.coding.code">
      <path value="AllergyIntolerance.clinicalStatus.coding.code" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.clinicalStatus.coding.display">
      <path value="AllergyIntolerance.clinicalStatus.coding.display" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.verificationStatus">
      <path value="AllergyIntolerance.verificationStatus" />
      <definition value="Gibt den Grad der Sicherheit oder Gewissheit an, mit der das tatsächliche Vorliegen der Allergie/Unverträglichkeit angegeben werden kann." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.verificationStatus.coding">
      <path value="AllergyIntolerance.verificationStatus.coding" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.verificationStatus.coding.system">
      <path value="AllergyIntolerance.verificationStatus.coding.system" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.verificationStatus.coding.version">
      <path value="AllergyIntolerance.verificationStatus.coding.version" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.verificationStatus.coding.code">
      <path value="AllergyIntolerance.verificationStatus.coding.code" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.verificationStatus.coding.display">
      <path value="AllergyIntolerance.verificationStatus.coding.display" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.type">
      <path value="AllergyIntolerance.type" />
      <definition value="In diesem Element kann angegeben werden, ob es sich um eine Allergie oder eine Unverträglichkeit handelt" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.category">
      <path value="AllergyIntolerance.category" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.criticality">
      <path value="AllergyIntolerance.criticality" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code">
      <path value="AllergyIntolerance.code" />
      <definition value="Dieses Element bildet die Substanz bzw. Substanzgruppen ab, gegen die eine Allergie oder Unverträglichkeit besteht. Diese kann als codierte Information und/oder als Freitext angegeben werden." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding">
      <path value="AllergyIntolerance.code.coding" />
      <definition value="Hier kann die Substanz als codierte Information angegeben werden." />
      <comment value="Das MustSupport gilt nur für die vordefinierten Slices." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding:snomed">
      <path value="AllergyIntolerance.code.coding" />
      <sliceName value="snomed" />
      <definition value="Hier kann ein SNOMED CT®-Code für die Substanz angegeben werden." />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding:snomed.system">
      <path value="AllergyIntolerance.code.coding.system" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding:snomed.version">
      <path value="AllergyIntolerance.code.coding.version" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding:snomed.code">
      <path value="AllergyIntolerance.code.coding.code" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding:snomed.display">
      <path value="AllergyIntolerance.code.coding.display" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding:ask">
      <path value="AllergyIntolerance.code.coding" />
      <sliceName value="ask" />
      <definition value="Hier kann ein ASK-Code für die Substanz angegeben werden." />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding:ask.system">
      <path value="AllergyIntolerance.code.coding.system" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding:ask.code">
      <path value="AllergyIntolerance.code.coding.code" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding:ask.display">
      <path value="AllergyIntolerance.code.coding.display" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding:atc-de">
      <path value="AllergyIntolerance.code.coding" />
      <sliceName value="atc-de" />
      <definition value="Hier kann ein deutscher ATC-Code für die Substanz angegeben werden." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Coding" />
        <profile value="http://fhir.de/StructureDefinition/CodingATC" />
      </type>
      <patternCoding>
        <system value="http://fhir.de/CodeSystem/bfarm/atc" />
      </patternCoding>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding:atc-de.system">
      <path value="AllergyIntolerance.code.coding.system" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding:atc-de.version">
      <path value="AllergyIntolerance.code.coding.version" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding:atc-de.code">
      <path value="AllergyIntolerance.code.coding.code" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding:atc-de.display">
      <path value="AllergyIntolerance.code.coding.display" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.text">
      <path value="AllergyIntolerance.code.text" />
      <definition value="Hier kann die Bezeichnung der Substanz als Freitext angegeben werden." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.patient">
      <path value="AllergyIntolerance.patient" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.patient.identifier">
      <path value="AllergyIntolerance.patient.identifier" />
      <min value="1" />
      <type>
        <code value="Identifier" />
        <profile value="http://fhir.de/StructureDefinition/identifier-kvid-10" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.onset[x]">
      <path value="AllergyIntolerance.onset[x]" />
      <definition value="In diesem Element kann angegeben werden, in welchem Zeitraum bzw. ab wann der/die Patient:in die Allergie/Unverträglichkeit hatte bzw. hat." />
      <comment value="Das MustSupport gilt nur für die vordefinierten Slices." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetDateTime">
      <path value="AllergyIntolerance.onset[x]" />
      <sliceName value="onsetDateTime" />
      <definition value="Datum, ab wann die Allergie/Unverträglichkeit identifiziert wurde." />
      <type>
        <code value="dateTime" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetAge">
      <path value="AllergyIntolerance.onset[x]" />
      <sliceName value="onsetAge" />
      <type>
        <code value="Age" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetAge.extension">
      <path value="AllergyIntolerance.onset[x].extension" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetAge.extension:lebensphase-von">
      <path value="AllergyIntolerance.onset[x].extension" />
      <sliceName value="lebensphase-von" />
      <definition value="Angabe der Lebensphasen, in denen die Allergie/Unverträglichkeit begonnen/geendet hat." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetAge.extension:lebensphase-von.extension">
      <path value="AllergyIntolerance.onset[x].extension.extension" />
      <max value="0" />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetAge.extension:lebensphase-von.value[x]">
      <path value="AllergyIntolerance.onset[x].extension.value[x]" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetAge.extension:lebensphase-von.value[x]:valueCodeableConcept">
      <path value="AllergyIntolerance.onset[x].extension.value[x]" />
      <sliceName value="valueCodeableConcept" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetAge.extension:lebensphase-von.value[x]:valueCodeableConcept.coding">
      <path value="AllergyIntolerance.onset[x].extension.value[x].coding" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetAge.extension:lebensphase-von.value[x]:valueCodeableConcept.coding.system">
      <path value="AllergyIntolerance.onset[x].extension.value[x].coding.system" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetAge.extension:lebensphase-von.value[x]:valueCodeableConcept.coding.version">
      <path value="AllergyIntolerance.onset[x].extension.value[x].coding.version" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetAge.extension:lebensphase-von.value[x]:valueCodeableConcept.coding.code">
      <path value="AllergyIntolerance.onset[x].extension.value[x].coding.code" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetAge.extension:lebensphase-von.value[x]:valueCodeableConcept.coding.display">
      <path value="AllergyIntolerance.onset[x].extension.value[x].coding.display" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetPeriod">
      <path value="AllergyIntolerance.onset[x]" />
      <sliceName value="onsetPeriod" />
      <definition value="Klinisch relevanter Zeitraum als Zeitintervall mit Datumsangaben, ab/bis wann der/die Patient:in die Allergie/Unverträglichkeit hatte bzw. hat." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Period" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetPeriod.start">
      <path value="AllergyIntolerance.onset[x].start" />
      <definition value="Datum, ab wann die Allergie/Unverträglichkeit identifiziert wurde." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetPeriod.end">
      <path value="AllergyIntolerance.onset[x].end" />
      <definition value="Datum, bis wann der/die Patient:in die Allergie/Unverträglichkeit hatte." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.recorder">
      <path value="AllergyIntolerance.recorder" />
      <definition value="Hier wird die Aufzeichnende Person der &quot;Allergie/Unverträglichkeit&quot; referenziert." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_EMP_Practitioner|1.0.0" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_EMP_PractitionerRole|1.0.0" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_EMP_RelatedPerson|1.0.0" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.recorder.reference">
      <path value="AllergyIntolerance.recorder.reference" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.recorder.identifier">
      <path value="AllergyIntolerance.recorder.identifier" />
      <type>
        <code value="Identifier" />
        <profile value="http://fhir.de/StructureDefinition/identifier-kvid-10" />
        <profile value="http://fhir.de/StructureDefinition/identifier-telematik-id" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.asserter">
      <path value="AllergyIntolerance.asserter" />
      <definition value="Hier wird die Quelle der Information der &quot;Allergie/Unverträglichkeit&quot; abgebildet." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_EMP_Practitioner|1.0.0" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_EMP_PractitionerRole|1.0.0" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_EMP_RelatedPerson|1.0.0" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.asserter.reference">
      <path value="AllergyIntolerance.asserter.reference" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.asserter.identifier">
      <path value="AllergyIntolerance.asserter.identifier" />
      <type>
        <code value="Identifier" />
        <profile value="http://fhir.de/StructureDefinition/identifier-kvid-10" />
        <profile value="http://fhir.de/StructureDefinition/identifier-telematik-id" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.note">
      <path value="AllergyIntolerance.note" />
      <definition value="Hier können ergänzende Informationen zur Allergie bzw. Unverträglichkeit angegeben werden." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.note.author[x]">
      <path value="AllergyIntolerance.note.author[x]" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.note.author[x]:authorReference">
      <path value="AllergyIntolerance.note.author[x]" />
      <sliceName value="authorReference" />
      <definition value="Hier wird die Person/Einrichtung referenziert, die die Notiz erstellt hat." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_EMP_Organization|1.0.0" />
        <targetProfile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_EMP_Practitioner|1.0.0" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.note.author[x]:authorReference.reference">
      <path value="AllergyIntolerance.note.author[x].reference" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.note.author[x]:authorReference.identifier">
      <path value="AllergyIntolerance.note.author[x].identifier" />
      <type>
        <code value="Identifier" />
        <profile value="http://fhir.de/StructureDefinition/identifier-kvid-10" />
        <profile value="http://fhir.de/StructureDefinition/identifier-telematik-id" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.note.time">
      <path value="AllergyIntolerance.note.time" />
      <definition value="Hier wird der Zeitpunkt angegeben, zu dem die Notiz erstellt wurde." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.note.text">
      <path value="AllergyIntolerance.note.text" />
      <definition value="Hier wird der eigentliche Text der Notiz eingetragen." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction">
      <path value="AllergyIntolerance.reaction" />
      <definition value="Dieses Element enthält Informationen über die Reaktion, die bei diesem/dieser Patient:in nach Exposition hervorgerufen wird." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance">
      <path value="AllergyIntolerance.reaction.substance" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding">
      <path value="AllergyIntolerance.reaction.substance.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <definition value="Dieses Element bildet die Substanz als codierte Information ab." />
      <comment value="Das MustSupport gilt nur für die vordefinierten Slices." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding:snomed">
      <path value="AllergyIntolerance.reaction.substance.coding" />
      <sliceName value="snomed" />
      <definition value="Hier kann ein SNOMED CT®-Code für die Substanz angegeben werden." />
      <min value="0" />
      <max value="1" />
      <patternCoding>
        <system value="http://snomed.info/sct" />
      </patternCoding>
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <valueSet value="https://fhir.kbv.de/ValueSet/KBV_VS_Base_Allergy_Substance_SNOMED_CT" />
      </binding>
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding:snomed.system">
      <path value="AllergyIntolerance.reaction.substance.coding.system" />
      <min value="1" />
      <patternUri value="http://snomed.info/sct" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding:snomed.version">
      <path value="AllergyIntolerance.reaction.substance.coding.version" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding:snomed.code">
      <path value="AllergyIntolerance.reaction.substance.coding.code" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding:snomed.display">
      <path value="AllergyIntolerance.reaction.substance.coding.display" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding:ask">
      <path value="AllergyIntolerance.reaction.substance.coding" />
      <sliceName value="ask" />
      <definition value="Hier kann ein ASK-Code für die Substanz angegeben werden." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Coding" />
        <profile value="http://fhir.de/StructureDefinition/CodingASK" />
      </type>
      <patternCoding>
        <system value="http://fhir.de/CodeSystem/ask" />
      </patternCoding>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding:ask.system">
      <path value="AllergyIntolerance.reaction.substance.coding.system" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding:ask.code">
      <path value="AllergyIntolerance.reaction.substance.coding.code" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding:ask.display">
      <path value="AllergyIntolerance.reaction.substance.coding.display" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding:atc-de">
      <path value="AllergyIntolerance.reaction.substance.coding" />
      <sliceName value="atc-de" />
      <definition value="Hier kann ein deutscher ATC-Code für die Substanz angegeben werden." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Coding" />
        <profile value="http://fhir.de/StructureDefinition/CodingATC" />
      </type>
      <patternCoding>
        <system value="http://fhir.de/CodeSystem/bfarm/atc" />
      </patternCoding>
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding:atc-de.system">
      <path value="AllergyIntolerance.reaction.substance.coding.system" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding:atc-de.version">
      <path value="AllergyIntolerance.reaction.substance.coding.version" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding:atc-de.code">
      <path value="AllergyIntolerance.reaction.substance.coding.code" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding:atc-de.display">
      <path value="AllergyIntolerance.reaction.substance.coding.display" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.text">
      <path value="AllergyIntolerance.reaction.substance.text" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation">
      <path value="AllergyIntolerance.reaction.manifestation" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding">
      <path value="AllergyIntolerance.reaction.manifestation.coding" />
      <comment value="Das MustSupport gilt nur für die vordefinierten Slices." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding:snomed">
      <path value="AllergyIntolerance.reaction.manifestation.coding" />
      <sliceName value="snomed" />
      <definition value="Manifestation als SNOMED CT®-Code." />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding:snomed.system">
      <path value="AllergyIntolerance.reaction.manifestation.coding.system" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding:snomed.version">
      <path value="AllergyIntolerance.reaction.manifestation.coding.version" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding:snomed.code">
      <path value="AllergyIntolerance.reaction.manifestation.coding.code" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding:snomed.display">
      <path value="AllergyIntolerance.reaction.manifestation.coding.display" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.text">
      <path value="AllergyIntolerance.reaction.manifestation.text" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.description">
      <path value="AllergyIntolerance.reaction.description" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.onset">
      <path value="AllergyIntolerance.reaction.onset" />
      <definition value="Datum eines Reaktionsereignisses." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.severity">
      <path value="AllergyIntolerance.reaction.severity" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute">
      <path value="AllergyIntolerance.reaction.exposureRoute" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute.coding">
      <path value="AllergyIntolerance.reaction.exposureRoute.coding" />
      <comment value="Das MustSupport gilt nur für die vordefinierten Slices." />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute.coding:snomed">
      <path value="AllergyIntolerance.reaction.exposureRoute.coding" />
      <sliceName value="snomed" />
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.kbv.de/ValueSet/KBV_VS_Base_Route_of_Administration_SNOMED_CT|1.5.0" />
      </binding>
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute.coding:snomed.system">
      <path value="AllergyIntolerance.reaction.exposureRoute.coding.system" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute.coding:snomed.version">
      <path value="AllergyIntolerance.reaction.exposureRoute.coding.version" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute.coding:snomed.code">
      <path value="AllergyIntolerance.reaction.exposureRoute.coding.code" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute.coding:snomed.display">
      <path value="AllergyIntolerance.reaction.exposureRoute.coding.display" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute.coding:edqmCode">
      <path value="AllergyIntolerance.reaction.exposureRoute.coding" />
      <sliceName value="edqmCode" />
      <definition value="EDQM-Code für die Bezeichnung des Expositionswegs." />
      <min value="0" />
      <max value="1" />
      <patternCoding>
        <system value="http://standardterms.edqm.eu" />
      </patternCoding>
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <valueSet value="https://fhir.kbv.de/ValueSet/KBV_VS_Base_Medicine_Route_Of_Administration|1.5.0" />
      </binding>
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute.coding:edqmCode.system">
      <path value="AllergyIntolerance.reaction.exposureRoute.coding.system" />
      <min value="1" />
      <patternUri value="http://standardterms.edqm.eu" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute.coding:edqmCode.version">
      <path value="AllergyIntolerance.reaction.exposureRoute.coding.version" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute.coding:edqmCode.code">
      <path value="AllergyIntolerance.reaction.exposureRoute.coding.code" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute.coding:edqmCode.display">
      <path value="AllergyIntolerance.reaction.exposureRoute.coding.display" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute.text">
      <path value="AllergyIntolerance.reaction.exposureRoute.text" />
      <definition value="Hier kann der Expositionsweg als Freitext angegeben werden." />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>