Skip to main content

Filters


Use the Filters drawer to refine doctor search results.

The drawer displays filters that apply to the active specialty, location, and visit type.



This screen includes:

#ElementDescription
1HeaderDisplays the Filter title and close action
2Visit type sectionDisplays available visit type filters
3Language selectorOpens the preferred language filter
4Doctor gender sectionFilters results by doctor gender
5Appointment dates sectionFilters results by available dates
6Prescription optionFilters results by prescription availability
7Sort sectionSorts results by the selected option
8Reset filters actionClears selected filters
9Filter actionApplies selected filters to the result set

Workflow

  1. Open the Doctor List screen.
  2. Select the filter action.
  3. Open the Filters drawer.
  4. Select filter and sort options.
  5. Select Filter.
  6. Return updated results to the Doctor List.

Validations

ScenarioApp BehaviorSDK Output
Filter drawer opensDisplay current filter criteriaPUT /api/v3/doctors/filter
Filter value changesUpdate the active filter statePATCH /api/v3/doctors/filter
Preferred language changesUpdate language filter statePATCH /api/v3/doctors/update-from-preferred-language
Reset filters selectedRestore default filter valuesPATCH /api/v3/doctors/filter/reset
Filter appliedRefresh Doctor List resultsPATCH /api/v3/doctors/update
Request failsDisplay error statestatus = 405

Actions

ScenarioApp BehaviorSDK Output
Filter action selectedOpen the filter drawerPUT /api/v3/doctors/filter
Filter option selectedUpdate filter statePATCH /api/v3/doctors/filter
Language selector selectedOpen preferred language filternavigation = preferred_language_filter
Preferred language savedUpdate filter state with selected languagesPATCH /api/v3/doctors/update-from-preferred-language
Reset filters selectedClear selected filtersPATCH /api/v3/doctors/filter/reset
Filter selectedApply filters and refresh resultsPATCH /api/v3/doctors/update
Close selectedClose the drawer without applying changesnavigation = dismiss

Endpoint Resources

Doctor Filter

PUT 

v3/doctors/filter

Opens the doctor list filter screen with the current search and filter criteria.

Update Doctor Filter

PATCH 

v3/doctors/filter

Updates the doctor filter based on the selected search and filter criteria.

Reset Filter

PATCH 

v3/doctors/filter/reset

Resets the doctor filter to its default state.

Update Doctor Filter Preferred Language

PATCH 

v3/doctors/update-from-preferred-language

Updates the doctor filter using the selected preferred language criteria.

Update Doctor List by Location Type

PATCH 

/v3/doctors/update

Updates the doctor list based on the selected visit type, sort option, and specialty.

Update Doctor Card Details

PATCH 

v3/doctors/update/doctor-card

Refreshes doctor card details for the selected doctors based on the applied search and filter criteria.