Versions Compared

Key

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

FHIR Mapping

...


OpenMRS TestOrder class extends Order class.

OpenMRS TestOrder is mapped to FHIR's ProcedureRequest.

OpenMRS classOpenMRS fieldDB fieldFHIR fieldDetails
TestOrderspecimenSource : Concepttest_order.specimen_sourcespecimen : Reference(Specimen)-
TestOrderlaterality : Lateralitytest_order.laterality

bodySite : CodeableConcept

FHIR: "Codes describing anatomical locations. May include laterality."

OpenMRS: "Has to be one of: LEFT, RIGHT, BILATERAL"
TestOrderclinicalHistory : Stringtest_order.clinical_historyrelevantHistory : Reference(Provenance)-
TestOrder

frequency : OrderFrequency,

numberOfRepeats : Integer

order.instructions

occurenceTiming : TimingSee table FHIR Timing class

...

OpenMRS class

OpenMRS field

DB field

FHIR field

Details

OrderFrequencyfrequencyPerDay : Doubleorder.instructions

repeat.frequency : integer,

repeat.period : decimal,

repeat.periodUnit : UnitsOfTime

frequencyPerDay = frequency / (period * periodUnit), where period=1, periodUnit=d

if there's a period, periodUnit is required

TestOrdernumberOfRepeats : Integerorder.instructionsrepeat.count : integer-

...