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
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?
Mapped to FHIR using drug.dosageForm & drug ingredient table

drug_order.dose(warning)dosage.dosageInstructions.doseAndRate.dose.doseQuantity
 Not currently mapped?
.value

Jira Legacy
serverOpenMRS Issues
serverId45c5771b-fa4b-3e43-b34a-c19dc45ccc95
keyFM2-463

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?

Jira Legacy
serverOpenMRS Issues
serverId45c5771b-fa4b-3e43-b34a-c19dc45ccc95
keyFM2-463

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
Not currently mapped?

Jira Legacy
serverOpenMRS Issues
serverId45c5771b-fa4b-3e43-b34a-c19dc45ccc95
keyFM2-463

drug_order.quantity_units(warning)dispenseRequest.quantity.code
Not currently mapped?
or dispenseRequest.quantityUnits 

Jira Legacy
serverOpenMRS Issues
serverId45c5771b-fa4b-3e43-b34a-c19dc45ccc95
keyFM2-463

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?

No change. (Requires fhir_durations_unit_map table to be properly configured)
drug_order.num_refills(warning)dispenseRequest.numberOfRepeatsAllowed
Not currently mapped?

Jira Legacy
serverOpenMRS Issues
serverId45c5771b-fa4b-3e43-b34a-c19dc45ccc95
keyFM2-463

drug_order.dosing_instructions
(warning)DosageInstructions.patientInstructions  Not currently mapped?
dosage.dosageInstructions.text

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

...