Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4371

Order Service allows duplicate orders

    Details

      Description

      The Order Service is currently allowing duplicate orders, which it should not. For example, you can order "Triomune-40" multiple times for the same patient. You can also order "SERUM CREATININE" tests multiple times for the same patient. The Order Service should not allow two concurrent orders of the same orderable (i.e., concept+drug for drug orders, concept for all other types of orders).

      TODO:

      • OrderService.saveOrder needs to check if an order exists for the same orderable, i.e drug for drug orders and concept for other orders, if an existing order is found for the same orderable it should fail

        Attachments

          Activity

            People

            • Assignee:
              wyclif Wyclif Luyima
              Reporter:
              burke Burke Mamlin
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 6 hours
                6h
                Remaining:
                Time Spent - 5 hours Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - 5 hours Remaining Estimate - 1 hour
                5h