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

    • Type: Enhancement
    • Status: In Progress
    • Priority: Should
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Complexity:
      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

                Assignee:
                tendomart tendo kiiza Martyn
                Reporter:
                mseaton Mike Seaton
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated: