OpenMRS Core FHIR Implementation Guide, published by . 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/abertnamanya/openmrs-contrib-fhir2-ig/ and changes regularly. See the Directory of published versions
Mappings for the omrsmedication-dispense resource profile.
MedicationDispense is a FHIR resource that represents a description of the medication product (supply) provided and the instructions for administering the medication and these are mapped to OpenMRS MedicationDispense objects between HL7 FHIR
OMRSMedicationDispense |
MedicationDispense | |
id | MedicationDispense.uuid |
status | MedicationDispense.status |
statusReason[x] (statusReasonCodeableConcept) | Concept.code |
medication[x] | MedicationDispense.Medication |
subject | MedicationDispense.subject |
context | MedicationDispense.encounter |
performer | |
actor | MedicationDispense.Practitioner |
location | MedicationDispense.location |
authorizingPrescription | MedicationDispense.DrugOrder |
type | Concept.code |
quantity | MedicationDispense.Quantity |
whenPrepared | MedicationDispense.DatePrepared |
whenHandedOver | MedicationDispense.DateHandedOver |
dosageInstruction | MedicationDispense.DosageInstruction |
substitution | |
wasSubstituted | MedicationDispense.WasSubstituted |
type | Concept.code |
reason | Concept.code |
OMRSMedicationDispense |
MedicationDispense | Entity. Role, or Act, Supply[moodCode=EVN] |
text | Act.text? |
contained | N/A |
extension | N/A |
modifierExtension | N/A |
status | .statusCode |
statusReason[x] | .outboundRelationship[typeCode=RSON]/target[classCode=OBS,moodCode=EVN, code="not done reason"].value |
statusReason[x] (statusReasonCodeableConcept) | .outboundRelationship[typeCode=RSON]/target[classCode=OBS,moodCode=EVN, code="not done reason"].value |
medication[x] | .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"] |
performer | .participation[typeCode=PRF] |
id | n/a |
extension | n/a |
modifierExtension | N/A |
function | participation[typeCode=PRF].functionCode |
actor | .role |
location | .participation[typeCode=LOC].role |
authorizingPrescription | .outboundRelationship[typeCode=FLFS].target[moodCode=RQO] |
type | .code |
quantity | .quantity |
whenPrepared | .effectiveTime[xmi:type=IVL_TS].low |
whenHandedOver | .effectiveTime[xmi:type=IVL_TS].high |
dosageInstruction | .outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT] |
substitution | .outboundRelationship[typeCode=COMP].target[classCode=SUBST, moodCode=EVN] |
id | n/a |
extension | n/a |
modifierExtension | N/A |
wasSubstituted | .actionNegationInd |
type | .code |
reason | .reasonCode |
OMRSMedicationDispense |
MedicationDispense | |
status | CombinedMedicationDispense.SupplyEvent.statusCode |
medication[x] | CombinedMedicationRequest.component1.AdministrationRequest.consumable |
authorizingPrescription | CombinedMedicationDispense.inFulfillmentOf |
type | CombinedMedicationDispense.SupplyEvent.code |
quantity | CombinedMedicationDispense.SupplyEvent.quantity |
whenPrepared | CombinedMedicationDispense.SupplyEvent.effectiveTime |
whenHandedOver | CombinedMedicationDispense.SupplyEvent.effectiveTime |
substitution | CombinedMedicationDispense.substitutionMade |
type | CombinedMedicationDispense.substitutionMade.code |
reason | CombinedMedicationDispense.substitutionMade.reasonCode |