Invalid Date - Add Coverage or Private
Use the Invalid Date popup when coverage is not valid on the selected appointment date.
The patient can continue as a private patient.
This screen includes:
| # | Element | Description |
|---|---|---|
| 1 | Coverage message | States that coverage is unavailable for the selected date |
| 2 | Private option | Offers continuation without coverage |
| 3 | Continue action | Continues as a private patient |
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-continue-as-private. - Display the popup.
- Select Pay privately to continue as a private patient.
- Select the close action to stop the flow.
Validations
| Scenario | App behavior | SDK output |
|---|---|---|
| Coverage is not valid on the selected date | Display the popup | state = coverage_not_valid |
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 |
|---|---|---|
| Pay privately selected | Continue as a private patient | action = continue_as_private |
| Close selected | Dismiss the popup | Close event |
Endpoint Resources
Embedded not Valid on Date Continue as Private
PUT
v3/appointments/book/error/policy-not-active/embedded/not-valid-on-date-continue-as-private
Returns an embedded popup with an option to continue as a private patient when coverage is not valid on the selected date.