電子病歷交換單張實作指引(EMR-IG)
0.1.0 - ci-build

This page is part of the 電子病歷交換單張實作指引(EMR-IG) (v0.1.0: 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: MedicationDispenseDS - Mappings

Draft as of 2024-01-13

Mappings for the MedicationDispense-DS resource profile.

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

MedicationDispenseDS
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)

MedicationDispenseDS
MedicationDispenseEntity. Role, or Act, Supply[moodCode=EVN]
   textAct.text?
   containedN/A
   identifier.id
      idn/a
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
      systemII.root or Role.id.root
      valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodRole.effectiveTime or implied by context
      assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
   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] (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
   medication[x] (medicationReference).participation[typeCode=PRD].role
   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
      functionn/a, CD
      actor.role
   location.participation[typeCode=LOC].role
   authorizingPrescription.outboundRelationship[typeCode=FLFS].target[moodCode=RQO]
   typen/a, CD
   quantity.quantity
      idn/a
      extensionn/a
      valuePQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
      unitPQ.unit
      systemCO.codeSystem, PQ.translation.codeSystem
      codePQ.code, MO.currency, PQ.translation.code
   daysSupplyeffectiveUseTime
      idn/a
      extensionn/a
      valuePQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
      unitPQ.unit
      systemCO.codeSystem, PQ.translation.codeSystem
      codePQ.code, MO.currency, PQ.translation.code
   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]
      idn/a
      extensionn/a
      author[x]Act.participant[typeCode=AUT].role
      timeAct.effectiveTime
      textAct.text
   dosageInstruction.outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]
      idn/a
      sequence.text
      text.text
      additionalInstructionn/a, CD
      patientInstruction.text
      timing.effectiveTime
         idn/a
         eventQLIST<TS>
         repeatImplies PIVL or EIVL
            idn/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
            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
         typen/a, CD
         dose[x].doseQuantity
         dose[x] (doseQuantity).doseQuantity
            idn/a
            extensionn/a
            valuePQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
            comparatorIVL properties
            unitPQ.unit
            systemCO.codeSystem, PQ.translation.codeSystem
            codePQ.code, MO.currency, PQ.translation.code
         rate[x].rateQuantity
      maxDosePerPeriod.maxDoseQuantity
      maxDosePerAdministrationnot supported
      maxDosePerLifetimenot supported
   substitution.outboundRelationship[typeCode=COMP].target[classCode=SUBST, moodCode=EVN]
      idn/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)

MedicationDispenseDS
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)

MedicationDispenseDS
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)

MedicationDispenseDS
MedicationDispense
   identifier
      useN/A
      typeCX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   statusReason[x]CE/CNE/CWE
   categoryCE/CNE/CWE
   medication[x]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
   medication[x] (medicationReference)RXD-2-Dispense/Give Code
   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
      valueSN.2 / CQ - N/A
      unit(see OBX.6 etc.) / CQ.2
      system(see OBX.6 etc.) / CQ.2
      code(see OBX.6 etc.) / CQ.2
   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
      valueSN.2 / CQ - N/A
      unit(see OBX.6 etc.) / CQ.2
      system(see OBX.6 etc.) / CQ.2
      code(see OBX.6 etc.) / CQ.2
   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
      author[x]N/A
      timeN/A
      textN/A
   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
         dose[x] (doseQuantity)RXO-2, RXE-3
            valueSN.2 / CQ - N/A
            comparatorSN.1 / CQ.1
            unit(see OBX.6 etc.) / CQ.2
            system(see OBX.6 etc.) / CQ.2
            code(see OBX.6 etc.) / CQ.2
         rate[x]RXE22, RXE23, RXE-24
      maxDosePerPeriodRXO-23, RXE-19
   substitution
      typeCE/CNE/CWE
      reasonCE/CNE/CWE