Skip to main content

Invalid Date - Add Coverage


Use the Invalid Date popup when coverage is not valid on the selected appointment date.

The patient must contact the insurer before the appointment request can continue.



This screen includes:

#ElementDescription
1Coverage messageStates that coverage is unavailable for the selected date
2Contact instructionDirects the patient to contact the insurer
3Understood actionDismisses the popup

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-blocking.
  4. Display the popup.
  5. Block the appointment request.
  6. Select OK to dismiss the popup.

Validations

ScenarioApp behaviorSDK output
Coverage is not valid on the selected dateDisplay the popup and block continuationstate = blocked
Request returns 200Render the returned pagePage 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 not Valid on Date Blocking

PUT 

v3/appointments/book/error/policy-not-active/embedded/not-valid-on-date-blocking

Returns an embedded popup that blocks the appointment request when coverage is not valid on the selected date.