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

getProviders(String query, Integer start, Integer length, Map<ProviderAttributeType, Object> attributes) should allow the option to include or not include retired providers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.9.0, Platform 1.10.0
    • Fix Version/s: OpenMRS 1.9.4, Platform 1.10.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently getProviders(String query, Integer start, Integer length, Map<ProviderAttributeType, Object> attributes) returns all providers that match the query, whether they are retired or not.

      We should create a new method:

      getProviders(String query, Integer start, Integer length, Map<ProviderAttributeType, Object> attributes, boolean includeRetired)

      The old getProviders(..) should then delegate to this new method setting includeRetired=false. (Note that this would change the functionality of the original method to exclude retired providers)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mogoodrich Mark Goodrich
                Reporter:
                mogoodrich Mark Goodrich
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: