This page is part of the Magentus Practice Management FHIR Implementation Guide (v1.3.4: Releases Draft) based on FHIR (HL7® FHIR® Standard) R4. No current official version has been published yet. For a full list of available versions, see the Directory of published versions
Mappings for the eorders-medicationstatement resource profile.
| Name | Workflow Pattern | RIM Mapping | FiveWs Pattern Mapping | HL7 v2 Mapping |
 MedicationStatement |
Event |
SubstanceAdministration |
|
|
  MedicationStatement / id |
|
|
|
|
  MedicationStatement / meta |
|
|
|
|
  MedicationStatement / implicitRules |
|
|
|
|
  MedicationStatement / language |
|
|
|
|
  MedicationStatement / text |
|
Act.text? |
|
|
  MedicationStatement / contained |
|
N/A |
|
|
  MedicationStatement / Slices for extension |
|
|
|
|
   MedicationStatement / Slices for extension / extension:longTerm |
|
|
|
|
  MedicationStatement / modifierExtension |
|
N/A |
|
|
  MedicationStatement / identifier |
Event.identifier |
.id |
FiveWs.identifier |
|
  MedicationStatement / basedOn |
Event.basedOn |
- .outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS
- moodCode=RQO orPLAN or PRP]
|
|
|
  MedicationStatement / partOf |
Event.partOf |
- .outboundRelationship[typeCode=COMP]/target[classCode=SPLY or SBADM or PROC or OBS
- moodCode=EVN]
|
|
|
  MedicationStatement / status |
Event.status |
.statusCode |
FiveWs.status |
|
  MedicationStatement / statusReason |
Event.statusReason |
- .inboundRelationship[typeCode=SUBJ].source[classCode=CACT
- moodCode=EVN].reasonCOde
|
|
|
  MedicationStatement / category |
|
- .inboundRelationship[typeCode=COMP].source[classCode=OBS
- moodCode=EVN
- code="type of medication usage"].value
|
FiveWs.class |
|
  MedicationStatement / Slices for medication[x] |
Event.code |
.participation[typeCode=CSM].role[classCode=ADMM or MANU] |
FiveWs.what[x] |
|
   MedicationStatement / Slices for medication[x] / medication[x]:medicationCodeableConcept |
Event.code |
.participation[typeCode=CSM].role[classCode=ADMM or MANU] |
FiveWs.what[x] |
|
    MedicationStatement / Slices for medication[x] / medication[x]:medicationCodeableConcept / id |
|
n/a |
|
|
    MedicationStatement / Slices for medication[x] / medication[x]:medicationCodeableConcept / extension |
|
n/a |
|
|
    MedicationStatement / Slices for medication[x] / medication[x]:medicationCodeableConcept / coding |
|
|
|
|
     MedicationStatement / Slices for medication[x] / medication[x]:medicationCodeableConcept / coding / id |
|
n/a |
|
|
     MedicationStatement / Slices for medication[x] / medication[x]:medicationCodeableConcept / coding / Slices for extension |
|
|
|
|
     MedicationStatement / Slices for medication[x] / medication[x]:medicationCodeableConcept / coding / Slices for extension |
|
|
|
|
      MedicationStatement / Slices for medication[x] / medication[x]:medicationCodeableConcept / coding / Slices for extension / extension:medicationClass |
|
|
|
|
     MedicationStatement / Slices for medication[x] / medication[x]:medicationCodeableConcept / coding / system |
|
./codeSystem |
|
C*E.3 |
     MedicationStatement / Slices for medication[x] / medication[x]:medicationCodeableConcept / coding / version |
|
./codeSystemVersion |
|
C*E.7 |
     MedicationStatement / Slices for medication[x] / medication[x]:medicationCodeableConcept / coding / code |
|
./code |
|
C*E.1 |
     MedicationStatement / Slices for medication[x] / medication[x]:medicationCodeableConcept / coding / display |
|
CV.displayName |
|
C*E.2 - but note this is not well followed |
     MedicationStatement / Slices for medication[x] / medication[x]:medicationCodeableConcept / coding / userSelected |
|
CD.codingRationale |
|
Sometimes implied by being first |
    MedicationStatement / Slices for medication[x] / medication[x]:medicationCodeableConcept / text |
|
./originalText[mediaType/code="text/plain"]/data |
|
C*E.9. But note many systems use C*E.2 for this |
   MedicationStatement / Slices for medication[x] / medication[x]:medicationReference |
Event.code |
.participation[typeCode=CSM].role[classCode=ADMM or MANU] |
FiveWs.what[x] |
|
  MedicationStatement / subject |
Event.subject |
.participation[typeCode=SBJ].role[classCode=PAT] |
FiveWs.subject |
PID-3-Patient ID List |
  MedicationStatement / context |
Event.context |
- .inboundRelationship[typeCode=COMP].source[classCode=ENC
- moodCode=EVN
- code="type of encounter or episode"]
|
|
|
  MedicationStatement / Slices for effective[x] |
Event.occurrence[x] |
.effectiveTime |
FiveWs.done[x] |
|
   MedicationStatement / Slices for effective[x] / effective[x]:effectiveDateTime |
Event.occurrence[x] |
.effectiveTime |
FiveWs.done[x] |
|
  MedicationStatement / dateAsserted |
|
.participation[typeCode=AUT].time |
FiveWs.recorded |
|
  MedicationStatement / informationSource |
|
- .participation[typeCode=INF].role[classCode=PAT
- or codes for Practioner or Related Person (if PAT is the informer
- then syntax for self-reported =true)
|
FiveWs.source |
|
  MedicationStatement / derivedFrom |
|
- .outboundRelationship[typeCode=SPRT]/target[classCode=ACT
- moodCode=EVN]
|
|
|
  MedicationStatement / reasonCode |
Event.reasonCode |
.reasonCode |
FiveWs.why[x] |
|
   MedicationStatement / reasonCode / id |
|
n/a |
|
|
   MedicationStatement / reasonCode / extension |
|
n/a |
|
|
   MedicationStatement / reasonCode / coding |
|
|
|
|
   MedicationStatement / reasonCode / text |
|
./originalText[mediaType/code="text/plain"]/data |
|
C*E.9. But note many systems use C*E.2 for this |
  MedicationStatement / reasonReference |
Event.reasonReference |
- .outboundRelationship[typeCode=RSON]/target[classCode=OBS
- moodCode=EVN
- code="reason for use"].value
|
FiveWs.why[x] |
|
  MedicationStatement / note |
Event.note |
- .inboundRelationship[typeCode=SUBJ]/source[classCode=OBS
- moodCode=EVN
- code="annotation"].value
|
|
|
  MedicationStatement / dosage |
|
refer dosageInstruction mapping |
|
|
   MedicationStatement / dosage / id |
|
n/a |
|
|
   MedicationStatement / dosage / extension |
|
n/a |
|
|
   MedicationStatement / dosage / modifierExtension |
|
N/A |
|
|
   MedicationStatement / dosage / sequence |
|
.text |
|
TQ1-1 |
   MedicationStatement / dosage / text |
|
.text |
|
RXO-6; RXE-21 |
   MedicationStatement / dosage / additionalInstruction |
|
.text |
|
RXO-7 |
   MedicationStatement / dosage / patientInstruction |
|
.text |
|
RXO-7 |
   MedicationStatement / dosage / timing |
|
.effectiveTime |
|
|
   MedicationStatement / dosage / asNeeded[x] |
|
- .outboundRelationship[typeCode=PRCN].target[classCode=OBS
- moodCode=EVN
- code="as needed"].value=boolean or codable concept
|
|
TQ1-9 |
   MedicationStatement / dosage / site |
|
.approachSiteCode |
|
RXR-2 |
   MedicationStatement / dosage / route |
|
.routeCode |
|
RXR-1 |
   MedicationStatement / dosage / method |
|
.doseQuantity |
|
RXR-4 |
   MedicationStatement / dosage / doseAndRate |
|
|
|
TQ1-2 |
    MedicationStatement / dosage / doseAndRate / id |
|
n/a |
|
|
    MedicationStatement / dosage / doseAndRate / extension |
|
n/a |
|
|
    MedicationStatement / dosage / doseAndRate / type |
|
|
|
RXO-21; RXE-23 |
    MedicationStatement / dosage / doseAndRate / Slices for dose[x] |
|
.doseQuantity |
|
|
     MedicationStatement / dosage / doseAndRate / Slices for dose[x] / dose[x]:doseQuantity |
|
.doseQuantity |
|
|
      MedicationStatement / dosage / doseAndRate / Slices for dose[x] / dose[x]:doseQuantity / id |
|
n/a |
|
|
      MedicationStatement / dosage / doseAndRate / Slices for dose[x] / dose[x]:doseQuantity / extension |
|
n/a |
|
|
      MedicationStatement / dosage / doseAndRate / Slices for dose[x] / dose[x]:doseQuantity / value |
|
- PQ.value
- CO.value
- MO.value
- IVL.high or IVL.low depending on the value
|
|
SN.2 / CQ - N/A |
      MedicationStatement / dosage / doseAndRate / Slices for dose[x] / dose[x]:doseQuantity / comparator |
|
IVL properties |
|
SN.1 / CQ.1 |
      MedicationStatement / dosage / doseAndRate / Slices for dose[x] / dose[x]:doseQuantity / unit |
|
PQ.unit |
|
(see OBX.6 etc.) / CQ.2 |
      MedicationStatement / dosage / doseAndRate / Slices for dose[x] / dose[x]:doseQuantity / system |
|
- CO.codeSystem
- PQ.translation.codeSystem
|
|
(see OBX.6 etc.) / CQ.2 |
      MedicationStatement / dosage / doseAndRate / Slices for dose[x] / dose[x]:doseQuantity / code |
|
- PQ.code
- MO.currency
- PQ.translation.code
|
|
(see OBX.6 etc.) / CQ.2 |
    MedicationStatement / dosage / doseAndRate / Slices for rate[x] |
|
.rateQuantity |
|
|
     MedicationStatement / dosage / doseAndRate / Slices for rate[x] / rate[x]:rateQuantity |
|
.rateQuantity |
|
|
      MedicationStatement / dosage / doseAndRate / Slices for rate[x] / rate[x]:rateQuantity / id |
|
n/a |
|
|
      MedicationStatement / dosage / doseAndRate / Slices for rate[x] / rate[x]:rateQuantity / extension |
|
n/a |
|
|
      MedicationStatement / dosage / doseAndRate / Slices for rate[x] / rate[x]:rateQuantity / value |
|
- PQ.value
- CO.value
- MO.value
- IVL.high or IVL.low depending on the value
|
|
SN.2 / CQ - N/A |
      MedicationStatement / dosage / doseAndRate / Slices for rate[x] / rate[x]:rateQuantity / comparator |
|
IVL properties |
|
SN.1 / CQ.1 |
      MedicationStatement / dosage / doseAndRate / Slices for rate[x] / rate[x]:rateQuantity / unit |
|
PQ.unit |
|
(see OBX.6 etc.) / CQ.2 |
      MedicationStatement / dosage / doseAndRate / Slices for rate[x] / rate[x]:rateQuantity / system |
|
- CO.codeSystem
- PQ.translation.codeSystem
|
|
(see OBX.6 etc.) / CQ.2 |
      MedicationStatement / dosage / doseAndRate / Slices for rate[x] / rate[x]:rateQuantity / code |
|
- PQ.code
- MO.currency
- PQ.translation.code
|
|
(see OBX.6 etc.) / CQ.2 |
   MedicationStatement / dosage / maxDosePerPeriod |
|
.maxDoseQuantity |
|
|
   MedicationStatement / dosage / maxDosePerAdministration |
|
not supported |
|
|
   MedicationStatement / dosage / maxDosePerLifetime |
|
not supported |
|
|
Documentation for this format |