臺灣核心實作指引(TW Core IG)
0.2.2 - Trial Use

This page is part of the 臺灣核心實作指引(TW Core IG) (v0.2.2: Releases) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: TWCoreMedicationDispense - Mappings

Active as of 2024-05-28

Mappings for the MedicationDispense-twcore resource profile.

Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

TWCoreMedicationDispense
MedicationDispenseEvent
   identifierEvent.identifier
   partOfEvent.partOf
   statusEvent.status
   medication[x]Event.code
   medication[x] (medicationReference)Event.code
   subjectEvent.subject
   contextEvent.context
   performerEvent.performer
      actorEvent.performer.actor
   authorizingPrescriptionEvent.basedOn
   whenHandedOverEvent.occurrence[x]
   noteEvent.note

Mappings for RIM Mapping (http://hl7.org/v3)

TWCoreMedicationDispense
MedicationDispenseEntity. Role, or Act, Supply[moodCode=EVN]
   textAct.text?
   containedN/A
   identifier.id
   partOf.outboundRelationship[typeCode=COMP]/target[classCode=PROC,moodCode=EVN]
   status.statusCode
   statusReason[x]n/a, CD
   categoryn/a, CD
   medication[x].participation[typeCode=PRD].role
   medication[x] (medicationReference).participation[typeCode=PRD].role
   medication[x] (medicationCodeableConcept)n/a, CD
      idn/a
      codingn/a, CV
      coding (fda-medication-tw)n/a, CV
      coding (nhi-medication-tw)n/a, CV
      coding (rxnorm-medication-us-core)n/a, CV
      coding (atc-medication-code)n/a, CV
      coding (snomedct-medication-codes)n/a, CV
      text./originalText[mediaType/code="text/plain"]/data
   subject.participation[typeCode=SBJ].role[classCode=PAT]
   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)]
   performer.participation[typeCode=PRF]
      idn/a
      extensionn/a
      modifierExtensionN/A
      functionn/a, CD
      actor.role
   location.participation[typeCode=LOC].role
   authorizingPrescription.outboundRelationship[typeCode=FLFS].target[moodCode=RQO]
   typen/a, CD
   quantity.quantity
   daysSupplyeffectiveUseTime
   whenPrepared.effectiveTime[xmi:type=IVL_TS].low
   whenHandedOver.effectiveTime[xmi:type=IVL_TS].high
   destination.participation[typeCode=DST].role
   receiver.participation[typeCode=RCV].role
   note.inboundRelationship[typeCode=SUBJ]/source[classCode=ACT,moodCode=EVN]
   dosageInstruction.outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]
      idn/a
      extensionn/a
      modifierExtensionN/A
      sequence.text
      text.text
      additionalInstructionn/a, CD
      patientInstruction.text
      timing.effectiveTime
         idn/a
         extensionn/a
         modifierExtensionN/A
         eventQLIST<TS>
         repeatImplies PIVL or EIVL
            idn/a
            extensionn/a
            bounds[x]IVL(TS) used in a QSI
            countPIVL.count
            countMaxPIVL.count
            durationPIVL.phase
            durationMaxPIVL.phase
            durationUnitPIVL.phase.unit
            frequencyPIVL.phase
            frequencyMaxPIVL.phase
            periodPIVL.phase
            periodMaxPIVL.phase
            periodUnitPIVL.phase.unit
            dayOfWeekn/a
            timeOfDayn/a
            whenEIVL.event
            offsetEIVL.offset
         codeQSC.code
            idn/a
            extensionn/a
            codingn/a, CV
            text./originalText[mediaType/code="text/plain"]/data
      asNeeded[x]n/a, CD
      siten/a, CD
      routen/a, CD
         idn/a
         codingn/a, CV
         text./originalText[mediaType/code="text/plain"]/data
      methodn/a, CD
      doseAndRate
         idn/a
         extensionn/a
         typen/a, CD
         dose[x].doseQuantity
         rate[x].rateQuantity
      maxDosePerPeriod.maxDoseQuantity
      maxDosePerAdministrationnot supported
      maxDosePerLifetimenot supported
   substitution.outboundRelationship[typeCode=COMP].target[classCode=SUBST, moodCode=EVN]
      idn/a
      extensionn/a
      modifierExtensionN/A
      wasSubstituted.actionNegationInd
      typen/a, CD
      reasonn/a, CD
      responsibleParty.participation[typeCode=PFM].role[classCode=ASSIGN]
   detectedIssue.inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT,moodCode=EVN].value
   eventHistory.inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]

Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

TWCoreMedicationDispense
MedicationDispense
   identifierFiveWs.identifier
   statusFiveWs.status
   medication[x]FiveWs.what[x]
   medication[x] (medicationReference)FiveWs.what[x]
   subjectFiveWs.subject[x], FiveWs.subject
   supportingInformationFiveWs.context

Mappings for V3 Pharmacy Dispense RMIM (http://www.hl7.org/v3/PORX_RM020070UV)

TWCoreMedicationDispense
MedicationDispense
   identifierCombinedMedicationDispense.id
   statusCombinedMedicationDispense.SupplyEvent.statusCode
   medication[x]CombinedMedicationRequest.component1.AdministrationRequest.consumable
   medication[x] (medicationReference)CombinedMedicationRequest.component1.AdministrationRequest.consumable
   authorizingPrescriptionCombinedMedicationDispense.inFulfillmentOf
   quantityCombinedMedicationDispense.SupplyEvent.quantity
   whenPreparedCombinedMedicationDispense.SupplyEvent.effectiveTime
   whenHandedOverCombinedMedicationDispense.SupplyEvent.effectiveTime
   destinationCombinedMedicationDispense.SupplyEvent.destination
   receiverCombinedMedicationDispense.SupplyEvent.receiver
   substitutionCombinedMedicationDispense.substitutionMade
      responsiblePartyCombinedMedicationDispense.substitutionMade.ResponsibleParty

Mappings for HL7 v2 Mapping (http://hl7.org/v2)

TWCoreMedicationDispense
MedicationDispense
   statusReason[x]CE/CNE/CWE
   categoryCE/CNE/CWE
   medication[x]RXD-2-Dispense/Give Code
   medication[x] (medicationReference)RXD-2-Dispense/Give Code
   medication[x] (medicationCodeableConcept)CE/CNE/CWE
      codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6
      coding (fda-medication-tw)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
      coding (nhi-medication-tw)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
      coding (rxnorm-medication-us-core)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
      coding (atc-medication-code)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
      coding (snomedct-medication-codes)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
      textC*E.9. But note many systems use C*E.2 for this
   subjectPID-3-Patient ID List
   performer
      functionCE/CNE/CWE
   authorizingPrescriptionORC-2 Placer Order Number
   typeCE/CNE/CWE
   quantityRXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system
   daysSupplyTQ1.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
   whenPreparedRXD-3-Date/Time Dispensed
   whenHandedOverRXD-3-Date/Time Dispensed
   destinationRXD-13 Dispense-to Location; RXD-30 Dispense to Pharmacy; RXD-31 Dispense to Pharmacy Address
   noteRXD-9 Dispense Notes
   dosageInstruction
      sequenceTQ1-1
      textRXO-6; RXE-21
      additionalInstructionCE/CNE/CWE
      patientInstructionRXO-7
      timing
         code
            codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6
            textC*E.9. But note many systems use C*E.2 for this
      asNeeded[x]CE/CNE/CWE
      siteCE/CNE/CWE
      routeCE/CNE/CWE
         codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6
         textC*E.9. But note many systems use C*E.2 for this
      methodCE/CNE/CWE
      doseAndRateTQ1-2
         typeCE/CNE/CWE
         dose[x]RXO-2, RXE-3
         rate[x]RXE22, RXE23, RXE-24
      maxDosePerPeriodRXO-23, RXE-19
   substitution
      typeCE/CNE/CWE
      reasonCE/CNE/CWE