Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 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. DB field is not filled in this table.


OpenMRS class DrugOrder extends BaseOpenmrsMetadata

OpenMRS classOpenMRS fieldDB fieldFHIR fieldDetails
BaseOpenmrsObjectuuid : String
id : id
OrderdateActivated : Date,
checkDate : Date

status : codeFormula value: OpenmrsUtil.compare(dateActivated, checkDate)
--
intent : codeRequired in FHIR.
Orderurgency : Urgency
priority : codeConstant value "ORDER"
DrugOrderdrug : Drug
medication : CodeableConceptRequired in FHIR. Formula value : drug concepts codings are put into medication.
Orderpatient : Patient
subject : Reference(Patient)Required in FHIR. Only patient reference is put.
Orderencounter : Encounter
context : Reference(Encounter)Encounter ref is put.
BaseOpenmrsDatadateCreated : Date
authoredOn : dateTime
Orderorderer : Provider
requester : BackboneElementFormula value: practitioner Reference. Reference to a practitioner is put.
Orderorderer : Provider
recorder : Reference(Practitioner)Formula value: practitioner Reference. Reference to a practitioner is put.
DrugOrder

route : Concept,
dosingInstructions : String,
frequency : OrderFrequency,
doseUnits : Concept,
dose : Double


dosageInstruction : Dosage

Multiple fields are mapped.

See table FHIR Dosage class.

DrugOrder

durationUnits : Concept,
duration : Integer,
quantity : Double


dispenseRequest : BackboneElementMultiple fields are mapped.


FHIR Dosage class

OpenMRS classOpenMRS fieldDB fieldFHIR fieldDetails

Formula value: codings CodeableConcepts
route : CodeableConcept
DrugOrderdosingInstructions : String
text : string

-
sequence : integerConstant int value 1



timing : Timing

Multiple fields are mapped.

See table FHIR Timing class.




dose : SimpleQuantity

drug.maxiumumDailyDose : Double
maxDosePerAdministration : SimpleQuantity


FHIR Timing class

OpenMRS classOpenMRS fieldDB fieldFHIR fieldDetails
OrderFrequencyFormula value: list timing codes
code : CodeableConcept


FHIR SimpleQuantity class

OpenMRS classOpenMRS fieldDB fieldFHIR fieldDetails
DrugOrderdoseUnit.name.name : String
unit : stringName of dose unit name is put
DrugOrderdose : Double
value : decimal
DrugmaximumDailyDose : Double
maxDosePerAdministration : SimpleQuantity
  • No labels