Skip to main content

Doctor Page


Use Doctor Details to display doctor profile information, availability, clinics, and patient reviews.

Displayed sections and review pagination derive from the doctor-details response.



This screen includes:

#ElementDescription
1Doctor headerDisplays doctor image, specialty, rating, and review count
2Availability selectorDisplays available booking dates
3Details tabDisplays languages and experience
4About tabDisplays biography, education, and licenses
5Clinics tabDisplays clinic locations
6Reviews tabDisplays patient reviews
7Show more actionLoads additional reviews

Workflow

  1. Open a doctor profile from search results or booking flow.
  2. Request doctor details.
  3. Render doctor profile and availability.
  4. Navigate between profile tabs.
  5. Select an available booking date when supported.
  6. Load additional reviews when requested.
  7. Continue to booking.

Validations

ScenarioApp BehaviorSDK Output
Session validRender doctor detailsstate = loaded
Session invalidBlock accessstate = unauthenticated
doctorId validDisplay profile informationdoctor = available
doctorId invalidDisplay error stateerror = invalid_doctor
Availability existsEnable date selectionavailability = available
Availability unavailableDisable booking selectionavailability = empty
Reviews availableDisplay Reviews tabreviews = available
Additional reviews availableEnable paginationreviews = pageable
Review list exhaustedHide Show more actionreviews = complete

Actions

ScenarioApp BehaviorSDK Output
Screen openedLoad doctor detailsPUT /api/v3/doctor-details
Availability loadedRender available datesavailability = loaded
Date selectedUpdate selected availabilitydate = selected
Tab selectedRender selected contenttab = updated
Show more selectedLoad additional reviewsPATCH /api/v3/doctor-details/show-more
Status bar refreshedUpdate doctor status informationPATCH /api/v3/doctor-details/update/status-bar
Booking selectedContinue booking flownavigation = booking
Request rejectedDisplay error statestate = error

Endpoint Resources

Doctor Page

PUT 

v3/doctor-details

Displays information about a doctor.

Patch Review List

PATCH 

v3/doctor-details/show-more

Loads the next page of doctor reviews.

Patch Review List

PATCH 

v3/doctor-details/show-more

Loads next page of doctor reviews.