Pending Appointment Request
Use Pending Appointment Request to display an appointment request that is awaiting a doctor response.
This screen includes:
| # | Element | Description |
|---|---|---|
| 1 | Header | Displays doctor image, name, appointment reference, and back navigation |
| 2 | Pending request banner | Displays the expected doctor response deadline |
| 3 | Tab navigation | Provides access to Details, Charges, and Documents |
| 4 | Appointment information section | Displays appointment date, time, visit type, doctor, and specialty |
| 5 | Patient details section | Displays patient information associated with the request |
| 6 | Contact information section | Displays contact details for the appointment request |
| 7 | Cancel visit action | Cancels the pending appointment request |
| 8 | Edit appointment action | Opens the appointment edit flow |
Workflow
- Open a pending appointment request.
- Display the pending request banner with the expected response deadline.
- Display appointment, patient, and contact information.
- Review request details.
- Select Edit appointment to modify the request or Cancel visit to cancel the request.
Validations
| Scenario | App Behavior | SDK Output |
|---|---|---|
| Pending request exists | Display pending request details | status = pending |
| Response deadline available | Display pending request banner | responseDeadline = available |
| Request can be edited | Enable Edit appointment | editable = true |
| Request can be cancelled | Enable Cancel visit | cancellable = true |
| Request resolved | Refresh appointment state | status = updated |
| Request unavailable | Display error state | status = error |
Actions
| Scenario | App Behavior | SDK Output |
|---|---|---|
| Pending request loaded | Display pending request details | PUT /api/v3/wizard/time-location-selection/pending-appointment-request-popup |
| Details tab selected | Display appointment information | tab = details |
| Charges tab selected | Display charges information | tab = charges |
| Documents tab selected | Display appointment documents | tab = documents |
| Edit appointment selected | Open appointment edit flow | navigation = edit_appointment |
| Cancel visit selected | Open cancellation flow | navigation = cancel_visit |
| Back selected | Return to previous screen | navigation = back |
Endpoint Resources
Pending Appointment Request
PUT
v3/wizard/time-location-selection/restriction/pending-appointment-request
Returns a screen informing the patient that they already have a pending appointment request with the selected doctor and are awaiting a response.
