Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updates types of OpenMRS field, classes

...

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

status : codeFormula value: OpenmrsUtil.compare(dateActivated, checkDate)status : code
Constant value "ORDER" : String--
intent : codeRequired in FHIR.
Orderurgency : Urgency
priority : codeConstant value "ORDER"
DrugOrderdrug : Drug
medication : CodeableConceptRequired in FHIR. Formula value : drug concepts codings are put into medicationmedication : CodeableConceptRequired in FHIR..
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 : dateTimeFormula value: practitioner Reference
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.Multiple fields are mapped
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 : int



sequence timing : integerTiming

Multiple fields are mapped.

timing : Timing

See table FHIR Timing class.




dose : SimpleQuantity

drug.maxiumumDailyDose : Double
maxDosePerAdministration : SimpleQuantity

...