This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
. Page versions: R5 R4B R4 R3 R2
11.5.7 Resource Medication - Mappings 
Mappings for the medication resource.
11.5.7.1 Mappings for RIM Mapping (http://hl7.org/v3) 
| Medication | ManufacturedProduct[classCode=ADMM] |
| code | .code |
| status | .statusCode |
| isBrand | true if .player.scopingRole[typeCode=MANU] exists |
| isOverTheCounter | NA |
| manufacturer | .player.scopingRole[typeCode=MANU].scoper |
| form | .formCode |
| ingredient | .scopesRole[typeCode=INGR] |
| item[x] | .player |
| isActive | NA |
| amount | .quantity |
| package | .player[classCode=CONT] |
| container | .code |
| content | .scopesRole[typeCode=CONT] |
| item[x] | .player |
| amount | .quantity |
| batch | participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].id |
| lotNumber | .id |
| expirationDate | participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime |
| image | .participation[typeCode=SUBJ].role[classCode=MANU],source[classCode=OBS,moodCode=EVN,code="type of image"].value(ED.image) |
11.5.7.2 Mappings for HL7 v2 Mapping (http://hl7.org/v2) 
| Medication | |
| code | 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 |
| status | |
| isBrand | |
| isOverTheCounter | |
| manufacturer | RXD-20-Substance Manufacturer Name / RXG-21-Substance Manufacturer Name / RXA-17-Substance Manufacturer Name |
| form | 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 |
| ingredient | |
| item[x] | RXC-2-Component Code if medication: RXO-1-Requested Give Code / RXE-2-Give Code / RXD-2-Dispense/Give Code / RXG-4-Give Code / RXA-5-Administered Code |
| isActive | |
| amount | RXC-3-Component Amount & RXC-4-Component Units if medication: RXO-2-Requested Give Amount - Minimum & RXO-4-Requested Give Units / RXO-3-Requested Give Amount - Maximum & RXO-4-Requested Give Units / RXO-11-Requested Dispense Amount & RXO-12-Requested Dispense Units / RXE-3-Give Amount - Minimum & RXE-5-Give Units / RXE-4-Give Amount - Maximum & RXE-5-Give Units / RXE-10-Dispense Amount & RXE-10-Dispense Units |
| package | |
| container | |
| content | |
| item[x] | |
| amount | |
| batch | |
| lotNumber | RXA-15 Substance Lot Number / RXG-19 Substance Lot Number |
| expirationDate | RXA-16 Substance Expiration Date / RXG-20 Substance Expiration Date |
| image | |
11.5.7.3 Mappings for Mapping to NCPDP SCRIPT 10.6 (http://ncpdp.org/SCRIPT10_6) 
| Medication | NewRx/MedicationPrescribed
-or-
RxFill/MedicationDispensed
-or-
RxHistoryResponse/MedicationDispensed
-or-
RxHistoryResponse/MedicationPrescribed |
| code | coding.code = //element(*,MedicationType)/DrugCoded/ProductCode
coding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier
coding.display = //element(*,MedicationType)/DrugDescription |
| status | |
| isBrand | no mapping |
| isOverTheCounter | |
| manufacturer | no mapping |
| form | coding.code = //element(*,DrugCodedType)/FormCode
coding.system = //element(*,DrugCodedType)/FormSourceCode |
| ingredient | |
| item[x] | coding.code = //element(*,MedicationType)/DrugCoded/ProductCode
coding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier
coding.display = //element(*,MedicationType)/DrugDescription |
| isActive | |
| amount | //element(*,DrugCodedType)/Strength |
| package | no mapping |
| container | no mapping |
| content | no mapping |
| item[x] | no mapping |
| amount | no mapping |
| batch | no mapping |
| lotNumber | no mapping |
| expirationDate | no mapping |
| image | |