EHDS Logical Information Models
0.1.0 - ci-build

EHDS Logical Information Models, published by Xt-EHR. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Xt-EHR/xt-ehr-common/tree/stakeholder-consultation-D6-2 and changes regularly. See the Directory of published versions

## Logical Model: EHDSAllergyIntolerance - XML Profile

Draft as of 2025-05-26

XML representation of the EHDSAllergyIntolerance logical model.

Raw xml | Download

    <StructureDefinition xmlns="http://hl7.org/fhir">
      <id value="EHDSAllergyIntolerance"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition EHDSAllergyIntolerance</b></p><a name="EHDSAllergyIntolerance"> </a><a name="hcEHDSAllergyIntolerance"> </a><a name="EHDSAllergyIntolerance-en-US"> </a><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64, " alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance" title="EHDS refined base model for allergy/intolerance">EHDSAllergyIntolerance</a><a name="EHDSAllergyIntolerance"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/types.html#Base">Base</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Allergy intolerance model<br/><span style="font-weight:bold">Instances of this logical model can be the target of a Reference</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.identifier" title="Identifier for the allergy/intolerance record">identifier</a><a name="EHDSAllergyIntolerance.identifier"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Identifier for the allergy/intolerance record<br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.subject" title="The patient who has the allergy or intolerance">subject</a><a name="EHDSAllergyIntolerance.subject"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-EHDSPatient.html">EHDSPatient</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The patient who has the allergy or intolerance</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.status" title="Current status of the allergy or intolerance (e.g. active, in remission, resolved)">status</a><a name="EHDSAllergyIntolerance.status"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Current status of the allergy or intolerance (e.g. active, in remission, resolved)<br/><span style="font-weight:bold">Binding Description (No ValueSet): </span> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>): SNOMED CT<br/><br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.allergyDescription" title="Textual description of the allergy or intolerance">allergyDescription</a><a name="EHDSAllergyIntolerance.allergyDescription"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Textual description of the allergy or intolerance</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.typeOfPropensity" title="Type of propensity describes whether this condition refers to an allergy, non-allergy intolerance, or unknown class of intolerance (not known to be allergy or intolerance)">typeOfPropensity</a><a name="EHDSAllergyIntolerance.typeOfPropensity"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Type of propensity describes whether this condition refers to an allergy, non-allergy intolerance, or unknown class of intolerance (not known to be allergy or intolerance)<br/><span style="font-weight:bold">Binding Description (No ValueSet): </span> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>): SNOMED CT<br/><br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.allergyManifestation" title="Description of the clinical manifestation of the allergic reaction including date of manifestation and severity. Example: anaphylactic shock, angioedema (the clinical manifestation also gives information about the severity of the observed reaction).">allergyManifestation</a><a name="EHDSAllergyIntolerance.allergyManifestation"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Base</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Description of the clinical manifestation of the allergic reaction including date of manifestation and severity. Example: anaphylactic shock, angioedema (the clinical manifestation also gives information about the severity of the observed reaction).<br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.allergyManifestation.date" title="Date and time of allergy manifestation">date</a><a name="EHDSAllergyIntolerance.allergyManifestation.date"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Date and time of allergy manifestation</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.allergyManifestation.severity" title="Severity of the clinical manifestation of the allergic reaction.">severity</a><a name="EHDSAllergyIntolerance.allergyManifestation.severity"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Severity of the clinical manifestation of the allergic reaction.<br/><span style="font-weight:bold">Binding Description (No ValueSet): </span> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>): SNOMED CT<br/><br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.allergyManifestation.description" title="Description of the event as a whole">description</a><a name="EHDSAllergyIntolerance.allergyManifestation.description"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Description of the event as a whole</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.allergyManifestation.manifestation" title="Clinical symptoms/signs associated with the event">manifestation</a><a name="EHDSAllergyIntolerance.allergyManifestation.manifestation"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Clinical symptoms/signs associated with the event<br/><span style="font-weight:bold">Binding Description (No ValueSet): </span> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>): SNOMED CT<br/><br/><br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.criticality" title="Potential risk for future life-threatening adverse reactions when exposed to a substance known to cause an adverse reaction.">criticality</a><a name="EHDSAllergyIntolerance.criticality"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Potential risk for future life-threatening adverse reactions when exposed to a substance known to cause an adverse reaction.<br/><span style="font-weight:bold">Binding Description (No ValueSet): </span> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>): SNOMED CT<br/><br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.onsetDate" title="Date of onset of allergy, e.g., date of the first observation of the reaction. Partial date could be used.">onsetDate</a><a name="EHDSAllergyIntolerance.onsetDate"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Date of onset of allergy, e.g., date of the first observation of the reaction. Partial date could be used.</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.onsetLifePeriod" title="Onset life period (childhood, adolescence, etc.).">onsetLifePeriod</a><a name="EHDSAllergyIntolerance.onsetLifePeriod"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Onset life period (childhood, adolescence, etc.).<br/><span style="font-weight:bold">Binding Description (No ValueSet): </span> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>): SNOMED CT<br/><br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.endDate" title="Date of resolution of the allergy (e.g. when the clinician deemed there is no longer any need to track the underlying condition)">endDate</a><a name="EHDSAllergyIntolerance.endDate"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Date of resolution of the allergy (e.g. when the clinician deemed there is no longer any need to track the underlying condition)</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.endDateLifePeriod" title="Life period of resolution of the allergy (e.g. childhood, adolescence)">endDateLifePeriod</a><a name="EHDSAllergyIntolerance.endDateLifePeriod"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Life period of resolution of the allergy (e.g. childhood, adolescence)<br/><span style="font-weight:bold">Binding Description (No ValueSet): </span> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>): SNOMED CT<br/><br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.certainty" title="Assertion about the certainty associated with a propensity, or potential risk, of a reaction to the identified substance. Diagnostic and/or clinical evidence of condition.">certainty</a><a name="EHDSAllergyIntolerance.certainty"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Assertion about the certainty associated with a propensity, or potential risk, of a reaction to the identified substance. Diagnostic and/or clinical evidence of condition.<br/><span style="font-weight:bold">Binding Description (No ValueSet): </span> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>): SNOMED CT<br/><br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSAllergyIntolerance-definitions.html#EHDSAllergyIntolerance.agentOrAllergen" title="A specific allergen or other agent/substance (drug, food, chemical agent, etc.) to which the patient has an adverse reaction propensity.">agentOrAllergen</a><a name="EHDSAllergyIntolerance.agentOrAllergen"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">A specific allergen or other agent/substance (drug, food, chemical agent, etc.) to which the patient has an adverse reaction propensity.<br/><span style="font-weight:bold">Binding Description (No ValueSet): </span> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>): SNOMED CT, ATC, EMA SPOR SMS<br/><br/></td></tr>
    <tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64, " alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
      </text>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
        <valueCode value="can-be-target"/>
      </extension>
      <url
           value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAllergyIntolerance"/>
      <version value="0.1.0"/>
      <name value="EHDSAllergyIntolerance"/>
      <title value="Allergy intolerance model"/>
      <status value="draft"/>
      <date value="2025-05-26T10:09:34+00:00"/>
      <publisher value="Xt-EHR"/>
      <contact>
        <name value="Xt-EHR"/>
        <telecom>
          <system value="url"/>
          <value value="http://Xt-EHR.eu"/>
        </telecom>
      </contact>
      <description value="EHDS refined base model for allergy/intolerance"/>
      <fhirVersion value="5.0.0"/>
      <mapping>
        <identity value="rim"/>
        <uri value="http://hl7.org/v3"/>
        <name value="RIM Mapping"/>
      </mapping>
      <kind value="logical"/>
      <abstract value="false"/>
      <type
            value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAllergyIntolerance"/>
      <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
      <derivation value="specialization"/>
      <snapshot>
        <extension
                   url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
          <valueString value="5.0.0"/>
        </extension>
        <element id="EHDSAllergyIntolerance">
          <path value="EHDSAllergyIntolerance"/>
          <short value="Allergy intolerance model"/>
          <definition value="EHDS refined base model for allergy/intolerance"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Base"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <isModifier value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="EHDSAllergyIntolerance.identifier">
          <path value="EHDSAllergyIntolerance.identifier"/>
          <short value="Identifier for the allergy/intolerance record"/>
          <definition value="Identifier for the allergy/intolerance record"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="EHDSAllergyIntolerance.identifier"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Identifier"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.subject">
          <path value="EHDSAllergyIntolerance.subject"/>
          <short value="The patient who has the allergy or intolerance"/>
          <definition value="The patient who has the allergy or intolerance"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSAllergyIntolerance.subject"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.status">
          <path value="EHDSAllergyIntolerance.status"/>
          <short
                 value="Current status of the allergy or intolerance (e.g. active, in remission, resolved)"/>
          <definition
                      value="Current status of the allergy or intolerance (e.g. active, in remission, resolved)"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSAllergyIntolerance.status"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.allergyDescription">
          <path value="EHDSAllergyIntolerance.allergyDescription"/>
          <short value="Textual description of the allergy or intolerance"/>
          <definition value="Textual description of the allergy or intolerance"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSAllergyIntolerance.allergyDescription"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.typeOfPropensity">
          <path value="EHDSAllergyIntolerance.typeOfPropensity"/>
          <short
                 value="Type of propensity describes whether this condition refers to an allergy, non-allergy intolerance, or unknown class of intolerance (not known to be allergy or intolerance)"/>
          <definition
                      value="Type of propensity describes whether this condition refers to an allergy, non-allergy intolerance, or unknown class of intolerance (not known to be allergy or intolerance)"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSAllergyIntolerance.typeOfPropensity"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.allergyManifestation">
          <path value="EHDSAllergyIntolerance.allergyManifestation"/>
          <short
                 value="Description of the clinical manifestation of the allergic reaction including date of manifestation and severity. Example: anaphylactic shock, angioedema (the clinical manifestation also gives information about the severity of the observed reaction)."/>
          <definition
                      value="Description of the clinical manifestation of the allergic reaction including date of manifestation and severity. Example: anaphylactic shock, angioedema (the clinical manifestation also gives information about the severity of the observed reaction)."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="EHDSAllergyIntolerance.allergyManifestation"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Base"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.allergyManifestation.date">
          <path value="EHDSAllergyIntolerance.allergyManifestation.date"/>
          <short value="Date and time of allergy manifestation"/>
          <definition value="Date and time of allergy manifestation"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSAllergyIntolerance.allergyManifestation.date"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="dateTime"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.allergyManifestation.severity">
          <path value="EHDSAllergyIntolerance.allergyManifestation.severity"/>
          <short
                 value="Severity of the clinical manifestation of the allergic reaction."/>
          <definition
                      value="Severity of the clinical manifestation of the allergic reaction."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSAllergyIntolerance.allergyManifestation.severity"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.allergyManifestation.description">
          <path value="EHDSAllergyIntolerance.allergyManifestation.description"/>
          <short value="Description of the event as a whole"/>
          <definition value="Description of the event as a whole"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path
                  value="EHDSAllergyIntolerance.allergyManifestation.description"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.allergyManifestation.manifestation">
          <path
                value="EHDSAllergyIntolerance.allergyManifestation.manifestation"/>
          <short value="Clinical symptoms/signs associated with the event"/>
          <definition value="Clinical symptoms/signs associated with the event"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path
                  value="EHDSAllergyIntolerance.allergyManifestation.manifestation"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.criticality">
          <path value="EHDSAllergyIntolerance.criticality"/>
          <short
                 value="Potential risk for future life-threatening adverse reactions when exposed to a substance known to cause an adverse reaction."/>
          <definition
                      value="Potential risk for future life-threatening adverse reactions when exposed to a substance known to cause an adverse reaction."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSAllergyIntolerance.criticality"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.onsetDate">
          <path value="EHDSAllergyIntolerance.onsetDate"/>
          <short
                 value="Date of onset of allergy, e.g., date of the first observation of the reaction. Partial date could be used."/>
          <definition
                      value="Date of onset of allergy, e.g., date of the first observation of the reaction. Partial date could be used."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSAllergyIntolerance.onsetDate"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="dateTime"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.onsetLifePeriod">
          <path value="EHDSAllergyIntolerance.onsetLifePeriod"/>
          <short value="Onset life period (childhood, adolescence, etc.)."/>
          <definition value="Onset life period (childhood, adolescence, etc.)."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSAllergyIntolerance.onsetLifePeriod"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.endDate">
          <path value="EHDSAllergyIntolerance.endDate"/>
          <short
                 value="Date of resolution of the allergy (e.g. when the clinician deemed there is no longer any need to track the underlying condition)"/>
          <definition
                      value="Date of resolution of the allergy (e.g. when the clinician deemed there is no longer any need to track the underlying condition)"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSAllergyIntolerance.endDate"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="dateTime"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.endDateLifePeriod">
          <path value="EHDSAllergyIntolerance.endDateLifePeriod"/>
          <short
                 value="Life period of resolution of the allergy (e.g. childhood, adolescence)"/>
          <definition
                      value="Life period of resolution of the allergy (e.g. childhood, adolescence)"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSAllergyIntolerance.endDateLifePeriod"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.certainty">
          <path value="EHDSAllergyIntolerance.certainty"/>
          <short
                 value="Assertion about the certainty associated with a propensity, or potential risk, of a reaction to the identified substance. Diagnostic and/or clinical evidence of condition."/>
          <definition
                      value="Assertion about the certainty associated with a propensity, or potential risk, of a reaction to the identified substance. Diagnostic and/or clinical evidence of condition."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSAllergyIntolerance.certainty"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.agentOrAllergen">
          <path value="EHDSAllergyIntolerance.agentOrAllergen"/>
          <short
                 value="A specific allergen or other agent/substance (drug, food, chemical agent, etc.) to which the patient has an adverse reaction propensity."/>
          <definition
                      value="A specific allergen or other agent/substance (drug, food, chemical agent, etc.) to which the patient has an adverse reaction propensity."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSAllergyIntolerance.agentOrAllergen"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT, ATC, EMA SPOR SMS"/>
          </binding>
        </element>
      </snapshot>
      <differential>
        <element id="EHDSAllergyIntolerance">
          <path value="EHDSAllergyIntolerance"/>
          <short value="Allergy intolerance model"/>
          <definition value="EHDS refined base model for allergy/intolerance"/>
        </element>
        <element id="EHDSAllergyIntolerance.identifier">
          <path value="EHDSAllergyIntolerance.identifier"/>
          <short value="Identifier for the allergy/intolerance record"/>
          <definition value="Identifier for the allergy/intolerance record"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="Identifier"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.subject">
          <path value="EHDSAllergyIntolerance.subject"/>
          <short value="The patient who has the allergy or intolerance"/>
          <definition value="The patient who has the allergy or intolerance"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code
                  value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.status">
          <path value="EHDSAllergyIntolerance.status"/>
          <short
                 value="Current status of the allergy or intolerance (e.g. active, in remission, resolved)"/>
          <definition
                      value="Current status of the allergy or intolerance (e.g. active, in remission, resolved)"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.allergyDescription">
          <path value="EHDSAllergyIntolerance.allergyDescription"/>
          <short value="Textual description of the allergy or intolerance"/>
          <definition value="Textual description of the allergy or intolerance"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.typeOfPropensity">
          <path value="EHDSAllergyIntolerance.typeOfPropensity"/>
          <short
                 value="Type of propensity describes whether this condition refers to an allergy, non-allergy intolerance, or unknown class of intolerance (not known to be allergy or intolerance)"/>
          <definition
                      value="Type of propensity describes whether this condition refers to an allergy, non-allergy intolerance, or unknown class of intolerance (not known to be allergy or intolerance)"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.allergyManifestation">
          <path value="EHDSAllergyIntolerance.allergyManifestation"/>
          <short
                 value="Description of the clinical manifestation of the allergic reaction including date of manifestation and severity. Example: anaphylactic shock, angioedema (the clinical manifestation also gives information about the severity of the observed reaction)."/>
          <definition
                      value="Description of the clinical manifestation of the allergic reaction including date of manifestation and severity. Example: anaphylactic shock, angioedema (the clinical manifestation also gives information about the severity of the observed reaction)."/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="Base"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.allergyManifestation.date">
          <path value="EHDSAllergyIntolerance.allergyManifestation.date"/>
          <short value="Date and time of allergy manifestation"/>
          <definition value="Date and time of allergy manifestation"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="dateTime"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.allergyManifestation.severity">
          <path value="EHDSAllergyIntolerance.allergyManifestation.severity"/>
          <short
                 value="Severity of the clinical manifestation of the allergic reaction."/>
          <definition
                      value="Severity of the clinical manifestation of the allergic reaction."/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.allergyManifestation.description">
          <path value="EHDSAllergyIntolerance.allergyManifestation.description"/>
          <short value="Description of the event as a whole"/>
          <definition value="Description of the event as a whole"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.allergyManifestation.manifestation">
          <path
                value="EHDSAllergyIntolerance.allergyManifestation.manifestation"/>
          <short value="Clinical symptoms/signs associated with the event"/>
          <definition value="Clinical symptoms/signs associated with the event"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.criticality">
          <path value="EHDSAllergyIntolerance.criticality"/>
          <short
                 value="Potential risk for future life-threatening adverse reactions when exposed to a substance known to cause an adverse reaction."/>
          <definition
                      value="Potential risk for future life-threatening adverse reactions when exposed to a substance known to cause an adverse reaction."/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.onsetDate">
          <path value="EHDSAllergyIntolerance.onsetDate"/>
          <short
                 value="Date of onset of allergy, e.g., date of the first observation of the reaction. Partial date could be used."/>
          <definition
                      value="Date of onset of allergy, e.g., date of the first observation of the reaction. Partial date could be used."/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="dateTime"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.onsetLifePeriod">
          <path value="EHDSAllergyIntolerance.onsetLifePeriod"/>
          <short value="Onset life period (childhood, adolescence, etc.)."/>
          <definition value="Onset life period (childhood, adolescence, etc.)."/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.endDate">
          <path value="EHDSAllergyIntolerance.endDate"/>
          <short
                 value="Date of resolution of the allergy (e.g. when the clinician deemed there is no longer any need to track the underlying condition)"/>
          <definition
                      value="Date of resolution of the allergy (e.g. when the clinician deemed there is no longer any need to track the underlying condition)"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="dateTime"/>
          </type>
        </element>
        <element id="EHDSAllergyIntolerance.endDateLifePeriod">
          <path value="EHDSAllergyIntolerance.endDateLifePeriod"/>
          <short
                 value="Life period of resolution of the allergy (e.g. childhood, adolescence)"/>
          <definition
                      value="Life period of resolution of the allergy (e.g. childhood, adolescence)"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.certainty">
          <path value="EHDSAllergyIntolerance.certainty"/>
          <short
                 value="Assertion about the certainty associated with a propensity, or potential risk, of a reaction to the identified substance. Diagnostic and/or clinical evidence of condition."/>
          <definition
                      value="Assertion about the certainty associated with a propensity, or potential risk, of a reaction to the identified substance. Diagnostic and/or clinical evidence of condition."/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSAllergyIntolerance.agentOrAllergen">
          <path value="EHDSAllergyIntolerance.agentOrAllergen"/>
          <short
                 value="A specific allergen or other agent/substance (drug, food, chemical agent, etc.) to which the patient has an adverse reaction propensity."/>
          <definition
                      value="A specific allergen or other agent/substance (drug, food, chemical agent, etc.) to which the patient has an adverse reaction propensity."/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT, ATC, EMA SPOR SMS"/>
          </binding>
        </element>
      </differential>
    </StructureDefinition>