ERA FHIR specification - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Mappings for the MedicationListMedicationDispense resource profile.
| Name | Workflow Pattern | RIM Mapping | FiveWs Pattern Mapping | V3 Pharmacy Dispense RMIM | HL7 v2 Mapping |
 MedicationDispense |
Event |
Supply[moodCode=EVN] |
|
|
|
  MedicationDispense / id |
|
|
|
|
|
  MedicationDispense / meta |
|
|
|
|
|
   MedicationDispense / meta / id |
|
n/a |
|
|
|
   MedicationDispense / meta / extension |
|
n/a |
|
|
|
   MedicationDispense / meta / versionId |
|
|
|
|
|
   MedicationDispense / meta / lastUpdated |
|
|
|
|
|
   MedicationDispense / meta / source |
|
|
|
|
|
   MedicationDispense / meta / profile |
|
|
|
|
|
   MedicationDispense / meta / security |
|
|
|
|
|
   MedicationDispense / meta / tag |
|
|
|
|
|
    MedicationDispense / meta / tag / id |
|
n/a |
|
|
|
    MedicationDispense / meta / tag / extension |
|
n/a |
|
|
|
    MedicationDispense / meta / tag / system |
|
./codeSystem |
|
|
C*E.3 |
    MedicationDispense / meta / tag / version |
|
./codeSystemVersion |
|
|
C*E.7 |
    MedicationDispense / meta / tag / code |
|
./code |
|
|
C*E.1 |
    MedicationDispense / meta / tag / display |
|
CV.displayName |
|
|
C*E.2 - but note this is not well followed |
    MedicationDispense / meta / tag / userSelected |
|
CD.codingRationale |
|
|
Sometimes implied by being first |
  MedicationDispense / implicitRules |
|
|
|
|
|
  MedicationDispense / language |
|
|
|
|
|
  MedicationDispense / text |
|
Act.text? |
|
|
|
  MedicationDispense / contained |
|
N/A |
|
|
|
  MedicationDispense / Slices for extension |
|
|
|
|
|
   MedicationDispense / Slices for extension / extension:versionNumber |
|
N/A |
|
|
|
    MedicationDispense / Slices for extension / extension:versionNumber / id |
|
n/a |
|
|
|
    MedicationDispense / Slices for extension / extension:versionNumber / extension |
|
n/a |
|
|
|
    MedicationDispense / Slices for extension / extension:versionNumber / url |
|
N/A |
|
|
|
    MedicationDispense / Slices for extension / extension:versionNumber / value[x] |
|
N/A |
|
|
|
   MedicationDispense / Slices for extension / extension:effectiveTime |
|
|
|
|
|
   MedicationDispense / Slices for extension / extension:dosePackaging |
|
|
|
|
|
   MedicationDispense / Slices for extension / extension:fullyDispensed |
|
N/A |
|
|
|
   MedicationDispense / Slices for extension / extension:continuum |
|
|
|
|
|
    MedicationDispense / Slices for extension / extension:continuum / id |
|
n/a |
|
|
|
    MedicationDispense / Slices for extension / extension:continuum / Slices for extension |
|
|
|
|
|
    MedicationDispense / Slices for extension / extension:continuum / Slices for extension |
|
|
|
|
|
     MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineId |
|
|
|
|
|
      MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineId / id |
|
n/a |
|
|
|
      MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineId / extension |
|
n/a |
|
|
|
      MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineId / url |
|
N/A |
|
|
|
      MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineId / value[x] |
|
N/A |
|
|
|
       MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineId / value[x] / id |
|
n/a |
|
|
|
       MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineId / value[x] / extension |
|
n/a |
|
|
|
       MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineId / value[x] / use |
|
Role.code or implied by context |
|
|
N/A |
       MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineId / value[x] / type |
|
Role.code or implied by context |
|
|
CX.5 |
       MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineId / value[x] / system |
|
II.root or Role.id.root |
|
|
CX.4 / EI-2-4 |
       MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineId / value[x] / value |
|
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
|
|
CX.1 / EI.1 |
       MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineId / value[x] / period |
|
Role.effectiveTime or implied by context |
|
|
CX.7 + CX.8 |
       MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineId / value[x] / assigner |
|
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
|
|
|
     MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineIdPart |
|
|
|
|
|
      MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineIdPart / id |
|
n/a |
|
|
|
      MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineIdPart / extension |
|
n/a |
|
|
|
      MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineIdPart / url |
|
N/A |
|
|
|
      MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:medicineIdPart / value[x] |
|
N/A |
|
|
|
     MedicationDispense / Slices for extension / extension:continuum / Slices for extension / extension:newest |
|
|
|
|
|
    MedicationDispense / Slices for extension / extension:continuum / url |
|
N/A |
|
|
|
    MedicationDispense / Slices for extension / extension:continuum / value[x] |
|
N/A |
|
|
|
   MedicationDispense / Slices for extension / extension:additionalInformation |
|
|
|
|
|
   MedicationDispense / Slices for extension / extension:cost |
|
|
|
|
|
   MedicationDispense / Slices for extension / extension:amountOfPackages |
|
|
|
|
|
   MedicationDispense / Slices for extension / extension:additionalPackage |
|
|
|
|
|
   MedicationDispense / Slices for extension / extension:previousDispenseChange |
|
N/A |
|
|
|
  MedicationDispense / modifierExtension |
|
N/A |
|
|
|
  MedicationDispense / Slices for identifier |
Event.identifier |
.id |
FiveWs.identifier |
CombinedMedicationDispense.id |
|
   MedicationDispense / Slices for identifier / identifier:id |
Event.identifier |
.id |
FiveWs.identifier |
CombinedMedicationDispense.id |
|
    MedicationDispense / Slices for identifier / identifier:id / id |
|
n/a |
|
|
|
    MedicationDispense / Slices for identifier / identifier:id / extension |
|
n/a |
|
|
|
    MedicationDispense / Slices for identifier / identifier:id / use |
|
Role.code or implied by context |
|
|
N/A |
    MedicationDispense / Slices for identifier / identifier:id / type |
|
Role.code or implied by context |
|
|
CX.5 |
    MedicationDispense / Slices for identifier / identifier:id / system |
|
II.root or Role.id.root |
|
|
CX.4 / EI-2-4 |
    MedicationDispense / Slices for identifier / identifier:id / value |
|
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
|
|
CX.1 / EI.1 |
    MedicationDispense / Slices for identifier / identifier:id / period |
|
Role.effectiveTime or implied by context |
|
|
CX.7 + CX.8 |
    MedicationDispense / Slices for identifier / identifier:id / assigner |
|
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
|
|
|
   MedicationDispense / Slices for identifier / identifier:setId |
Event.identifier |
.id |
FiveWs.identifier |
CombinedMedicationDispense.id |
|
    MedicationDispense / Slices for identifier / identifier:setId / id |
|
n/a |
|
|
|
    MedicationDispense / Slices for identifier / identifier:setId / extension |
|
n/a |
|
|
|
    MedicationDispense / Slices for identifier / identifier:setId / use |
|
Role.code or implied by context |
|
|
N/A |
    MedicationDispense / Slices for identifier / identifier:setId / type |
|
Role.code or implied by context |
|
|
CX.5 |
    MedicationDispense / Slices for identifier / identifier:setId / system |
|
II.root or Role.id.root |
|
|
CX.4 / EI-2-4 |
    MedicationDispense / Slices for identifier / identifier:setId / value |
|
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
|
|
CX.1 / EI.1 |
    MedicationDispense / Slices for identifier / identifier:setId / period |
|
Role.effectiveTime or implied by context |
|
|
CX.7 + CX.8 |
    MedicationDispense / Slices for identifier / identifier:setId / assigner |
|
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
|
|
|
  MedicationDispense / partOf |
Event.partOf |
- .outboundRelationship[typeCode=COMP]/target[classCode=PROC
- moodCode=EVN]
|
|
|
|
  MedicationDispense / status |
Event.status |
.statusCode |
FiveWs.status |
CombinedMedicationDispense.SupplyEvent.statusCode |
|
  MedicationDispense / statusReason[x] |
Event.statusReason |
- .outboundRelationship[typeCode=RSON]/target[classCode=OBS
- moodCode=EVN
- code="not done reason"].value
|
|
|
|
   MedicationDispense / statusReason[x] / id |
|
n/a |
|
|
|
   MedicationDispense / statusReason[x] / extension |
|
n/a |
|
|
|
   MedicationDispense / statusReason[x] / coding |
|
|
|
|
|
    MedicationDispense / statusReason[x] / coding / id |
|
n/a |
|
|
|
    MedicationDispense / statusReason[x] / coding / extension |
|
n/a |
|
|
|
    MedicationDispense / statusReason[x] / coding / system |
|
./codeSystem |
|
|
C*E.3 |
    MedicationDispense / statusReason[x] / coding / version |
|
./codeSystemVersion |
|
|
C*E.7 |
    MedicationDispense / statusReason[x] / coding / code |
|
./code |
|
|
C*E.1 |
    MedicationDispense / statusReason[x] / coding / display |
|
CV.displayName |
|
|
C*E.2 - but note this is not well followed |
    MedicationDispense / statusReason[x] / coding / userSelected |
|
CD.codingRationale |
|
|
Sometimes implied by being first |
   MedicationDispense / statusReason[x] / text |
|
./originalText[mediaType/code="text/plain"]/data |
|
|
C*E.9. But note many systems use C*E.2 for this |
  MedicationDispense / category |
|
- .inboundRelationship[typeCode=COMP].source[classCode=OBS
- moodCode=EVN
- code="type of medication dispense"].value
|
|
|
|
  MedicationDispense / medication[x] |
Event.code |
.participation[typeCode=PRD].role |
FiveWs.what[x] |
CombinedMedicationRequest.component1.AdministrationRequest.consumable |
RXD-2-Dispense/Give Code |
  MedicationDispense / subject |
Event.subject |
.participation[typeCode=SBJ].role[classCode=PAT] |
FiveWs.subject |
|
PID-3-Patient ID List |
  MedicationDispense / context |
Event.context |
- .inboundRelationship[typeCode=COMP].source[classCode=ENC
- moodCode=EVN
- code="type of encounter or episode"]
|
|
|
|
  MedicationDispense / 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 |
|
|
  MedicationDispense / performer |
Event.performer |
.participation[typeCode=PRF] |
|
|
|
   MedicationDispense / performer / id |
|
n/a |
|
|
|
   MedicationDispense / performer / extension |
|
n/a |
|
|
|
   MedicationDispense / performer / modifierExtension |
|
N/A |
|
|
|
   MedicationDispense / performer / function |
|
participation[typeCode=PRF].functionCode |
|
|
|
   MedicationDispense / performer / actor |
Event.performer.actor |
.role |
|
|
|
    MedicationDispense / performer / actor / id |
|
n/a |
|
|
|
    MedicationDispense / performer / actor / extension |
|
n/a |
|
|
|
    MedicationDispense / performer / actor / reference |
|
N/A |
|
|
|
    MedicationDispense / performer / actor / type |
|
N/A |
|
|
|
    MedicationDispense / performer / actor / identifier |
|
.identifier |
|
|
|
    MedicationDispense / performer / actor / display |
|
N/A |
|
|
|
  MedicationDispense / location |
|
.participation[typeCode=LOC].role |
|
|
|
  MedicationDispense / authorizingPrescription |
Event.basedOn |
.outboundRelationship[typeCode=FLFS].target[moodCode=RQO] |
|
CombinedMedicationDispense.inFulfillmentOf |
ORC-2 Placer Order Number |
   MedicationDispense / authorizingPrescription / id |
|
n/a |
|
|
|
   MedicationDispense / authorizingPrescription / Slices for extension |
|
|
|
|
|
    MedicationDispense / authorizingPrescription / Slices for extension / extension:prescriptionSetId |
|
N/A |
|
|
|
   MedicationDispense / authorizingPrescription / reference |
|
N/A |
|
|
|
   MedicationDispense / authorizingPrescription / type |
|
N/A |
|
|
|
   MedicationDispense / authorizingPrescription / identifier |
|
.identifier |
|
|
|
    MedicationDispense / authorizingPrescription / identifier / id |
|
n/a |
|
|
|
    MedicationDispense / authorizingPrescription / identifier / extension |
|
n/a |
|
|
|
    MedicationDispense / authorizingPrescription / identifier / use |
|
Role.code or implied by context |
|
|
N/A |
    MedicationDispense / authorizingPrescription / identifier / type |
|
Role.code or implied by context |
|
|
CX.5 |
    MedicationDispense / authorizingPrescription / identifier / system |
|
II.root or Role.id.root |
|
|
CX.4 / EI-2-4 |
    MedicationDispense / authorizingPrescription / identifier / value |
|
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
|
|
CX.1 / EI.1 |
    MedicationDispense / authorizingPrescription / identifier / period |
|
Role.effectiveTime or implied by context |
|
|
CX.7 + CX.8 |
    MedicationDispense / authorizingPrescription / identifier / assigner |
|
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
|
|
|
   MedicationDispense / authorizingPrescription / display |
|
N/A |
|
|
|
  MedicationDispense / type |
|
.code |
|
CombinedMedicationDispense.SupplyEvent.code |
RXD-33-Dispense Type |
  MedicationDispense / 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 |
   MedicationDispense / quantity / id |
|
n/a |
|
|
|
   MedicationDispense / quantity / Slices for extension |
|
|
|
|
|
    MedicationDispense / quantity / Slices for extension / extension:amountFormula |
|
|
|
|
|
    MedicationDispense / quantity / Slices for extension / extension:amountText |
|
|
|
|
|
    MedicationDispense / quantity / Slices for extension / extension:totalDispensedAmount |
|
N/A |
|
|
|
    MedicationDispense / quantity / Slices for extension / extension:remainingAmount |
|
N/A |
|
|
|
   MedicationDispense / quantity / value |
|
- PQ.value
- CO.value
- MO.value
- IVL.high or IVL.low depending on the value
|
|
|
SN.2 / CQ - N/A |
   MedicationDispense / quantity / comparator |
|
IVL properties |
|
|
SN.1 / CQ.1 |
   MedicationDispense / quantity / unit |
|
PQ.unit |
|
|
(see OBX.6 etc.) / CQ.2 |
   MedicationDispense / quantity / system |
|
- CO.codeSystem
- PQ.translation.codeSystem
|
|
|
(see OBX.6 etc.) / CQ.2 |
   MedicationDispense / quantity / code |
|
- PQ.code
- MO.currency
- PQ.translation.code
|
|
|
(see OBX.6 etc.) / CQ.2 |
  MedicationDispense / 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
|
  MedicationDispense / whenPrepared |
|
type=IVL_TS].low |
|
CombinedMedicationDispense.SupplyEvent.effectiveTime |
RXD-3-Date/Time Dispensed |
  MedicationDispense / whenHandedOver |
Event.occurrence[x] |
type=IVL_TS].high |
|
CombinedMedicationDispense.SupplyEvent.effectiveTime |
RXD-3-Date/Time Dispensed |
  MedicationDispense / destination |
|
.participation[typeCode=DST].role |
|
CombinedMedicationDispense.SupplyEvent.destination |
RXD-13 Dispense-to Location; RXD-30 Dispense to Pharmacy; RXD-31 Dispense to Pharmacy Address |
  MedicationDispense / receiver |
|
.participation[typeCode=RCV].role |
|
CombinedMedicationDispense.SupplyEvent.receiver |
|
  MedicationDispense / note |
Event.note |
- .inboundRelationship[typeCode=SUBJ]/source[classCode=ACT
- moodCode=EVN]
|
|
|
RXD-9 Dispense Notes |
   MedicationDispense / note / id |
|
n/a |
|
|
|
   MedicationDispense / note / extension |
|
n/a |
|
|
|
   MedicationDispense / note / author[x] |
|
Act.participant[typeCode=AUT].role |
|
|
N/A |
   MedicationDispense / note / time |
|
Act.effectiveTime |
|
|
N/A |
   MedicationDispense / note / text |
|
Act.text |
|
|
N/A |
  MedicationDispense / dosageInstruction |
|
- .outboundRelationship[typeCode=COMP].target[classCode=SBADM
- moodCode=INT]
|
|
|
|
   MedicationDispense / dosageInstruction / id |
|
n/a |
|
|
|
   MedicationDispense / dosageInstruction / extension |
|
n/a |
|
|
|
   MedicationDispense / dosageInstruction / modifierExtension |
|
N/A |
|
|
|
   MedicationDispense / dosageInstruction / sequence |
|
.text |
|
|
TQ1-1 |
   MedicationDispense / dosageInstruction / text |
|
.text |
|
|
RXO-6; RXE-21 |
   MedicationDispense / dosageInstruction / additionalInstruction |
|
.text |
|
|
RXO-7 |
   MedicationDispense / dosageInstruction / patientInstruction |
|
.text |
|
|
RXO-7 |
   MedicationDispense / dosageInstruction / timing |
|
.effectiveTime |
|
|
|
   MedicationDispense / dosageInstruction / asNeeded[x] |
|
- .outboundRelationship[typeCode=PRCN].target[classCode=OBS
- moodCode=EVN
- code="as needed"].value=boolean or codable concept
|
|
|
TQ1-9 |
   MedicationDispense / dosageInstruction / site |
|
.approachSiteCode |
|
|
RXR-2 |
   MedicationDispense / dosageInstruction / route |
|
.routeCode |
|
|
RXR-1 |
   MedicationDispense / dosageInstruction / method |
|
.doseQuantity |
|
|
RXR-4 |
   MedicationDispense / dosageInstruction / doseAndRate |
|
|
|
|
TQ1-2 |
    MedicationDispense / dosageInstruction / doseAndRate / id |
|
n/a |
|
|
|
    MedicationDispense / dosageInstruction / doseAndRate / extension |
|
n/a |
|
|
|
    MedicationDispense / dosageInstruction / doseAndRate / type |
|
|
|
|
RXO-21; RXE-23 |
    MedicationDispense / dosageInstruction / doseAndRate / dose[x] |
|
.doseQuantity |
|
|
|
    MedicationDispense / dosageInstruction / doseAndRate / rate[x] |
|
.rateQuantity |
|
|
|
   MedicationDispense / dosageInstruction / maxDosePerPeriod |
|
.maxDoseQuantity |
|
|
|
   MedicationDispense / dosageInstruction / maxDosePerAdministration |
|
not supported |
|
|
|
   MedicationDispense / dosageInstruction / maxDosePerLifetime |
|
not supported |
|
|
|
  MedicationDispense / substitution |
|
- .outboundRelationship[typeCode=COMP].target[classCode=SUBST
- moodCode=EVN]
|
|
CombinedMedicationDispense.substitutionMade |
|
   MedicationDispense / substitution / id |
|
n/a |
|
|
|
   MedicationDispense / substitution / extension |
|
n/a |
|
|
|
   MedicationDispense / substitution / modifierExtension |
|
N/A |
|
|
|
   MedicationDispense / substitution / wasSubstituted |
|
.actionNegationInd |
|
|
|
   MedicationDispense / substitution / type |
|
.code |
|
CombinedMedicationDispense.substitutionMade.code |
RXO-9-Allow Substitutions / RXE-9-Substitution Status |
   MedicationDispense / substitution / reason |
|
.reasonCode |
|
CombinedMedicationDispense.substitutionMade.reasonCode |
|
    MedicationDispense / substitution / reason / id |
|
n/a |
|
|
|
    MedicationDispense / substitution / reason / extension |
|
n/a |
|
|
|
    MedicationDispense / substitution / reason / coding |
|
|
|
|
|
     MedicationDispense / substitution / reason / coding / id |
|
n/a |
|
|
|
     MedicationDispense / substitution / reason / coding / extension |
|
n/a |
|
|
|
     MedicationDispense / substitution / reason / coding / system |
|
./codeSystem |
|
|
C*E.3 |
     MedicationDispense / substitution / reason / coding / version |
|
./codeSystemVersion |
|
|
C*E.7 |
     MedicationDispense / substitution / reason / coding / code |
|
./code |
|
|
C*E.1 |
     MedicationDispense / substitution / reason / coding / display |
|
CV.displayName |
|
|
C*E.2 - but note this is not well followed |
     MedicationDispense / substitution / reason / coding / userSelected |
|
CD.codingRationale |
|
|
Sometimes implied by being first |
    MedicationDispense / substitution / reason / text |
|
./originalText[mediaType/code="text/plain"]/data |
|
|
C*E.9. But note many systems use C*E.2 for this |
   MedicationDispense / substitution / responsibleParty |
|
.participation[typeCode=PFM].role[classCode=ASSIGN] |
|
CombinedMedicationDispense.substitutionMade.ResponsibleParty |
|
  MedicationDispense / detectedIssue |
|
- .inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT
- moodCode=EVN].value
|
|
|
|
  MedicationDispense / eventHistory |
|
- .inboundRelationship(typeCode=SUBJ].source[classCode=CACT
- moodCode=EVN]
|
|
|
|
Documentation for this format |