This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions 
The mappings provided in this tab are indicative of how HL7 v2 fields relate to HL7 FHIR attributes in this resource, but is not complete and without critical HL7 v2 context. The HL7 v2-FHIR Implementation guide, located
here 
, provides additional guidance on transforming an HL7 v2 message to FHIR resources for FHIR R4 and FHIR R6.
| MedicationDispense |
|
| identifier |
|
| basedOn |
|
| partOf |
|
| status |
|
| notPerformedReason |
|
| statusChanged |
|
| category |
|
| medication |
RXD-2 Dispense/Give Code |
| subject |
PID-3 Patient ID List |
| encounter |
|
| supportingInformation |
|
| performer |
|
| function |
|
| actor |
|
| location |
|
| authorizingPrescription |
ORC-2 Placer Order Number |
| type |
RXD-33 Dispense Type |
| quantity |
RXD-4 Actual Dispense Amount / RXD-5.1 Actual Dispense Units.code / RXD-5.3 Actual Dispense Units.name of coding system |
| daysSupply |
TQ1.6 Timing/Quantity Segment Service Duration.
Prior to v2.5, ORC.7.3 Common Order Segment / Quantity/Timing / Duration component. This is a formatted string, first character for the time unit (e.g., D=days), followed by the value. For example, “D14” represents “14 days supply”
From v2.5 on, TQ1.6 Timing/Quantity Segment / Service Duration. This is a CQ data type ([Quantity (NM)] ^ [Units (CWE)]), thus for days supply, assuming the unit of measure is “days”, the numeric value is TQ1.6.1 (…|14^
For backwards compatibility, ORC.7 was permitted through v2.6. Both forms (field and segment) may be present in v2.5, v2.5.1, and v2.6 |
| fillNumber |
|
| recorded |
|
| whenPrepared |
RXD-3 Date/Time Dispensed |
| whenHandedOver |
RXD-3 Date/Time Dispensed |
| destination |
RXD-13 Dispense-to Location; RXD-30 Dispense to Pharmacy; RXD-31 Dispense to Pharmacy Address |
| receiver |
|
| note |
RXD-9 Dispense Notes |
| dosageInstruction |
|
| doseAdministrationAid |
|
| substitution |
|
| wasSubstituted |
|
| type |
RXO-9 Allow Substitutions / RXE-9 Substitution Status |
| reason |
|
| responsibleParty |
|
| eventHistory |
|
| MedicationDispense |
Supply[moodCode=EVN] |
| identifier |
.id |
| basedOn |
.outboundRelationship[typeCode=FLFS].target |
| partOf |
.outboundRelationship[typeCode=COMP]/target[classCode=PROC,moodCode=EVN] |
| status |
.statusCode |
| statusChanged |
.subjectOf Observation[code = statusChange].value = date |
| category |
.inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code="type of medication dispense"].value |
| medication |
.participation[typeCode=PRD].role |
| subject |
.participation[typeCode=SBJ].role[classCode=PAT] |
| 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)] |
| performer |
.participation[typeCode=PRF] |
| function |
participation[typeCode=PRF].functionCode |
| actor |
.role |
| location |
.participation[typeCode=LOC].role |
| authorizingPrescription |
.outboundRelationship[typeCode=FLFS].target[moodCode=RQO] |
| type |
.code |
| quantity |
.quantity |
| daysSupply |
effectiveUseTime |
| recorded |
.MedicationDispense.dataEnterer..time |
| whenPrepared |
.effectiveTime[xmi:type=IVL_TS].low |
| whenHandedOver |
.effectiveTime[xmi:type=IVL_TS].high |
| destination |
.participation[typeCode=DST].role |
| receiver |
.participation[typeCode=RCV].role |
| note |
.inboundRelationship[typeCode=SUBJ]/source[classCode=ACT,moodCode=EVN] |
| dosageInstruction |
.outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT] |
| substitution |
.outboundRelationship[typeCode=COMP].target[classCode=SUBST, moodCode=EVN] |
| wasSubstituted |
.actionNegationInd |
| type |
.code |
| reason |
.reasonCode |
| responsibleParty |
.participation[typeCode=PFM].role[classCode=ASSIGN] |
| eventHistory |
.inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN] |
| MedicationDispense |
|
| identifier |
CombinedMedicationDispense.id |
| basedOn |
|
| partOf |
|
| status |
CombinedMedicationDispense.SupplyEvent.statusCode |
| notPerformedReason |
|
| statusChanged |
|
| category |
|
| medication |
CombinedMedicationRequest.component1.AdministrationRequest.consumable |
| subject |
|
| encounter |
|
| supportingInformation |
|
| performer |
|
| function |
|
| actor |
|
| location |
|
| authorizingPrescription |
CombinedMedicationDispense.inFulfillmentOf |
| type |
CombinedMedicationDispense.SupplyEvent.code |
| quantity |
CombinedMedicationDispense.SupplyEvent.quantity |
| daysSupply |
|
| fillNumber |
|
| recorded |
|
| whenPrepared |
CombinedMedicationDispense.SupplyEvent.effectiveTime |
| whenHandedOver |
CombinedMedicationDispense.SupplyEvent.effectiveTime |
| destination |
CombinedMedicationDispense.SupplyEvent.destination |
| receiver |
CombinedMedicationDispense.SupplyEvent.receiver |
| note |
|
| dosageInstruction |
|
| doseAdministrationAid |
|
| substitution |
CombinedMedicationDispense.substitutionMade |
| wasSubstituted |
|
| type |
CombinedMedicationDispense.substitutionMade.code |
| reason |
CombinedMedicationDispense.substitutionMade.reasonCode |
| responsibleParty |
CombinedMedicationDispense.substitutionMade.ResponsibleParty |
| eventHistory |
|