臺灣電子處方箋與調劑單張實作指引(TW EMPD IG)
0.1.0 - ci-build

This page is part of the 臺灣電子處方箋與調劑單張實作指引(TW EMPD IG) (v0.1.0: Releases) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Resource Profile: MedicationDispenseDS - Mappings

Active as of 2024-01-13

Mappings for the MedicationDispense-DS resource profile.

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

NameWorkflow PatternRIM MappingFiveWs Pattern MappingV3 Pharmacy Dispense RMIMHL7 v2 Mappingdoco
.. MedicationDispense
Event
Supply[moodCode=EVN]
... id
... meta
... implicitRules
... language
... text
Act.text?
... contained
N/A
... extension
N/A
... modifierExtension
N/A
... identifier
Event.identifier
.id
FiveWs.identifier
CombinedMedicationDispense.id
.... id
n/a
.... extension
n/a
.... use
Role.code or implied by context
N/A
.... type
Role.code or implied by context
CX.5
.... system
II.root or Role.id.root
CX.4 / EI-2-4
.... value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
.... period
Role.effectiveTime or implied by context
CX.7 + CX.8
.... assigner
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • CX.4 / (CX.4
  • CX.9
  • CX.10)
... partOf
Event.partOf
  • .outboundRelationship[typeCode=COMP]/target[classCode=PROC
  • moodCode=EVN]
... status
Event.status
.statusCode
FiveWs.status
CombinedMedicationDispense.SupplyEvent.statusCode
... statusReason[x]
CD
CE/CNE/CWE
... category
CD
CE/CNE/CWE
... Slices for medication[x]
Event.code
.participation[typeCode=PRD].role
FiveWs.what[x]
CombinedMedicationRequest.component1.AdministrationRequest.consumable
RXD-2-Dispense/Give Code
.... medication[x]:medicationReference
Event.code
.participation[typeCode=PRD].role
FiveWs.what[x]
CombinedMedicationRequest.component1.AdministrationRequest.consumable
RXD-2-Dispense/Give Code
.... medication[x]:medicationCodeableConcept
CD
CE/CNE/CWE
..... id
n/a
..... extension
..... Slices for coding
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
...... coding:fda-medication-tw
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
...... coding:nhi-medication-tw
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
...... coding:nhi-medication-ch-herb-tw
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
...... coding:rxnorm-medication-us-core
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
...... coding:atc-medication-code
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
...... coding:snomedct-medication-codes
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
..... text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
... subject
Event.subject
.participation[typeCode=SBJ].role[classCode=PAT]
FiveWs.subject
PID-3-Patient ID List
... 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
CD
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
... type
CD
CE/CNE/CWE
... 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
.... id
n/a
.... extension
n/a
.... value
  • PQ.value
  • CO.value
  • MO.value
  • IVL.high or IVL.low depending on the value
SN.2 / CQ - N/A
.... comparator
IVL properties
SN.1 / CQ.1
.... unit
PQ.unit
(see OBX.6 etc.) / CQ.2
.... system
  • CO.codeSystem
  • PQ.translation.codeSystem
(see OBX.6 etc.) / CQ.2
.... code
  • PQ.code
  • MO.currency
  • PQ.translation.code
(see OBX.6 etc.) / CQ.2
... 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
.... id
n/a
.... extension
n/a
.... value
  • PQ.value
  • CO.value
  • MO.value
  • IVL.high or IVL.low depending on the value
SN.2 / CQ - N/A
.... comparator
IVL properties
SN.1 / CQ.1
.... unit
PQ.unit
(see OBX.6 etc.) / CQ.2
.... system
  • CO.codeSystem
  • PQ.translation.codeSystem
(see OBX.6 etc.) / CQ.2
.... code
  • PQ.code
  • MO.currency
  • PQ.translation.code
(see OBX.6 etc.) / CQ.2
... 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
.... id
n/a
.... extension
n/a
.... author[x]
Act.participant[typeCode=AUT].role
N/A
.... time
Act.effectiveTime
N/A
.... text
Act.text
N/A
... dosageInstruction
  • .outboundRelationship[typeCode=COMP].target[classCode=SBADM
  • moodCode=INT]
.... id
n/a
.... extension
n/a
.... modifierExtension
N/A
.... sequence
.text
TQ1-1
.... text
.text
RXO-6; RXE-21
.... additionalInstruction
CD
CE/CNE/CWE
.... patientInstruction
.text
RXO-7
.... timing
.effectiveTime
..... id
n/a
..... extension
n/a
..... modifierExtension
N/A
..... event
QLIST<TS>
..... repeat
Implies PIVL or EIVL
...... id
n/a
...... extension
n/a
...... bounds[x]
IVL(TS) used in a QSI
...... count
PIVL.count
...... countMax
PIVL.count
...... duration
PIVL.phase
...... durationMax
PIVL.phase
...... durationUnit
PIVL.phase.unit
...... frequency
PIVL.phase
...... frequencyMax
PIVL.phase
...... period
PIVL.phase
...... periodMax
PIVL.phase
...... periodUnit
PIVL.phase.unit
...... dayOfWeek
n/a
...... timeOfDay
n/a
...... when
EIVL.event
...... offset
EIVL.offset
..... code
QSC.code
...... id
n/a
...... extension
n/a
...... coding
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
...... text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
.... asNeeded[x]
CD
CE/CNE/CWE
.... site
CD
CE/CNE/CWE
.... route
CD
CE/CNE/CWE
..... id
n/a
..... extension
..... coding
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
..... text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
.... method
CD
CE/CNE/CWE
.... doseAndRate
TQ1-2
..... id
n/a
..... extension
n/a
..... type
CD
CE/CNE/CWE
..... Slices for dose[x]
.doseQuantity
  • RXO-2
  • RXE-3
...... dose[x]:doseQuantity
.doseQuantity
  • RXO-2
  • RXE-3
....... id
n/a
....... extension
n/a
....... value
  • PQ.value
  • CO.value
  • MO.value
  • IVL.high or IVL.low depending on the value
SN.2 / CQ - N/A
....... comparator
IVL properties
SN.1 / CQ.1
....... unit
PQ.unit
(see OBX.6 etc.) / CQ.2
....... system
  • CO.codeSystem
  • PQ.translation.codeSystem
(see OBX.6 etc.) / CQ.2
....... code
  • PQ.code
  • MO.currency
  • PQ.translation.code
(see OBX.6 etc.) / CQ.2
..... rate[x]
.rateQuantity
  • RXE22
  • RXE23
  • RXE-24
.... maxDosePerPeriod
.maxDoseQuantity
  • RXO-23
  • RXE-19
.... maxDosePerAdministration
not supported
.... maxDosePerLifetime
not supported
... substitution
  • .outboundRelationship[typeCode=COMP].target[classCode=SUBST
  • moodCode=EVN]
CombinedMedicationDispense.substitutionMade
.... id
n/a
.... extension
n/a
.... modifierExtension
N/A
.... wasSubstituted
.actionNegationInd
.... type
CD
CE/CNE/CWE
.... reason
CD
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]

doco Documentation for this format