Medication Request FHIR API
MedicationRequest
OpenMRS Column/Field | Current Mapped FHIR Field | Updated Mapping | Notes |
---|---|---|---|
order.concept_id | medication.code.coding.code | ||
order.orderer | requestor | No Change | |
order.encounter | encounter | No Change | |
order.instructions |
| Maybe not needed or N/A for Phase 1? | |
order.date_activated order.auto_expire_date order.date_stopped | status | https://build.fhir.org/valueset-medicationrequest-status.html If active, status=ACTIVE If discontinued = CANCELLED otherwise, unknown see: | |
order.order_reason | reasonCode.coding.code | No Change | |
order.order_reason_non_coded | Maybe not needed or N/A for Phase | ||
order.urgency | priority | No Change | |
drug_order.drug_inventory_id | Mapped to FHIR using drug.dosageForm & drug ingredient table | ||
drug_order.dose | dosage.dosageInstructions.doseAndRate.dose.doseQuantity.value |
| |
drug_order.dose_units | dosage.dosageInstructions.doseAndRate.dose.doseQuantity.unit and/or dosage.dosageInstructions.doseAndRate.dose.doseQuantity.code | Not currently mapped; dose_units is a concept... thoughts on how this should be mapped? "unit" is supposed to be human-readable, while "code" is supposed to be a machine-readable code?
| |
drug_order.frequency | DosageInstructions.timing.repeat.frequency DosageInstructions.timing.repeat.period DosageInstructions.timing.repeat.periodUnit | https://build.fhir.org/datatypes.html#Timing | |
drug_order.as_needed | dosage.dosageInstructions.asNeededBoolean | No change | |
drug_order.quantity | dispenseRequest.quantity.value |
| |
drug_order.quantity_units | dispenseRequest.quantity.code or dispenseRequest.quantityUnits |
| |
drug_order.duration | dosageInstructions.timing.repeat.duration | No change. | |
drug_order.duration_units | dosageInstructions.timing.repeat.durationUnits | No change. (Requires fhir_durations_unit_map table to be properly configured) | |
drug_order.num_refills | dispenseRequest.numberOfRepeatsAllowed |
| |
drug_order.dosing_instructions | dosage.dosageInstructions.text | ||
order.fulfiller_status | Not mapped, but let's see if we can hold on this for now, since it doesn't really belong | ||
order.fulfiller_comment | Not mapped, but let's see if we can hold on this for now, since it doesn't really belong |
Existing Search Parameters
TBD
Needed Search Parameters
TBD
Composite result with MedicationDispense