Skip to main content

Appointment Already Scheduled


Use the Appointment Already Scheduled popup to inform the user that the selected patient already has an appointment with the selected specialty.

This popup prevents duplicate appointment requests for the same patient and specialty.



This screen includes:

#ElementDescription
1Status messageInforms the user that the selected patient already has an appointment with the selected specialty
2OK actionDismisses the popup
3Modal containerDisplays scheduling information and blocks interaction with the underlying screen

Workflow

  1. Start a direct clinic appointment request.
  2. Select a patient and specialty.
  3. Detect an existing scheduled appointment.
  4. Open the Appointment Already Scheduled popup.
  5. Select OK.
  6. Return to the previous flow.

Validations

ScenarioApp BehaviorSDK Output
Existing appointment detectedDisplay warning popupstatus = 200
Patient already has appointment for the selected specialtyBlock duplicate booking flowstate = appointment_exists
Popup request failsDisplay error statestatus = 405
User not authorizedBlock popup accesserror = unauthorized

Actions

ScenarioApp BehaviorSDK Output
Popup opensDisplay appointment warningPUT /api/v3/direct-clinic/error
Existing appointment detectedPrevent duplicate schedulingstate = appointment_exists
OK selectedDismiss popupnavigation = dismiss
Popup dismissedReturn to previous screennavigation = back

Endpoint Resources

Patient Already has a Scheduled Appointment

PUT 

v3/direct-clinic/error

Returns a warning popup when the patient already has a scheduled appointment with the selected provider and location.