MediRecords FHIR Implementation Guide
1.4.0 - release


Resource Profile: MRMedication - Mappings

Mappings for the mr-medication resource profile.

Mappings for Mapping to NCPDP SCRIPT 10.6 (http://ncpdp.org/SCRIPT10_6)

MRMedication
MedicationNewRx/MedicationPrescribed -or- RxFill/MedicationDispensed -or- RxHistoryResponse/MedicationDispensed -or- RxHistoryResponse/MedicationPrescribed
   codecoding.code = //element(*,MedicationType)/DrugCoded/ProductCode coding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier coding.display = //element(*,MedicationType)/DrugDescription
   manufacturerno mapping
   formcoding.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
      strength//element(*,DrugCodedType)/Strength
   batchno mapping
      lotNumberno mapping
      expirationDateno mapping

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

MRMedication
MedicationEntity. Role, or Act, ManufacturedProduct[classCode=ADMM]
   metan/a, N/A
   textAct.text?
   containedN/A
   modifierExtensionN/A
   identifier.id
   code.code
      idn/a
      extensionn/a
      codingunion(., ./translation)
      coding (pbs)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (gtin)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (amt)union(., ./translation)
         idn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (mimsPackage)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (atc)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      text./originalText[mediaType/code="text/plain"]/data
   status.statusCode
   manufacturer.player.scopingRole[typeCode=MANU].scoper
   form.formCode
      idn/a
      extensionn/a
      codingunion(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   amount.quantity
   ingredient.scopesRole[typeCode=INGR]
      idn/a
      extensionn/a
      modifierExtensionN/A
      item[x].player
      isActiveNA
      strength.quantity
   batch.player[classCode=CONT]
      idn/a
      extensionn/a
      modifierExtensionN/A
      lotNumber.id
      expirationDateparticipation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime

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

MRMedication
Medication
   identifierFiveWs.identifier
   codeFiveWs.class
   manufacturerFiveWs.actor

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

MRMedication
Medication
   codeRXO-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
      codingC*E.1-8, C*E.10-22
      coding (pbs)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (gtin)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (amt)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (mimsPackage)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (atc)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      textC*E.9. But note many systems use C*E.2 for this
   manufacturerRXD-20-Substance Manufacturer Name / RXG-21-Substance Manufacturer Name / RXA-17-Substance Manufacturer Name
   formRXO-5-Requested Dosage Form / RXE-6-Give Dosage Form / RXD-6-Actual Dosage Form / RXG-8-Give Dosage Form / RXA-8-Administered Dosage Form
      codingC*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   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
      strengthRXC-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
   batch
      lotNumberRXA-15 Substance Lot Number / RXG-19 Substance Lot Number
      expirationDateRXA-16 Substance Expiration Date / RXG-20 Substance Expiration Date