UPTIS FHIR PoC Test Implementation Guide
1.0.0 - draft Estonia flag

UPTIS FHIR PoC Test 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/FHIR-PoC/ and changes regularly. See the Directory of published versions

Resource Profile: EETISMedicationDispense - Mappings

Draft as of 2023-10-03

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

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

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

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

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

EETISMedicationDispense
MedicationDispenseEntity, Role, or Act,Supply[moodCode=EVN]
   textAct.text?
   extension
   extension (extensionTISDiscountRate)
      idn/a
      extensionn/a
      urlN/A
      value[x]N/A
         idn/a
         extensionn/a
         codingunion(., ./translation)
         text./originalText[mediaType/code="text/plain"]/data
   extension (extensionEETISBuyerEPC)
      idn/a
      extensionn/a
      urlN/A
      value[x]N/A
   modifierExtensionN/A
   status.statusCode
   medication.participation[typeCode=PRD].role
      idn/a
      extensionn/a
      referenceN/A
   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
   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)

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

EETISMedicationDispense
MedicationDispense
   extension
   extension (extensionTISDiscountRate)
      value[x]
         codingC*E.1-8, C*E.10-22
         textC*E.9. But note many systems use C*E.2 for this
   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
   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