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.
(question)
code

order.ordererrequestor
No Change
order.encounterencounter
No Change
order.instructions(question) 
Maybe not needed or N/A for Phase 1?

order.date_activated

(warning) None?(question)Explore generated "status" field on FHIR

order.auto_expire_date

(warning) None?(question)

Explore generated "status" field on FHIRExplore generated "status" field on FHIR

order.date_stopped

(warning) None?(question)
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
medication.(question)
Mapped to FHIR using drug.dosageForm & drug ingredient table

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

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

drug_order.dose_units(warning)

dosage.dosageInstructions.doseAndRate.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

(warning)I believe this is a coded dose frequently

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? also there is frequency, period, and unit?

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
(question)
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

...