Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4152 Write a medication order
  3. TRUNK-4126

Add duration and durationUnits properties to DrugOrder class

    XMLWordPrintable

Details

    • Low
    • Order Entry 1.10 Iteration 2, Order Entry 1.10 Iteration 3

    Description

      • Add liquibase changeset to add duration(double) field to drug_order table
      • Order duration field of type Double to DrugOrder class
      • Update Order.hbm.xml(see joined-subclass tag that maps to DrugOrder) file to include duration property
      • Add liquibase changeset to add duration_units(int) to drug_order table (Remember to include the foreign key constraint to concept.concept_id)
      • Add durationUnits field of type Concept to DrugOrder class
      • Update Order.hbm.xml file(see joined-subclass tag that maps to DrugOrder) to include durationUnits property
      • update DrugOrder.copyHelper() to take care of the new properties

      Gliffy Diagrams

        Attachments

          Activity

            People

              k.joseph Kaweesi Joseph
              wyclif Wyclif Luyima
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 5 hours
                  5h
                  Remaining:
                  Time Spent - 3 hours Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - 3 hours Remaining Estimate - 2 hours
                  3h