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 IAM to AllergyIntolerance Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/segment-iam-to-allergyintolerance Version: 1.0.0-ballot
Active as of 2023-12-19 Computable Name: SegmentIAMToAllergyIntolerance

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

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

This ConceptMap represents the mapping from the HL7 V2 IAM 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 MappingAssignmentVocabulary Mapping
(IS, ID, CE, CEN, CWE)
1IAM-1Set ID - IAMSI11
2IAM-2Allergen Type CodeCWE01AllergyIntolerance.categoryAllergyIntolerance.code0-1CWE[Code]AllergyCategory
2IAM-2Allergen Type CodeCWE01AllergyIntolerance.typeAllergyIntolerance.code01CWE[Code]AllergyType
3IAM-3Allergen Code/Mnemonic/DescriptionCWE11AllergyIntolerance.codeAllergyIntolerance.CodeableConcept01CWE[CodeableConcept]
4IAM-4Allergy Severity CodeCWE01AllergyIntolerance.reaction.severityAllergyIntolerance.code01CWE[Code]AllergySeverity
4IAM-4Allergy Severity CodeCWE01AllergyIntolerance.criticality.extension.urlAllergyIntolerance.uri11"http://hl7.org/fhir/StructureDefinition/alternate-codes"
4IAM-4Allergy Severity CodeCWE01AllergyIntolerance.criticality.extension.valueCodeableConceptAllergyIntolerance.CodeableConcept11
5IAM-5Allergy Reaction CodeST01AllergyIntolerance.reaction.manifestation.textAllergyIntolerance.CodeableConcept01CWE[CodeableConcept]
6IAM-6Allergy Action CodeCNE11
7IAM-7Allergy Unique IdentifierEI01AllergyIntolerance.identifierAllergyIntolerance.identifier0-1EI[Identifier-Extension]
8IAM-8Action ReasonST01
9IAM-9Sensitivity to Causative Agent CodeCWE01
10IAM-10Allergen Group Code/Mnemonic/DescriptionCWE01
11IAM-11Onset DateDT01AllergyIntolerance.onsetDateTimeAllergyIntolerance.dateTime01
12IAM-12Onset Date TextST01IF IAM-11 NOT VALUEDAllergyIntolerance.onsetStringAllergyIntolerance.string01
13IAM-13Reported Date/TimeDTM01AllergyIntolerance.recordedDateAllergyIntolerance.dateTime01
14IAM-14Reported ByXPN01IF IAM-15 NOT VALUEDIf IAM-15 is not valued, not always 100% clear this is a practitioner, so much review locally.AllergyIntolerance.recorder.reference(AllergyIntolerance.Practitioner.name)AllergyIntolerance.HumanName01XPN[HumanName]
14IAM-14Reported ByXPN01IF IAM-15 EQUALS "SEL"AllergyIntolerance.recorder.reference(AllergyIntolerance.Patient.name)AllergyIntolerance.HumanName01XPN[HumanName]
14IAM-14Reported ByXPN01IF IAM-15 VALUED AND NOT "SEL"AllergyIntolerance.recorder.reference(AllergyIntolerance.RelatedPerson.name)AllergyIntolerance.HumanName01XPN[HumanName]
15IAM-15Relationship to PatientCWE01IF IAM-15 VALUED AND NOT "SEL"AllergyIntolerance.recorder.reference(AllergyIntolerance.RelatedPerson.relationship)AllergyIntolerance.CodeableConcept0-1CWE[CodeableConcept]Relationship
16IAM-16Alert Device CodeCWE01
17IAM-17Allergy Clinical StatusCWE01AllergyIntolerance.clinicalStatusAllergyIntolerance.CodeableConcept01CWE[CodeableConcept]
18IAM-18Statused by PersonXCN01
19IAM-19Statused by OrganizationXON01
20IAM-20Statused at Date/TimeDTM01
21IAM-21Inactivated by PersonXCN01
22IAM-22Inactivated Date/TimeDTM01
23IAM-23Initially Recorded by PersonXCN01
24IAM-24Initially Recorded Date/TimeDTM01
25IAM-25Modified by PersonXCN01
26IAM-26Modified Date/TimeDTM01
27IAM-27Clinician Identified CodeCWE01AllergyIntolerance.codeAllergyIntolerance.CodeableConceptCWE[CodeableConcept]
28IAM-28Initially Recorded by OrganizationXON01
29IAM-29Modified by OrganizationXON01
30IAM-30Inactivated by OrganizationXON01

Mapping from IAM to AllergyIntolerance

ACTIVE (not intended for production usage). Published on 2023-12-19 by HL7 International / Orders and Observations (HL7 Orders and Observations Workgroup: http://www.hl7.org/Special/com..., Keith W. Boone: kboone@ainq.com, Rob Hausam: rrhausam@gmail.com). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

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


Group 1Mapping from unspecified code system to unspecified code system

Source Concept DetailsRelationshipTarget Concept DetailsProperties
Codes from vocabularymapdatatypemapvalueCodes from antlrnarrative
IAM-2Allergen Type CodeAllergyCategoryCWE[Code]is equivalent tocategorycategory
IAM-2Allergen Type CodeAllergyTypeCWE[Code]is equivalent totypetype
IAM-3Allergen Code/Mnemonic/DescriptionCWE[CodeableConcept]is equivalent tocode[1]code[1]
IAM-4Allergy Severity CodeAllergySeverityCWE[Code]is equivalent toreaction.severityreaction.severity
IAM-4Allergy Severity Code"http://hl7.org/fhir/StructureDefinition/alternate-codes"is equivalent tocriticality.extension[1].urlcriticality.extension[1].url
IAM-4Allergy Severity Codeis equivalent tocriticality.extension[1].valueCodeableConceptcriticality.extension[1].valueCodeableConcept
IAM-5Allergy Reaction CodeCWE[CodeableConcept]is equivalent toreaction.manifestation.textreaction.manifestation.text
IAM-7Allergy Unique IdentifierEI[Identifier-Extension]is equivalent toidentifieridentifier
IAM-11Onset Dateis equivalent toonsetDateTimeonsetDateTime
IAM-12Onset Date Textis equivalent toonsetStringonsetStringIF IAM-11 NOT VALUED
IAM-13Reported Date/Timeis equivalent torecordedDaterecordedDate
IAM-14Reported ByXPN[HumanName]is equivalent torecorder.reference(Practitioner.name)recorder.reference(Practitioner.name)IF IAM-15 NOT VALUEDIf IAM-15 is not valued, not always 100% clear this is a practitioner, so much review locally.
IAM-14Reported ByXPN[HumanName]is equivalent torecorder.reference(Patient[1].name)recorder.reference(Patient[1].name)IF IAM-15 EQUALS "SEL"
IAM-14Reported ByXPN[HumanName]is equivalent torecorder.reference(RelatedPerson.name)recorder.reference(RelatedPerson.name)IF IAM-15 VALUED AND NOT "SEL"
IAM-15Relationship to PatientRelationshipCWE[CodeableConcept]is equivalent torecorder.reference(RelatedPerson.relationship)recorder.reference(RelatedPerson.relationship)IF IAM-15 VALUED AND NOT "SEL"
IAM-17Allergy Clinical StatusCWE[CodeableConcept]is equivalent toclinicalStatusclinicalStatus
IAM-27Clinician Identified CodeCWE[CodeableConcept]is equivalent tocode[1]code[1]

Notes: