Data Model - Drug Order, Order Set and Drug Regimen

Continuing this discussion - Summarizing drug orders into treatment regimens

Context As part of endTB project, we are looking at implementing robust drug regimen and templates.

I feel the best place to start is from the order extension module already developed for <=1.9 (https://wiki.openmrs.org/display/docs/Order+Extension+Module). In the light of how OpenMRS has evolved around drug orders in parallel since, this is my proposition. If you feel there are other improvements please discuss, I am putting this as a straw man proposal.

Key Classes Drug Regimen (Order Group) OrderSet (and OrderSetMember and its variations) ExtendedDrugOrder

Order Set, Drug Regimen and OrderSetMember can be used mostly as it is.

Extended Drug Order class needs to go away. Some of the fields are already accommodated in Drug Order. The indication field is not. What should be done about it?

What are the things I am missing? This seems too easy :smile:

1 Like