FHIR Mapping
...
OpenMRS TestOrder class extends Order class.
OpenMRS class | OpenMRS field | DB field | FHIR field | Details |
---|---|---|---|---|
TestOrder | specimenSource : Concept | test_order.specimen_source | specimen : Reference(Specimen) | |
TestOrder | laterality : Laterality | test_order.laterality | bodySite : CodeableConcept | FHIR: "Codes describing anatomical locations. May include laterality." OpenMRS: "Has to be one of: LEFT, RIGHT, BILATERAL" |
TestOrder | clinicalHistory : String | test_order.clinical_history | relevantHistory : Reference(Provenance) | |
TestOrder | frequency : OrderFrequency numberOfRepeats : Integer | order.instructions | occurenceTiming : Timing | See table FHIR Timing class |
FHIR Timing class - description
OpenMRS class | OpenMRS field | DB field | FHIR field | Details |
---|---|---|---|---|
OrderFrequency | frequencyPerDay : Double | order.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 |
TestOrder | numberOfRepeats : Integer | order.instructions | repeat.count : integer |
...