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 2 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 DrugOrder extends BaseOpenmrsMetadata

OpenMRS classOpenMRS fieldDB fieldFHIR fieldDetails

uuid
id






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

Constant value "ORDER" : String
intent

urgency : Urgency
priority

Formula value : drug concepts codings are put into medication
medication

patient
patientOnly patient reference is put.

encounter
contextEncounter ref is put.

dateCreated
authoredOn

Formula value: practitioner Reference
requester

Formula value: practitioner Reference
recorderReference 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


FHIR SimpleQuantity class

OpenMRS classOpenMRS fieldDB fieldFHIR fieldDetails
DrugOrderdoseUnit.name.name : String
unit : stringName of dose unit name is put
DrugOrderdose : Double
value : decimal



maxDosePerAdministration


  • No labels