You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 3
Next »
FHIR Mapping
The strategy was originally implemented by Kwateng on 06.08.2017. commit 881e70acf638df9ef8572e4ec96e19e0c5057828
Fields from parent classes are mostly omitted in this table.
OpenMRS class | OpenMRS field | DB field | FHIR field | Details |
---|
| uuid |
| id : id |
|
| Formula value: OpenmrsUtil.compare(dateActivated, checkDate) |
| status : code |
|
| Constant value "ORDER" : String |
| intent : code | Required in FHIR. |
| urgency : Urgency |
| priority : code |
|
| Formula value : drug concepts codings are put into medication |
| medication : CodeableConcept | Required in FHIR. |
| patient : Patient |
| subject : Reference(Patient) | Required in FHIR. Only patient reference is put. |
| encounter : Encounter |
| context : Reference(Encounter) | Encounter ref is put. |
| dateCreated : Date |
| authoredOn : dateTime |
|
| Formula value: practitioner Reference |
| requester : BackboneElement |
|
| Formula value: practitioner Reference |
| recorder : Reference(Practitioner) | Reference to a practitioner is put. |
| Multiple fields are mapped |
| dosageInstruction : Dosage |
|
| Multiple fields are mapped. durationUnits : Concept duration : Integer quantity : Double |
| dispenseRequest : BackboneElement |
|
FHIR Dosage class
OpenMRS class | OpenMRS field | DB field | FHIR field | Details |
---|
| Formula value: codings CodeableConcepts |
| route : CodeableConcept |
|
DrugOrder | dosingInstructions : String |
| text : string |
|
| Constant value 1 : int |
| sequence : integer |
|
| Multiple fields are mapped |
| timing : Timing |
|
|
|
| dose : SimpleQuantity |
|
| drug.maxiumumDailyDose : Double |
| maxDosePerAdministration : SimpleQuantity |
|
FHIR Timing class
OpenMRS class | OpenMRS field | DB field | FHIR field | Details |
---|
OrderFrequency | Formula value: list timing codes |
| code : CodeableConcept |
|
FHIR SimpleQuantity class
OpenMRS class | OpenMRS field | DB field | FHIR field | Details |
---|
DrugOrder | doseUnit.name.name : String |
| unit : string | Name of dose unit name is put |
DrugOrder | dose : Double |
| value : decimal |
|
Drug | maximumDailyDose : Double |
| maxDosePerAdministration : SimpleQuantity |
|