Skip to main content

Filter


Use the Appointment Filter screen to define filter criteria and return filtered appointment results. The integrator renders the filter panel and submits the selected filter model.


This screen includes:

  • Text fields:
    • Reference number
    • Doctor or clinic
    • Patient name
    • Date of birth
  • A multiselect list for appointment status
  • Start date and End date fields
  • Apply and Reset actions
  • A quick filter bar for common statuses
  • An optional sort panel
  • Field-level validation
  • A Close action

Workflow

This sequence describes how the doctor filters the appointment list.

  1. Select the Filter icon in the Appointments toolbar.
  2. Enter one or more filter criteria:
    • Reference number (digits only)
    • Start date and End date
    • Doctor or clinic name
    • Patient name
    • Date of birth (YYYY-MM-DD)
    • Status: New requests, Offered appointments, Scheduled, After visit, Cancelled / Refused
  3. Select Apply to update the appointment list.
  4. Review the filtered results.
  5. Select Reset to clear all values and restore the default list.

Validations

These rules define when the SDK blocks submission or returns validation errors.

ScenarioApp behaviorSDK output
No filter values exist.Apply remains disabled.No request submitted.
End date occurs before start date.Highlight date fields and block submission.Field validation error.
Status value is not valid.Block selection.Validation error.
Date of birth occurs in the future.Highlight field and block submission.Validation error.
Reference number contains non-digit characters.Block submission.Validation error.

Actions

These actions submit or reset the filter model.

ScenarioApp behaviorSDK output
Select Apply.Submit the filter model.Return filtered appointment list.
Select Reset.Clear all fields.Return default appointment list.
Select Close.Close the panel.No update.
Update multiple fields.Combine filter criteria.Return filtered results.
Select sort option.Update result order.Return sorted results.

Endpoint Resources

Appointment Filter Screen

PUT 

/profile/appointments/filter

Produces the Appointment Filter screen.
A successful response returns a page object that follows the internal Put Response Format and defines the filter panel layout and available field values.

Platform Variants

VariantBehaviorExample
MobileOpens as a full-screen overlay with vertically stacked fields. Tapping outside closes the panel.(see below)
DesktopDisplays as a left-side panel with compact spacing. Filtering updates the list in real time.(see below)
Mobile:
Desktop:

UI Element Types

LevelReferenceTypeValuePlacement
1referenceEditReference no.
1start-dateDateStart date
1end-dateDateEnd date
1profile-idComboProfile name
1patient-nameEditPatient name
1patient-birthdayDateDate of birth
1status-groupMultiselectStatus (values: New requests, Offered appointments, Scheduled appointments, After visit, Cancelled / Refused)
1resetSecondaryReset
1applyButtonApply Filter~

Reset Filter

PATCH 

/profile/appointments/filter/reset

Resets all filter values to their default state.
A successful response returns an update set that restores the unfiltered appointment list.

Apply Appointment Filter​

POST 

/profile/appointments/filter

Applies the selected filter criteria and returns the filtered appointments.

Parameters

NameTypeRequiredDescription
referenceStringNoUnique appointment reference number.
start-dateDateNoStart of the search range. Uses the doctor's time zone.
end-dateDateNoEnd of the search range. Uses the doctor's time zone.
profileIntegerNoUnique identifier for the doctor's profile.
patient-nameStringNoPatient name.
patient-date-of-birthDateNoPatient's date of birth.
status-groupList<Enum>NoAppointment status group. Valid values: new-requests, offered-appointments, scheduled-appointments, after_visit, cancelled
location-typeList<Enum>NoVisit type. Valid values: home, clinic, video

Errors

CodeDescription
FIELDS_VALIDATION_ERROROne or more required fields are invalid.