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

Order Service does not allow saving Order Groups with an OrderContext

    XMLWordPrintable

Details

    • Enhancement
    • Status: Ready for Work
    • Should
    • Resolution: Unresolved
    • None
    • None
    • None
    • Low

    Description

      In our Order Service, we have API methods that allow saving Orders with a specific Order Context.  This allows (among other things) to set default care settings and to add specific rules around whether to allow more than one order for a given orderable.

      However, when we added support for Order Groups, we never included the ability to save an Order Group with a specific Order Context.  This means that under the hood, we simply iterate over the Orders in the Order Group and call saveOrder on each with a null OrderContext.

      Support should be added for this.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                mseaton Mike Seaton
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated: