Skip to main content

Time Location Selection


Use Time and Location Selection to select an appointment date, location, and time slot.



This screen includes:

#ElementDescription
1HeaderDisplays doctor image, name, specialty, and back navigation
2Date selectorDisplays available appointment dates
3Location cardDisplays an available appointment location or visit type
4Distance indicatorDisplays the distance from the patient for applicable locations
5Time slot listDisplays available appointment times for the selected date
6More actionLoads additional appointment times
7Clinic availability sectionDisplays available appointment times for a clinic location
8Video availability sectionDisplays available appointment times for video appointments

Workflow

  1. Open the time and location selection flow for a selected doctor.
  2. Load availability for the selected doctor, date, specialty, and visit type.
  3. Display available locations for the selected date.
  4. Display available time slots for each location.
  5. Select a time slot.
  6. Continue the booking flow.

Appointment types

Appointment type indicators identify supported visit types.

  • Clinic
  • Home
  • Video

Behavior

  • Display only visit types returned for the selected doctor and date.
  • Display location details for clinic and home visits when available.
  • Display video availability as a separate availability section when available.
  • Preserve the selected visit type when availability refreshes.

Required information behavior

Some appointment options require additional information later in the booking flow.

  • Allow time slot selection without collecting additional information on this screen.
  • Continue to the next required step after time slot selection.
  • Display only fields required for the selected appointment option in the next step.

Validations

ScenarioApp BehaviorSDK Output
profile-id missingBlock availability requestvalidation = required
date missingBlock availability requestvalidation = required
specialty missingBlock availability requestvalidation = required
specialty unsupportedDisplay error stateerror = invalid_specialty
location-type unsupportedDisplay error stateerror = invalid_location_type
No locations availableDisplay unavailable statelocations = empty
No time slots availableDisplay unavailable stateslots = empty
Slot unavailableDisable slot selectionslot.enabled = false
Availability request succeedsDisplay returned locations and time slotsstatus = 200
Availability request failsDisplay error statestatus = 405

Actions

ScenarioApp BehaviorSDK Output
Screen loadedLoad available locations and time slotsPUT /api/v3/wizard/time-location-selection
Date selectedReload availability for the selected datedate = updated
Visit type selectedReload availability for the selected visit typelocationType = updated
Location selectedSet preferred locationlocationId = updated
Time slot selectedUpdate selected appointment timeslot = selected
Back selectedReturn to previous stepnavigation = back
Continue selectedContinue booking flownavigation = continue

Endpoint Resources

Load Available Locations

PUT 

v3/wizard/time-location-selection

Returns available appointment dates, locations, and time slots

Hide More Locations

PATCH 

v3/wizard/time-location-selection/locations/less

Collapses the list of available locations.

Show More Locations

PATCH 

v3/wizard/time-location-selection/locations/more

Expands the list of available locations.

Show More Time Slots

PATCH 

v3/wizard/time-location-selection/time-slots/more

Displays additional available time slots for the selected location.