FHIR Mapping
...
OpenMRS Order documentation - Order Entry API.
OpenMRS class DrugOrder extends Order and is mapped to FHIR's MedicationRequest
OpenMRS class | OpenMRS field | DB field | FHIR field | Details |
---|---|---|---|---|
DrugOrder | dose : Double | drug_order.dose | dosageInstruction : Dosage | See table FHIR Dosage class |
DrugOrder | doseUnits : Concept | drug_order.units | dosageInstruction : Dosage | See table FHIR Dosage class |
DrugOrder | frequency : OrderFrequency | drug_order.frequency | dosageInstruction : Dosage | See table FHIR Dosage class |
DrugOrder | asNeeded : Boolean | drug_order.prn | dosageInstruction : Dosage | PRN = "As Needed", See table FHIR Dosage class |
DrugOrder | quantity : Double | drug_order.quantity | dispenseRequest.quantity : SimpleQuantity | See table FHIR SimpleQuantity class |
DrugOrder | quantityUnits : Concept | - | dispenseRequest.quantity : SimpleQuantity | See table FHIR SimpleQuantity class |
DrugOrder | drug : Drug | drug_order.drug_inventory_id | medicationCodeableConcept : CodeableConcept | - |
DrugOrder | asNeededCondition : String | - | dosageInstruction : Dosage | See table FHIR Dosage class |
DrugOrder | dosingType: DosingInstructions | - | extension | - |
DrugOrder | numRefills : Integer | - | extension | - |
DrugOrder | dosingInstructions : String | order.instructions | dosageInstruction : Dosage | See table FHIR Dosage class |
DrugOrder | duration : String | - | dosageInstruction : Dosage | See table FHIR Dosage class |
DrugOrder | durationUnits : Concept | - | dosageInstruction : Dosage | See table FHIR Dosage class |
DrugOrder | route : Concept | - | dosageInstruction : Dosage | See table FHIR Dosage class |
DrugOrder | brandName : String | - | extension | - |
DrugOrder | dispenseAsWritten : Boolean | - | extension | - |
DrugOrder | drugNonCoded : String | - | extension | - |
...
OpenMRS class | OpenMRS field | DB field | FHIR field | Details |
---|---|---|---|---|
DrugOrder | frequency : OrderFrequency | drug_order.frequency | 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 |
DrugOrder | duration : String, durationUnits : Concept | - - | repeat.duration : decimal, repeat.durationUnit : code | if there's a duration, durationUnit is required |