Skip to main content

Future Policy - Add Coverage


Use the Future Policy popup when the selected policy is not yet active.

The popup displays the policy start date and blocks the appointment request.


Future policy blocker with the policy start date and an OK action

This screen includes:

#ElementDescription
1Future coverage messageDisplays the policy start date
2Private optionOffers continuation without coverage
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-blocking.
  3. Display the future-policy popup.
  4. Block the appointment request.
  5. Select OK to dismiss the popup.

Validations

ScenarioApp behaviorSDK output
Policy is not yet activeDisplay the popup and block continuationstate = blocked
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
OK selectedDismiss the popupClose event

Endpoint Resources

Embedded Future Blocking

PUT 

v3/appointments/book/error/policy-not-active/embedded/future-blocking

Returns an embedded popup that blocks the appointment request when the selected policy is not yet active.