Skip to main content

Search Location


Use Search Location to resolve the patient location before displaying doctor availability and booking options.

The selected location determines supported services, doctor availability, pricing, and booking flows.



This screen includes:

#ElementDescription
1Branding headerDisplays the Air Doctor logo
2Location selectorOpens location search and selection
3Location illustrationIndicates location-based doctor discovery
4Availability messageExplains nearby doctor search behavior
5Use current location actionRequests device location access
6Enter location actionOpens manual location search
7Bottom navigationOpens primary app sections
8Notification indicatorDisplays unread updates when available

Workflow

  1. Open the onboarding or Home location flow.
  2. Request the location screen configuration.
  3. Select Use current location or Enter location.
  4. Search for a location when manual selection is used.
  5. Display predicted locations.
  6. Select a location.
  7. Refresh Home content for the selected location.

Validations

ScenarioApp BehaviorSDK Output
Location permission grantedResolve device locationlocation = resolved
Location permission deniedKeep manual search flow availablelocation = denied
Search input emptyHide prediction resultsresults = empty
Search returns matchesDisplay predicted locationsresults = available
Search returns no matchesDisplay empty stateresults = unavailable
Selected location supportedLoad Home contentavailability = available
Selected location unsupportedDisplay unsupported stateavailability = unavailable
Session invalidBlock accessstate = unauthenticated

Actions

ScenarioApp BehaviorSDK Output
Location screen openedLoad location flowPUT /api/v3/home/location
Search value updatedRefresh predicted locationsPATCH /api/v3/home/location/search
Predicted location selectedLoad Home content for locationPATCH /api/v3/home/location/show
Current location selectedResolve device coordinateslocation = requested
Location resolvedRefresh Home availabilitylocation = updated
Request rejectedDisplay error statestate = error

Endpoint Resources

PUT 

v3/home/location

Produces the patient search location screen.

Search Location

PATCH 

v3/home/location/search

Predicts locations from user input.

Select Location

PATCH 

v3/home/location/show

Selects a location and presents Home page content based on that location.