Skip to main content

Existing Appointment


Use Existing Appointment to notify users when an appointment already exists for the selected specialty.

The popup appears before booking continues and allows the user to review the warning or continue with another booking.



This screen includes:

#ElementDescription
1Warning messageIndicates that an appointment already exists for the selected specialty
2OK actionDismisses the popup
3Book another visit actionContinues the booking flow
4Modal containerDisplays the scheduled appointment warning
5Background overlayPrevents interaction with the underlying screen while the popup is open

Workflow

  1. Open appointment scheduling.
  2. Select a doctor and specialty.
  3. Detect an existing appointment in the selected specialty.
  4. Display the Scheduled Appointment popup.
  5. Select OK to dismiss the popup or Book another visit to continue booking.

Validations

ScenarioApp BehaviorSDK Output
Existing appointment foundDisplay Scheduled Appointment popupstatus = scheduled
No existing appointment foundContinue booking flowstatus = available
Request blockedDisplay restriction messagestatus = error

Actions

ScenarioApp BehaviorSDK Output
Popup loadedDisplay scheduled appointment warningPUT /api/v3/wizard/time-location-selection/scheduled-appointment-popup
OK selectedDismiss popupstate = dismissed
Book another visit selectedContinue booking flownavigation = continue

Endpoint Resources

Existing Appointment

PUT 

v3/wizard/time-location-selection/info/scheduled-appointment

Opens a popup that informs the user about an existing appointment in the selected specialty.