Medication Scheme Implementation Guide
1.0.0 - draft Estonia flag

Medication Scheme Implementation Guide, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/ig-ee-medication-scheme/ and changes regularly. See the Directory of published versions

Resource Profile: EETISPrescriptionDispense - Mappings

Draft as of 2024-01-31

Mappings for the ee-tis-prescription-dispense resource profile.

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

EETISPrescriptionDispense
MedicationDispenseEvent
   statusEvent.status
   medicationEvent.code
   subjectEvent.subject
   performerEvent.performer
      actorEvent.performer.actor
   authorizingPrescriptionEvent.basedOn
   whenHandedOverEvent.occurrence[x]
   noteEvent.note

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

EETISPrescriptionDispense
MedicationDispenseclinical.medication
   statusFiveWs.status
   medicationFiveWs.what[x]
   subjectFiveWs.subject[x]

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

EETISPrescriptionDispense
MedicationDispenseEntity, Role, or Act,Supply[moodCode=EVN]
   textAct.text?
   extension
   extension (extensionEETISBuyerEPC)
      idn/a
      urlN/A
      value[x]N/A
   modifierExtensionN/A
   status.statusCode
   medication.participation[typeCode=PRD].role
   subject.participation[typeCode=SBJ].role[classCode=PAT]
   performer.participation[typeCode=PRF]
      idn/a
      extensionn/a
      modifierExtensionN/A
      actor.role
   location.participation[typeCode=LOC].role
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   authorizingPrescription.outboundRelationship[typeCode=FLFS].target[moodCode=RQO]
   quantity.quantity
      idn/a
      extensionn/a
      valuePQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
   daysSupplyeffectiveUseTime
   whenHandedOver.effectiveTime[xmi:type=IVL_TS].high
   receiver.participation[typeCode=RCV].role
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
         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
      displayN/A
   note.inboundRelationship[typeCode=SUBJ]/source[classCode=ACT,moodCode=EVN]
      idn/a
      extensionn/a
      timeAct.effectiveTime
      textAct.text

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

EETISPrescriptionDispense
MedicationDispense
   statusCombinedMedicationDispense.SupplyEvent.statusCode
   medicationCombinedMedicationRequest.component1.AdministrationRequest.consumable
   authorizingPrescriptionCombinedMedicationDispense.inFulfillmentOf
   quantityCombinedMedicationDispense.SupplyEvent.quantity
   whenHandedOverCombinedMedicationDispense.SupplyEvent.effectiveTime
   receiverCombinedMedicationDispense.SupplyEvent.receiver

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

EETISPrescriptionDispense
MedicationDispense
   medicationRXD-2 Dispense/Give Code
   subjectPID-3 Patient ID List
   authorizingPrescriptionORC-2 Placer Order Number
   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
   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
   whenHandedOverRXD-3 Date/Time Dispensed
   receiver
      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)
   noteRXD-9 Dispense Notes
      timeN/A
      textN/A