Uploaded image for project: 'Appointment Module'
  1. Appointment Module
  2. AM-138

Add the ability to do a fuzzy search for Appointment Types but ignore retired

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Labels:
      None
    • Complexity:
      S

      Description

      Right now the Appt Module API provides the means to do a fuzzy search for AppointmentTypes via the API method List<AppointmentType> getAppointmentTypes(String fuzzySearchPhrase).

      However, this method returns both retired and non-retired appointment types.

      We need to:

      1) Create a new method getAppointmentTypes(String fuzzySearchPhrase, boolean includeRetired)

      2) Have the old method delegate to this method, with includeRetired=true

      3) In the REST AppointmentTypeResource1_9 doSearch method call this new API method, passing in context.getIncludeAll as the includeRetired parameter

      4) In the AppointTypeResource1_9ControllerTest, remove the @Ignore from the method that tests this functionality and make sure that it now works

        Attachments

          Activity

            People

            Assignee:
            pamcdm Pamela Mori
            Reporter:
            mogoodrich Mark Goodrich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: