Skip to main content

Appointment List


Use the Appointment List screen to review appointments linked to a doctor profile. The screen separates current and previous appointments and provides filter, refresh, export, and navigation actions.

The SDK returns appointment cards in the required display order. Render the cards in the order received.


This screen includes:

#ElementDescription
1Current sectionDisplays active and upcoming appointments
2History sectionDisplays previous appointments
3Filter actionOpens status and date range filters
4Refresh actionRequests the latest appointment data
5Download actionExports appointment data as an .xlsx file
6Appointment cardDisplays patient, visit, date, time, and status information
7Patient detailsDisplays the patient name and date of birth
8Visit detailsDisplays the visit type, date, and time
9Doctor nameDisplays the doctor name when the profile provides access to multiple doctors
10Status indicatorDisplays the appointment status
11Unread message countDisplays the number of unread messages for the appointment
12Account actionOpens the doctor account details

Workflow

View Appointments

  1. Open the Welcome screen.
  2. Select Manage Appointments.
  3. Review appointments in the Current or History section.
  4. Scroll to request additional appointments when more records exist.
  5. Select an appointment card.
  6. Open Appointment Details.

Filter Appointments

  1. Select Filter.
  2. Select one or more appointment statuses.
  3. Set a date range when required.
  4. Select Apply filters.
  5. Review the matching appointments.

Refresh Appointments

  1. Select Refresh.
  2. Request the latest appointment data.
  3. Replace or update the affected appointment cards.
  4. Preserve the server-defined sort order.

Download Appointments

  1. Select Download.
  2. Request the appointment report.
  3. Receive the report as an .xlsx file.

Display Variants

VariantBehavior
MobileOpens the appointment list as a full-screen page
DesktopOpens the appointment list in the welcome-or-details panel

Sort Order

The service defines the appointment order. The client must not apply a separate sort rule.

1. Unread Messages

Appointments with unread incoming messages appear first.

This rule applies only to the doctor view. The service evaluates unread messages across all revisions of an appointment and orders appointments by the latest unread message timestamp.

2. Appointment Status

The service applies the following status priority:

PriorityStatus
1PROPOSED, REQUESTED, ALTERNATIVE_OFFERED, CS_OFFER
2APPOINTMENT_SCHEDULED
3All other statuses

3. Scheduled Time

When appointments have equal message and status priority, the most recent scheduled appointment appears first.


Validations

ScenarioApp behaviorSDK output
Filter set has no valuesDisable Apply filtersstate = invalid
Additional appointments do not existPreserve the current liststate = complete
Appointment card lacks required dataBlock the invalid card or pageerror = schema_validation
Appointment status value is unsupportedBlock the invalid status indicatorerror = invalid_status
Status indicator color is unsupportedBlock the invalid carderror = invalid_color
Export request exceeds the allowed limitBlock the download and display an errorerror = export_limit_exceeded
List request failsPreserve the current screen and display an errorstate = error
Session is invalidBlock access to appointment datastate = unauthenticated

Actions

ScenarioApp behaviorSDK output
Current selectedDisplay current appointmentssection = current
History selectedDisplay previous appointmentssection = history
Filter selectedOpen appointment filtersNavigation event
Filters appliedDisplay matching appointmentsPATCH update set
Refresh selectedRequest the latest appointment dataPage object or PATCH update set
Scroll threshold reachedRequest additional appointment cardsPATCH update set
Appointment card selectedOpen Appointment DetailsNavigation event
Download selectedRequest the appointment reportBinary .xlsx file
Account selectedOpen doctor account detailsNavigation event
List request succeedsRender appointment cards in the returned orderstate = ready

Endpoint Resources

Donwload Appointments (Excel)

GET 

/profile/appointments/all/download.xlsx

Returns an .xlsx file that contains appointment data in a report format.


Appointment List Screen

PUT 

/profile/appointments

Produces the Appointment List page for the doctor.
A successful response returns a complete page object that follows the internal Put Response Format and defines the full layout of the appointment list.

VariantBehaviorExample
Mobile variantOpens as a full-screen view.
Desktop variantLoads in the right-hand embed panel (welcome-or-details) of the Appointments screen.

UI Element Types

LevelReferenceTypeValuePlacement
M-1walk-inToolbar[Walk-in]
M-1filterToolbar[Filter]
M-1downloadToolbar[Download]
M-1refreshToolbar[Refresh]
M-1account-detailsToolbar[Account]
D-1filterSecondaryFilter
D-1spacerSpacer~100%
D-1downloadLink[Download]~
D-1refreshLink[Refresh]~
D-1appointment-list-scrollerScroller
2appointment-card~[appointment-revision-id]Card
3patient-full-nameSectionPatient name
3spacerSpacer~
3countCount~
3birthdayExtraDate of birth
3visit-type-date-timeRegularType, date, time
3doctor-nameRegularDoctor name (if multiple doctors accessible)
3appointment-card-statusRed, Blue, Green, YellowAppointment status (or Yellow, Red, Blue)

Get Previous Appointments

PATCH 

/profile/appointments/load-more

Returns additional appointment cards as a Patch Response Format update set.
Supports infinite scrolling on mobile and desktop.


Update Appointment List

PATCH 

/profile/appointments/update

Updates the appointment list using filters and marker references to refresh the displayed appointment cards.

Returns updates that modify appointment cards, filter values, or internal markers.
The response follows the internal Patch Response Format.