Versions Compared

Key

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

FHIR Mapping

This is a suggestion on how to map OpenMRS TestOrder object into FHIR TBD ProcedureRequest.

Fields which didn't match into FHIR representation are marked on red. Keyword extension means that FHIR Extension has to be used to synchronize this field.
Fields which partially match into FHIR representation are marked on orange.

OpenMRS

...

Order documentation - Order Entry API.


OpenMRS TestOrder class extends Order class.

OpenMRS classOpenMRS fieldDB fieldFHIR fieldDetails
TestOrderspecimenSource : Concepttest_order.specimen_source
ProcedureRequest.
specimen : Reference(Specimen)-
TestOrderclinicalHistory : Stringtest_order.clinical_historyrelevantHistory : Reference(Provenance)-
TestOrder

frequency : OrderFrequency

test_order.frequency

extension - Order Frequency Extension


OrdercareSetting : CareSettingorders.care_settingextension - CareSetting FHIR Extension
Orderconcept : Conceptorders.concept_id : integerextension - Order Concept Extension
TestOrderlaterality : Lateralitytest_order.lateralityextension - Laterality ExtensionFHIR: "Codes describing anatomical locations. May include laterality."

OpenMRS: "Has to be one of: LEFT, RIGHT, BILATERAL"
TestOrderclinicalHistory : Stringtest_order.clinical_history
ProcedureRequest.relevantHistory : Reference(Provenance)TestOrderfrequency : OrderFrequency

// orders.instructions

ProcedureRequest.dosageInstruction : DosageTestOrdernumberOfRepeats : Integer// orders.instructionsProcedureRequest.dosageInstruction : Dosage
extension - Clinical History Extension
TestOrderpatient : Patientorders.patient_idsubject : Reference
Orderencounter : Encounterorders.encounter_idcontext : Reference
Orderorderer : Providerorders.ordererrecorder : Reference
Orderurgency : Urgencyorders.urgencypriority : ProcedureRequestPriority
Orderaction : Actionorders.order_actionstatus : ProcedureRequestStatus