Skip to main content

Clinic Details


The Clinic Details screen displays clinic availability, working hours, and location metadata for a given clinic.

Patients open this screen from the doctor details flow or clinic lists.

This screen includes:

  • Date selector — Available booking dates. Disabled dates are not interactive.
  • Working hours — Daily open and close times.
  • Location — Privacy notice when the exact address is restricted.
  • Map preview — Clinic area with zoom controls.
  • Navigation — Back button and header controls.

Workflow

  1. Provide a valid clinicId.
  2. Request clinic details.
  3. The platform returns availability, working hours, and location data.
  4. Render the clinic details screen.

Validations

ConditionApp behaviorSDK output
Valid authenticated sessionRender screenSuccessful response
Missing or invalid sessionBlock renderingAuthorization error
Valid clinicIdDisplay clinic dataResponse with clinic details
Invalid clinicIdDisplay error stateError response
Availability presentEnable date selectionAvailability entries returned
No availabilityDisable date selectionEmpty availability set
Selected date validAllow continuationValid selection
Selected date invalidBlock selectionValidation error
Working hours presentRender hoursWorking hours returned
Working hours missingRender empty stateNo working hours in response
Coordinates presentRender mapLocation coordinates returned
Coordinates missingOmit mapNo coordinates in response
Address restrictedDisplay privacy noticeVisibility flag returned

Actions

ConditionApp behaviorSDK output
Screen loadsRequest clinic detailsRequest sent with clinicId
Response succeedsRender clinic dataResponse payload
Date selectedUpdate selected dateLocal state update
Map loadsCenter map on locationCoordinates applied
Request failsDisplay error stateError response