AllergyIntolerance

idΣ0..1
identifierΣ0..*Identifier
clinicalStatusΣ ?!0..1CodeableConceptBinding
verificationStatusΣ ?!0..1CodeableConceptBinding
typeS Σ0..1codeBinding
categoryΣ0..*codeBinding
criticalityΣ0..1codeBinding
codeS Σ1..1CodeableConceptBinding
id0..1string
onsetDateTimedateTime
onsetPeriodPeriod
onsetRangeRange
onsetStringstring
recordedDate0..1dateTime
recorder0..1Reference(http://verto.ca/fhir/StructureDefinition/Practitioner | http://verto.ca/fhir/StructureDefinition/Patient)
asserterΣ0..1Reference(http://verto.ca/fhir/StructureDefinition/Patient | http://verto.ca/fhir/StructureDefinition/Practitioner)
note0..*Annotation
id0..1string
substance0..1CodeableConcept
manifestationS1..1CodeableConceptBinding
description0..1string
onset0..1dateTime
severityS0..1codeBinding
exposureRoute0..1CodeableConcept
note0..*Annotation
AllergyIntolerance
DefinitionRisk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.
TypeAllergyIntolerance
Comments

Substances include, but are not limited to: a therapeutic substance administered correctly at an appropriate dosage for the individual; food; material derived from plants or animals; or venom from insect stings.

AllergyIntolerance.id
DefinitionThe logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
Cardinality0...1
SummaryTrue
Comments

The id is auto-generated as a UUID by Verto when the resource is created, and is used as an internal identifier within the Digital Twin. It has no business meaning outside of the Digital Twin's context.

AllergyIntolerance.identifier
DefinitionBusiness identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server.
Cardinality0...*
TypeIdentifier
SummaryTrue
Comments

This is a business identifier, not a resource identifier.

AllergyIntolerance.clinicalStatus
DefinitionDescribes the status of the allergy or intolerance in terms of its cliincal relevance.
Cardinality0...1
TypeCodeableConcept
BindingAllergyIntoleranceClinicalStatusCodes (required)
ModifierTrue
SummaryTrue
Comments

The data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.

AllergyIntolerance.verificationStatus
DefinitionAssertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product).
Cardinality0...1
TypeCodeableConcept
BindingAllergyIntoleranceVerificationStatusCodes (required)
ModifierTrue
SummaryTrue
Comments

In the scope of the IPS the entered-in-error concept is not an acceptable value.

AllergyIntolerance.type
DefinitionIdentification of the underlying physiological mechanism for the reaction risk.
Cardinality0...1
Typecode
BindingAllergyIntoleranceType (required)
Must SupportTrue
SummaryTrue
Comments

If it is unclear whether the reaction is due to an allergy or an intolerance, then the type element should be omitted from the resource.

AllergyIntolerance.category
Cardinality0...*
Typecode
BindingAllergyIntoleranceCategory (required)
SummaryTrue
Comments

This data element has been included because it is currently being captured in some clinical systems. This data can be derived from the substance where coding systems are used, and is effectively redundant in that situation.

AllergyIntolerance.criticality
DefinitionEstimate of the potential clinical harm, or seriousness, of the reaction to the identified substance.
Cardinality0...1
Typecode
Binding

Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.

AllergyIntoleranceCriticality (required)
SummaryTrue
AliasSeverity, Seriousness, Contra-indication, Risk
Comments

The default criticality value for any propensity to an adverse reaction should be 'Low Risk', indicating at the very least a relative contraindication to deliberate or voluntary exposure to the substance. 'High Risk' is flagged if the clinician has identified a propensity for a more serious or potentially life-threatening reaction, such as anaphylaxis, and implies an absolute contraindication to deliberate or voluntary exposure to the substance. Some systems capture both the condition criticality and reaction severity, and may use the term "severity" to represent both. In these situations, criticality should be considered the worst it could be in the future (i.e. situation-agnostic) whereas severity is situation or event-dependent.

AllergyIntolerance.code
DefinitionCode for an allergy or intolerance statement (either a positive or a negated/excluded statement). This may be a code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk (e.g., "Latex"), an allergy or intolerance condition (e.g., "Latex allergy"), or a negated/excluded code for a specific substance or class (e.g., "No latex allergy") or a general or categorical negated statement (e.g., "No known allergy", "No known drug allergies").
Cardinality1...1
TypeCodeableConcept
Binding

Type of the substance/product, allergy or intolerance condition or a code for absent/unknown allergy.

http://hl7.org/fhir/uv/ips/ValueSet/allergy-intolerance-uv-ips (preferred)
Must SupportTrue
SummaryTrue
AliasCode
Comments

It is strongly recommended that this element be populated using a terminology, where possible. For example, some terminologies used include RxNorm, SNOMED CT, DM+D, NDFRT, ICD-9, IDC-10, UNII, and ATC. Plain text should only be used if there is no appropriate terminology available. Additional details can be specified in the text.

AllergyIntolerance.patient.id
DefinitionThe logical id of the reaction. Once the patient record is created and an id is assigned, its value never changes.
Cardinality0...1
Typestring
Comments

The id is auto-generated as a UUID by Verto when the record is created, and is used as an internal identifier within the Digital Twin. It has no business meaning outside of the Digital Twin's context.

AllergyIntolerance.onset[x]
DefinitionEstimated or actual date, date-time, or age when allergy or intolerance was identified.
Cardinality0...1
TypedateTime
Must SupportTrue
AllergyIntolerance.recordedDate
DefinitionThe recordedDate represents when this particular AllergyIntolerance record was created in the system.
Cardinality0...1
TypedateTime
AllergyIntolerance.recorder
DefinitionIndividual who recorded the record and takes responsibility for its content.
Cardinality0...1
TypeReference(http://verto.ca/fhir/StructureDefinition/Practitioner | http://verto.ca/fhir/StructureDefinition/Patient)
AliasAuthor
AllergyIntolerance.asserter
DefinitionThe source of the information about the allergy that is recorded.
Cardinality0...1
TypeReference(http://verto.ca/fhir/StructureDefinition/Patient | http://verto.ca/fhir/StructureDefinition/Practitioner)
SummaryTrue
AliasSource, Informant
Comments

The recorder takes responsibility for the content, but can reference the source from where they got it.

AllergyIntolerance.note
DefinitionAdditional narrative about the propensity for the Adverse Reaction, not captured in other fields.
Cardinality0...*
TypeAnnotation
Comments

For example: including reason for flagging a seriousness of 'High Risk'; and instructions related to future exposure or administration of the substance, such as administration within an Intensive Care Unit or under corticosteroid cover. The notes should be related to an allergy or intolerance as a condition in general and not related to any particular episode of it. For episode notes and descriptions, use AllergyIntolerance.reaction.description and AllergyIntolerance.reaction.note.

AllergyIntolerance.reaction
DefinitionDetails about each adverse reaction event linked to exposure to the identified substance.
Cardinality0...*
TypeBackboneElement
Must SupportTrue
AllergyIntolerance.reaction.id
DefinitionThe logical id of the reaction. Once assigned, this value never changes.
Cardinality0...1
Typestring
Comments

The id is auto-generated as a UUID by Verto when the record is created, and is used as an internal identifier within the Digital Twin. It has no business meaning outside of the Digital Twin's context.

AllergyIntolerance.reaction.substance
DefinitionIdentification of the specific substance (or pharmaceutical product) considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it.
Cardinality0...1
TypeCodeableConcept
BindingSubstanceCode (example)
Comments

Coding of the specific substance (or pharmaceutical product) with a terminology capable of triggering decision support should be used wherever possible.

AllergyIntolerance.reaction.manifestation
DefinitionClinical symptoms and/or signs that are observed or associated with the adverse reaction event.
Cardinality1...1
TypeCodeableConcept
Binding

Code for the allergy or intolerance reaction manifestation from SNOMED CT.

http://hl7.org/fhir/uv/ips/ValueSet/allergy-reaction-uv-ips (preferred)
Must SupportTrue
AliasSymptoms, Signs
Comments

Manifestation can be expressed as a single word, phrase or brief description. For example: nausea, rash or no reaction. It is preferable that manifestation should be coded with a terminology, where possible.

AllergyIntolerance.reaction.description
DefinitionText description about the reaction as a whole, including details of the manifestation if required.
Cardinality0...1
Typestring
AliasNarrative, Text
Comments

Use the description to provide any details of a particular event of the occurred reaction such as circumstances, reaction specifics, what happened before/after.

AllergyIntolerance.reaction.onset
DefinitionRecord of the date and/or time of the onset of the Reaction.
Cardinality0...1
TypedateTime
AllergyIntolerance.reaction.severity
DefinitionClinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations.
Cardinality0...1
Typecode
BindingAllergyIntoleranceSeverity (required)
Must SupportTrue
Comments

Results in this section can be very subjective.

AllergyIntolerance.reaction.exposureRoute
DefinitionIdentification of the route by which the subject was exposed to the substance.
Cardinality0...1
TypeCodeableConcept
BindingSNOMEDCTRouteCodes (example)
Comments

Coding of the route of exposure with a terminology should be used wherever possible.

AllergyIntolerance.reaction.note
DefinitionAdditional text about the adverse reaction event not captured in other fields.
Cardinality0...*
TypeAnnotation
Comments

Use this field to record information indirectly related to a particular event and not captured in the description.

<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="AllergyIntolerance-verto" />
    <url value="http://verto.ca/fhir/StructureDefinition/AllergyIntolerance" />
    <version value="1.0.0" />
    <name value="AllergyIntolerance" />
    <title value="Verto&#39;s AllergyIntolerance Profile" />
    <status value="active" />
    <experimental value="true" />
    <date value="2025-01-13" />
    <publisher value="Verto Health" />
    <description value="AllergyIntolerance constrained by Verto&#39;s Digital Twin, based on the International and Canadian Patient Summaries" />
    <fhirVersion value="5.0.0" />
    <kind value="resource" />
    <abstract value="false" />
    <type value="AllergyIntolerance" />
    <baseDefinition value="http://hl7.org/fhir/R4/StructureDefinition/AllergyIntolerance" />
    <derivation value="constraint" />
    <differential>
        <element id="AllergyIntolerance">
            <path value="AllergyIntolerance" />
            <short value="Verto&#39;s AllergyIntolerance Profile" />
            <definition value="Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance." />
            <comment value="Substances include, but are not limited to: a therapeutic substance administered correctly at an appropriate dosage for the individual; food; material derived from plants or animals; or venom from insect stings." />
            <type>
                <code value="AllergyIntolerance" />
            </type>
        </element>
        <element id="AllergyIntolerance.id">
            <path value="AllergyIntolerance.id" />
            <short value="Logical id of this artifact" />
            <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." />
            <comment value="The id is auto-generated as a UUID by Verto when the resource is created, and is used as an internal identifier within the Digital Twin. It has no business meaning outside of the Digital Twin&#39;s context." />
            <min value="0" />
            <max value="1" />
            <base>
                <path value="Resource.id" />
                <min value="0" />
                <max value="1" />
            </base>
            <isModifier value="false" />
            <isSummary value="true" />
        </element>
        <element id="AllergyIntolerance.identifier">
            <path value="AllergyIntolerance.identifier" />
            <short value="External ids for this item" />
            <definition value="Business identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server." />
            <comment value="This is a business identifier, not a resource identifier." />
            <min value="0" />
            <max value="*" />
            <base>
                <path value="AllergyIntolerance.identifier" />
                <min value="0" />
                <max value="*" />
            </base>
            <type>
                <code value="Identifier" />
            </type>
            <isModifier value="false" />
            <isSummary value="true" />
        </element>
        <element id="AllergyIntolerance.clinicalStatus">
            <path value="AllergyIntolerance.clinicalStatus" />
            <short value="The clinical status of the allergy or intolerance itself." />
            <definition value="Describes the status of the allergy or intolerance in terms of its cliincal relevance." />
            <comment value="The data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity." />
            <min value="0" />
            <max value="1" />
            <base>
                <path value="AllergyIntolerance.clinicalStatus" />
                <min value="0" />
                <max value="1" />
            </base>
            <type>
                <code value="CodeableConcept" />
            </type>
            <isModifier value="true" />
            <isSummary value="true" />
            <binding>
                <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                    <valueString value="AllergyIntoleranceClinicalStatus" />
                </extension>
                <strength value="required" />
                <valueSet value="http://hl7.org/fhir/ValueSet/allergyintolerance-clinical|4.0.1" />
            </binding>
        </element>
        <element id="AllergyIntolerance.verificationStatus">
            <path value="AllergyIntolerance.verificationStatus" />
            <short value="The status of the assertation of the alergy (confirmed, refuted, etc.)." />
            <definition value="Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product)." />
            <comment value="In the scope of the IPS the entered-in-error concept is not an acceptable value." />
            <min value="0" />
            <max value="1" />
            <base>
                <path value="AllergyIntolerance.verificationStatus" />
                <min value="0" />
                <max value="1" />
            </base>
            <type>
                <code value="CodeableConcept" />
            </type>
            <isModifier value="true" />
            <isSummary value="true" />
            <binding>
                <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                    <valueString value="AllergyIntoleranceVerificationStatus" />
                </extension>
                <strength value="required" />
                <valueSet value="http://hl7.org/fhir/ValueSet/allergyintolerance-verification|4.0.1" />
            </binding>
        </element>
        <element id="AllergyIntolerance.type">
            <path value="AllergyIntolerance.type" />
            <short value="allergy | intolerance - Underlying mechanism (if known)" />
            <definition value="Identification of the underlying physiological mechanism for the reaction risk." />
            <comment value="If it is unclear whether the reaction is due to an allergy or an intolerance, then the type element should be omitted from the resource." />
            <min value="0" />
            <max value="1" />
            <base>
                <path value="AllergyIntolerance.type" />
                <min value="0" />
                <max value="1" />
            </base>
            <type>
                <code value="code" />
            </type>
            <mustSupport value="true" />
            <isModifier value="false" />
            <isSummary value="true" />
            <binding>
                <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                    <valueString value="AllergyIntoleranceType" />
                </extension>
                <strength value="required" />
                <valueSet value="http://hl7.org/fhir/ValueSet/allergy-intolerance-type|4.0.1" />
            </binding>
        </element>
        <element id="AllergyIntolerance.category">
            <path value="AllergyIntolerance.category" />
            <short value="Category of the identified substance (food, medication, biologic, etc.)" />
            <comment value="This data element has been included because it is currently being captured in some clinical systems. This data can be derived from the substance where coding systems are used, and is effectively redundant in that situation." />
            <min value="0" />
            <max value="*" />
            <base>
                <path value="AllergyIntolerance.category" />
                <min value="0" />
                <max value="*" />
            </base>
            <type>
                <code value="code" />
            </type>
            <isModifier value="false" />
            <isSummary value="true" />
            <binding>
                <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                    <valueString value="AllergyIntoleranceCategory" />
                </extension>
                <strength value="required" />
                <valueSet value="http://hl7.org/fhir/ValueSet/allergy-intolerance-category|4.0.1" />
            </binding>
        </element>
        <element id="AllergyIntolerance.criticality">
            <path value="AllergyIntolerance.criticality" />
            <short value="low | high | unable-to-assess" />
            <definition value="Estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance." />
            <comment value="The default criticality value for any propensity to an adverse reaction should be &#39;Low Risk&#39;, indicating at the very least a relative contraindication to deliberate or voluntary exposure to the substance. &#39;High Risk&#39; is flagged if the clinician has identified a propensity for a more serious or potentially life-threatening reaction, such as anaphylaxis, and implies an absolute contraindication to deliberate or voluntary exposure to the substance. Some systems capture both the condition criticality and reaction severity, and may use the term &quot;severity&quot; to represent both.  In these situations, criticality should be considered the worst it could be in the future (i.e. situation-agnostic) whereas severity is situation or event-dependent." />
            <alias value="Severity" />
            <alias value="Seriousness" />
            <alias value="Contra-indication" />
            <alias value="Risk" />
            <min value="0" />
            <max value="1" />
            <base>
                <path value="AllergyIntolerance.criticality" />
                <min value="0" />
                <max value="1" />
            </base>
            <type>
                <code value="code" />
            </type>
            <isModifier value="false" />
            <isSummary value="true" />
            <binding>
                <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                    <valueString value="AllergyIntoleranceCriticality" />
                </extension>
                <strength value="required" />
                <description value="Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance." />
                <valueSet value="http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality|4.0.1" />
            </binding>
        </element>
        <element id="AllergyIntolerance.code">
            <path value="AllergyIntolerance.code" />
            <short value="Code that identifies the allergy or intolerance" />
            <definition value="Code for an allergy or intolerance statement (either a positive or a negated/excluded statement).  This may be a code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk (e.g., &quot;Latex&quot;), an allergy or intolerance condition (e.g., &quot;Latex allergy&quot;), or a negated/excluded code for a specific substance or class (e.g., &quot;No latex allergy&quot;) or a general or categorical negated statement (e.g.,  &quot;No known allergy&quot;, &quot;No known drug allergies&quot;)." />
            <comment value="It is strongly recommended that this element be populated using a terminology, where possible. For example, some terminologies used include RxNorm, SNOMED CT, DM+D, NDFRT, ICD-9, IDC-10, UNII, and ATC. Plain text should only be used if there is no appropriate terminology available. Additional details can be specified in the text." />
            <alias value="Code" />
            <min value="1" />
            <max value="1" />
            <base>
                <path value="AllergyIntolerance.code" />
                <min value="1" />
                <max value="1" />
            </base>
            <type>
                <code value="CodeableConcept" />
            </type>
            <mustSupport value="true" />
            <isModifier value="false" />
            <isSummary value="true" />
            <binding>
                <extension url="http://hl7.org/fhir/tools/StructureDefinition/additional-binding">
                    <extension url="purpose">
                        <valueCode value="candidate" />
                    </extension>
                    <extension url="valueSet">
                        <valueCanonical value="http://hl7.org/fhir/uv/ips/ValueSet/whoatc-uv-ips" />
                    </extension>
                    <extension url="documentation">
                        <valueMarkdown value="Type of the substance/product, allergy or intolerance condition." />
                    </extension>
                </extension>
                <strength value="preferred" />
                <description value="Type of the substance/product, allergy or intolerance condition or a code for absent/unknown allergy." />
                <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/allergy-intolerance-uv-ips" />
            </binding>
        </element>
        <element id="AllergyIntolerance.patient.id">
            <path value="AllergyIntolerance.patient.id" />
            <short value="Unique, Verto-specific id for inter-element referencing" />
            <definition value="The logical id of the reaction. Once the patient record is created and an id is assigned, its value never changes." />
            <comment value="The id is auto-generated as a UUID by Verto when the record is created, and is used as an internal identifier within the Digital Twin. It has no business meaning outside of the Digital Twin&#39;s context." />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="string" />
            </type>
            <mustSupport value="false" />
            <isModifier value="false" />
            <isSummary value="false" />
        </element>
        <element id="AllergyIntolerance.onset[x]">
            <path value="AllergyIntolerance.onset[x]" />
            <short value="When allergy or intolerance was identified" />
            <definition value="Estimated or actual date,  date-time, or age when allergy or intolerance was identified." />
            <min value="0" />
            <max value="1" />
            <base>
                <path value="AllergyIntolerance.onset[x]" />
                <min value="0" />
                <max value="1" />
            </base>
            <type>
                <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support">
                    <valueBoolean value="true" />
                </extension>
                <code value="dateTime" />
            </type>
            <type>
                <code value="Period" />
            </type>
            <type>
                <code value="Range" />
            </type>
            <type>
                <code value="string" />
            </type>
            <mustSupport value="true" />
            <isModifier value="false" />
            <isSummary value="false" />
        </element>
        <element id="AllergyIntolerance.recordedDate">
            <path value="AllergyIntolerance.recordedDate" />
            <short value="Date first version of the resource instance was recorded" />
            <definition value="The recordedDate represents when this particular AllergyIntolerance record was created in the system." />
            <min value="0" />
            <max value="1" />
            <base>
                <path value="AllergyIntolerance.recordedDate" />
                <min value="0" />
                <max value="1" />
            </base>
            <type>
                <code value="dateTime" />
            </type>
            <isModifier value="false" />
            <isSummary value="false" />
        </element>
        <element id="AllergyIntolerance.recorder">
            <path value="AllergyIntolerance.recorder" />
            <short value="Who recorded the sensitivity" />
            <definition value="Individual who recorded the record and takes responsibility for its content." />
            <alias value="Author" />
            <min value="0" />
            <max value="1" />
            <base>
                <path value="AllergyIntolerance.recorder" />
                <min value="0" />
                <max value="1" />
            </base>
            <type>
                <code value="Reference" />
                <targetProfile value="http://verto.ca/fhir/StructureDefinition/Practitioner" />
                <!--  <targetProfile
                       value="http://verto.ca/fhir/StructureDefinition/PractitionerRole"/>  -->
                <targetProfile value="http://verto.ca/fhir/StructureDefinition/Patient" />
                <!--  <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>  -->
            </type>
            <isModifier value="false" />
            <isSummary value="false" />
        </element>
        <element id="AllergyIntolerance.asserter">
            <path value="AllergyIntolerance.asserter" />
            <short value="Source of the information about the allergy" />
            <definition value="The source of the information about the allergy that is recorded." />
            <comment value="The recorder takes responsibility for the content, but can reference the source from where they got it." />
            <alias value="Source" />
            <alias value="Informant" />
            <min value="0" />
            <max value="1" />
            <base>
                <path value="AllergyIntolerance.asserter" />
                <min value="0" />
                <max value="1" />
            </base>
            <type>
                <code value="Reference" />
                <targetProfile value="http://verto.ca/fhir/StructureDefinition/Patient" />
                <!--  <targetProfile
                       value="http://verto.ca/fhir/StructureDefinition/RelatedPerson"/>  -->
                <targetProfile value="http://verto.ca/fhir/StructureDefinition/Practitioner" />
                <!--  <targetProfile
                       value="http://verto.ca/fhir/StructureDefinition/PractitionerRole"/>  -->
            </type>
            <isModifier value="false" />
            <isSummary value="true" />
        </element>
        <element id="AllergyIntolerance.note">
            <path value="AllergyIntolerance.note" />
            <short value="Additional text not captured in other fields" />
            <definition value="Additional narrative about the propensity for the Adverse Reaction, not captured in other fields." />
            <comment value="For example: including reason for flagging a seriousness of &#39;High Risk&#39;; and instructions related to future exposure or administration of the substance, such as administration within an Intensive Care Unit or under corticosteroid cover. The notes should be related to an allergy or intolerance as a condition in general and not related to any particular episode of it. For episode notes and descriptions, use AllergyIntolerance.reaction.description and  AllergyIntolerance.reaction.note." />
            <min value="0" />
            <max value="*" />
            <base>
                <path value="AllergyIntolerance.note" />
                <min value="0" />
                <max value="*" />
            </base>
            <type>
                <code value="Annotation" />
            </type>
            <isModifier value="false" />
            <isSummary value="false" />
        </element>
        <element id="AllergyIntolerance.reaction">
            <path value="AllergyIntolerance.reaction" />
            <short value="Adverse Reaction Events linked to exposure to substance" />
            <definition value="Details about each adverse reaction event linked to exposure to the identified substance." />
            <min value="0" />
            <max value="*" />
            <base>
                <path value="AllergyIntolerance.reaction" />
                <min value="0" />
                <max value="*" />
            </base>
            <type>
                <code value="BackboneElement" />
            </type>
            <mustSupport value="true" />
            <isModifier value="false" />
            <isSummary value="false" />
        </element>
        <element id="AllergyIntolerance.reaction.id">
            <path value="AllergyIntolerance.reaction.id" />
            <short value="Unique, Verto-specific id for inter-element referencing" />
            <definition value="The logical id of the reaction. Once assigned, this value never changes." />
            <comment value="The id is auto-generated as a UUID by Verto when the record is created, and is used as an internal identifier within the Digital Twin. It has no business meaning outside of the Digital Twin&#39;s context." />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="string" />
            </type>
            <mustSupport value="false" />
            <isModifier value="false" />
            <isSummary value="false" />
        </element>
        <element id="AllergyIntolerance.reaction.substance">
            <path value="AllergyIntolerance.reaction.substance" />
            <short value="Specific substance or pharmaceutical product considered to be responsible for event" />
            <definition value="Identification of the specific substance (or pharmaceutical product) considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it." />
            <comment value="Coding of the specific substance (or pharmaceutical product) with a terminology capable of triggering decision support should be used wherever possible." />
            <min value="0" />
            <max value="1" />
            <base>
                <path value="AllergyIntolerance.reaction.substance" />
                <min value="0" />
                <max value="1" />
            </base>
            <type>
                <code value="CodeableConcept" />
            </type>
            <isModifier value="false" />
            <isSummary value="false" />
            <binding>
                <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                    <valueString value="SubstanceCode" />
                </extension>
                <strength value="example" />
                <valueSet value="http://hl7.org/fhir/ValueSet/substance-code" />
            </binding>
        </element>
        <element id="AllergyIntolerance.reaction.manifestation">
            <path value="AllergyIntolerance.reaction.manifestation" />
            <short value="Clinical symptoms/signs associated with the Event" />
            <definition value="Clinical symptoms and/or signs that are observed or associated with the adverse reaction event." />
            <comment value="Manifestation can be expressed as a single word, phrase or brief description. For example: nausea, rash or no reaction. It is preferable that manifestation should be coded with a terminology, where possible." />
            <alias value="Symptoms" />
            <alias value="Signs" />
            <min value="1" />
            <max value="1" />
            <base>
                <path value="AllergyIntolerance.reaction.manifestation" />
                <min value="1" />
                <max value="1" />
            </base>
            <type>
                <code value="CodeableConcept" />
            </type>
            <mustSupport value="true" />
            <isModifier value="false" />
            <isSummary value="false" />
            <binding>
                <strength value="preferred" />
                <description value="Code for the allergy or intolerance reaction manifestation from SNOMED CT." />
                <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/allergy-reaction-uv-ips" />
            </binding>
        </element>
        <element id="AllergyIntolerance.reaction.description">
            <path value="AllergyIntolerance.reaction.description" />
            <short value="Description of the event as a whole" />
            <definition value="Text description about the reaction as a whole, including details of the manifestation if required." />
            <comment value="Use the description to provide any details of a particular event of the occurred reaction such as circumstances, reaction specifics, what happened before/after." />
            <alias value="Narrative" />
            <alias value="Text" />
            <min value="0" />
            <max value="1" />
            <base>
                <path value="AllergyIntolerance.reaction.description" />
                <min value="0" />
                <max value="1" />
            </base>
            <type>
                <code value="string" />
            </type>
            <isModifier value="false" />
            <isSummary value="false" />
        </element>
        <element id="AllergyIntolerance.reaction.onset">
            <path value="AllergyIntolerance.reaction.onset" />
            <short value="Date(/time) when manifestations showed" />
            <definition value="Record of the date and/or time of the onset of the Reaction." />
            <min value="0" />
            <max value="1" />
            <base>
                <path value="AllergyIntolerance.reaction.onset" />
                <min value="0" />
                <max value="1" />
            </base>
            <type>
                <code value="dateTime" />
            </type>
            <isModifier value="false" />
            <isSummary value="false" />
        </element>
        <!--  <element id="AllergyIntolerance.reaction.severity">
      <path value="AllergyIntolerance.reaction.severity"/>
      <short value="Description of the reaction's severity (ex. moderate, severe)"/>
      <definition
                  value="Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations."/>
      <comment
               value="Results in this section can be very subjective." />
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AllergyIntolerance.reaction.severity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/fhir/ValueSet/reaction-event-severity|4.0.1"/>
      </binding>
    </element>  -->
        <element id="AllergyIntolerance.reaction.severity">
            <path value="AllergyIntolerance.reaction.severity" />
            <short value="Description of the reaction&#39;s severity (ex. moderate, severe)" />
            <definition value="Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations." />
            <comment value="Results in this section can be very subjective." />
            <min value="0" />
            <max value="1" />
            <base>
                <path value="AllergyIntolerance.reaction.severity" />
                <min value="0" />
                <max value="1" />
            </base>
            <type>
                <code value="code" />
            </type>
            <mustSupport value="true" />
            <isModifier value="false" />
            <isSummary value="false" />
            <binding>
                <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                    <valueString value="AllergyIntoleranceSeverity" />
                </extension>
                <strength value="required" />
                <valueSet value="http://hl7.org/fhir/ValueSet/reaction-event-severity|4.0.1" />
            </binding>
        </element>
        <element id="AllergyIntolerance.reaction.exposureRoute">
            <path value="AllergyIntolerance.reaction.exposureRoute" />
            <short value="How the subject was exposed to the substance" />
            <definition value="Identification of the route by which the subject was exposed to the substance." />
            <comment value="Coding of the route of exposure with a terminology should be used wherever possible." />
            <min value="0" />
            <max value="1" />
            <base>
                <path value="AllergyIntolerance.reaction.exposureRoute" />
                <min value="0" />
                <max value="1" />
            </base>
            <type>
                <code value="CodeableConcept" />
            </type>
            <isModifier value="false" />
            <isSummary value="false" />
            <binding>
                <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                    <valueString value="RouteOfAdministration" />
                </extension>
                <strength value="example" />
                <valueSet value="http://hl7.org/fhir/ValueSet/route-codes" />
            </binding>
        </element>
        <element id="AllergyIntolerance.reaction.note">
            <path value="AllergyIntolerance.reaction.note" />
            <short value="Text about event not captured in other fields" />
            <definition value="Additional text about the adverse reaction event not captured in other fields." />
            <comment value="Use this field to record information indirectly related to a particular event and not captured in the description." />
            <min value="0" />
            <max value="*" />
            <base>
                <path value="AllergyIntolerance.reaction.note" />
                <min value="0" />
                <max value="*" />
            </base>
            <type>
                <code value="Annotation" />
            </type>
            <isModifier value="false" />
            <isSummary value="false" />
        </element>
    </differential>
</StructureDefinition>
{
    "resourceType": "StructureDefinition",
    "id": "AllergyIntolerance-verto",
    "url": "http://verto.ca/fhir/StructureDefinition/AllergyIntolerance",
    "version": "1.0.0",
    "name": "AllergyIntolerance",
    "title": "Verto's AllergyIntolerance Profile",
    "status": "active",
    "experimental": true,
    "date": "2025-01-13",
    "publisher": "Verto Health",
    "description": "AllergyIntolerance constrained by Verto's Digital Twin, based on the International and Canadian Patient Summaries",
    "fhirVersion": "5.0.0",
    "kind": "resource",
    "abstract": false,
    "type": "AllergyIntolerance",
    "baseDefinition": "http://hl7.org/fhir/R4/StructureDefinition/AllergyIntolerance",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "AllergyIntolerance",
                "path": "AllergyIntolerance",
                "short": "Verto's AllergyIntolerance Profile",
                "definition": "Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.",
                "comment": "Substances include, but are not limited to: a therapeutic substance administered correctly at an appropriate dosage for the individual; food; material derived from plants or animals; or venom from insect stings.",
                "type":  [
                    {
                        "code": "AllergyIntolerance"
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.id",
                "path": "AllergyIntolerance.id",
                "short": "Logical id of this artifact",
                "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
                "comment": "The id is auto-generated as a UUID by Verto when the resource is created, and is used as an internal identifier within the Digital Twin. It has no business meaning outside of the Digital Twin's context.",
                "min": 0,
                "max": "1",
                "base": {
                    "path": "Resource.id",
                    "min": 0,
                    "max": "1"
                },
                "isModifier": false,
                "isSummary": true
            },
            {
                "id": "AllergyIntolerance.identifier",
                "path": "AllergyIntolerance.identifier",
                "short": "External ids for this item",
                "definition": "Business identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server.",
                "comment": "This is a business identifier, not a resource identifier.",
                "min": 0,
                "max": "*",
                "base": {
                    "path": "AllergyIntolerance.identifier",
                    "min": 0,
                    "max": "*"
                },
                "type":  [
                    {
                        "code": "Identifier"
                    }
                ],
                "isModifier": false,
                "isSummary": true
            },
            {
                "id": "AllergyIntolerance.clinicalStatus",
                "path": "AllergyIntolerance.clinicalStatus",
                "short": "The clinical status of the allergy or intolerance itself.",
                "definition": "Describes the status of the allergy or intolerance in terms of its cliincal relevance.",
                "comment": "The data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.",
                "min": 0,
                "max": "1",
                "base": {
                    "path": "AllergyIntolerance.clinicalStatus",
                    "min": 0,
                    "max": "1"
                },
                "type":  [
                    {
                        "code": "CodeableConcept"
                    }
                ],
                "isModifier": true,
                "isSummary": true,
                "binding": {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                            "valueString": "AllergyIntoleranceClinicalStatus"
                        }
                    ],
                    "strength": "required",
                    "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical|4.0.1"
                }
            },
            {
                "id": "AllergyIntolerance.verificationStatus",
                "path": "AllergyIntolerance.verificationStatus",
                "short": "The status of the assertation of the alergy (confirmed, refuted, etc.).",
                "definition": "Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product).",
                "comment": "In the scope of the IPS the entered-in-error concept is not an acceptable value.",
                "min": 0,
                "max": "1",
                "base": {
                    "path": "AllergyIntolerance.verificationStatus",
                    "min": 0,
                    "max": "1"
                },
                "type":  [
                    {
                        "code": "CodeableConcept"
                    }
                ],
                "isModifier": true,
                "isSummary": true,
                "binding": {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                            "valueString": "AllergyIntoleranceVerificationStatus"
                        }
                    ],
                    "strength": "required",
                    "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-verification|4.0.1"
                }
            },
            {
                "id": "AllergyIntolerance.type",
                "path": "AllergyIntolerance.type",
                "short": "allergy | intolerance - Underlying mechanism (if known)",
                "definition": "Identification of the underlying physiological mechanism for the reaction risk.",
                "comment": "If it is unclear whether the reaction is due to an allergy or an intolerance, then the type element should be omitted from the resource.",
                "min": 0,
                "max": "1",
                "base": {
                    "path": "AllergyIntolerance.type",
                    "min": 0,
                    "max": "1"
                },
                "type":  [
                    {
                        "code": "code"
                    }
                ],
                "mustSupport": true,
                "isModifier": false,
                "isSummary": true,
                "binding": {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                            "valueString": "AllergyIntoleranceType"
                        }
                    ],
                    "strength": "required",
                    "valueSet": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type|4.0.1"
                }
            },
            {
                "id": "AllergyIntolerance.category",
                "path": "AllergyIntolerance.category",
                "short": "Category of the identified substance (food, medication, biologic, etc.)",
                "comment": "This data element has been included because it is currently being captured in some clinical systems. This data can be derived from the substance where coding systems are used, and is effectively redundant in that situation.",
                "min": 0,
                "max": "*",
                "base": {
                    "path": "AllergyIntolerance.category",
                    "min": 0,
                    "max": "*"
                },
                "type":  [
                    {
                        "code": "code"
                    }
                ],
                "isModifier": false,
                "isSummary": true,
                "binding": {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                            "valueString": "AllergyIntoleranceCategory"
                        }
                    ],
                    "strength": "required",
                    "valueSet": "http://hl7.org/fhir/ValueSet/allergy-intolerance-category|4.0.1"
                }
            },
            {
                "id": "AllergyIntolerance.criticality",
                "path": "AllergyIntolerance.criticality",
                "short": "low | high | unable-to-assess",
                "definition": "Estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance.",
                "comment": "The default criticality value for any propensity to an adverse reaction should be 'Low Risk', indicating at the very least a relative contraindication to deliberate or voluntary exposure to the substance. 'High Risk' is flagged if the clinician has identified a propensity for a more serious or potentially life-threatening reaction, such as anaphylaxis, and implies an absolute contraindication to deliberate or voluntary exposure to the substance. Some systems capture both the condition criticality and reaction severity, and may use the term \"severity\" to represent both.  In these situations, criticality should be considered the worst it could be in the future (i.e. situation-agnostic) whereas severity is situation or event-dependent.",
                "alias":  [
                    "Severity",
                    "Seriousness",
                    "Contra-indication",
                    "Risk"
                ],
                "min": 0,
                "max": "1",
                "base": {
                    "path": "AllergyIntolerance.criticality",
                    "min": 0,
                    "max": "1"
                },
                "type":  [
                    {
                        "code": "code"
                    }
                ],
                "isModifier": false,
                "isSummary": true,
                "binding": {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                            "valueString": "AllergyIntoleranceCriticality"
                        }
                    ],
                    "strength": "required",
                    "description": "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.",
                    "valueSet": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality|4.0.1"
                }
            },
            {
                "id": "AllergyIntolerance.code",
                "path": "AllergyIntolerance.code",
                "short": "Code that identifies the allergy or intolerance",
                "definition": "Code for an allergy or intolerance statement (either a positive or a negated/excluded statement).  This may be a code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk (e.g., \"Latex\"), an allergy or intolerance condition (e.g., \"Latex allergy\"), or a negated/excluded code for a specific substance or class (e.g., \"No latex allergy\") or a general or categorical negated statement (e.g.,  \"No known allergy\", \"No known drug allergies\").",
                "comment": "It is strongly recommended that this element be populated using a terminology, where possible. For example, some terminologies used include RxNorm, SNOMED CT, DM+D, NDFRT, ICD-9, IDC-10, UNII, and ATC. Plain text should only be used if there is no appropriate terminology available. Additional details can be specified in the text.",
                "alias":  [
                    "Code"
                ],
                "min": 1,
                "max": "1",
                "base": {
                    "path": "AllergyIntolerance.code",
                    "min": 1,
                    "max": "1"
                },
                "type":  [
                    {
                        "code": "CodeableConcept"
                    }
                ],
                "mustSupport": true,
                "isModifier": false,
                "isSummary": true,
                "binding": {
                    "extension":  [
                        {
                            "extension":  [
                                {
                                    "url": "purpose",
                                    "valueCode": "candidate"
                                },
                                {
                                    "url": "valueSet",
                                    "valueCanonical": "http://hl7.org/fhir/uv/ips/ValueSet/whoatc-uv-ips"
                                },
                                {
                                    "url": "documentation",
                                    "valueMarkdown": "Type of the substance/product, allergy or intolerance condition."
                                }
                            ],
                            "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"
                        }
                    ],
                    "strength": "preferred",
                    "description": "Type of the substance/product, allergy or intolerance condition or a code for absent/unknown allergy.",
                    "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/allergy-intolerance-uv-ips"
                }
            },
            {
                "id": "AllergyIntolerance.patient.id",
                "path": "AllergyIntolerance.patient.id",
                "short": "Unique, Verto-specific id for inter-element referencing",
                "definition": "The logical id of the reaction. Once the patient record is created and an id is assigned, its value never changes.",
                "comment": "The id is auto-generated as a UUID by Verto when the record is created, and is used as an internal identifier within the Digital Twin. It has no business meaning outside of the Digital Twin's context.",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "string"
                    }
                ],
                "mustSupport": false,
                "isModifier": false,
                "isSummary": false
            },
            {
                "id": "AllergyIntolerance.onset[x]",
                "path": "AllergyIntolerance.onset[x]",
                "short": "When allergy or intolerance was identified",
                "definition": "Estimated or actual date,  date-time, or age when allergy or intolerance was identified.",
                "min": 0,
                "max": "1",
                "base": {
                    "path": "AllergyIntolerance.onset[x]",
                    "min": 0,
                    "max": "1"
                },
                "type":  [
                    {
                        "extension":  [
                            {
                                "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
                                "valueBoolean": true
                            }
                        ],
                        "code": "dateTime"
                    },
                    {
                        "code": "Period"
                    },
                    {
                        "code": "Range"
                    },
                    {
                        "code": "string"
                    }
                ],
                "mustSupport": true,
                "isModifier": false,
                "isSummary": false
            },
            {
                "id": "AllergyIntolerance.recordedDate",
                "path": "AllergyIntolerance.recordedDate",
                "short": "Date first version of the resource instance was recorded",
                "definition": "The recordedDate represents when this particular AllergyIntolerance record was created in the system.",
                "min": 0,
                "max": "1",
                "base": {
                    "path": "AllergyIntolerance.recordedDate",
                    "min": 0,
                    "max": "1"
                },
                "type":  [
                    {
                        "code": "dateTime"
                    }
                ],
                "isModifier": false,
                "isSummary": false
            },
            {
                "id": "AllergyIntolerance.recorder",
                "path": "AllergyIntolerance.recorder",
                "short": "Who recorded the sensitivity",
                "definition": "Individual who recorded the record and takes responsibility for its content.",
                "alias":  [
                    "Author"
                ],
                "min": 0,
                "max": "1",
                "base": {
                    "path": "AllergyIntolerance.recorder",
                    "min": 0,
                    "max": "1"
                },
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://verto.ca/fhir/StructureDefinition/Practitioner",
                            "http://verto.ca/fhir/StructureDefinition/Patient"
                        ]
                    }
                ],
                "isModifier": false,
                "isSummary": false
            },
            {
                "id": "AllergyIntolerance.asserter",
                "path": "AllergyIntolerance.asserter",
                "short": "Source of the information about the allergy",
                "definition": "The source of the information about the allergy that is recorded.",
                "comment": "The recorder takes responsibility for the content, but can reference the source from where they got it.",
                "alias":  [
                    "Source",
                    "Informant"
                ],
                "min": 0,
                "max": "1",
                "base": {
                    "path": "AllergyIntolerance.asserter",
                    "min": 0,
                    "max": "1"
                },
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://verto.ca/fhir/StructureDefinition/Patient",
                            "http://verto.ca/fhir/StructureDefinition/Practitioner"
                        ]
                    }
                ],
                "isModifier": false,
                "isSummary": true
            },
            {
                "id": "AllergyIntolerance.note",
                "path": "AllergyIntolerance.note",
                "short": "Additional text not captured in other fields",
                "definition": "Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.",
                "comment": "For example: including reason for flagging a seriousness of 'High Risk'; and instructions related to future exposure or administration of the substance, such as administration within an Intensive Care Unit or under corticosteroid cover. The notes should be related to an allergy or intolerance as a condition in general and not related to any particular episode of it. For episode notes and descriptions, use AllergyIntolerance.reaction.description and  AllergyIntolerance.reaction.note.",
                "min": 0,
                "max": "*",
                "base": {
                    "path": "AllergyIntolerance.note",
                    "min": 0,
                    "max": "*"
                },
                "type":  [
                    {
                        "code": "Annotation"
                    }
                ],
                "isModifier": false,
                "isSummary": false
            },
            {
                "id": "AllergyIntolerance.reaction",
                "path": "AllergyIntolerance.reaction",
                "short": "Adverse Reaction Events linked to exposure to substance",
                "definition": "Details about each adverse reaction event linked to exposure to the identified substance.",
                "min": 0,
                "max": "*",
                "base": {
                    "path": "AllergyIntolerance.reaction",
                    "min": 0,
                    "max": "*"
                },
                "type":  [
                    {
                        "code": "BackboneElement"
                    }
                ],
                "mustSupport": true,
                "isModifier": false,
                "isSummary": false
            },
            {
                "id": "AllergyIntolerance.reaction.id",
                "path": "AllergyIntolerance.reaction.id",
                "short": "Unique, Verto-specific id for inter-element referencing",
                "definition": "The logical id of the reaction. Once assigned, this value never changes.",
                "comment": "The id is auto-generated as a UUID by Verto when the record is created, and is used as an internal identifier within the Digital Twin. It has no business meaning outside of the Digital Twin's context.",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "string"
                    }
                ],
                "mustSupport": false,
                "isModifier": false,
                "isSummary": false
            },
            {
                "id": "AllergyIntolerance.reaction.substance",
                "path": "AllergyIntolerance.reaction.substance",
                "short": "Specific substance or pharmaceutical product considered to be responsible for event",
                "definition": "Identification of the specific substance (or pharmaceutical product) considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it.",
                "comment": "Coding of the specific substance (or pharmaceutical product) with a terminology capable of triggering decision support should be used wherever possible.",
                "min": 0,
                "max": "1",
                "base": {
                    "path": "AllergyIntolerance.reaction.substance",
                    "min": 0,
                    "max": "1"
                },
                "type":  [
                    {
                        "code": "CodeableConcept"
                    }
                ],
                "isModifier": false,
                "isSummary": false,
                "binding": {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                            "valueString": "SubstanceCode"
                        }
                    ],
                    "strength": "example",
                    "valueSet": "http://hl7.org/fhir/ValueSet/substance-code"
                }
            },
            {
                "id": "AllergyIntolerance.reaction.manifestation",
                "path": "AllergyIntolerance.reaction.manifestation",
                "short": "Clinical symptoms/signs associated with the Event",
                "definition": "Clinical symptoms and/or signs that are observed or associated with the adverse reaction event.",
                "comment": "Manifestation can be expressed as a single word, phrase or brief description. For example: nausea, rash or no reaction. It is preferable that manifestation should be coded with a terminology, where possible.",
                "alias":  [
                    "Symptoms",
                    "Signs"
                ],
                "min": 1,
                "max": "1",
                "base": {
                    "path": "AllergyIntolerance.reaction.manifestation",
                    "min": 1,
                    "max": "1"
                },
                "type":  [
                    {
                        "code": "CodeableConcept"
                    }
                ],
                "mustSupport": true,
                "isModifier": false,
                "isSummary": false,
                "binding": {
                    "strength": "preferred",
                    "description": "Code for the allergy or intolerance reaction manifestation from SNOMED CT.",
                    "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/allergy-reaction-uv-ips"
                }
            },
            {
                "id": "AllergyIntolerance.reaction.description",
                "path": "AllergyIntolerance.reaction.description",
                "short": "Description of the event as a whole",
                "definition": "Text description about the reaction as a whole, including details of the manifestation if required.",
                "comment": "Use the description to provide any details of a particular event of the occurred reaction such as circumstances, reaction specifics, what happened before/after.",
                "alias":  [
                    "Narrative",
                    "Text"
                ],
                "min": 0,
                "max": "1",
                "base": {
                    "path": "AllergyIntolerance.reaction.description",
                    "min": 0,
                    "max": "1"
                },
                "type":  [
                    {
                        "code": "string"
                    }
                ],
                "isModifier": false,
                "isSummary": false
            },
            {
                "id": "AllergyIntolerance.reaction.onset",
                "path": "AllergyIntolerance.reaction.onset",
                "short": "Date(/time) when manifestations showed",
                "definition": "Record of the date and/or time of the onset of the Reaction.",
                "min": 0,
                "max": "1",
                "base": {
                    "path": "AllergyIntolerance.reaction.onset",
                    "min": 0,
                    "max": "1"
                },
                "type":  [
                    {
                        "code": "dateTime"
                    }
                ],
                "isModifier": false,
                "isSummary": false
            },
            {
                "id": "AllergyIntolerance.reaction.severity",
                "path": "AllergyIntolerance.reaction.severity",
                "short": "Description of the reaction's severity (ex. moderate, severe)",
                "definition": "Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations.",
                "comment": "Results in this section can be very subjective.",
                "min": 0,
                "max": "1",
                "base": {
                    "path": "AllergyIntolerance.reaction.severity",
                    "min": 0,
                    "max": "1"
                },
                "type":  [
                    {
                        "code": "code"
                    }
                ],
                "mustSupport": true,
                "isModifier": false,
                "isSummary": false,
                "binding": {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                            "valueString": "AllergyIntoleranceSeverity"
                        }
                    ],
                    "strength": "required",
                    "valueSet": "http://hl7.org/fhir/ValueSet/reaction-event-severity|4.0.1"
                }
            },
            {
                "id": "AllergyIntolerance.reaction.exposureRoute",
                "path": "AllergyIntolerance.reaction.exposureRoute",
                "short": "How the subject was exposed to the substance",
                "definition": "Identification of the route by which the subject was exposed to the substance.",
                "comment": "Coding of the route of exposure with a terminology should be used wherever possible.",
                "min": 0,
                "max": "1",
                "base": {
                    "path": "AllergyIntolerance.reaction.exposureRoute",
                    "min": 0,
                    "max": "1"
                },
                "type":  [
                    {
                        "code": "CodeableConcept"
                    }
                ],
                "isModifier": false,
                "isSummary": false,
                "binding": {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                            "valueString": "RouteOfAdministration"
                        }
                    ],
                    "strength": "example",
                    "valueSet": "http://hl7.org/fhir/ValueSet/route-codes"
                }
            },
            {
                "id": "AllergyIntolerance.reaction.note",
                "path": "AllergyIntolerance.reaction.note",
                "short": "Text about event not captured in other fields",
                "definition": "Additional text about the adverse reaction event not captured in other fields.",
                "comment": "Use this field to record information indirectly related to a particular event and not captured in the description.",
                "min": 0,
                "max": "*",
                "base": {
                    "path": "AllergyIntolerance.reaction.note",
                    "min": 0,
                    "max": "*"
                },
                "type":  [
                    {
                        "code": "Annotation"
                    }
                ],
                "isModifier": false,
                "isSummary": false
            }
        ]
    }
}