Skip to main content

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.


Future coverage popup with a Pay privately action

This screen includes:

#ElementDescription
1Future coverage messageDisplays the policy start date
2Add Coverage actionOpens the coverage flow
3Continue actionContinues as a private patient

Workflow

  1. Detect a policy with a future start date.
  2. Call PUT /api/v3/appointments/book/error/policy-not-active/embedded/future-continue-as-private.
  3. Display the future-policy popup.
  4. Select Pay privately to continue as a private patient.
  5. Select the close action to stop the flow.

Validations

ScenarioApp behaviorSDK output
Policy is not active yetDisplay the popupstate = policy_not_active
Policy start date is availableDisplay the start datePage object
Request returns 405Display an application errorError response
Session is invalidReject the requeststate = unauthenticated

Actions

ScenarioApp behaviorSDK output
Pay privately selectedContinue as a private patientaction = continue_as_private
Close selectedDismiss the popupClose 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.