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

Version 1 Next »

As a result of discussions in this talk thread, we have to introduce a new domain for medication statements as an effort towards comprehensive support of medication lists in OpenMRS. This means introducing a "medication_statement" table along with its MedicationStatement object plus a lightweight service layer. 

Modelling

The MedicationStatement  domain object should be a standard POJO that extends BaseFormRecordableOpenmrsData . The "medication_statement" table should contain the columns below:

ColumnDatatypeRequiredFKJava Variable Name Class Type

FHIR Mapping

Comments
medication_statement_idintAuto
medicationStatementIdprimitive

patient_id




subject
status




status
category_idint
concept.concept_id

category
medication






encounter_id




context



adherenceintNoconcept.concept_id



adherence_reasonintNoconcept.concept_id


Should this be a string instead?
medication_start_datedatetime





medication_end_datedatetime





date_asserteddatetime



dateAsserted

information_provider

int
person.person_id

informationSource
medication_reason_idint
concept.concept_idmedicationReason
reasonShould we rename this to medicationReasonCoded and support free text?
notevarchar(1024)



note
dosedouble



dosage.doseAndRate.dose.doseQuantity
dose_unitsint



dosage.doseAndRate.dose.Quantity.unit and/or code
dosing_instructionstext



dosage.textShould we also include coded instructions?
routeint



dosage.route
  • No labels