US Veterans Health Administration FHIR Map Set Implementation Guide
1.9.0 - 251001 United States of America flag

US Veterans Health Administration FHIR Map Set Implementation Guide - Downloaded Version 1.9.0 See the Directory of published versions

Resource Profile: MedicationDispenseRefill - Mappings

Active as of 2025-09-30

Mappings for the MedicationDispenseRefill resource profile.

Scroll down for the Raw FHIR, CDW & SDA mappings (if any).

Note that the CDW, SDA and VPR XML mappings are derived from a look-up based on the VistA source.

Mapping Sources

Use Case: MedicationDispense: Refill (Source)Use Case: MedicationDispense: Refill (Source)DRUG (50).01GENERIC NAME22PSNDF VA PRODUCT NAME ENTRYPRESCRIPTION (52).01RX #2PATIENT6DRUG10SIG52REFILL113MEDICATION INSTRUCTIONS114PATIENT INSTRUCTIONSOUTPATIENT SITE (59)10DEFAULT ERX CLINICREFILL (52.1)1QTY1.1DAYS SUPPLY2MAIL/WINDOW/PARK3REMARKS4PHARMACIST NAME8DIVISION14RETURNED TO STOCK17RELEASED DATE/TIMEMEDICATION INSTRUCTIONS (52.0113).01DOSAGE ORDERED2UNITS[number][not null]

Raw Mappings

key status direction source mapApproach mapCase FHIR Path subPath mapValue mapParameter mapComment FHIR URL | Ver
1553 for review V2F PRESCRIPTION - RX # (52-.01) reference MedicationDispense.authorizingPrescription /MedicationRequestOutpatient updated from PLACER ORDER # (CPRS id) http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
2215 for review V2F fixed value MedicationDispense.category http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category#outpatient http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
827 for review V2F PRESCRIPTION - REFILL > REFILL - DAYS SUPPLY (52-52 > 52.1-1.1) source value MedicationDispense.daysSupply http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
1712 for review V2F PRESCRIPTION - REFILL > REFILL - MAIL/WINDOW/PARK (52-52 > 52.1-2) source value MedicationDispense.destination .display http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
836 for review V2F PRESCRIPTION - REFILL > REFILL - MAIL/WINDOW/PARK (52-52 > 52.1-2) source value MedicationDispense.destination .display http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
1559 for review V2F PRESCRIPTION - MEDICATION INSTRUCTIONS > MEDICATION INSTRUCTIONS - UNITS (52-113 > 52.0113-2) source value MedicationDispense.dosageInstruction .doseAndRate.doseQuantity.unit http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
1579 for review V2F PRESCRIPTION - MEDICATION INSTRUCTIONS > MEDICATION INSTRUCTIONS - UNITS (52-113 > 52.0113-2) terminologyMaps MedicationDispense.dosageInstruction .doseAndRate.doseQuantity.code VF_DoseUnits http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
1558 for review V2F PRESCRIPTION - MEDICATION INSTRUCTIONS > MEDICATION INSTRUCTIONS - DOSAGE ORDERED (52-113 > 52.0113-.01) source value number MedicationDispense.dosageInstruction .doseAndRate.doseQuantity.value http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
1557 for review V2F PRESCRIPTION - PATIENT INSTRUCTIONS (52-114) source value MedicationDispense.dosageInstruction .patientInstruction http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
1556 for review V2F PRESCRIPTION - SIG (52-10) source value MedicationDispense.dosageInstruction .text http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
1715 for review V2F PRESCRIPTION - REFILL > REFILL - DIVISION > OUTPATIENT SITE - DEFAULT ERX CLINIC (52-52 > 52.1-8 > 59-10) reference MedicationDispense.location /Location not Clinic (written) but Division (filled) http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
1560 for review V2F PRESCRIPTION - DRUG > DRUG - GENERIC NAME (52-6 > 50-.01) source value MedicationDispense.medicationCodeableConcept .text This may not be necessary; we have the product. http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
1561 for review V2F PRESCRIPTION - DRUG > DRUG - PSNDF VA PRODUCT NAME ENTRY (52-6 > 50-22) source value MedicationDispense.medicationCodeableConcept.coding .code .system = urn:oid:2.16.840.1.113883.6.233 http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
1718 for review V2F PRESCRIPTION - REFILL > REFILL - REMARKS (52-52 > 52.1-3) source value MedicationDispense.note .text http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
1728 for review V2F PRESCRIPTION - REFILL > REFILL - PHARMACIST NAME (52-52 > 52.1-4) reference MedicationDispense.performer.actor /Practitioner http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
824 for review V2F PRESCRIPTION - REFILL > REFILL - QTY (52-52 > 52.1-1) source value MedicationDispense.quantity .value http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
869 for review V2F PRESCRIPTION - REFILL > REFILL - RELEASED DATE/TIME (52-52 > 52.1-17) fixed value not null MedicationDispense.status #unknown This can be switched to completed if the API can discover the status from the pharmacy, CMOP, or PoS system. http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
819 for review V2F PRESCRIPTION - REFILL > REFILL - RELEASED DATE/TIME (52-52 > 52.1-17) fixed value null MedicationDispense.status #in-progress http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
2256 for review V2F PRESCRIPTION - REFILL > REFILL - RETURNED TO STOCK (52-52 > 52.1-14) fixed value not null MedicationDispense.status #cancelled http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
1551 for review V2F PRESCRIPTION - PATIENT (52-2) reference MedicationDispense.subject /Patient http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
1709 for review V2F fixed value MedicationDispense.type http://terminology.hl7.org/CodeSystem/v3-ActCode#RF http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1
833 for review V2F PRESCRIPTION - REFILL > REFILL - RELEASED DATE/TIME (52-52 > 52.1-17) source value MedicationDispense.whenPrepared see original fill note http://hl7.org/fhir/StructureDefinition/MedicationDispense | 4.0.1

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

NameVeterans Health Information Systems Technology and Architecture (VistA)Clinical Data Warehouse (CDW)Summary Document Architecure (SDA)Virtual Patient Record XML (VPR)Workflow PatternV3 Pharmacy Dispense RMIMdoco
.. MedicationDispense
Event
... id
... meta
... implicitRules
... language
... text
... contained
... extension
... modifierExtension
... identifier
Event.identifier
CombinedMedicationDispense.id
... partOf
Event.partOf
... status
fixed value = #cancelled when PRESCRIPTION - REFILL > REFILL - RETURNED TO STOCK (52-52 > 52.1-14) if not null
Medication.RefillNumber Medication.EBilling Medication.Fills Medication.LastFilled
Event.status
CombinedMedicationDispense.SupplyEvent.statusCode
... statusReason[x]
Event.statusReason
... category
fixed value = http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category#outpatient
... Slices for medication[x]
Event.code
CombinedMedicationRequest.component1.AdministrationRequest.consumable
.... medication[x]:medicationCodeableConcept
Event.code
CombinedMedicationRequest.component1.AdministrationRequest.consumable
..... id
..... extension
..... coding
...... id
...... extension
...... system
fixed value = urn:oid:2.16.840.1.113883.6.233
mapParameter line 1
...... version
...... code
source value based on PRESCRIPTION - DRUG > DRUG - PSNDF VA PRODUCT NAME ENTRY (52-6 > 50-22)
RxOut.RxOutpat.LocalDrugIEN RxOut.RxOutpat.NationalDrugIEN RxOut.RxOutpatFill.LocalDrugIEN RxOut.RxOutpatFill.NationalDrugIEN Dim.LocalDrug.DrugNameWithoutDoseIEN Dim.LocalDrug.NationalDrugIEN Dim.LocalDrug.NationalDrugIEN
Medication.DrugProduct Medication.CMOP Medication.DrugProduct.Identifier2 Medication.DrugProduct.ProductName Medication.Extension[DrugProductExtension].FederalSchedule
med.route (>51.2-1) pharmacy (med).route (>51.2-1)
...... display
...... userSelected
..... text
source value based on PRESCRIPTION - DRUG > DRUG - GENERIC NAME (52-6 > 50-.01)
This may not be necessary; we have the product.
RxOut.RxOutpat.LocalDrugIEN RxOut.RxOutpat.NationalDrugIEN RxOut.RxOutpatFill.LocalDrugIEN RxOut.RxOutpatFill.NationalDrugIEN Dim.LocalDrug.LocalDrugNameWithDose Dim.LocalDrug.LocalDrugNameWithDose RxOut.RxOutpatFill.LocalDrugNameWithDose
Medication.DrugProduct Medication.CMOP Medication.ComponentMeds[DrugProduct].Description Medication.ComponentMeds[DrugProduct].OriginalText Medication.DrugProduct.Description Medication.DrugProduct.OriginalText Medication.ATCCode.Code Medication.Generic.Description Medication.Route.Description Medication.OrderCategory.Description Medication.OriginalText Medication.OriginalText
med.route (>51.2-1) pharmacy (med).route (>51.2-1)
... subject
reference based on PRESCRIPTION - PATIENT (52-2)
RxOut.ActivityLog.PatientIEN RxOut.ActivityLogOtherComments.PatientIEN RxOut.RxOutpat.PatientIEN RxOut.RxOutpatExt.PatientIEN RxOut.RxOutpatExt.PatientSID RxOut.RxOutpatFill.PatientIEN RxOut.RxOutpatMedInstructions.PatientIEN RxOut.RxOutpatSig.PatientIEN
med.units (>50.607-.01) pharmacy (med).units (>50.607-.01)
Event.subject
... context
Event.context
... supportingInformation
... performer
Event.performer
.... id
.... extension
.... modifierExtension
.... function
.... actor
reference based on PRESCRIPTION - REFILL > REFILL - PHARMACIST NAME (52-52 > 52.1-4)
Medication.RefillNumber Medication.EBilling Medication.Fills Medication.LastFilled
Event.performer.actor
... location
reference based on PRESCRIPTION - REFILL > REFILL - DIVISION > OUTPATIENT SITE - DEFAULT ERX CLINIC (52-52 > 52.1-8 > 59-10)
not Clinic (written) but Division (filled)
Medication.RefillNumber Medication.EBilling Medication.Fills Medication.LastFilled
... authorizingPrescription
reference based on PRESCRIPTION - RX # (52-.01)
updated from PLACER ORDER # (CPRS id)
RxOut.RxOutpat.RxNumber
Medication.PrescriptionNumber Medication.FillDate
med.dose pharmacy (med).dose
Event.basedOn
CombinedMedicationDispense.inFulfillmentOf
... type
fixed value = http://terminology.hl7.org/CodeSystem/v3-ActCode#RF
CombinedMedicationDispense.SupplyEvent.code
... quantity
CombinedMedicationDispense.SupplyEvent.quantity
.... id
.... extension
.... value
source value based on PRESCRIPTION - REFILL > REFILL - QTY (52-52 > 52.1-1)
Medication.RefillNumber Medication.EBilling Medication.Fills Medication.LastFilled
.... comparator
.... unit
.... system
.... code
... daysSupply
source value based on PRESCRIPTION - REFILL > REFILL - DAYS SUPPLY (52-52 > 52.1-1.1)
Medication.RefillNumber Medication.EBilling Medication.Fills Medication.LastFilled
... whenPrepared
source value based on PRESCRIPTION - REFILL > REFILL - RELEASED DATE/TIME (52-52 > 52.1-17)
see original fill note
Medication.RefillNumber Medication.EBilling Medication.Fills Medication.LastFilled
CombinedMedicationDispense.SupplyEvent.effectiveTime
... whenHandedOver
Event.occurrence[x]
CombinedMedicationDispense.SupplyEvent.effectiveTime
... destination
CombinedMedicationDispense.SupplyEvent.destination
.... id
.... extension
.... reference
.... type
.... identifier
.... display
source value based on PRESCRIPTION - REFILL > REFILL - MAIL/WINDOW/PARK (52-52 > 52.1-2)
Medication.RefillNumber Medication.EBilling Medication.Fills Medication.LastFilled
... receiver
CombinedMedicationDispense.SupplyEvent.receiver
... note
Event.note
.... id
.... extension
.... author[x]
.... time
.... text
source value based on PRESCRIPTION - REFILL > REFILL - REMARKS (52-52 > 52.1-3)
Medication.RefillNumber Medication.EBilling Medication.Fills Medication.LastFilled
... dosageInstruction
.... id
.... extension
.... modifierExtension
.... sequence
.... text
source value based on PRESCRIPTION - SIG (52-10)
.... additionalInstruction
.... patientInstruction
source value based on PRESCRIPTION - PATIENT INSTRUCTIONS (52-114)
RxOut.RxOutpatSig.PatientInstructions
Medication.TextInstruction
.... timing
.... asNeeded[x]
.... site
.... route
.... method
.... doseAndRate
..... id
..... extension
..... type
..... Slices for dose[x]
...... dose[x]:doseQuantity
....... id
....... extension
....... value
source value based on PRESCRIPTION - MEDICATION INSTRUCTIONS > MEDICATION INSTRUCTIONS - DOSAGE ORDERED (52-113 > 52.0113-.01) if number
RxOut.RxOutpatMedInstructions.DoseOrdered
Medication.DosageSteps Medication.Route Medication.DoseQuantity Medication.DoseUoM Medication.Duration Medication.Frequency Medication.TextInstruction Medication.Conjunction Medication.Noun Medication.UnitsPerDose Medication.Verb
med.dose [m] pharmacy (med).dose [m]
....... comparator
....... unit
source value based on PRESCRIPTION - MEDICATION INSTRUCTIONS > MEDICATION INSTRUCTIONS - UNITS (52-113 > 52.0113-2)
RxOut.RxOutpatMedInstructions.Unit
Medication.DosageSteps Medication.Route Medication.DoseQuantity Medication.DoseUoM Medication.Duration Medication.Frequency Medication.TextInstruction Medication.Conjunction Medication.Noun Medication.UnitsPerDose Medication.Verb
med.dose [m] pharmacy (med).dose [m]
....... system
....... code
terminologyMaps using VF_DoseUnits on PRESCRIPTION - MEDICATION INSTRUCTIONS > MEDICATION INSTRUCTIONS - UNITS (52-113 > 52.0113-2)
RxOut.RxOutpatMedInstructions.Unit
Medication.DosageSteps Medication.Route Medication.DoseQuantity Medication.DoseUoM Medication.Duration Medication.Frequency Medication.TextInstruction Medication.Conjunction Medication.Noun Medication.UnitsPerDose Medication.Verb
med.dose [m] pharmacy (med).dose [m]
..... rate[x]
.... maxDosePerPeriod
.... maxDosePerAdministration
.... maxDosePerLifetime
... substitution
CombinedMedicationDispense.substitutionMade
.... id
.... extension
.... modifierExtension
.... wasSubstituted
.... type
CombinedMedicationDispense.substitutionMade.code
.... reason
CombinedMedicationDispense.substitutionMade.reasonCode
.... responsibleParty
CombinedMedicationDispense.substitutionMade.ResponsibleParty
... detectedIssue
... eventHistory

doco Documentation for this format