Skip to main content

Far Initial Search


Use Far Initial Search when the patient selects an address that differs from the address used for the initial search.

The Air Doctor app requires a new search for the updated address.



This screen includes:

#ElementDescription
1Address messageExplains why a new search is required
2OK actionStarts a new search
3Close actionDismisses the popup

Workflow

  1. Compare the selected address with the initial search address.
  2. Detect an address change.
  3. Call PUT /api/v3/appointments/book/error/asap-unavailable-in-location.
  4. Display the Far Initial Search popup.
  5. Select OK.
  6. Start a new search for the updated address.

Validations

ScenarioApp behaviorSDK output
Selected address differs from the initial addressDisplay the popupPage object
Selected address matches the initial addressContinue the current searchNo error page
Request returns 405Display an application errorError response
Session is invalidReject the requestAuthentication error

Actions

ScenarioApp behaviorSDK output
OK selectedStart a new search for the updated addressNavigation event
Close selectedDismiss the popupClose event

Endpoint Resources

PUT 

v3/appointments/book/error/asap-unavailable-in-location

Returns a popup when the selected address differs from the initial search address and a new search is required.