Skip to main content

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:

#ElementDescription
1Coverage messageStates that coverage is unavailable for the selected date
2Private optionOffers continuation without coverage
3Continue actionContinues as a private patient

Workflow

  1. Validate coverage for the selected appointment date.
  2. Detect that coverage is not valid.
  3. Call PUT /api/v3/appointments/book/error/policy-not-active/embedded/not-valid-on-date-continue-as-private.
  4. Display the popup.
  5. Select Pay privately to continue as a private patient.
  6. Select the close action to stop the flow.

Validations

ScenarioApp behaviorSDK output
Coverage is not valid on the selected dateDisplay the popupstate = coverage_not_valid
Request returns 200Render the returned pagePage 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 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.