Doctor Details
The Doctor Details screen provides profile and availability information for a selected doctor. Patients access this screen by selecting a doctor from search results or from the appointment booking flow. This screen requires a signed-in session.
This screen includes
- Doctor header: photo, name, specialty, star rating, and review count.
- Date selector: options for available dates (for example, Today, Aug 29). Disabled dates cannot be selected.
- Tabs:
- Details: years of experience, languages spoken.
- About: university, biography, license number.
- Clinics: clinic name, distance, and a More info link.
- Reviews: list of patient reviews with rating, date, and reviewer name.
Workflow
- Patient selects a doctor.
- The Doctor Details screen loads.
- Patient selects an available date. Disabled dates cannot be tapped.
- Patient navigates between tabs:
- Details shows quick facts.
- About shows biography and credentials.
- Clinics shows clinic information.
- Reviews shows patient feedback.
- Patient continues booking by selecting a date and confirming.
Validations
- A doctor record must exist in the Air Doctor App.
- The selected date must be active. Disabled dates are not valid.
- The More info link must resolve to a valid clinic profile.
- Biography and education fields must comply with backend length and character constraints.
- The license number must match the backend’s ID format.
- Only signed-in patients can access the screen. Anonymous sessions are blocked.
Actions
- On load: The client fetches doctor profile, availability, and reviews from the API.
- On date selection: The client highlights the selected date and prepares availability for booking.
- On tab change: The client loads and displays data for the selected tab.
- On error: The screen shows an inline error message and guidance to retry.
- On More info: The client navigates to the clinic detail screen.
Endpoint Resources
🧰 Endpoint Resources under construction
