FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.xver-r2.r5
Resource TypeConceptMap
IdConceptMap-R2-AllergyIntolerance-element-map-to-R5.json
FHIR VersionR5
Sourcehttp://hl7.org/fhir/uv/xver-r2.r5/0.1.0/ConceptMap-R2-AllergyIntolerance-element-map-to-R5.html
URLhttp://hl7.org/fhir/uv/xver/ConceptMap/R2-AllergyIntolerance-element-map-to-R5
Version0.1.0
Statusactive
Date2026-03-17T16:05:26.5237952-05:00
NameR2AllergyIntoleranceElementMapToR5
TitleCross-version mapping for FHIR DSTU2 AllergyIntolerance to FHIR R5 AllergyIntolerance
Realmuv
Authorityhl7
DescriptionThis ConceptMap represents cross-version mappings for elements from a FHIR DSTU2 AllergyIntolerance to FHIR R5.

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
hl7.fhir.uv.xver-r2.r4b#0.1.0extension-AllergyIntolerance.categoryDSTU2: food | medication | environment | other - Category of Substance
hl7.fhir.uv.xver-r2.r4b#0.1.0extension-AllergyIntolerance.identifierDSTU2: identifier additional types
hl7.fhir.uv.xver-r2.r4b#0.1.0extension-AllergyIntolerance.metaDSTU2: meta additional types
hl7.fhir.uv.xver-r2.r4b#0.1.0extension-AllergyIntolerance.noteDSTU2: note additional types
hl7.fhir.uv.xver-r2.r4b#0.1.0extension-AllergyIntolerance.reaction.certaintyDSTU2: unlikely | likely | confirmed - clinical certainty about the specific substance (new)
hl7.fhir.uv.xver-r2.r4b#0.1.0extension-AllergyIntolerance.reaction.noteDSTU2: note additional types
hl7.fhir.uv.xver-r2.r4b#0.1.0extension-AllergyIntolerance.recordedDateDSTU2: When recorded (new)
hl7.fhir.uv.xver-r2.r4b#0.1.0extension-AllergyIntolerance.statusDSTU2: active | unconfirmed | confirmed | inactive | resolved | refuted | entered-in-error
hl7.fhir.uv.xver-r2.r4b#0.1.0extension-AllergyIntolerance.textDSTU2: text additional types
hl7.fhir.uv.xver-r2.r5#0.1.0extension-AllergyIntolerance.typeDSTU2: type

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: ConceptMap R2-AllergyIntolerance-element-map-to-R5

Mapping from http://hl7.org/fhir/1.0 to http://hl7.org/fhir/5.0


Group 1 Mapping from http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2 to AllergyIntoleranceversion: 5.0.0)

Source Concept DetailsRelationshipTarget Concept DetailsComment
Codes from http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2Codes from AllergyIntolerance
AllergyIntolerance.metametais broader thanAllergyIntolerance.metaAllergyIntolerance.metaElement `AllergyIntolerance.meta` is mapped to FHIR R5 element `AllergyIntolerance.meta` as `SourceIsBroaderThanTarget`. The mappings for `AllergyIntolerance.meta` do not cover the following types: Meta. The mappings for `AllergyIntolerance.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId.
AllergyIntolerance.implicitRulesimplicitRulesis equivalent toAllergyIntolerance.implicitRulesAllergyIntolerance.implicitRulesElement `AllergyIntolerance.implicitRules` is mapped to FHIR R5 element `AllergyIntolerance.implicitRules` as `Equivalent`. Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible.
AllergyIntolerance.languagelanguageis equivalent toAllergyIntolerance.languageAllergyIntolerance.languageElement `AllergyIntolerance.language` is mapped to FHIR R5 element `AllergyIntolerance.language` as `Equivalent`. Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
AllergyIntolerance.texttextis broader thanAllergyIntolerance.textAllergyIntolerance.textElement `AllergyIntolerance.text` is mapped to FHIR R5 element `AllergyIntolerance.text` as `SourceIsBroaderThanTarget`. The mappings for `AllergyIntolerance.text` do not cover the following types: Narrative. The mappings for `AllergyIntolerance.text` do not cover the following types based on type expansion: div, status. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.
AllergyIntolerance.containedcontainedis equivalent toAllergyIntolerance.containedAllergyIntolerance.containedElement `AllergyIntolerance.contained` is mapped to FHIR R5 element `AllergyIntolerance.contained` as `SourceIsBroaderThanTarget`. This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.
AllergyIntolerance.identifieridentifieris broader thanAllergyIntolerance.identifierAllergyIntolerance.identifierElement `AllergyIntolerance.identifier` is mapped to FHIR R5 element `AllergyIntolerance.identifier` as `SourceIsBroaderThanTarget`. The mappings for `AllergyIntolerance.identifier` do not cover the following types: Identifier. The mappings for `AllergyIntolerance.identifier` do not cover the following types based on type expansion: assigner, period, system, type, use, value.
AllergyIntolerance.onsetonsetis equivalent toAllergyIntolerance.onset[x]AllergyIntolerance.onset[x]Element `AllergyIntolerance.onset` is mapped to FHIR R5 element `AllergyIntolerance.onset[x]` as `Equivalent`. The target context `AllergyIntolerance.onset[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `AllergyIntolerance`.
AllergyIntolerance.recorderrecorderis narrower thanAllergyIntolerance.participantAllergyIntolerance.participantElement `AllergyIntolerance.recorder` is mapped to FHIR R5 element `AllergyIntolerance.participant` as `SourceIsNarrowerThanTarget`.
AllergyIntolerance.patientpatientis broader thanAllergyIntolerance.patientAllergyIntolerance.patientElement `AllergyIntolerance.patient` is mapped to FHIR R5 element `AllergyIntolerance.patient` as `SourceIsBroaderThanTarget`. The mappings for `AllergyIntolerance.patient` do not cover the following types based on type expansion: display, reference. The standard extension `alternate-reference` has been mapped as the representation of FHIR DSTU2 element `AllergyIntolerance.patient` with unmapped reference targets: Patient.
AllergyIntolerance.reporterreporteris narrower thanAllergyIntolerance.participantAllergyIntolerance.participantElement `AllergyIntolerance.reporter` is mapped to FHIR R5 element `AllergyIntolerance.participant` as `SourceIsNarrowerThanTarget`. The recorder takes repsonsibility for the content, but can reference the source from where they got it.
AllergyIntolerance.substancesubstanceis equivalent toAllergyIntolerance.codeAllergyIntolerance.codeElement `AllergyIntolerance.substance` is mapped to FHIR R5 element `AllergyIntolerance.code` as `Equivalent`. It is strongly recommended that the substance be coded with a terminology, where possible. For example, some terminologies used include RxNorm, SNOMED CT, DM+D, NDFRT, ICD-9, IDC-10, UNI, ATC and CPT. Plain text should only be used if there is no appropriate terminology available. Additional details about a substance can be specified in the text.
AllergyIntolerance.statusstatusis related toAllergyIntolerance.clinicalStatusAllergyIntolerance.clinicalStatusElement `AllergyIntolerance.status` is mapped to FHIR R5 element `AllergyIntolerance.clinicalStatus` as `RelatedTo`. Element `AllergyIntolerance.status` is mapped to FHIR R5 element `AllergyIntolerance.verificationStatus` as `RelatedTo`. The mappings for `AllergyIntolerance.status` do not allow expression of the necessary codes, per the bindings on the source and target. Decision support would typically raise alerts for 'Unconfirmed', 'Confirmed', and 'Resolved' and ignore a 'Refuted' reaction. In particular, 'Refuted' may be useful for reconciliation of the Adverse Reaction List. Some implementations may choose to make this field mandatory.
is related toAllergyIntolerance.verificationStatusAllergyIntolerance.verificationStatusElement `AllergyIntolerance.status` is mapped to FHIR R5 element `AllergyIntolerance.clinicalStatus` as `RelatedTo`. Element `AllergyIntolerance.status` is mapped to FHIR R5 element `AllergyIntolerance.verificationStatus` as `RelatedTo`. The mappings for `AllergyIntolerance.status` do not allow expression of the necessary codes, per the bindings on the source and target. Decision support would typically raise alerts for 'Unconfirmed', 'Confirmed', and 'Resolved' and ignore a 'Refuted' reaction. In particular, 'Refuted' may be useful for reconciliation of the Adverse Reaction List. Some implementations may choose to make this field mandatory.
AllergyIntolerance.criticalitycriticalityis equivalent toAllergyIntolerance.criticalityAllergyIntolerance.criticalityElement `AllergyIntolerance.criticality` is mapped to FHIR R5 element `AllergyIntolerance.criticality` as `Equivalent`. 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. If this element is missing, the criticality is unknown (though it may be known elsewhere).
AllergyIntolerance.typetypeis broader thanAllergyIntolerance.typeAllergyIntolerance.typeElement `AllergyIntolerance.type` is mapped to FHIR R5 element `AllergyIntolerance.type` as `SourceIsNarrowerThanTarget`. Allergic (typically immune-mediated) reactions have been traditionally regarded as an indicator for potential escalation to significant future risk. Contemporary knowledge suggests that some reactions previously thought to be immune-mediated are, in fact, non-immune, but in some cases can still pose a life threatening risk. It is acknowledged that many clinicians may not be in a position to distinguish the mechanism of a particular reaction. Often the term "allergy" is used rather generically and may overlap with the use of "intolerance" - in practice the boundaries between these two concepts may not be well-defined or understood. This data element is included nevertheless, because many legacy systems have captured this attribute. Immunologic testing may provide supporting evidence for the basis of the reaction and the causative substance, but no tests are 100% sensitive or specific for sensitivity to a particular substance. If, as is commonly the case, 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.categorycategoryis broader thanAllergyIntolerance.categoryAllergyIntolerance.categoryElement `AllergyIntolerance.category` is mapped to FHIR R5 element `AllergyIntolerance.category` as `RelatedTo`. 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.lastOccurencelastOccurenceis equivalent toAllergyIntolerance.lastOccurrenceAllergyIntolerance.lastOccurrenceElement `AllergyIntolerance.lastOccurence` is mapped to FHIR R5 element `AllergyIntolerance.lastOccurrence` as `Equivalent`. This date may be replicated by one of the Onset of Reaction dates. Where a textual representation of the date of last occurrence is required e.g. 'In Childhood, '10 years ago' the Comment element should be used.
AllergyIntolerance.notenoteis broader thanAllergyIntolerance.noteAllergyIntolerance.noteElement `AllergyIntolerance.note` is mapped to FHIR R5 element `AllergyIntolerance.note` as `RelatedTo`. The mappings for `AllergyIntolerance.note` do not cover the following types: Annotation. The mappings for `AllergyIntolerance.note` do not cover the following types based on type expansion: author[x], text, time. 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.event.description and AllergyIntolerance.event.notes.
AllergyIntolerance.reactionreactionis broader thanAllergyIntolerance.reactionAllergyIntolerance.reactionElement `AllergyIntolerance.reaction` is mapped to FHIR R5 element `AllergyIntolerance.reaction` as `Equivalent`.
AllergyIntolerance.reaction.substancesubstanceis equivalent toAllergyIntolerance.reaction.substanceAllergyIntolerance.reaction.substanceElement `AllergyIntolerance.reaction.substance` is mapped to FHIR R5 element `AllergyIntolerance.reaction.substance` as `Equivalent`. Coding of the specific substance with a terminology capable of triggering decision support should be used wherever possible. The substance field allows for the use of a specific substance or a group or class of substances, for example "Penicillins". The specific substance field could be used for Amoxycillin. Duplication is acceptable when a specific substance has been recorded in the 'substance' field.
AllergyIntolerance.reaction.manifestationmanifestationis equivalent toAllergyIntolerance.reaction.manifestationAllergyIntolerance.reaction.manifestationElement `AllergyIntolerance.reaction.manifestation` is mapped to FHIR R5 element `AllergyIntolerance.reaction.manifestation` as `SourceIsNarrowerThanTarget`. 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. The values entered here may be used to display on an application screen as part of a list of adverse reactions, as recommended in the UK NHS CUI guidelines. Terminologies commonly used include, but are not limited to, SNOMED CT or ICD10.
AllergyIntolerance.reaction.descriptiondescriptionis equivalent toAllergyIntolerance.reaction.descriptionAllergyIntolerance.reaction.descriptionElement `AllergyIntolerance.reaction.description` is mapped to FHIR R5 element `AllergyIntolerance.reaction.description` as `Equivalent`. Use the description to provide any details of a particular event of the occurred reaction such as circumstances, reaction specifics, what happened before/after. Information, related to the event, but not describing a particular care should be captured in the comment field. For example: at the age of four, the patient was given penicillin for strep throat and subsequently developed severe hives.
AllergyIntolerance.reaction.onsetonsetis equivalent toAllergyIntolerance.reaction.onsetAllergyIntolerance.reaction.onsetElement `AllergyIntolerance.reaction.onset` is mapped to FHIR R5 element `AllergyIntolerance.reaction.onset` as `Equivalent`.
AllergyIntolerance.reaction.severityseverityis equivalent toAllergyIntolerance.reaction.severityAllergyIntolerance.reaction.severityElement `AllergyIntolerance.reaction.severity` is mapped to FHIR R5 element `AllergyIntolerance.reaction.severity` as `Equivalent`. It is acknowledged that this assessment is very subjective. There may be some some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions.
AllergyIntolerance.reaction.exposureRouteexposureRouteis equivalent toAllergyIntolerance.reaction.exposureRouteAllergyIntolerance.reaction.exposureRouteElement `AllergyIntolerance.reaction.exposureRoute` is mapped to FHIR R5 element `AllergyIntolerance.reaction.exposureRoute` as `Equivalent`. Coding of the route of exposure with a terminology should be used wherever possible.
AllergyIntolerance.reaction.notenoteis broader thanAllergyIntolerance.reaction.noteAllergyIntolerance.reaction.noteElement `AllergyIntolerance.reaction.note` is mapped to FHIR R5 element `AllergyIntolerance.reaction.note` as `RelatedTo`. The mappings for `AllergyIntolerance.reaction.note` do not cover the following types: Annotation. The mappings for `AllergyIntolerance.reaction.note` do not cover the following types based on type expansion: author[x], text, time. Use this field to record information indirectly related to a particular event and not captured in the description. For example: Clinical records are no longer available, recorded based on information provided to the patient by her mother and her mother is deceased.

Group 2 Mapping from http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2 to DSTU2: meta additional typesversion: 0.1.0)

Source CodeRelationshipTarget CodeComment
AllergyIntolerance.meta (meta)is equivalent toExtension (DSTU2: meta additional types)Element `AllergyIntolerance.meta` is mapped to FHIR R5 element `AllergyIntolerance.meta` as `SourceIsBroaderThanTarget`. The mappings for `AllergyIntolerance.meta` do not cover the following types: Meta. The mappings for `AllergyIntolerance.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId.

Group 3 Mapping from http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2 to DSTU2: text additional typesversion: 0.1.0)

Source CodeRelationshipTarget CodeComment
AllergyIntolerance.text (text)is equivalent toExtension (DSTU2: text additional types)Element `AllergyIntolerance.text` is mapped to FHIR R5 element `AllergyIntolerance.text` as `SourceIsBroaderThanTarget`. The mappings for `AllergyIntolerance.text` do not cover the following types: Narrative. The mappings for `AllergyIntolerance.text` do not cover the following types based on type expansion: div, status. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.

Group 4 Mapping from http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2 to DSTU2: identifier additional typesversion: 0.1.0)

Source CodeRelationshipTarget CodeComment
AllergyIntolerance.identifier (identifier)is equivalent toExtension (DSTU2: identifier additional types)Element `AllergyIntolerance.identifier` is mapped to FHIR R5 element `AllergyIntolerance.identifier` as `SourceIsBroaderThanTarget`. The mappings for `AllergyIntolerance.identifier` do not cover the following types: Identifier. The mappings for `AllergyIntolerance.identifier` do not cover the following types based on type expansion: assigner, period, system, type, use, value.

Group 5 Mapping from http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2 to DSTU2: When recorded (new)version: 0.1.0)

Source CodeRelationshipTarget CodeComment
AllergyIntolerance.recordedDate (recordedDate)is equivalent toExtension (DSTU2: When recorded (new))Element `AllergyIntolerance.recordedDate` has a context of AllergyIntolerance based on following the parent source element upwards and mapping to `AllergyIntolerance`. Element `AllergyIntolerance.recordedDate` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

Group 6 Mapping from http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2 to DSTU2: active | unconfirmed | confirmed | inactive | resolved | refuted | entered-in-error additional codesversion: 0.1.0)

Source CodeRelationshipTarget CodeComment
AllergyIntolerance.status (status)is broader thanExtension (DSTU2: active | unconfirmed | confirmed | inactive | resolved | refuted | entered-in-error additional codes)Element `AllergyIntolerance.status` is mapped to FHIR R5 element `AllergyIntolerance.clinicalStatus` as `RelatedTo`. Element `AllergyIntolerance.status` is mapped to FHIR R5 element `AllergyIntolerance.verificationStatus` as `RelatedTo`. The mappings for `AllergyIntolerance.status` do not allow expression of the necessary codes, per the bindings on the source and target. Decision support would typically raise alerts for 'Unconfirmed', 'Confirmed', and 'Resolved' and ignore a 'Refuted' reaction. In particular, 'Refuted' may be useful for reconciliation of the Adverse Reaction List. Some implementations may choose to make this field mandatory.

Group 7 Mapping from http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2 to DSTU2: typeversion: 0.1.0)

Source CodeRelationshipTarget CodeComment
AllergyIntolerance.type (type)is equivalent toExtension (DSTU2: type)Element `AllergyIntolerance.type` is mapped to FHIR R5 element `AllergyIntolerance.type` as `SourceIsNarrowerThanTarget`. Allergic (typically immune-mediated) reactions have been traditionally regarded as an indicator for potential escalation to significant future risk. Contemporary knowledge suggests that some reactions previously thought to be immune-mediated are, in fact, non-immune, but in some cases can still pose a life threatening risk. It is acknowledged that many clinicians may not be in a position to distinguish the mechanism of a particular reaction. Often the term "allergy" is used rather generically and may overlap with the use of "intolerance" - in practice the boundaries between these two concepts may not be well-defined or understood. This data element is included nevertheless, because many legacy systems have captured this attribute. Immunologic testing may provide supporting evidence for the basis of the reaction and the causative substance, but no tests are 100% sensitive or specific for sensitivity to a particular substance. If, as is commonly the case, it is unclear whether the reaction is due to an allergy or an intolerance, then the type element should be omitted from the resource.

Group 8 Mapping from http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2 to DSTU2: food | medication | environment | other - Category of Substanceversion: 0.1.0)

Source CodeRelationshipTarget CodeComment
AllergyIntolerance.category (category)is equivalent toExtension (DSTU2: food | medication | environment | other - Category of Substance)Element `AllergyIntolerance.category` is mapped to FHIR R5 element `AllergyIntolerance.category` as `RelatedTo`. 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.

Group 9 Mapping from http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2 to DSTU2: note additional typesversion: 0.1.0)

Source CodeRelationshipTarget CodeComment
AllergyIntolerance.note (note)is equivalent toExtension (DSTU2: note additional types)Element `AllergyIntolerance.note` is mapped to FHIR R5 element `AllergyIntolerance.note` as `RelatedTo`. The mappings for `AllergyIntolerance.note` do not cover the following types: Annotation. The mappings for `AllergyIntolerance.note` do not cover the following types based on type expansion: author[x], text, time. 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.event.description and AllergyIntolerance.event.notes.

Group 10 Mapping from http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2 to DSTU2: unlikely | likely | confirmed - clinical certainty about the specific substance (new)version: 0.1.0)

Source CodeRelationshipTarget CodeComment
AllergyIntolerance.reaction.certainty (certainty)is equivalent toExtension (DSTU2: unlikely | likely | confirmed - clinical certainty about the specific substance (new))Element `AllergyIntolerance.reaction.certainty` has a context of AllergyIntolerance.reaction based on following the parent source element upwards and mapping to `AllergyIntolerance`. Element `AllergyIntolerance.reaction.certainty` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

Group 11 Mapping from http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2 to DSTU2: note additional typesversion: 0.1.0)

Source CodeRelationshipTarget CodeComment
AllergyIntolerance.reaction.note (note)is equivalent toExtension (DSTU2: note additional types)Element `AllergyIntolerance.reaction.note` is mapped to FHIR R5 element `AllergyIntolerance.reaction.note` as `RelatedTo`. The mappings for `AllergyIntolerance.reaction.note` do not cover the following types: Annotation. The mappings for `AllergyIntolerance.reaction.note` do not cover the following types based on type expansion: author[x], text, time. Use this field to record information indirectly related to a particular event and not captured in the description. For example: Clinical records are no longer available, recorded based on information provided to the patient by her mother and her mother is deceased.

Source1

{
  "resourceType": "ConceptMap",
  "id": "R2-AllergyIntolerance-element-map-to-R5",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 0,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r2.r5"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r2.r5"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/uv/xver/ConceptMap/R2-AllergyIntolerance-element-map-to-R5",
  "version": "0.1.0",
  "name": "R2AllergyIntoleranceElementMapToR5",
  "title": "Cross-version mapping for FHIR DSTU2 AllergyIntolerance to FHIR R5 AllergyIntolerance",
  "status": "active",
  "experimental": false,
  "date": "2026-03-17T16:05:26.5237952-05:00",
  "contact": [
    {
      "name": "FHIR Infrastructure",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description": "This ConceptMap represents cross-version mappings for elements from a FHIR DSTU2 AllergyIntolerance to FHIR R5.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "sourceScopeCanonical": "http://hl7.org/fhir/1.0",
  "targetScopeUri": "http://hl7.org/fhir/5.0",
  "group": [
    {
      "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2",
      "target": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|5.0.0",
      "element": [
        {
          "code": "AllergyIntolerance.meta",
          "display": "meta",
          "target": [
            {
              "code": "AllergyIntolerance.meta",
              "display": "AllergyIntolerance.meta",
              "relationship": "source-is-broader-than-target",
              "comment": "Element `AllergyIntolerance.meta` is mapped to FHIR R5 element `AllergyIntolerance.meta` as `SourceIsBroaderThanTarget`.\nThe mappings for `AllergyIntolerance.meta` do not cover the following types: Meta.\nThe mappings for `AllergyIntolerance.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.implicitRules",
          "display": "implicitRules",
          "target": [
            {
              "code": "AllergyIntolerance.implicitRules",
              "display": "AllergyIntolerance.implicitRules",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.implicitRules` is mapped to FHIR R5 element `AllergyIntolerance.implicitRules` as `Equivalent`.\nAsserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.language",
          "display": "language",
          "target": [
            {
              "code": "AllergyIntolerance.language",
              "display": "AllergyIntolerance.language",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.language` is mapped to FHIR R5 element `AllergyIntolerance.language` as `Equivalent`.\nLanguage is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.text",
          "display": "text",
          "target": [
            {
              "code": "AllergyIntolerance.text",
              "display": "AllergyIntolerance.text",
              "relationship": "source-is-broader-than-target",
              "comment": "Element `AllergyIntolerance.text` is mapped to FHIR R5 element `AllergyIntolerance.text` as `SourceIsBroaderThanTarget`.\nThe mappings for `AllergyIntolerance.text` do not cover the following types: Narrative.\nThe mappings for `AllergyIntolerance.text` do not cover the following types based on type expansion: div, status.\nContained resources do not have narrative. Resources that are not contained SHOULD have a narrative."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.contained",
          "display": "contained",
          "target": [
            {
              "code": "AllergyIntolerance.contained",
              "display": "AllergyIntolerance.contained",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.contained` is mapped to FHIR R5 element `AllergyIntolerance.contained` as `SourceIsBroaderThanTarget`.\nThis should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.identifier",
          "display": "identifier",
          "target": [
            {
              "code": "AllergyIntolerance.identifier",
              "display": "AllergyIntolerance.identifier",
              "relationship": "source-is-broader-than-target",
              "comment": "Element `AllergyIntolerance.identifier` is mapped to FHIR R5 element `AllergyIntolerance.identifier` as `SourceIsBroaderThanTarget`.\nThe mappings for `AllergyIntolerance.identifier` do not cover the following types: Identifier.\nThe mappings for `AllergyIntolerance.identifier` do not cover the following types based on type expansion: assigner, period, system, type, use, value."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.onset",
          "display": "onset",
          "target": [
            {
              "code": "AllergyIntolerance.onset[x]",
              "display": "AllergyIntolerance.onset[x]",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.onset` is mapped to FHIR R5 element `AllergyIntolerance.onset[x]` as `Equivalent`.\nThe target context `AllergyIntolerance.onset[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `AllergyIntolerance`."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.recorder",
          "display": "recorder",
          "target": [
            {
              "code": "AllergyIntolerance.participant",
              "display": "AllergyIntolerance.participant",
              "relationship": "source-is-narrower-than-target",
              "comment": "Element `AllergyIntolerance.recorder` is mapped to FHIR R5 element `AllergyIntolerance.participant` as `SourceIsNarrowerThanTarget`."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.patient",
          "display": "patient",
          "target": [
            {
              "code": "AllergyIntolerance.patient",
              "display": "AllergyIntolerance.patient",
              "relationship": "source-is-broader-than-target",
              "comment": "Element `AllergyIntolerance.patient` is mapped to FHIR R5 element `AllergyIntolerance.patient` as `SourceIsBroaderThanTarget`.\nThe mappings for `AllergyIntolerance.patient` do not cover the following types based on type expansion: display, reference.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR DSTU2 element `AllergyIntolerance.patient` with unmapped reference targets: Patient."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.reporter",
          "display": "reporter",
          "target": [
            {
              "code": "AllergyIntolerance.participant",
              "display": "AllergyIntolerance.participant",
              "relationship": "source-is-narrower-than-target",
              "comment": "Element `AllergyIntolerance.reporter` is mapped to FHIR R5 element `AllergyIntolerance.participant` as `SourceIsNarrowerThanTarget`.\nThe recorder takes repsonsibility for the content, but can reference the source from where they got it."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.substance",
          "display": "substance",
          "target": [
            {
              "code": "AllergyIntolerance.code",
              "display": "AllergyIntolerance.code",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.substance` is mapped to FHIR R5 element `AllergyIntolerance.code` as `Equivalent`.\nIt is strongly recommended that the substance be coded with a terminology, where possible. For example, some terminologies used include RxNorm, SNOMED CT, DM+D, NDFRT, ICD-9, IDC-10, UNI, ATC and CPT. Plain text should only be used if there is no appropriate terminology available. Additional details about a substance can be specified in the text."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.status",
          "display": "status",
          "target": [
            {
              "code": "AllergyIntolerance.clinicalStatus",
              "display": "AllergyIntolerance.clinicalStatus",
              "relationship": "related-to",
              "comment": "Element `AllergyIntolerance.status` is mapped to FHIR R5 element `AllergyIntolerance.clinicalStatus` as `RelatedTo`.\nElement `AllergyIntolerance.status` is mapped to FHIR R5 element `AllergyIntolerance.verificationStatus` as `RelatedTo`.\nThe mappings for `AllergyIntolerance.status` do not allow expression of the necessary codes, per the bindings on the source and target.\nDecision support would typically raise alerts for 'Unconfirmed', 'Confirmed', and 'Resolved' and ignore a 'Refuted' reaction. In particular, 'Refuted' may be useful for reconciliation of the Adverse Reaction List. Some implementations may choose to make this field mandatory."
            },
            {
              "code": "AllergyIntolerance.verificationStatus",
              "display": "AllergyIntolerance.verificationStatus",
              "relationship": "related-to",
              "comment": "Element `AllergyIntolerance.status` is mapped to FHIR R5 element `AllergyIntolerance.clinicalStatus` as `RelatedTo`.\nElement `AllergyIntolerance.status` is mapped to FHIR R5 element `AllergyIntolerance.verificationStatus` as `RelatedTo`.\nThe mappings for `AllergyIntolerance.status` do not allow expression of the necessary codes, per the bindings on the source and target.\nDecision support would typically raise alerts for 'Unconfirmed', 'Confirmed', and 'Resolved' and ignore a 'Refuted' reaction. In particular, 'Refuted' may be useful for reconciliation of the Adverse Reaction List. Some implementations may choose to make this field mandatory."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.criticality",
          "display": "criticality",
          "target": [
            {
              "code": "AllergyIntolerance.criticality",
              "display": "AllergyIntolerance.criticality",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.criticality` is mapped to FHIR R5 element `AllergyIntolerance.criticality` as `Equivalent`.\nThe 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. If this element is missing, the criticality is unknown (though it may be known elsewhere)."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.type",
          "display": "type",
          "target": [
            {
              "code": "AllergyIntolerance.type",
              "display": "AllergyIntolerance.type",
              "relationship": "source-is-broader-than-target",
              "comment": "Element `AllergyIntolerance.type` is mapped to FHIR R5 element `AllergyIntolerance.type` as `SourceIsNarrowerThanTarget`.\nAllergic (typically immune-mediated) reactions have been traditionally regarded as an indicator for potential escalation to significant future risk. Contemporary knowledge suggests that some reactions previously thought to be immune-mediated are, in fact, non-immune, but in some cases can still pose a life threatening risk. It is acknowledged that many clinicians may not be in a position to distinguish the mechanism of a particular reaction. Often the term \"allergy\" is used rather generically and may overlap with the use of \"intolerance\" - in practice the boundaries between these two concepts may not be well-defined or understood. This data element is included nevertheless, because many legacy systems have captured this attribute. Immunologic testing may provide supporting evidence for the basis of the reaction and the causative substance, but no tests are 100% sensitive or specific for sensitivity to a particular substance. If, as is commonly the case, it is unclear whether the reaction is due to an allergy or an intolerance, then the type element should be omitted from the resource."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.category",
          "display": "category",
          "target": [
            {
              "code": "AllergyIntolerance.category",
              "display": "AllergyIntolerance.category",
              "relationship": "source-is-broader-than-target",
              "comment": "Element `AllergyIntolerance.category` is mapped to FHIR R5 element `AllergyIntolerance.category` as `RelatedTo`.\nThis 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."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.lastOccurence",
          "display": "lastOccurence",
          "target": [
            {
              "code": "AllergyIntolerance.lastOccurrence",
              "display": "AllergyIntolerance.lastOccurrence",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.lastOccurence` is mapped to FHIR R5 element `AllergyIntolerance.lastOccurrence` as `Equivalent`.\nThis date may be replicated by one of the Onset of Reaction dates. Where a textual representation of the date of last occurrence is required e.g. 'In Childhood, '10 years ago' the Comment element should be used."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.note",
          "display": "note",
          "target": [
            {
              "code": "AllergyIntolerance.note",
              "display": "AllergyIntolerance.note",
              "relationship": "source-is-broader-than-target",
              "comment": "Element `AllergyIntolerance.note` is mapped to FHIR R5 element `AllergyIntolerance.note` as `RelatedTo`.\nThe mappings for `AllergyIntolerance.note` do not cover the following types: Annotation.\nThe mappings for `AllergyIntolerance.note` do not cover the following types based on type expansion: author[x], text, time.\nFor 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.event.description and  AllergyIntolerance.event.notes."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.reaction",
          "display": "reaction",
          "target": [
            {
              "code": "AllergyIntolerance.reaction",
              "display": "AllergyIntolerance.reaction",
              "relationship": "source-is-broader-than-target",
              "comment": "Element `AllergyIntolerance.reaction` is mapped to FHIR R5 element `AllergyIntolerance.reaction` as `Equivalent`."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.reaction.substance",
          "display": "substance",
          "target": [
            {
              "code": "AllergyIntolerance.reaction.substance",
              "display": "AllergyIntolerance.reaction.substance",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.reaction.substance` is mapped to FHIR R5 element `AllergyIntolerance.reaction.substance` as `Equivalent`.\nCoding of the specific substance with a terminology capable of triggering decision support should be used wherever possible.  The substance field allows for the use of a specific substance or a group or class of substances, for example \"Penicillins\". The specific substance field could be used for Amoxycillin. Duplication is acceptable when a specific substance has been recorded in the 'substance' field."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.reaction.manifestation",
          "display": "manifestation",
          "target": [
            {
              "code": "AllergyIntolerance.reaction.manifestation",
              "display": "AllergyIntolerance.reaction.manifestation",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.reaction.manifestation` is mapped to FHIR R5 element `AllergyIntolerance.reaction.manifestation` as `SourceIsNarrowerThanTarget`.\nManifestation 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. The values entered here may be used to display on an application screen as part of a list of adverse reactions, as recommended in the UK NHS CUI guidelines.  Terminologies commonly used include, but are not limited to, SNOMED CT or ICD10."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.reaction.description",
          "display": "description",
          "target": [
            {
              "code": "AllergyIntolerance.reaction.description",
              "display": "AllergyIntolerance.reaction.description",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.reaction.description` is mapped to FHIR R5 element `AllergyIntolerance.reaction.description` as `Equivalent`.\nUse the description to provide any details of a particular event of the occurred reaction such as circumstances, reaction specifics, what happened before/after. Information, related to the event, but not describing a particular care should be captured in the comment field. For example: at the age of four, the patient was given penicillin for strep throat and subsequently developed severe hives."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.reaction.onset",
          "display": "onset",
          "target": [
            {
              "code": "AllergyIntolerance.reaction.onset",
              "display": "AllergyIntolerance.reaction.onset",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.reaction.onset` is mapped to FHIR R5 element `AllergyIntolerance.reaction.onset` as `Equivalent`."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.reaction.severity",
          "display": "severity",
          "target": [
            {
              "code": "AllergyIntolerance.reaction.severity",
              "display": "AllergyIntolerance.reaction.severity",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.reaction.severity` is mapped to FHIR R5 element `AllergyIntolerance.reaction.severity` as `Equivalent`.\nIt is acknowledged that this assessment is very subjective. There may be some some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.reaction.exposureRoute",
          "display": "exposureRoute",
          "target": [
            {
              "code": "AllergyIntolerance.reaction.exposureRoute",
              "display": "AllergyIntolerance.reaction.exposureRoute",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.reaction.exposureRoute` is mapped to FHIR R5 element `AllergyIntolerance.reaction.exposureRoute` as `Equivalent`.\nCoding of the route of exposure with a terminology should be used wherever possible."
            }
          ]
        },
        {
          "code": "AllergyIntolerance.reaction.note",
          "display": "note",
          "target": [
            {
              "code": "AllergyIntolerance.reaction.note",
              "display": "AllergyIntolerance.reaction.note",
              "relationship": "source-is-broader-than-target",
              "comment": "Element `AllergyIntolerance.reaction.note` is mapped to FHIR R5 element `AllergyIntolerance.reaction.note` as `RelatedTo`.\nThe mappings for `AllergyIntolerance.reaction.note` do not cover the following types: Annotation.\nThe mappings for `AllergyIntolerance.reaction.note` do not cover the following types based on type expansion: author[x], text, time.\nUse this field to record information indirectly related to a particular event and not captured in the description. For example: Clinical records are no longer available, recorded based on information provided to the patient by her mother and her mother is deceased."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2",
      "target": "http://hl7.org/fhir/1.0/StructureDefinition/extension-AllergyIntolerance.meta|0.1.0",
      "element": [
        {
          "code": "AllergyIntolerance.meta",
          "display": "meta",
          "target": [
            {
              "code": "Extension",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.meta` is mapped to FHIR R5 element `AllergyIntolerance.meta` as `SourceIsBroaderThanTarget`.\nThe mappings for `AllergyIntolerance.meta` do not cover the following types: Meta.\nThe mappings for `AllergyIntolerance.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2",
      "target": "http://hl7.org/fhir/1.0/StructureDefinition/extension-AllergyIntolerance.text|0.1.0",
      "element": [
        {
          "code": "AllergyIntolerance.text",
          "display": "text",
          "target": [
            {
              "code": "Extension",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.text` is mapped to FHIR R5 element `AllergyIntolerance.text` as `SourceIsBroaderThanTarget`.\nThe mappings for `AllergyIntolerance.text` do not cover the following types: Narrative.\nThe mappings for `AllergyIntolerance.text` do not cover the following types based on type expansion: div, status.\nContained resources do not have narrative. Resources that are not contained SHOULD have a narrative."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2",
      "target": "http://hl7.org/fhir/1.0/StructureDefinition/extension-AllergyIntolerance.identifier|0.1.0",
      "element": [
        {
          "code": "AllergyIntolerance.identifier",
          "display": "identifier",
          "target": [
            {
              "code": "Extension",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.identifier` is mapped to FHIR R5 element `AllergyIntolerance.identifier` as `SourceIsBroaderThanTarget`.\nThe mappings for `AllergyIntolerance.identifier` do not cover the following types: Identifier.\nThe mappings for `AllergyIntolerance.identifier` do not cover the following types based on type expansion: assigner, period, system, type, use, value."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2",
      "target": "http://hl7.org/fhir/1.0/StructureDefinition/extension-AllergyIntolerance.recordedDate|0.1.0",
      "element": [
        {
          "code": "AllergyIntolerance.recordedDate",
          "display": "recordedDate",
          "target": [
            {
              "code": "Extension",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.recordedDate` has a context of AllergyIntolerance based on following the parent source element upwards and mapping to `AllergyIntolerance`.\nElement `AllergyIntolerance.recordedDate` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2",
      "target": "http://hl7.org/fhir/1.0/StructureDefinition/extension-AllergyIntolerance.status|0.1.0",
      "element": [
        {
          "code": "AllergyIntolerance.status",
          "display": "status",
          "target": [
            {
              "code": "Extension",
              "relationship": "source-is-broader-than-target",
              "comment": "Element `AllergyIntolerance.status` is mapped to FHIR R5 element `AllergyIntolerance.clinicalStatus` as `RelatedTo`.\nElement `AllergyIntolerance.status` is mapped to FHIR R5 element `AllergyIntolerance.verificationStatus` as `RelatedTo`.\nThe mappings for `AllergyIntolerance.status` do not allow expression of the necessary codes, per the bindings on the source and target.\nDecision support would typically raise alerts for 'Unconfirmed', 'Confirmed', and 'Resolved' and ignore a 'Refuted' reaction. In particular, 'Refuted' may be useful for reconciliation of the Adverse Reaction List. Some implementations may choose to make this field mandatory."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2",
      "target": "http://hl7.org/fhir/1.0/StructureDefinition/extension-AllergyIntolerance.type|0.1.0",
      "element": [
        {
          "code": "AllergyIntolerance.type",
          "display": "type",
          "target": [
            {
              "code": "Extension",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.type` is mapped to FHIR R5 element `AllergyIntolerance.type` as `SourceIsNarrowerThanTarget`.\nAllergic (typically immune-mediated) reactions have been traditionally regarded as an indicator for potential escalation to significant future risk. Contemporary knowledge suggests that some reactions previously thought to be immune-mediated are, in fact, non-immune, but in some cases can still pose a life threatening risk. It is acknowledged that many clinicians may not be in a position to distinguish the mechanism of a particular reaction. Often the term \"allergy\" is used rather generically and may overlap with the use of \"intolerance\" - in practice the boundaries between these two concepts may not be well-defined or understood. This data element is included nevertheless, because many legacy systems have captured this attribute. Immunologic testing may provide supporting evidence for the basis of the reaction and the causative substance, but no tests are 100% sensitive or specific for sensitivity to a particular substance. If, as is commonly the case, it is unclear whether the reaction is due to an allergy or an intolerance, then the type element should be omitted from the resource."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2",
      "target": "http://hl7.org/fhir/1.0/StructureDefinition/extension-AllergyIntolerance.category|0.1.0",
      "element": [
        {
          "code": "AllergyIntolerance.category",
          "display": "category",
          "target": [
            {
              "code": "Extension",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.category` is mapped to FHIR R5 element `AllergyIntolerance.category` as `RelatedTo`.\nThis 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."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2",
      "target": "http://hl7.org/fhir/1.0/StructureDefinition/extension-AllergyIntolerance.note|0.1.0",
      "element": [
        {
          "code": "AllergyIntolerance.note",
          "display": "note",
          "target": [
            {
              "code": "Extension",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.note` is mapped to FHIR R5 element `AllergyIntolerance.note` as `RelatedTo`.\nThe mappings for `AllergyIntolerance.note` do not cover the following types: Annotation.\nThe mappings for `AllergyIntolerance.note` do not cover the following types based on type expansion: author[x], text, time.\nFor 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.event.description and  AllergyIntolerance.event.notes."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2",
      "target": "http://hl7.org/fhir/1.0/StructureDefinition/extension-AllergyIntolerance.reaction.certainty|0.1.0",
      "element": [
        {
          "code": "AllergyIntolerance.reaction.certainty",
          "display": "certainty",
          "target": [
            {
              "code": "Extension",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.reaction.certainty` has a context of AllergyIntolerance.reaction based on following the parent source element upwards and mapping to `AllergyIntolerance`.\nElement `AllergyIntolerance.reaction.certainty` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|1.0.2",
      "target": "http://hl7.org/fhir/1.0/StructureDefinition/extension-AllergyIntolerance.reaction.note|0.1.0",
      "element": [
        {
          "code": "AllergyIntolerance.reaction.note",
          "display": "note",
          "target": [
            {
              "code": "Extension",
              "relationship": "equivalent",
              "comment": "Element `AllergyIntolerance.reaction.note` is mapped to FHIR R5 element `AllergyIntolerance.reaction.note` as `RelatedTo`.\nThe mappings for `AllergyIntolerance.reaction.note` do not cover the following types: Annotation.\nThe mappings for `AllergyIntolerance.reaction.note` do not cover the following types based on type expansion: author[x], text, time.\nUse this field to record information indirectly related to a particular event and not captured in the description. For example: Clinical records are no longer available, recorded based on information provided to the patient by her mother and her mother is deceased."
            }
          ]
        }
      ]
    }
  ]
}