XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Labels:
    • Complexity:
      Medium
    • Sprint:
      Sprint 1

      Description

      Currently if you query the order resource like this:

      GET .../order?patient=uuid&careSetting=uuid
      GET .../order?t=drugorder&patient=uuid&careSetting=uuid
      

      ...then you only get back the patient's active orders. This is unintuitive.

      Further there is actually no way to get inactive orders via web service. I need to do this for the order entry UI I'm building.

      I suggest:

      • change the current behavior so that the queries above return all orders
      • support a parameters like active=true|false which lets you get only active or only inactive orders

      Dev notes

      Changes must be made to org.openmrs.module.webservices.rest.web.v1_0.resource.openmrs1_10.OrderResource1_10 and to all subclass handlers. (If there is a need to prioritize, I only really care about drug orders at the present time.)

        Attachments

          Activity

            People

            Assignee:
            wyclif Wyclif Luyima [X] (Inactive)
            Reporter:
            darius Darius Jazayeri [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Time Spent - 3 hours Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - 3 hours Remaining Estimate - 1 hour
                3h