ASAP Clinic Only
Use ASAP Clinic Only to show the regular first available appointment request screen with a clinic-only restriction message.
This screen includes:
| # | Element | Description |
|---|---|---|
| 1 | Page title | Displays Appointment Request. |
| 2 | Back action | Returns the user to the previous screen. |
| 3 | Settings action | Opens appointment request settings. |
| 4 | First available doctor card | Displays the first available doctor option, specialty, and appointment date. |
| 5 | Clinic-only message | Explains that the first available service is currently available for clinic appointments only. |
| 6 | Nearby clinic notice | States that the app tries to find a nearby clinic within the configured distance range. |
| 7 | Standard first available request sections | Displays the remaining appointment request sections that follow the regular first available flow. |
Workflow
- Open the first available appointment request flow.
- Check ASAP availability for the selected location and service.
- Display the clinic-only restriction message when ASAP home availability is out of range or unavailable.
- Keep the regular first available request sections available.
- Continue the appointment request with a clinic-based option.
Validations
| Scenario | App Behavior | SDK Output |
|---|---|---|
| Session invalid | Block request | state = unauthenticated |
| Clinic-only restriction applies | Display clinic-only message | restriction = clinic_only |
| Nearby clinic search applies | Display nearby clinic notice | clinicSearch = nearby |
| Clinic option available | Continue first available flow | visitType = clinic |
| Request rejected | Display error state | status = 405 |
Actions
| Scenario | App Behavior | SDK Output |
|---|---|---|
| Screen opens | Load clinic-only restriction screen | PUT /api/v3/wizard/restriction/clinic-only |
| Clinic-only message displayed | Keep first available request form visible | restriction = displayed |
| Clinic option selected | Continue with clinic appointment flow | visitType = clinic |
| Back selected | Return to previous screen | navigation = back |
| Request rejected | Preserve current state | state = unchanged |
Endpoint Resources
Clinic Only
PUT
v3/wizard/restriction/clinic-only
Returns the first available appointment request screen with a clinic-only restriction message.