Skip to main content

Clinic Only


Use Clinic Only when the specified address supports clinic appointments but does not support home visits.



This screen includes:

#ElementDescription
1Availability messageStates that only clinic appointments are available
2OK actionContinues with clinic appointments
3Close actionDismisses the popup

Workflow

  1. Validate the specified address.
  2. Detect that only clinic appointments are available.
  3. Call PUT /api/v3/appointments/book/error/clinic-only.
  4. Display the Clinic Only popup.
  5. Select OK to continue with clinic appointments.

Validations

ScenarioApp behaviorSDK output
Address supports clinic appointments onlyDisplay the popupPage object
Home visits are availableContinue the current flowNo error page
Request returns 405Display an application errorError response
Session is invalidReject the requestAuthentication error

Actions

ScenarioApp behaviorSDK output
OK selectedContinue with clinic appointmentsNavigation event
Close selectedDismiss the popupClose event

Endpoint Resources

Clinic Only

PUT 

v3/appointments/book/error/clinic-only

Returns a popup when the specified address supports clinic appointments only.