Skip to main content

Clinic Details


The Clinic Details screen shows clinic availability, address privacy status, and a map preview for a selected clinic. Patients open this screen from the doctor details flow or clinic lists.

This screen includes

  • Date selector: buttons for available dates (for example, Today, Sep 10, Sep 11). Disabled dates are not interactive.
  • Working hours: day rows with open and close times.
  • Location: privacy note that defers the exact address until confirmation.
  • Map preview: embedded map with zoom controls and the clinic area marker.
  • Navigation: back button and settings icon in the header.

Workflow

  1. Patient opens Clinic Details from the booking flow or a clinic list.
  2. The screen loads with the selected clinic context.
  3. Patient selects a date from the available options.
  4. The screen highlights the selected date and shows the relevant hours.
  5. Patient continues the booking flow from the selected date.

Validations

  • A clinic record exists in the Air Doctor App.
  • The selected date is active. Disabled dates are not valid.
  • Open and close times use the clinic’s local timezone.
  • The map loads with valid coordinates for the clinic area.
  • Only signed-in patients access the screen. Anonymous sessions are blocked.
  • The privacy note displays when the exact address remains hidden until appointment confirmation.

Actions

  • On load: The client fetches clinic profile, available dates, and opening hours from the API.
  • On date selection: The client highlights the selected date and prepares availability for booking.
  • On map ready: The client centers the map on the clinic area and enables zoom controls.
  • On error: The screen shows an inline error message with retry guidance.

Endpoint Resources

🧰 Endpoint Resources under construction