US Veterans Health Administration FHIR Map Set Implementation Guide
1.3.1 - 250401 United States of America flag

Publication Build: This will be filled in by the publication tooling

Resource Profile: MedicationRequestOutpatient - Mappings

Active as of 2025-03-31

Mappings for the MedicationRequestOutpatient resource profile.

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

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

Mapping Sources

Use Case: MedicationRequest: Outpatient (Source)DRUG (50)20NATIONAL DRUG FILE ENTRY22PSNDF VA PRODUCT NAME ENTRYPRESCRIPTION (52).001IEN.01RX #1ISSUE DATE2PATIENT4PROVIDER6DRUG7QTY8DAYS SUPPLY91.OF REFILLS10SIG11MAIL/WINDOW/PARK26EXPIRATION DATE26.1CANCEL DATE100STATUS113MEDICATION INSTRUCTIONS114PATIENT INSTRUCTIONS128INDICATION FOR USE129INDICATION FOR USE FLAGVA PRODUCT (50.68)5VA PRINT NAMEVA GENERIC (50.6)5CODING SYSTEMCODING SYSTEM (50.65).02CODEMEDICATION INSTRUCTIONS (52.0113).01DOSAGE ORDERED2UNITS6ROUTE[number][not a number]

Raw Mappings

key status direction source mapApproach mapCase FHIR Path subPath mapValue mapParameter mapComment FHIR URL | Ver
798 for review V2F PRESCRIPTION - IEN (52-.001) transform MedicationRequest.id ID_generation() http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
799 for review V2F PRESCRIPTION - STATUS (52-100) terminologyMaps MedicationRequest.status VF_OutMedRequestStatus http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
800 for review V2F PRESCRIPTION - STATUS (52-100) source value MedicationRequest.extension[http://va.gov/fhir/StructureDefinition/medicationrequest-pharmacyOrderStatus] .valueCoding.code .valueCoding.system = http://va.gov/terminology/vistaDefinedTerms/52-100 http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
800-1 for review V2F fixed value MedicationRequest.extension[http://va.gov/fhir/StructureDefinition/medicationrequest-pharmacyOrderStatus] .valueCoding.system http://va.gov/terminology/vistaDefinedTerms/52-100 generated from mapParameter line 1 http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
801 for review V2F fixed value MedicationRequest.intent #order All records from file 52 are orders http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
803 for review V2F PRESCRIPTION - DRUG > DRUG - PSNDF VA PRODUCT NAME ENTRY > VA PRODUCT - VA PRINT NAME (52-6 > 50-22 > 50.68-5) source value MedicationRequest.medicationCodeableConcept .text http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
805 for review V2F PRESCRIPTION - DRUG > DRUG - NATIONAL DRUG FILE ENTRY > VA GENERIC - CODING SYSTEM > CODING SYSTEM - CODE (52-6 > 50-20 > 50.6-5 > 50.65-.02) transform MedicationRequest.medicationCodeableConcept.coding .code .system = http://www.nlm.nih.gov/research/umls/rxnorm Could add NDC as well, but usually not captured http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
805-1 for review V2F fixed value MedicationRequest.medicationCodeableConcept.coding .system http://www.nlm.nih.gov/research/umls/rxnorm generated from mapParameter line 1 http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
806 for review V2F PRESCRIPTION - PATIENT (52-2) reference MedicationRequest.subject /Patient http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
807 for review V2F PRESCRIPTION - ISSUE DATE (52-1) source value MedicationRequest.authoredOn We are using Issue Date for MedicationRequest.authoredOn. SDA records Login Date (52-21) as Entered On because Entered On cannot be null. It records Issue Date (52-1) in an extension, VAStartDate. This may not be an issue for CDA because Login Date (first fill) should be on or shortly after Issue date. It could be an issue for interfaces striving for a finer level of granularity. http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
808 for review V2F PRESCRIPTION - PROVIDER (52-4) reference MedicationRequest.requester /Practitioner retrieve via order http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
809 for review V2F PRESCRIPTION - SIG (52-10) source value MedicationRequest.dosageInstruction .text http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
810 for review V2F PRESCRIPTION - PATIENT INSTRUCTIONS (52-114) source value MedicationRequest.dosageInstruction .patientInstruction http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
811 for review V2F PRESCRIPTION - MEDICATION INSTRUCTIONS > MEDICATION INSTRUCTIONS - DOSAGE ORDERED (52-113 > 52.0113-.01) source value number MedicationRequest.dosageInstruction .doseAndRate.doseQuantity.value http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
812 for review V2F PRESCRIPTION - MEDICATION INSTRUCTIONS > MEDICATION INSTRUCTIONS - UNITS (52-113 > 52.0113-2) source value MedicationRequest.dosageInstruction .doseAndRate.doseQuantity.unit http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
815 for review V2F PRESCRIPTION - EXPIRATION DATE (52-26) source value MedicationRequest.dispenseRequest .validityPeriod.end confirm http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
1704 for review V2F PRESCRIPTION - CANCEL DATE (52-26.1) source value MedicationRequest.extension[http://va.gov/fhir/StructureDefinition/medicationrequest-cancelDate] .valueDateTime http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
816 for review V2F PRESCRIPTION - # OF REFILLS (52-9) source value MedicationRequest.dispenseRequest .numberOfRepeatsAllowed confirm http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
1669 for review V2F PRESCRIPTION - QTY (52-7) source value MedicationRequest.dispenseRequest .quantity.value http://hl7.org/fhir/StructureDefinition/MedicationRequest | 4.0.1
1670 for review V2F PRESCRIPTION - DAYS SUPPLY (52-8) source value MedicationRequest.dispenseRequest .expectedSupplyDuration http://hl7.org/fhir/StructureDefinition/MedicationRequest | 4.0.1
841 for review V2F PRESCRIPTION - MEDICATION INSTRUCTIONS > MEDICATION INSTRUCTIONS - DOSAGE ORDERED (52-113 > 52.0113-.01) source value not a number MedicationRequest.dosageInstruction.doseAndRate .extension[http://hl7.org/fhir/StructureDefinition/originalText].valueString http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
1664 for review V2F PRESCRIPTION - RX # (52-.01) source value MedicationRequest.identifier .value .type=http://terminology.hl7.org/CodeSystem/v2-0203#FILL http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
1664-1 for review V2F fixed value MedicationRequest.identifier .type http://terminology.hl7.org/CodeSystem/v2-0203#FILL generated from mapParameter line 1 http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
1665 for review V2F PRESCRIPTION - MEDICATION INSTRUCTIONS > MEDICATION INSTRUCTIONS - ROUTE (52-113 > 52.0113-6) source value MedicationRequest.dosageInstruction.route.coding .code .system=http://va.gov/terminology/vistaDefinedTerms/53.1-3 http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
1665-1 for review V2F fixed value MedicationRequest.dosageInstruction.route.coding .system http://va.gov/terminology/vistaDefinedTerms/53.1-3 generated from mapParameter line 1 http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
1666 for review V2F fixed value MedicationRequest.category http://terminology.hl7.org/CodeSystem/medicationrequest-category#outpatient http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
1705 for review V2F PRESCRIPTION - INDICATION FOR USE (52-128) source value MedicationRequest.reasonCode .text http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
1706 for review V2F PRESCRIPTION - INDICATION FOR USE FLAG (52-129) transform MedicationRequest.extension[http://va.gov/fhir/StructureDefinition/medicationrequest-includeIndicationInSig] .valueBoolean VF_Boolean http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
1746 for review V2F PRESCRIPTION - MAIL/WINDOW/PARK (52-11) fixed value P MedicationRequest.extension[http://va.gov/fhir/StructureDefinition/medicationrequest-pharmacyOrderStatus] .valueCoding.code #active-parked .valueCoding.system = http://va.gov/terminology/vistaDefinedTerms/52-100 This value is consistent with Active. Add a second value, or overwrite Active with Parked? http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
1746-1 for review V2F fixed value P MedicationRequest.extension[http://va.gov/fhir/StructureDefinition/medicationrequest-pharmacyOrderStatus] .valueCoding.system http://va.gov/terminology/vistaDefinedTerms/52-100 generated from mapParameter line 1 http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1
1853 for review V2F MedicationRequest.extension[http://va.gov/fhir/StructureDefinition/medicationrequest-remainingRefillCount].valueInteger A value calculated by subtracting first fill (based on Released) and refills (52.1) from total fills (52-9 # OF REFILLS + 1) http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | 5.0.1

Mappings for Veterans Health Information Systems Technology and Architecture (VistA) ()

MedicationRequestOutpatient
MedicationRequest
   id798: transform using ID_generation() on PRESCRIPTION - IEN (52-.001)
   extension
   extension (medicationrequest-pharmacyOrderStatus)
      value[x]
         system800-1: fixed value = http://va.gov/terminology/vistaDefinedTerms/52-100, 1746-1: fixed value = http://va.gov/terminology/vistaDefinedTerms/52-100 if P

generated from mapParameter line 1

,

generated from mapParameter line 1

         code800: source value based on PRESCRIPTION - STATUS (52-100), 1746: fixed value = #active-parked when PRESCRIPTION - MAIL/WINDOW/PARK (52-11) if P,

This value is consistent with Active. Add a second value, or overwrite Active with Parked?

   extension (medicationrequest-cancelDate)
      value[x]1704: source value based on PRESCRIPTION - CANCEL DATE (52-26.1)
   extension (medicationrequest-includeIndicationInSig)
      value[x]1706: transform using VF_Boolean on PRESCRIPTION - INDICATION FOR USE FLAG (52-129)
   extension (medicationrequest-remainingRefillCount)
      value[x]1853: null

A value calculated by subtracting first fill (based on Released) and refills (52.1) from total fills (52-9 # OF REFILLS + 1)

   identifier
      type1664-1: fixed value = http://terminology.hl7.org/CodeSystem/v2-0203#FILL

generated from mapParameter line 1

      value1664: source value based on PRESCRIPTION - RX # (52-.01)
   status799: terminologyMaps using VF_OutMedRequestStatus on PRESCRIPTION - STATUS (52-100)
   intent801: fixed value = #order

All records from file 52 are orders

   category1666: fixed value = http://terminology.hl7.org/CodeSystem/medicationrequest-category#outpatient
   medication[x]
   medication[x] (medicationCodeableConcept)
      coding
         system805-1: fixed value = http://www.nlm.nih.gov/research/umls/rxnorm

generated from mapParameter line 1

         code805: transform using null on PRESCRIPTION - DRUG > DRUG - NATIONAL DRUG FILE ENTRY > VA GENERIC - CODING SYSTEM > CODING SYSTEM - CODE (52-6 > 50-20 > 50.6-5 > 50.65-.02)

Could add NDC as well, but usually not captured

      text803: source value based on PRESCRIPTION - DRUG > DRUG - PSNDF VA PRODUCT NAME ENTRY > VA PRODUCT - VA PRINT NAME (52-6 > 50-22 > 50.68-5)
   subject806: reference based on PRESCRIPTION - PATIENT (52-2)
   authoredOn807: source value based on PRESCRIPTION - ISSUE DATE (52-1)

We are using Issue Date for MedicationRequest.authoredOn. SDA records Login Date (52-21) as Entered On because Entered On cannot be null. It records Issue Date (52-1) in an extension, VAStartDate. This may not be an issue for CDA because Login Date (first fill) should be on or shortly after Issue date. It could be an issue for interfaces striving for a finer level of granularity.

   requester808: reference based on PRESCRIPTION - PROVIDER (52-4)

retrieve via order

   reasonCode
      text1705: source value based on PRESCRIPTION - INDICATION FOR USE (52-128)
   dosageInstruction
      text809: source value based on PRESCRIPTION - SIG (52-10)
      patientInstruction810: source value based on PRESCRIPTION - PATIENT INSTRUCTIONS (52-114)
      route
         coding
            system1665-1: fixed value = http://va.gov/terminology/vistaDefinedTerms/53.1-3

generated from mapParameter line 1

            code1665: source value based on PRESCRIPTION - MEDICATION INSTRUCTIONS > MEDICATION INSTRUCTIONS - ROUTE (52-113 > 52.0113-6)
      doseAndRate
         extension
         extension (originalText)
            value[x]841: source value based on PRESCRIPTION - MEDICATION INSTRUCTIONS > MEDICATION INSTRUCTIONS - DOSAGE ORDERED (52-113 > 52.0113-.01) if not a number
         dose[x]
         dose[x] (doseQuantity)
            value811: source value based on PRESCRIPTION - MEDICATION INSTRUCTIONS > MEDICATION INSTRUCTIONS - DOSAGE ORDERED (52-113 > 52.0113-.01) if number
            unit812: source value based on PRESCRIPTION - MEDICATION INSTRUCTIONS > MEDICATION INSTRUCTIONS - UNITS (52-113 > 52.0113-2)
   dispenseRequest
      validityPeriod
         end815: source value based on PRESCRIPTION - EXPIRATION DATE (52-26)

confirm

      numberOfRepeatsAllowed816: source value based on PRESCRIPTION - # OF REFILLS (52-9)

confirm

      quantity
         value1669: source value based on PRESCRIPTION - QTY (52-7)
      expectedSupplyDuration1670: source value based on PRESCRIPTION - DAYS SUPPLY (52-8)

Mappings for Clinical Data Warehouse (CDW) ()

MedicationRequestOutpatient
MedicationRequest
   extension
   extension (medicationrequest-pharmacyOrderStatus)
      value[x]
         codeRxOut.RxOutpat.RxStatus
   extension (medicationrequest-cancelDate)
      value[x]RxOut.RxOutpat.CancelDate
   extension (medicationrequest-includeIndicationInSig)
      value[x]RxOut.RxOutpatExt.IndicationForUseFlag
   identifier
      valueRxOut.RxOutpat.RxNumber
   statusRxOut.RxOutpat.RxStatus
   medication[x]
   medication[x] (medicationCodeableConcept)
      coding
         codeRxOut.RxOutpat.LocalDrugIEN,RxOut.RxOutpat.NationalDrugIEN,RxOut.RxOutpatFill.LocalDrugIEN,RxOut.RxOutpatFill.NationalDrugIEN
      textRxOut.RxOutpat.LocalDrugIEN,RxOut.RxOutpat.NationalDrugIEN,RxOut.RxOutpatFill.LocalDrugIEN,RxOut.RxOutpatFill.NationalDrugIEN
   subjectRxOut.ActivityLog.PatientIEN,RxOut.ActivityLogOtherComments.PatientIEN,RxOut.RxOutpat.PatientIEN,RxOut.RxOutpatExt.PatientIEN,RxOut.RxOutpatExt.PatientSID,RxOut.RxOutpatFill.PatientIEN,RxOut.RxOutpatMedInstructions.PatientIEN,RxOut.RxOutpatSig.PatientIEN
   authoredOnRxOut.ActivityLog.IssueDateTime,RxOut.RxOutpat.IssueDate,RxOut.RxOutpatExt.IssueDateTime,RxOut.RxOutpatFill.IssueDate,RxOut.RxOutpatMedInstructions.IssueDate,RxOut.RxOutpatSig.IssueDate
   requesterRxOut.RxOutpat.ProviderIEN
   reasonCode
      textRxOut.RxOutpatExt.IndicationForUse
   dosageInstruction
      patientInstructionRxOut.RxOutpatSig.PatientInstructions
      route
         coding
            codeRxOut.RxOutpatMedInstructions.MedRoute
      doseAndRate
         extension
         extension (originalText)
            value[x]RxOut.RxOutpatMedInstructions.DoseOrdered
         dose[x]
         dose[x] (doseQuantity)
            valueRxOut.RxOutpatMedInstructions.DoseOrdered
            unitRxOut.RxOutpatMedInstructions.Unit
   dispenseRequest
      numberOfRepeatsAllowedRxOut.RxOutpat.MaxRefills

Mappings for Summary Document Architecure (SDA) ()

MedicationRequestOutpatient
MedicationRequest
   extension
   extension (medicationrequest-pharmacyOrderStatus)
      value[x]
         codeMedication.PharmacyStatus,Medication.VAStatus
   extension (medicationrequest-cancelDate)
      value[x]Medication.ToTime,Medication.DiscontinuedDateTime
   identifier
      valueMedication.PrescriptionNumber,Medication.FillDate
   statusMedication.PharmacyStatus,Medication.VAStatus
   medication[x]
   medication[x] (medicationCodeableConcept)
      coding
         codeMedication.DrugProduct,Medication.CMOP
      textMedication.DrugProduct,Medication.CMOP
   authoredOnMedication.VAStartDate,Medication.FillQuantity
   requesterMedication.OrderedBy
   reasonCode
      textMedication.Indication
   dosageInstruction
      patientInstructionMedication.TextInstruction
      route
         coding
            codeMedication.DosageSteps,Medication.Route,Medication.DoseQuantity,Medication.DoseUoM,Medication.Duration,Medication.Frequency,Medication.TextInstruction,Medication.Conjunction,Medication.Noun,Medication.UnitsPerDose,Medication.Verb
      doseAndRate
         extension
         extension (originalText)
            value[x]Medication.DosageSteps,Medication.Route,Medication.DoseQuantity,Medication.DoseUoM,Medication.Duration,Medication.Frequency,Medication.TextInstruction,Medication.Conjunction,Medication.Noun,Medication.UnitsPerDose,Medication.Verb
         dose[x]
         dose[x] (doseQuantity)
            valueMedication.DosageSteps,Medication.Route,Medication.DoseQuantity,Medication.DoseUoM,Medication.Duration,Medication.Frequency,Medication.TextInstruction,Medication.Conjunction,Medication.Noun,Medication.UnitsPerDose,Medication.Verb
            unitMedication.DosageSteps,Medication.Route,Medication.DoseQuantity,Medication.DoseUoM,Medication.Duration,Medication.Frequency,Medication.TextInstruction,Medication.Conjunction,Medication.Noun,Medication.UnitsPerDose,Medication.Verb
   dispenseRequest
      validityPeriod
         endMedication.ToTime,Medication.Expires
      numberOfRepeatsAllowedMedication.NumberOfRefills
      quantity
         valueMedication.OrderQuantity
      expectedSupplyDurationMedication.DaysSupply

Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

MedicationRequestOutpatient
MedicationRequestRequest
   identifierRequest.identifier
   statusRequest.status
   statusReasonRequest.statusReason
   intentRequest.intent
   priorityRequest.priority
   medication[x]Request.code
   medication[x] (medicationCodeableConcept)Request.code
   subjectRequest.subject
   encounterRequest.context
   supportingInformationRequest.supportingInfo
   authoredOnRequest.authoredOn
   requesterRequest.requester
   performerRequest.performer
   performerTypeRequest.performerType
   reasonCodeRequest.reasonCode
   reasonReferenceRequest.reasonReference
   instantiatesCanonicalRequest.instantiates
   basedOnRequest.basedOn
   groupIdentifierRequest.groupIdentifier
   insuranceRequest.insurance
   noteRequest.note
   dosageInstructionRequest.occurrence[x]
   priorPrescriptionRequest.replaces
   eventHistoryRequest.relevantHistory

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

MedicationRequestOutpatient
MedicationRequestMessage/Body/NewRx
   identifierMessage/Header/PrescriberOrderNumber
   statusno mapping
   categoryMessage/Body/NewRx/MedicationPrescribed/Directions or Message/Body/NewRx/MedicationPrescribed/StructuredSIG
   category (us-core)Message/Body/NewRx/MedicationPrescribed/Directions or Message/Body/NewRx/MedicationPrescribed/StructuredSIG
   medication[x]Message/Body/NewRx/MedicationPrescribed Medication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode Medication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier Medication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription
   medication[x] (medicationCodeableConcept)Message/Body/NewRx/MedicationPrescribed Medication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode Medication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier Medication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription
   subjectMessage/Body/NewRx/Patient (need detail to link to specific patient … Patient.Identification in SCRIPT)
   encounterno mapping
   authoredOnMessage/Body/NewRx/MedicationPrescribed/WrittenDate
   reasonCodeMessage/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value
   reasonReferenceno mapping
   noteMessage/Body/NewRx/MedicationPrescribed/Note
   dispenseRequestMessage/Body/NewRx/MedicationPrescribed/ExpirationDate
      validityPeriodMessage/Body/NewRx/MedicationPrescribed/Refills
      numberOfRepeatsAllowedMessage/Body/NewRx/MedicationPrescribed/Quantity
      quantityMessage/Body/NewRx/MedicationPrescribed/DaysSupply
      expectedSupplyDurationMessage/Body/NewRx/MedicationPrescribed/Substitutions
   substitutionspecific values within Message/Body/NewRx/MedicationPrescribed/Substitutions
      allowed[x]specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions
      reasonnot mapped
   priorPrescriptionnot mapped

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

MedicationRequestOutpatient
MedicationRequestEntity. Role, or Act, CombinedMedicationRequest
   textAct.text?
   containedN/A
   extension
   extension (medicationrequest-pharmacyOrderStatus)
      idn/a
      urlN/A
      value[x]N/A
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
   extension (medicationrequest-cancelDate)
      idn/a
      urlN/A
      value[x]N/A
   extension (medicationrequest-includeIndicationInSig)
      idn/a
      urlN/A
      value[x]N/A
   extension (medicationrequest-remainingRefillCount)
      idn/a
      urlN/A
      value[x]N/A
   modifierExtensionN/A
   identifier.id
      idn/a
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
      systemII.root or Role.id.root
      valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodRole.effectiveTime or implied by context
      assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
   status.statusCode
   statusReason.inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde
   intent.moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)
   category.inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code="type of medication usage"].value
   category (us-core).inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code="type of medication usage"].value
   priority.priorityCode
   doNotPerformSubstanceAdministration.actionNegationInd
   reported[x].participation[typeCode=INF].role
   medication[x]consumable.administrableMedication
   medication[x] (medicationCodeableConcept)consumable.administrableMedication
      idn/a
      extensionn/a
      codingunion(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      text./originalText[mediaType/code="text/plain"]/data
   subject.participation[typeCode=AUT].role
   encounter.inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code="type of encounter or episode"]
   supportingInformation.outboundRelationship[typeCode=PERT].target[A_SupportingClinicalStatement CMET minimal with many different choices of classCodes(ORG, ENC, PROC, SPLY, SBADM, OBS) and each of the act class codes draws from one or more of the following moodCodes (EVN, DEF, INT PRMS, RQO, PRP, APT, ARQ, GOL)]
   authoredOnauthor.time
   requester.participation[typeCode=AUT].role
   performer.participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]
   performerType.participation[typeCode=PRF].role[scoper.determinerCode=KIND].code
   recorder.participation[typeCode=TRANS].role[classCode=ASSIGNED].code (HealthcareProviderType)
   reasonCodereason.observation.reasonCode
      idn/a
      extensionn/a
      codingunion(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   reasonReferencereason.observation[code=ASSERTION].value
   instantiatesCanonical.outboundRelationship[typeCode=DEFN].target
   instantiatesUri.outboundRelationship[typeCode=DEFN].target
   basedOn.outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]
   groupIdentifier.outboundRelationship(typeCode=COMP].target[classCode=SBADM, moodCode=INT].id
   courseOfTherapyTypeAct.code where classCode = LIST and moodCode = EVN
   insurance.outboundRelationship[typeCode=COVBY].target
   note.inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code="annotation"].value
   dosageInstructionsee dosageInstruction mapping
      idn/a
      extensionn/a
      modifierExtensionN/A
      sequence.text
      text.text
      additionalInstruction.text
      patientInstruction.text
      timing.effectiveTime
      asNeeded[x].outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code="as needed"].value=boolean or codable concept
      site.approachSiteCode
      route.routeCode
         idn/a
         extensionn/a
         codingunion(., ./translation)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         text./originalText[mediaType/code="text/plain"]/data
      method.doseQuantity
      doseAndRate
         idn/a
         extensionn/a
         extension (originalText)
            idn/a
            urlN/A
            value[x]N/A
         dose[x].doseQuantity
         dose[x] (doseQuantity).doseQuantity
            idn/a
            extensionn/a
            valuePQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
            unitPQ.unit
            systemCO.codeSystem, PQ.translation.codeSystem
            codePQ.code, MO.currency, PQ.translation.code
         rate[x].rateQuantity
      maxDosePerPeriod.maxDoseQuantity
      maxDosePerAdministrationnot supported
      maxDosePerLifetimenot supported
   dispenseRequestcomponent.supplyEvent
      idn/a
      extensionn/a
      modifierExtensionN/A
      initialFillSubstanceAdministration -> ActRelationship[sequenceNumber = '1'] -> Supply
         idn/a
         extensionn/a
         modifierExtensionN/A
         quantitySupply.quantity[moodCode=RQO]
         durationSupply.effectivetime[moodCode=RQO]
      dispenseIntervalSupply.effectivetime[moodCode=RQO]
      validityPeriodeffectiveTime
         idn/a
         extensionn/a
         start./low
         end./high
      numberOfRepeatsAllowedrepeatNumber
      quantityquantity
         idn/a
         extensionn/a
         valuePQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
         unitPQ.unit
         systemCO.codeSystem, PQ.translation.codeSystem
         codePQ.code, MO.currency, PQ.translation.code
      expectedSupplyDurationexpectedUseTime
      performer.outboundRelationship[typeCode=COMP].target[classCode=SPLY, moodCode=RQO] .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]
   substitutionsubjectOf.substitutionPersmission
      idn/a
      extensionn/a
      modifierExtensionN/A
      allowed[x]code
      reasonreasonCode
   priorPrescription.outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]
   detectedIssue.inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT,moodCode=EVN].value
   eventHistory.inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]

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

MedicationRequestOutpatient
MedicationRequest
   identifierFiveWs.identifier
   statusFiveWs.status
   intentFiveWs.class
   categoryFiveWs.class
   category (us-core)FiveWs.class
   priorityFiveWs.grade
   medication[x]FiveWs.what[x]
   medication[x] (medicationCodeableConcept)FiveWs.what[x]
   subjectFiveWs.subject[x], FiveWs.subject
   encounterFiveWs.context
   supportingInformationFiveWs.context
   authoredOnFiveWs.recorded
   requesterFiveWs.author
   performerFiveWs.actor
   recorderFiveWs.who
   reasonCodeFiveWs.why[x]
   reasonReferenceFiveWs.why[x]
   dispenseRequest
      performerFiveWs.who

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

MedicationRequestOutpatient
MedicationRequest
   extension
   extension (medicationrequest-pharmacyOrderStatus)
      value[x]
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
   identifierORC-2-Placer Order Number / ORC-3-Filler Order Number
      useN/A
      typeCX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   medication[x]RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code
   medication[x] (medicationCodeableConcept)RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code
      codingC*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
   subjectPID-3-Patient ID List
   encounterPV1-19-Visit Number
   authoredOnRXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction
   reasonCodeORC-16-Order Control Code Reason /RXE-27-Give Indication/RXO-20-Indication / RXD-21-Indication / RXG-22-Indication / RXA-19-Indication
      codingC*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   dosageInstruction
      sequenceTQ1-1
      textRXO-6; RXE-21
      additionalInstructionRXO-7
      patientInstructionRXO-7
      asNeeded[x]TQ1-9
      siteRXR-2
      routeRXR-1
         codingC*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
      methodRXR-4
      doseAndRateTQ1-2
         typeRXO-21; RXE-23
         dose[x]RXO-2, RXE-3
         dose[x] (doseQuantity)RXO-2, RXE-3
            valueSN.2 / CQ - N/A
            unit(see OBX.6 etc.) / CQ.2
            system(see OBX.6 etc.) / CQ.2
            code(see OBX.6 etc.) / CQ.2
         rate[x]RXE22, RXE23, RXE-24
      maxDosePerPeriodRXO-23, RXE-19
   dispenseRequest
      validityPeriod
         startDR.1
         endDR.2
      numberOfRepeatsAllowedRXE-12-Number of Refills
      quantityRXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system
         valueSN.2 / CQ - N/A
         unit(see OBX.6 etc.) / CQ.2
         system(see OBX.6 etc.) / CQ.2
         code(see OBX.6 etc.) / CQ.2
   substitution
      allowed[x]RXO-9-Allow Substitutions / RXE-9-Substitution Status
      reasonRXE-9 Substition status