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 4 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

uuid
id : id

Formula value: OpenmrsUtil.compare(dateActivated, checkDate)
status : code

Constant value "ORDER" : String
intent : codeRequired in FHIR.

urgency : Urgency
priority : code

Formula value : drug concepts codings are put into medication
medication : CodeableConceptRequired 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 classOpenMRS fieldDB fieldFHIR fieldDetails

Formula value: codings CodeableConcepts
route : CodeableConcept
DrugOrderdosingInstructions : 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 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