Future Policy - Coverage or Private
Use the Future Policy popup when the selected policy is not active yet.
The popup displays the policy start date and lets the patient continue as a private patient.
This screen includes:
| # | Element | Description |
|---|---|---|
| 1 | Future coverage message | Displays the policy start date |
| 2 | Add Coverage action | Opens the coverage flow |
| 3 | Continue action | Continues as a private patient |
Workflow
- Detect a policy with a future start date.
- Call
PUT /api/v3/appointments/book/error/policy-not-active/embedded/future-continue-as-private. - Display the future-policy popup.
- Select Pay privately to continue as a private patient.
- Select the close action to stop the flow.
Validations
| Scenario | App behavior | SDK output |
|---|---|---|
| Policy is not active yet | Display the popup | state = policy_not_active |
| Policy start date is available | Display the start date | 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 Future Continue as Private
PUT
v3/appointments/book/error/policy-not-active/embedded/future-continue-as-private
Returns an embedded popup for a policy with a future start date. The popup provides an option to continue as a private patient.