OpenMRS Core FHIR Implementation Guide
0.1.0 - ci-build

OpenMRS Core FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: OpenMRSAllergyIntolerance - Mappings

Active as of 2024-12-11

Mappings for the omrs-AllergyIntolerance resource profile.

Mappings for FHIR HL7 vs OMRS FHIR2 (AllergyIntolerance)

Allergy or Intolerance; a propensity, or a potential risk to an individual, to have an adverse reaction on future exposure to the specified substance, or class of substance.

OpenMRSAllergyIntolerance
AllergyIntoleranceOMRS Allergy intolerance

This profile maps to allergy intolerance in OMRS FHIR2

   idallergy.uuid
   identifierallery.identifier
   clinicalStatusallergy.status
   verificationStatusallergy.status
   typeallergy.AllergyIntoleranceType
   criticalityallergy.severity
   codeallergy.Code
   patientallergy.patient
   recordedDateallergy.createdDate
   recorderallergy.creator
   noteallergy.comment
   reactionallergy.concept

Mappings for RIM Mapping (http://hl7.org/v3)

OpenMRSAllergyIntolerance
AllergyIntoleranceEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   identifierid
   clinicalStatusObservation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code="clinicalStatus", moodCode=EVN].value
   verificationStatusObservation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code="verificationStatus", moodCode=EVN].value
   typecode
   criticalityinboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]
   codesubstance/product: .participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType] negated/excluded substance/product: .participation[typeCode=CAGNT, negationInd=true].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType] positive or negated/excluded condition/situation: Observation.code=ASSERTION; Observation.value
   patient.participation[typeCode=SBJ].role[classCode=PAT]
   recordedDate.participation[typeCode=AUT].time
   recorder.participation[typeCode=AUT].role
   notesubjectOf.observationEvent[code="annotation"].value
   reactionoutBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]
      idn/a
      extensionn/a
      modifierExtensionN/A
      substanceoutBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].participation[typeCode=CSM].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]
      manifestationcode
      descriptiontext
      onseteffectiveTime.low
      severityinboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]
      exposureRouteoutBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode
      notesubjectOf.observationEvent[code="annotation"].value

Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

OpenMRSAllergyIntolerance
AllergyIntolerance
   identifierFiveWs.identifier
   clinicalStatusFiveWs.status
   verificationStatusFiveWs.status
   typeFiveWs.class
   criticalityFiveWs.grade
   codeFiveWs.what[x]
   patientFiveWs.subject[x], FiveWs.subject
   recordedDateFiveWs.recorded
   recorderFiveWs.author

Mappings for HL7 v2 Mapping (http://hl7.org/v2)

OpenMRSAllergyIntolerance
AllergyIntolerance
   identifierIAM-7
   typeIAM-9
   criticalityAL1-4
   codeAL1-3 / IAM-3
   patient(PID-3)
   recordedDateIAM-13
   reaction
      manifestationAL1-5
      onsetAL1-6