Invalid Date - Add Coverage
Use the Invalid Date popup when coverage is not valid on the selected appointment date.
The patient must contact the insurer before the appointment request can continue.
This screen includes:
| # | Element | Description |
|---|---|---|
| 1 | Coverage message | States that coverage is unavailable for the selected date |
| 2 | Contact instruction | Directs the patient to contact the insurer |
| 3 | Understood action | Dismisses the popup |
Workflow
- Validate coverage for the selected appointment date.
- Detect that coverage is not valid.
- Call
PUT /api/v3/appointments/book/error/policy-not-active/embedded/not-valid-on-date-blocking. - Display the popup.
- Block the appointment request.
- Select OK to dismiss the popup.
Validations
| Scenario | App behavior | SDK output |
|---|---|---|
| Coverage is not valid on the selected date | Display the popup and block continuation | state = blocked |
Request returns 200 | Render the returned page | Page object |
Request returns 405 | Display an application error | Error response |
| Session is invalid | Reject the request | state = unauthenticated |
Actions
| Scenario | App behavior | SDK output |
|---|---|---|
| OK selected | Dismiss the popup | Close event |
Endpoint Resources
Embedded not Valid on Date Blocking
PUT
v3/appointments/book/error/policy-not-active/embedded/not-valid-on-date-blocking
Returns an embedded popup that blocks the appointment request when coverage is not valid on the selected date.