EA-1 | Vinay, Rohan, Indraneel, Shruthi | Implementing DrugOrder add, revise and stop.
- Reflecting changes to duration units from TRUNK-4446
- Adding integration test for discontinuing orders
- Rename non-version specific base test
- Introduce profiles in omod to run tests against OpenMRS 1.9 and OpenMRS 1.10
- Moved DrugOrderBuilder to 1.10
- Moved TestOrderBuilder to 1.10
- Fixed EncounterTransaction.DrugOrder to incorporate contract changes from 1.10
- Removed all references to old order entry
EA-1 | Rohan, Shruthi | Pulling out DrugMapper from DrugOrderMapper
EA-1 | Rohan, Shruthi | Implemented feedback for DO changes
Rohan | Changed the quantity type from Integer to Double
Implement review comments for EA-1. Details below.
1. Add javadoc to OpenMRSDrugOrderMapper.
2. Use HibernateUtil.getRealObjectFromProxy instead of reflection in OrderMapper1_10.
3. Introduce OrderMetadataService to retrieve specific objects for orderfrequency and durationUnits.
4. Rename *110Test classes to *1_10
5. Remove Mock* objects and instead introduce optional items in constructors.
6. @Componentize EncounterTransactionMapper to introduce the optional constructor.
7. Fix tests.