Skip to main content

Clinic Updated


Use Clinic No Longer Available when updated request details make the selected clinic unavailable.

This endpoint applies to users who enter the Wizard from a direct link. The app redirects the patient to the Home screen and displays the popup.



This screen includes:

#ElementDescription
1Unavailable messageExplains why the clinic is unavailable
2Start new search actionCloses the popup on the Home screen
3Close actionDismisses the popup

Workflow

  1. Detect an update to the appointment request.
  2. Confirm that the selected clinic no longer matches the request.
  3. Redirect the patient to the Home screen.
  4. Call PUT /api/v3/appointments/book/error/clinic-unavailable.
  5. Display the Clinic no longer available popup.
  6. Select Start new search.
  7. Close the popup and remain on the Home screen.

Validations

ScenarioApp behaviorSDK output
Selected clinic is unavailableRedirect to Home and display the popupPage object
Request returns 200Render the returned popupPage object
Request returns 405Display an application errorError response
Session is invalidReject the requestAuthentication error

Actions

ScenarioApp behaviorSDK output
Start new search selectedClose the popup and remain on HomeClose event
Close selectedDismiss the popup and remain on HomeClose event

Endpoint Resources

Clinic Updated

PUT 

v3/appointments/book/error/clinic-unavailable

Returns the Clinic no longer available popup for users who enter the Wizard from a direct link.