Drug synchronization

FHIR Mapping

This is a suggestion on how to map OpenMRS drug object into FHIR Medication.

Fields which didn't match into FHIR representation are marked on red. Keyword extension means that FHIR Extension has to be used to synchronize this field.
Fields which partially match into FHIR representation are marked on orange.

Fields from parent classes are omitted.



OpenMRS class Drug extends BaseOpenmrsMetadata

OpenMRS class

OpenMRS field

DB field

FHIR field

Details

OpenMRS class

OpenMRS field

DB field

FHIR field

Details

Drug

combination : False

combination :

extension

Missing in FHIR.

Drug

dosageForm : Concept

dosage_form :

form : CodeableConcept



Drug

maximumDailyDose : Double

maximum_daily_dose :

extension

Missing in FHIR.

Drug

minimumDailyDose : Double

minimum_daily_dose :

extension

Missing in FHIR.

Drug

strength : String

strength :

extension

Missing in FHIR.

Drug

concept : Concept

concept_id

code : CodeableConcept

Just concept Id will be synchronized.

Drug

drugReferenceMaps : Set<DrugReferenceMap

One to Many relation.

extension

Missing in FHIR.

Drug

ingredients : Set<DrugIngredient>

One to Many relation.

ingredients: List<Medication.MedicationIngredientComponent>



BaseOpenmrsMetadata

name : String

name : varchar(255)

extension

Missing in FHIR.



OpenMRS class DrugIngredient extends BaseOpenmrsObject. FHIR class Medication.MedicationIngredientComponent

.

OpenMRS class

OpenMRS field

DB field

FHIR field

Details

OpenMRS class

OpenMRS field

DB field

FHIR field

Details

DrugIngredient

drug : Drug

drug_id : INT

-

Can be deduced from JSON structure

DrugIngredient

ingredient : Concept

ingredient_id : INT

itemCodeableConcept : CodeableConcept



DrugIngredient

strength : Double

strength :

extension



DrugIngredient

units : Concept

units :

extension







OpenMRS class DrugReferenceMap extends BaseOpenmrsObject. FHIR class not identified.

OpenMRS class

OpenMRS field

DB field

FHIR field

Details

OpenMRS class

OpenMRS field

DB field

FHIR field

Details

DrugReferenceMap

drugReferenceMap : Integer

drug_reference_map_id :





DrugReferenceMap

drug : Drug

drug_id :





DrugReferenceMap

conceptReferenceTerm : ConceptReferenceTerm

term_id :





DrugReferenceMap

conceptMapType : ConceptMapType

concept_map_type :





DrugReferenceMap

creator : User

creator :





DrugReferenceMap

dateCreated : date

date_created :





DrugReferenceMap

changedBy : User

changed_by





DrugReferenceMap

dateChanged : Date

date_changed







OpenMRS class ConceptReferenceTerm extends BaseOpenmrsObject. FHIR class not identified.

































OpenMRS class ConceptSource extends BaseOpenmrsMetadata. FHIR class not identified.

































OpenMRS class ConceptMapType extends BaseOpenmrsObject. FHIR class not identified.