Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4133 Discontinue an order
  3. TRUNK-4138

Remove discontinued and discontinuedBy fields from Order class

    XMLWordPrintable

Details

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

    Description

      • Auto generate discontinue(DC) orders for all currently discontinued orders, the previous_orders fields for the DC orders should be set to the order_ids of the corresponding discontinued orders, this implies that the discontinue_reason and discontinued_reason_non_coded and discontinued_by values should be copied to the corresponding DC order rows. The discontinued_date values of the discontinued ones become the date_created values of the corresponding DC orders. The precondition for the liquibase changeset should fail if there any orders where discontinued is true and the discontinued_date field is null.
      • Rename orders.discontinued_date to date_stopped.
      • Remove the discontinued and discontinued_by fields from orders

      Gliffy Diagrams

        Attachments

          Activity

            People

              vinkesh Vinkesh Banka
              wyclif Wyclif Luyima
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Time Spent - 1 day, 5 hours Remaining Estimate - 3 hours
                  3h
                  Logged:
                  Time Spent - 1 day, 5 hours Remaining Estimate - 3 hours
                  1d 5h