Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

MedicationRequest

OpenMRS Column/FieldCurrent Mapped FHIR FieldUpdated Mapping
?
Notes
order.concept_idmedication.code.coding.code
(question) Is this okay?
order.ordererrequestor
No Change
?
order.encounterencounter
No Change?
order.instructions(question) 
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:

https://github.com/openmrs/openmrs-module-fhir2/blob/master/api/src/main/java/org/openmrs/module/fhir2/api/translators/impl/MedicationRequestStatusTranslatorImpl.java

https://github.com/openmrs/openmrs-module-fhir2/blob/master/api/src/main/java/org/openmrs/module/fhir2/api/translators/impl/MedicationRequestStatusTranslatorImpl.java

order.order_reasonreasonCode.coding.code
No Change
?
order.order_reason_non_coded(question)

Maybe not needed or N/A for Phase

order.urgencypriority
No Change
?
drug_order.drug_inventory_id(warning)
(question) Do we convey into FHIR format, with strength, dose form, etc?
drug_order.dose(warning)dosage.dosageInstructions.doseAndRate.dose.doseQuantity
 
.value(question) Not currently mapped
?
drug_order.dose_units(warning)

dosage.dosageInstructions.doseAndRate

.type Not currently mapped?

.dose.doseQuantity.unit

and/or

dosage.dosageInstructions.doseAndRate.dose.doseQuantity.code

(question) 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_neededdosage.dosageInstructions.asNeededBoolean
No change
?
drug_order.quantity(warning)dispenseRequest.quantity.value(question) Not currently mapped
?
drug_order.quantity_units(warning)dispenseRequest.quantity.code(question) Not currently mapped
?
drug_order.durationdosageInstructions.timing.repeat.duration
No change?
drug_order.duration_unitsdosageInstructions.timing.repeat.durationUnits
(warning) But this doesn't seem to map properly currenty?
drug_order.num_refills(warning)dispenseRequest.numberOfRepeatsAllowed(question) Not currently mapped
?
drug_order.dosing_instructions
(warning)
dosage.dosageInstructions.textDosageInstructions.patientInstructions  (question) Not currently mapped?
order.fulfiller_status

Not mapped
(question) can we not use this
, but let's see if we can hold on this for now, since it doesn't really belong
order.fulfiller_comment

Not mapped
(question) can we not use this
, but let's see if we can hold on this for now, since it doesn't really belong


Existing Search Parameters

...