HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

HL7 Version 2 to FHIR, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2-to-fhir/ and changes regularly. See the Directory of published versions

ConceptMap: Segment AL1 to AllergyIntolerance Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/segment-al1-to-allergyintolerance Version: 1.0.0-ballot
Active as of 2024-12-20 Computable Name: SegmentAL1ToAllergyIntolerance

Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Segment AL1 to the FHIR AllergyIntolerance Resource.

This ConceptMap represents the mapping from the HL7 V2 AL1 Segment to the FHIR AllergyIntolerance Resource. See also the FHIR Shorthand or the CSV Source.

HL7 v2Condition (IF True, args)HL7 FHIRComments
Sort OrderIdentifierNameData TypeCardinality - MinCardinality - MaxComputable ANTLRComputable FHIRPathNarrativeFHIR AttributeExtensionData TypeCardinality - MinCardinality - MaxData Type MappingVocabulary Mapping
(IS, ID, CE, CEN, CWE)
Assignment
0AL1AllergyIntolerance.clinicalStatus.coding.codeAllergyIntolerance.code01"active"While .clinicalStatus is not required, constraint ait-1 (AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.) does necessitate populating this element in the map as it's not possible to infer a verificationStatus of "entered-in-error" based on the data in AL1.
0AL1AllergyIntolerance.clinicalStatus.coding.systemAllergyIntolerance.uri01"http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"
1AL1-1Set ID - AL1SI11This field doesn't warrant mapping
2AL1-2Allergen Type CodeCWE01AllergyIntolerance.categoryAllergyIntolerance.code0-1CWE[code]AllergenType[AllergyIntoleranceCategory]The FHIR table has a "required" binding. Do we need to expand the values in the FHIR table? Could other be used for: Miscellaneous allergy Miscellaneous contraindication Animal Allergy HL70127 is a user defined table
2AL1-2Allergen Type CodeCWE01AllergyIntolerance.category.extension.urlAllergyIntolerance.uri11"http://hl7.org/fhir/StructureDefinition/alternate-codes"
2AL1-2Allergen Type CodeCWE01AllergyIntolerance.category.extension.valueCodeableConceptAllergyIntolerance.CodeableConcept11CWE[CodeableConcept]AllergenType[AllergyIntoleranceOriginalCategory]
2AL1-2Allergen Type CodeCWE01AllergyIntolerance.typeAllergyIntolerance.code01CWE[code]AllergenType
3AL1-3Allergen Code/Mnemonic/DescriptionCWE11AllergyIntolerance.codeAllergyIntolerance.CodeableConcept01CWE[CodeableConcept]
4AL1-4Allergy Severity CodeCWE01If severity was used equivalent to criticalityAllergyIntolerance.criticalityAllergyIntolerance.code01CWE[code]AllergySeverity[AllergyIntolerance.criticality]Note that AllergyIntolerance.reaction.severity is available in FHIR but from a base standard perspective that is actually not the most appropriate and would require that AL1-6 is valued as well. However, a local implementation may have used vocabulary that better fits AllergyIntolerance.reaction.severity and should then consider that instead as a local variation. Note that the .reaction though is at a particular time, while .criticality is an overall assement that matches HL7 v2 generally better.
4AL1-4Allergy Severity CodeCWE01If severity was used equivalent to criticalityAllergyIntolerance.criticality.extension.urlAllergyIntolerance.uri11"http://hl7.org/fhir/StructureDefinition/alternate-codes"
4AL1-4Allergy Severity CodeCWE01If severity was used equivalent to criticalityAllergyIntolerance.criticality.extension.valueCodeableConceptAllergyIntolerance.CodeableConcept11CWE[CodeableConcept]AllergySeverity[AllergyIntolerance.criticality-original]
4AL1-4Allergy Severity CodeCWE01If severity was not used equivalent to criticalityAllergyIntolerance.reaction.severityAllergyIntolerance.code01CWE[Code]AllergySeverity[AllergryIntolerance.reaction.severity]
5AL1-5Allergy Reaction CodeST0-1AllergyIntolerance.reaction.manifestation.textAllergyIntolerance.CodeableConcept01ST[CodeableConcept]AllergyIntolerance.reaction can repeat, presumably to capture both multiple manifestations of the reaction (rash and nausea) as well as reactions to independent exposures (last week and last month) - we may want to confirm this understanding.
6AL1-6Identification DateDT11AllergyIntolerance.onsetDateTimeAllergyIntolerance.dateTime01Withdrawn as of 2.7, Refer to IAM-11 Onset or IAM-13 Reported Date

Generated Narrative: ConceptMap segment-al1-to-allergyintolerance

Mapping from AL1 to AllergyIntolerance


Group 1 Mapping from unspecified code system to unspecified code system

Source CodeRelationshipTarget CodeComment
AL1is equivalent toclinicalStatus.coding.codeWhile .clinicalStatus is not required, constraint ait-1 (AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.) does necessitate populating this element in the map as it's not possible to infer a verificationStatus of "entered-in-error" based on the data in AL1.
AL1is equivalent toclinicalStatus.coding.system
AL1-2 (Allergen Type Code)is equivalent tocategoryThe FHIR table has a "required" binding. Do we need to expand the values in the FHIR table? Could other be used for: Miscellaneous allergy Miscellaneous contraindication Animal Allergy HL70127 is a user defined table\
AL1-2 (Allergen Type Code)is equivalent tocategory.extension[1].url
AL1-2 (Allergen Type Code)is equivalent tocategory.extension[1].valueCodeableConcept
AL1-2 (Allergen Type Code)is equivalent totype
AL1-3 (Allergen Code/Mnemonic/Description)is equivalent tocode
AL1-4 (Allergy Severity Code)is equivalent tocriticalityNote that AllergyIntolerance.reaction.severity is available in FHIR but from a base standard perspective that is actually not the most appropriate and would require that AL1-6 is valued as well. However, a local implementation may have used vocabulary that better fits AllergyIntolerance.reaction.severity and should then consider that instead as a local variation. Note that the .reaction though is at a particular time, while .criticality is an overall assement that matches HL7 v2 generally better.
AL1-4 (Allergy Severity Code)is equivalent tocriticality.extension[1].url
AL1-4 (Allergy Severity Code)is equivalent tocriticality.extension[1].valueCodeableConcept
AL1-4 (Allergy Severity Code)is equivalent toreaction.severity
AL1-5 (Allergy Reaction Code)is equivalent toreaction.manifestation.textAllergyIntolerance.reaction can repeat, presumably to capture both multiple manifestations of the reaction (rash and nausea) as well as reactions to independent exposures (last week and last month) - we may want to confirm this understanding.\
AL1-6 (Identification Date)is equivalent toonsetDateTimeWithdrawn as of 2.7, Refer to IAM-11 Onset or IAM-13 Reported Date

Notes: