SGHI FHIR Profile Implementation Guide
0.1.0 - ci-build

SGHI FHIR Profile Implementation Guide, published by Kathurima Kimathi. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/savannahghi/sil_fhir_profile_ig/ and changes regularly. See the Directory of published versions

Resource Profile: SGHIMedicationDispense - Mappings

Draft as of 2026-10-06

Mappings for the medicationdispense resource profile.

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

Name​Workflow Pattern​FiveWs Pattern MappingRIM MappingV3 Pharmacy Dispense RMIMHL7 V2 Mappingdoco
.. MedicationDispense
Event
clinical.medication
  • Entity
  • Role
  • or Act
  • Supply[moodCode=EVN]
... id
... meta
... implicitRules
... language
... text
Act.text?
... contained
N/A
... extension
N/A
... modifierExtension
N/A
... identifier
Event.identifier
FiveWs.identifier
.id
CombinedMedicationDispense.id
.... id
n/a
.... extension
n/a
.... use
Role.code or implied by context
N/A
.... type
Role.code or implied by context
CX.5
.... system
II.root or Role.id.root
CX.4 / EI-2-4
.... value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
.... period
Role.effectiveTime or implied by context
CX.7 + CX.8
.... 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)
... basedOn
.outboundRelationship[typeCode=FLFS].target
... partOf
Event.partOf
  • .outboundRelationship[typeCode=COMP]/target[classCode=PROC
  • moodCode=EVN]
... status
Event.status
FiveWs.status
.statusCode
CombinedMedicationDispense.SupplyEvent.statusCode
... notPerformedReason
... statusChanged
.subjectOf Observation[code = statusChange].value = date
... category
  • .inboundRelationship[typeCode=COMP].source[classCode=OBS
  • moodCode=EVN
  • code="type of medication dispense"].value
... medication
Event.code
FiveWs.what[x]
.participation[typeCode=PRD].role
CombinedMedicationRequest.component1.AdministrationRequest.consumable
RXD-2 Dispense/Give Code
... subject
Event.subject
FiveWs.subject[x]
.participation[typeCode=SBJ].role[classCode=PAT]
PID-3 Patient ID List
... encounter
Event.encounter
  • .inboundRelationship[typeCode=COMP].source[classCode=ENC
  • moodCode=EVN
  • code="type of encounter or episode"]
... supportingInformation
FiveWs.context
  • .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
Event.performer
.participation[typeCode=PRF]
.... id
n/a
.... extension
n/a
.... modifierExtension
N/A
.... function
participation[typeCode=PRF].functionCode
.... actor
Event.performer.actor
.role
... location
.participation[typeCode=LOC].role
... authorizingPrescription
Event.basedOn
.outboundRelationship[typeCode=FLFS].target[moodCode=RQO]
CombinedMedicationDispense.inFulfillmentOf
ORC-2 Placer Order Number
... type
.code
CombinedMedicationDispense.SupplyEvent.code
RXD-33 Dispense Type
... 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
... 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
... recorded
.MedicationDispense.dataEnterer..time
... whenPrepared
type=IVL_TS].low
CombinedMedicationDispense.SupplyEvent.effectiveTime
RXD-3 Date/Time Dispensed
... whenHandedOver
Event.occurrence[x]
type=IVL_TS].high
CombinedMedicationDispense.SupplyEvent.effectiveTime
RXD-3 Date/Time Dispensed
... destination
.participation[typeCode=DST].role
CombinedMedicationDispense.SupplyEvent.destination
RXD-13 Dispense-to Location; RXD-30 Dispense to Pharmacy; RXD-31 Dispense to Pharmacy Address
... receiver
.participation[typeCode=RCV].role
CombinedMedicationDispense.SupplyEvent.receiver
... note
Event.note
  • .inboundRelationship[typeCode=SUBJ]/source[classCode=ACT
  • moodCode=EVN]
RXD-9 Dispense Notes
... renderedDosageInstruction
SubstanceAdministration.text
... dosageInstruction
  • .outboundRelationship[typeCode=COMP].target[classCode=SBADM
  • moodCode=INT]
... substitution
  • .outboundRelationship[typeCode=COMP].target[classCode=SUBST
  • moodCode=EVN]
CombinedMedicationDispense.substitutionMade
.... id
n/a
.... extension
n/a
.... modifierExtension
N/A
.... wasSubstituted
.actionNegationInd
.... type
.code
CombinedMedicationDispense.substitutionMade.code
RXO-9 Allow Substitutions / RXE-9 Substitution Status
.... reason
.reasonCode
CombinedMedicationDispense.substitutionMade.reasonCode
.... responsibleParty
.participation[typeCode=PFM].role[classCode=ASSIGN]
CombinedMedicationDispense.substitutionMade.ResponsibleParty
... eventHistory
  • .inboundRelationship(typeCode=SUBJ].source[classCode=CACT
  • moodCode=EVN]

doco Documentation for this format