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

臺灣電子處方箋與調劑單張實作指引(TW EMPD IG), published by 衛生福利部中央健康保險署. This guide is not an authorized publication; it is the continuous build for version 0.2.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TWNHIFHIR/empd/ and changes regularly. 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]
MedicationDispense / id
MedicationDispense / meta
MedicationDispense / implicitRules
MedicationDispense / language
MedicationDispense / text
Act.text?
MedicationDispense / contained
N/A
MedicationDispense / extension
N/A
MedicationDispense / modifierExtension
N/A
MedicationDispense / identifier
Event.identifier
.id
FiveWs.identifier
CombinedMedicationDispense.id
MedicationDispense / identifier / id
n/a
MedicationDispense / identifier / extension
n/a
MedicationDispense / identifier / use
Role.code or implied by context
N/A
MedicationDispense / identifier / type
Role.code or implied by context
CX.5
MedicationDispense / identifier / system
II.root or Role.id.root
CX.4 / EI-2-4
MedicationDispense / identifier / value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
MedicationDispense / identifier / period
Role.effectiveTime or implied by context
CX.7 + CX.8
MedicationDispense / identifier / 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)
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]
CD
CE/CNE/CWE
MedicationDispense / category
CD
CE/CNE/CWE
MedicationDispense / Slices for medication[x]
Event.code
.participation[typeCode=PRD].role
FiveWs.what[x]
CombinedMedicationRequest.component1.AdministrationRequest.consumable
RXD-2-Dispense/Give Code
MedicationDispense / Slices for medication[x] / medication[x]:medicationReference
Event.code
.participation[typeCode=PRD].role
FiveWs.what[x]
CombinedMedicationRequest.component1.AdministrationRequest.consumable
RXD-2-Dispense/Give Code
MedicationDispense / Slices for medication[x] / medication[x]:medicationCodeableConcept
CD
CE/CNE/CWE
MedicationDispense / Slices for medication[x] / medication[x]:medicationCodeableConcept / id
n/a
MedicationDispense / Slices for medication[x] / medication[x]:medicationCodeableConcept / extension
MedicationDispense / Slices for medication[x] / medication[x]:medicationCodeableConcept / Slices for coding
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
MedicationDispense / Slices for medication[x] / medication[x]:medicationCodeableConcept / Slices for coding
MedicationDispense / Slices for medication[x] / medication[x]:medicationCodeableConcept / Slices for coding / coding:fda-medication-tw
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
MedicationDispense / Slices for medication[x] / medication[x]:medicationCodeableConcept / Slices for coding / coding:nhi-medication-tw
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
MedicationDispense / Slices for medication[x] / medication[x]:medicationCodeableConcept / Slices for coding / coding:nhi-medication-ch-herb-tw
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
MedicationDispense / Slices for medication[x] / medication[x]:medicationCodeableConcept / Slices for coding / coding:rxnorm-medication-us-core
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
MedicationDispense / Slices for medication[x] / medication[x]:medicationCodeableConcept / Slices for coding / coding:atc-medication-code
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
MedicationDispense / Slices for medication[x] / medication[x]:medicationCodeableConcept / Slices for coding / coding:snomedct-medication-codes
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
MedicationDispense / 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
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
CD
CE/CNE/CWE
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
CD
CE/CNE/CWE
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 / daysSupply / id
n/a
MedicationDispense / daysSupply / extension
n/a
MedicationDispense / daysSupply / value
  • PQ.value
  • CO.value
  • MO.value
  • IVL.high or IVL.low depending on the value
SN.2 / CQ - N/A
MedicationDispense / daysSupply / comparator
IVL properties
SN.1 / CQ.1
MedicationDispense / daysSupply / unit
PQ.unit
(see OBX.6 etc.) / CQ.2
MedicationDispense / daysSupply / system
  • CO.codeSystem
  • PQ.translation.codeSystem
(see OBX.6 etc.) / CQ.2
MedicationDispense / daysSupply / code
  • PQ.code
  • MO.currency
  • PQ.translation.code
(see OBX.6 etc.) / CQ.2
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
CD
CE/CNE/CWE
MedicationDispense / dosageInstruction / patientInstruction
.text
RXO-7
MedicationDispense / dosageInstruction / timing
.effectiveTime
MedicationDispense / dosageInstruction / timing / id
n/a
MedicationDispense / dosageInstruction / timing / extension
n/a
MedicationDispense / dosageInstruction / timing / modifierExtension
N/A
MedicationDispense / dosageInstruction / timing / event
QLIST<TS>
MedicationDispense / dosageInstruction / timing / repeat
Implies PIVL or EIVL
MedicationDispense / dosageInstruction / timing / repeat / id
n/a
MedicationDispense / dosageInstruction / timing / repeat / extension
n/a
MedicationDispense / dosageInstruction / timing / repeat / bounds[x]
IVL(TS) used in a QSI
MedicationDispense / dosageInstruction / timing / repeat / count
PIVL.count
MedicationDispense / dosageInstruction / timing / repeat / countMax
PIVL.count
MedicationDispense / dosageInstruction / timing / repeat / duration
PIVL.phase
MedicationDispense / dosageInstruction / timing / repeat / durationMax
PIVL.phase
MedicationDispense / dosageInstruction / timing / repeat / durationUnit
PIVL.phase.unit
MedicationDispense / dosageInstruction / timing / repeat / frequency
PIVL.phase
MedicationDispense / dosageInstruction / timing / repeat / frequencyMax
PIVL.phase
MedicationDispense / dosageInstruction / timing / repeat / period
PIVL.phase
MedicationDispense / dosageInstruction / timing / repeat / periodMax
PIVL.phase
MedicationDispense / dosageInstruction / timing / repeat / periodUnit
PIVL.phase.unit
MedicationDispense / dosageInstruction / timing / repeat / dayOfWeek
n/a
MedicationDispense / dosageInstruction / timing / repeat / timeOfDay
n/a
MedicationDispense / dosageInstruction / timing / repeat / when
EIVL.event
MedicationDispense / dosageInstruction / timing / repeat / offset
EIVL.offset
MedicationDispense / dosageInstruction / timing / code
QSC.code
MedicationDispense / dosageInstruction / timing / code / id
n/a
MedicationDispense / dosageInstruction / timing / code / extension
n/a
MedicationDispense / dosageInstruction / timing / code / coding
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
MedicationDispense / dosageInstruction / timing / code / text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
MedicationDispense / dosageInstruction / asNeeded[x]
CD
CE/CNE/CWE
MedicationDispense / dosageInstruction / site
CD
CE/CNE/CWE
MedicationDispense / dosageInstruction / route
CD
CE/CNE/CWE
MedicationDispense / dosageInstruction / route / id
n/a
MedicationDispense / dosageInstruction / route / extension
MedicationDispense / dosageInstruction / route / coding
CV
CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
MedicationDispense / dosageInstruction / route / text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
MedicationDispense / dosageInstruction / method
CD
CE/CNE/CWE
MedicationDispense / dosageInstruction / doseAndRate
TQ1-2
MedicationDispense / dosageInstruction / doseAndRate / id
n/a
MedicationDispense / dosageInstruction / doseAndRate / extension
n/a
MedicationDispense / dosageInstruction / doseAndRate / type
CD
CE/CNE/CWE
MedicationDispense / dosageInstruction / doseAndRate / Slices for dose[x]
.doseQuantity
  • RXO-2
  • RXE-3
MedicationDispense / dosageInstruction / doseAndRate / Slices for dose[x] / dose[x]:doseQuantity
.doseQuantity
  • RXO-2
  • RXE-3
MedicationDispense / dosageInstruction / doseAndRate / Slices for dose[x] / dose[x]:doseQuantity / id
n/a
MedicationDispense / dosageInstruction / doseAndRate / Slices for dose[x] / dose[x]:doseQuantity / extension
n/a
MedicationDispense / dosageInstruction / 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
MedicationDispense / dosageInstruction / doseAndRate / Slices for dose[x] / dose[x]:doseQuantity / comparator
IVL properties
SN.1 / CQ.1
MedicationDispense / dosageInstruction / doseAndRate / Slices for dose[x] / dose[x]:doseQuantity / unit
PQ.unit
(see OBX.6 etc.) / CQ.2
MedicationDispense / dosageInstruction / doseAndRate / Slices for dose[x] / dose[x]:doseQuantity / system
  • CO.codeSystem
  • PQ.translation.codeSystem
(see OBX.6 etc.) / CQ.2
MedicationDispense / dosageInstruction / doseAndRate / Slices for dose[x] / dose[x]:doseQuantity / code
  • PQ.code
  • MO.currency
  • PQ.translation.code
(see OBX.6 etc.) / CQ.2
MedicationDispense / dosageInstruction / doseAndRate / rate[x]
.rateQuantity
  • RXE22
  • RXE23
  • RXE-24
MedicationDispense / dosageInstruction / maxDosePerPeriod
.maxDoseQuantity
  • RXO-23
  • RXE-19
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
CD
CE/CNE/CWE
MedicationDispense / substitution / reason
CD
CE/CNE/CWE
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]

doco Documentation for this format