Implementation Guide
ePA Medication Service
Version 1.2.0-ballot.2 - draft

## Resource Profile: EPAMedicationDispense - Mappings

Draft as of 2025-09-02

Mappings for the epa-medication-dispense resource profile.

#### Mappings to Structures in this Implementation Guide

No Mappings Found

#### Mappings to other Structures

No Mappings Found

#### Other Mappings

Name | Workflow Pattern | RIM Mapping | FiveWs Pattern Mapping | V3 Pharmacy Dispense RMIM | HL7 v2 Mapping
--- | --- | --- | --- | --- | ---
MedicationDispense | Event | Supply[moodCode=EVN] |  |  |
id |  |  |  |  |
meta |  |  |  |  |
id |  | n/a |  |  |
extension |  | n/a |  |  |
versionId |  |  |  |  |
lastUpdated |  |  |  |  |
source |  |  |  |  |
profile |  |  |  |  |
security |  | CV |  |  | CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
tag |  | CV |  |  | CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
implicitRules |  |  |  |  |
language |  |  |  |  |
text |  | Act.text? |  |  |
contained |  | N/A |  |  |
Slices for extension |  | N/A |  |  |
extension:rxPrescriptionProcessIdentifier |  |  |  |  |
modifierExtension |  | N/A |  |  |
Slices for identifier | Event.identifier | .id | FiveWs.identifier | CombinedMedicationDispense.id | CX / EI (occasionally more often EI maps to a resource id or a URL)
identifier:RxOriginatorProcessIdentifier | Event.identifier | .id | FiveWs.identifier | CombinedMedicationDispense.id | CX / EI (occasionally more often EI maps to a resource id or a URL)
partOf | Event.partOf | .outboundRelationship[typeCode=COMP]/target[classCode=PROC moodCode=EVN] |  |  |
status | Event.status | .statusCode | FiveWs.status | CombinedMedicationDispense.SupplyEvent.statusCode |
statusReason[x] | Event.statusReason | .outboundRelationship[typeCode=RSON]/target[classCode=OBS moodCode=EVN code="not done reason"].value |  |  |
category |  | .inboundRelationship[typeCode=COMP].source[classCode=OBS moodCode=EVN code="type of medication dispense"].value |  |  | CE/CNE/CWE
medication[x] | Event.code | .participation[typeCode=PRD].role | FiveWs.what[x] | CombinedMedicationRequest.component1.AdministrationRequest.consumable | RXD-2-Dispense/Give Code
subject | Event.subject | .participation[typeCode=SBJ].role[classCode=PAT] | FiveWs.subject |  | PID-3-Patient ID List
id |  | n/a |  |  |
extension |  | n/a |  |  |
reference |  | N/A |  |  |
type |  | N/A |  |  |
identifier |  | .identifier |  |  | CX / EI (occasionally more often EI maps to a resource id or a URL)
display |  | N/A |  |  |
context | Event.context | .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)] | FiveWs.context |  |
performer | Event.performer | .participation[typeCode=PRF] |  |  |
id |  | n/a |  |  |
extension |  | n/a |  |  |
modifierExtension |  | N/A |  |  |
function |  | participation[typeCode=PRF].functionCode |  |  | CE/CNE/CWE
actor | Event.performer.actor | .role |  |  |
location |  | .participation[typeCode=LOC].role |  |  |
authorizingPrescription | Event.basedOn | .outboundRelationship[typeCode=FLFS].target[moodCode=RQO] |  | CombinedMedicationDispense.inFulfillmentOf | ORC-2 Placer Order Number
id |  | n/a |  |  |
extension |  | n/a |  |  |
reference |  | N/A |  |  |
type |  | N/A |  |  |
identifier |  | .identifier |  |  | CX / EI (occasionally more often EI maps to a resource id or a URL)
display |  | N/A |  |  |
type |  | .code |  | CombinedMedicationDispense.SupplyEvent.code | RXD-33-Dispense Type
quantity |  | .quantity |  | CombinedMedicationDispense.SupplyEvent.quantity | RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system
daysSupply |  | effectiveUseTime |  |  | 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
whenPrepared |  | type=IVL_TS].low |  | CombinedMedicationDispense.SupplyEvent.effectiveTime | RXD-3-Date/Time Dispensed
whenHandedOver | Event.occurrence[x] | type=IVL_TS].high |  | CombinedMedicationDispense.SupplyEvent.effectiveTime | RXD-3-Date/Time Dispensed
destination |  | .participation[typeCode=DST].role |  | CombinedMedicationDispense.SupplyEvent.destination | RXD-13 Dispense-to Location; RXD-30 Dispense to Pharmacy; RXD-31 Dispense to Pharmacy Address
receiver |  | .participation[typeCode=RCV].role |  | CombinedMedicationDispense.SupplyEvent.receiver |
note | Event.note | .inboundRelationship[typeCode=SUBJ]/source[classCode=ACT moodCode=EVN] |  |  | RXD-9 Dispense Notes
dosageInstruction |  | .outboundRelationship[typeCode=COMP].target[classCode=SBADM moodCode=INT] |  |  |
substitution |  | .outboundRelationship[typeCode=COMP].target[classCode=SUBST moodCode=EVN] |  | CombinedMedicationDispense.substitutionMade |
id |  | n/a |  |  |
extension |  | n/a |  |  |
modifierExtension |  | N/A |  |  |
wasSubstituted |  | .actionNegationInd |  |  |
type |  | .code |  | CombinedMedicationDispense.substitutionMade.code | RXO-9-Allow Substitutions / RXE-9-Substitution Status
reason |  | .reasonCode |  | CombinedMedicationDispense.substitutionMade.reasonCode | CE/CNE/CWE
responsibleParty |  | .participation[typeCode=PFM].role[classCode=ASSIGN] |  | CombinedMedicationDispense.substitutionMade.ResponsibleParty |
detectedIssue |  | .inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT moodCode=EVN].value |  |  |
eventHistory |  | .inboundRelationship(typeCode=SUBJ].source[classCode=CACT moodCode=EVN] |  |  |
Documentation for this format