Skip to main content

Appointment Filter


Use the Filter screen to refine doctor results.


important

Available filters, sorting options, and sections derive from the selected visit type and filter configuration.


Filter screen with visit type, language, gender, date, and sorting options

This screen includes:

#ElementDescription
1Visit type selector (Home/Clinic)Filters by available visit types when applicable
2Language selectorFilters by spoken language
3Gender selectorFilters by doctor gender
4Appointment date selectorFilters by appointment availability
5Prescription filter (Video)Filters doctors who can prescribe medication
6Sort optionsSorts results by configured criteria

Filter Variants

Visit typeSupported filters
Clinic/HomeVisit type, language, gender, appointment date, distance, cost, experience
VideoLanguage, gender, appointment date, prescription support, relevance, cost

Workflow

  1. Open Doctor List.
  2. Select Filter.
  3. Render filter configuration.
  4. Update one or more filter values.
  5. Apply filters.
  6. Refresh doctor results.

Validations

ScenarioApp BehaviorSDK Output
Date range invalidBlock submissionerror = invalid_date_range
End date missingBlock submissionerror = invalid_date_range
Patient date of birth invalidBlock submissionerror = invalid_date_of_birth
No matching resultsDisplay empty stateresults = empty
Request in progressDisplay loading statestate = loading
Request rejectedDisplay error statestatus = 405

Actions

ScenarioApp BehaviorSDK Output
Filter openedLoad filter configurationPUT /api/v3/appointments/filter
Filter value updatedUpdate filter statefilter = updated
Status group selectedUpdate status filterstatusGroup = updated
Location type selectedUpdate location filterlocationType = updated
Apply selectedSubmit filter criteriaPOST /api/v3/appointments/filter
Filters appliedRefresh resultsresults = filtered
Reset selectedRestore default filtersPATCH /api/v3/appointments/filter/reset
Cancel selectedClose without changesstate = unchanged
Close selectedDismiss filter screennavigation = dismissed

Endpoint Resources

Filter

PUT 

v3/appointments/filter

Returns the filter screen configuration.

Reset Filter

PATCH 

v3/appointments/filter

Resets the filter screen to the default state.

Apply Filter

POST 

v3/appointments/filter

Applies appointment filter criteria to the appointment list.

ParameterTypeRequiredDescription
referencestringNoAppointment reference or identifier to filter by
start-datedateNoStart date for appointment filtering
end-datedateNoEnd date for appointment filtering
profile-idintegerNoDoctor ID to filter by
patient-namestringNoPatient name for partial-match filtering
patient-date-of-birthdateNoPatient date of birth
status-groupstring[]NoAppointment status groups
location-typestring[]NoAppointment location types