TRxHub IG - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Mappings for the trxhub-medication-dispense 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 / implicitRules |
|
|
|
|
|
  MedicationDispense / language |
|
|
|
|
|
  MedicationDispense / text |
|
Act.text? |
|
|
|
  MedicationDispense / contained |
|
N/A |
|
|
|
  MedicationDispense / Slices for extension |
|
|
|
|
|
   MedicationDispense / Slices for extension / extension:shipmentTrackingUrl |
|
|
|
|
|
  MedicationDispense / modifierExtension |
|
N/A |
|
|
|
  MedicationDispense / identifier |
Event.identifier |
.id |
FiveWs.identifier |
CombinedMedicationDispense.id |
|
  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 / medication[x] / id |
|
n/a |
|
|
|
   MedicationDispense / medication[x] / extension |
|
n/a |
|
|
|
   MedicationDispense / medication[x] / Slices for coding |
|
|
|
|
|
    MedicationDispense / medication[x] / Slices for coding / coding:pharmacode |
|
|
|
|
|
     MedicationDispense / medication[x] / Slices for coding / coding:pharmacode / id |
|
n/a |
|
|
|
     MedicationDispense / medication[x] / Slices for coding / coding:pharmacode / extension |
|
n/a |
|
|
|
     MedicationDispense / medication[x] / Slices for coding / coding:pharmacode / system |
|
./codeSystem |
|
|
C*E.3 |
     MedicationDispense / medication[x] / Slices for coding / coding:pharmacode / version |
|
./codeSystemVersion |
|
|
C*E.7 |
     MedicationDispense / medication[x] / Slices for coding / coding:pharmacode / code |
|
./code |
|
|
C*E.1 |
     MedicationDispense / medication[x] / Slices for coding / coding:pharmacode / display |
|
CV.displayName |
|
|
C*E.2 - but note this is not well followed |
     MedicationDispense / medication[x] / Slices for coding / coding:pharmacode / userSelected |
|
CD.codingRationale |
|
|
Sometimes implied by being first |
    MedicationDispense / medication[x] / Slices for coding / coding:gtin |
|
|
|
|
|
     MedicationDispense / medication[x] / Slices for coding / coding:gtin / id |
|
n/a |
|
|
|
     MedicationDispense / medication[x] / Slices for coding / coding:gtin / extension |
|
n/a |
|
|
|
     MedicationDispense / medication[x] / Slices for coding / coding:gtin / system |
|
./codeSystem |
|
|
C*E.3 |
     MedicationDispense / medication[x] / Slices for coding / coding:gtin / version |
|
./codeSystemVersion |
|
|
C*E.7 |
     MedicationDispense / medication[x] / Slices for coding / coding:gtin / code |
|
./code |
|
|
C*E.1 |
     MedicationDispense / medication[x] / Slices for coding / coding:gtin / display |
|
CV.displayName |
|
|
C*E.2 - but note this is not well followed |
     MedicationDispense / medication[x] / Slices for coding / coding:gtin / userSelected |
|
CD.codingRationale |
|
|
Sometimes implied by being first |
   MedicationDispense / medication[x] / text |
|
./originalText[mediaType/code="text/plain"]/data |
|
|
C*E.9. But note many systems use C*E.2 for this |
  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 / location |
|
.participation[typeCode=LOC].role |
|
|
|
  MedicationDispense / authorizingPrescription |
Event.basedOn |
.outboundRelationship[typeCode=FLFS].target[moodCode=RQO] |
|
CombinedMedicationDispense.inFulfillmentOf |
ORC-2 Placer Order Number |
  MedicationDispense / type |
|
.code |
|
CombinedMedicationDispense.SupplyEvent.code |
RXD-33-Dispense Type |
   MedicationDispense / type / id |
|
n/a |
|
|
|
   MedicationDispense / type / extension |
|
n/a |
|
|
|
   MedicationDispense / type / coding |
|
|
|
|
|
    MedicationDispense / type / coding / id |
|
n/a |
|
|
|
    MedicationDispense / type / coding / extension |
|
n/a |
|
|
|
    MedicationDispense / type / coding / system |
|
./codeSystem |
|
|
C*E.3 |
    MedicationDispense / type / coding / version |
|
./codeSystemVersion |
|
|
C*E.7 |
    MedicationDispense / type / coding / code |
|
./code |
|
|
C*E.1 |
    MedicationDispense / type / coding / display |
|
CV.displayName |
|
|
C*E.2 - but note this is not well followed |
    MedicationDispense / type / coding / userSelected |
|
CD.codingRationale |
|
|
Sometimes implied by being first |
   MedicationDispense / type / text |
|
./originalText[mediaType/code="text/plain"]/data |
|
|
C*E.9. But note many systems use C*E.2 for this |
  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 / extension |
|
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 / 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 / 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 |