EHI Export Implementation Guide
0.1.0 - ci-build

EHI Export 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: EHIMedication - Mappings

Draft as of 2025-11-27

Mappings for the medication resource profile.

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

NameMapping to NCPDP SCRIPT 10.6RIM MappingFiveWs Pattern MappingHL7 v2 Mappingdoco
.. Medication
NewRx/MedicationPrescribed -or- RxFill/MedicationDispensed -or- RxHistoryResponse/MedicationDispensed -or- RxHistoryResponse/MedicationPrescribed
ManufacturedProduct[classCode=ADMM]
... id
... meta
... implicitRules
... text
Act.text?
... contained
N/A
... extension
... modifierExtension
N/A
... identifier
.id
FiveWs.identifier
... code
  • coding.code = //element(*
  • MedicationType)/DrugCoded/ProductCode coding.system = //element(*
  • MedicationType)/DrugCoded/ProductCodeQualifier coding.display = //element(*
  • MedicationType)/DrugDescription
.code
FiveWs.class
RXO-1.1-Requested Give Code.code / RXE-2.1-Give Code.code / RXD-2.1-Dispense/Give Code.code / RXG-4.1-Give Code.code /RXA-5.1-Administered Code.code / RXC-2.1 Component Code
.... id
n/a
.... extension
n/a
.... coding
  • union(.
  • ./translation)
  • C*E.1-8
  • C*E.10-22
..... id
n/a
..... extension
n/a
..... system
./codeSystem
C*E.3
..... version
./codeSystemVersion
C*E.7
..... code
./code
C*E.1
..... display
CV.displayName
C*E.2 - but note this is not well followed
..... userSelected
CD.codingRationale
Sometimes implied by being first
.... text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
... status
.statusCode
... manufacturer
no mapping
.player.scopingRole[typeCode=MANU].scoper
FiveWs.actor
RXD-20-Substance Manufacturer Name / RXG-21-Substance Manufacturer Name / RXA-17-Substance Manufacturer Name
... form
  • coding.code = //element(*
  • DrugCodedType)/FormCode coding.system = //element(*
  • DrugCodedType)/FormSourceCode
.formCode
RXO-5-Requested Dosage Form / RXE-6-Give Dosage Form / RXD-6-Actual Dosage Form / RXG-8-Give Dosage Form / RXA-8-Administered Dosage Form
.... id
n/a
.... extension
n/a
.... coding
  • union(.
  • ./translation)
  • C*E.1-8
  • C*E.10-22
..... id
n/a
..... extension
n/a
..... system
./codeSystem
C*E.3
..... version
./codeSystemVersion
C*E.7
..... code
./code
C*E.1
..... display
CV.displayName
C*E.2 - but note this is not well followed
..... userSelected
CD.codingRationale
Sometimes implied by being first
.... text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
... amount
.quantity
.... id
n/a
.... extension
n/a
.... numerator
.numerator
..... id
n/a
..... extension
n/a
..... value
  • PQ.value
  • CO.value
  • MO.value
  • IVL.high or IVL.low depending on the value
SN.2 / CQ - N/A
..... comparator
IVL properties
SN.1 / CQ.1
..... unit
PQ.unit
(see OBX.6 etc.) / CQ.2
..... system
  • CO.codeSystem
  • PQ.translation.codeSystem
(see OBX.6 etc.) / CQ.2
..... code
  • PQ.code
  • MO.currency
  • PQ.translation.code
(see OBX.6 etc.) / CQ.2
.... denominator
.denominator
... ingredient
.scopesRole[typeCode=INGR]
... batch
no mapping
.player[classCode=CONT]

doco Documentation for this format