Skip to main content

Clinic Details


Use Clinic Details to display clinic availability, working hours, and location information.

Displayed sections derive from the selected clinic and current booking context.



This screen includes:

#ElementDescription
1Date selectorDisplays available booking dates
2Working hoursDisplays daily opening hours
3Location sectionDisplays clinic location information
4Privacy noticeDisplays when the exact address is restricted
5Map previewDisplays clinic area when coordinates exist
6Back actionReturns to the previous screen

Workflow

  1. Open clinic details from Doctor Details or a clinic list.
  2. Request clinic details.
  3. Render availability, working hours, and location data.
  4. Select an available date when supported.
  5. Continue the booking flow

Validations

ScenarioApp BehaviorSDK Output
Session validRender clinic detailsstate = loaded
Session invalidBlock accessstate = unauthenticated
clinicId validDisplay clinic informationclinic = available
clinicId invalidDisplay error stateerror = invalid_clinic
Availability existsEnable date selectionavailability = available
Availability unavailableDisable booking selectionavailability = empty
Selected date validEnable continuationdate = valid
Selected date invalidBlock selectionerror = invalid_date
Working hours availableDisplay working hourshours = available
Working hours unavailableHide working hourshours = unavailable
Coordinates availableDisplay map previewmap = available
Coordinates unavailableHide map previewmap = unavailable
Address restrictedDisplay privacy noticeaddress = restricted

Actions

ScenarioApp BehaviorSDK Output
Screen openedLoad clinic detailsPUT /api/v3/clinic-details
Date selectedUpdate selected availabilitydate = selected
Map renderedCenter map on clinic areamap = rendered
Booking selectedContinue booking flownavigation = booking
Back selectedReturn to previous screennavigation = back
Request rejectedDisplay error statestate = error

Endpoint Resources

Clinic

PUT 

v3/clinic-details

Opens the clinic details screen.