Skip to main content

Alternative Appointment Offer


Use Alternative Appointment Offers when the original requested profile provides one or more alternative appointments.

The patient reviews the available alternatives, selects one offer, and accepts it or declines all available offers.


Appointment offer screen with multiple alternative appointments

This screen includes:

#ElementDescription
1Offer messageStates that the requested profile offers alternative appointments
2Alternative cardsDisplay applicable doctor, date, time, visit type or location, language, fee, and prescription information
3Alternative selectorSelects one appointment alternative
4Decline all actionDeclines all available alternatives
5Accept actionAccepts the selected alternative
6Close actionCloses the appointment offer screen

Workflow​

  1. Call PUT /api/v3/appointments/{appointment-id}/approve.
  2. Display the available alternative appointments.
  3. Review the details for each alternative.
  4. Select one alternative.
  5. Apply the selection through PATCH /api/v3/appointments/{appointment-id}/approve/select.
  6. Select Accept to submit the selected alternative.
  7. Call POST /api/v3/appointments/{appointment-id}/approve.

The patient can select Decline all instead of an alternative.

Offer selection

Only one alternative can be active at a time. A new selection replaces the current selection.


Validations​

ScenarioApp behaviorSDK output
No alternative is selectedRequire a selection before acceptanceNo approval submission
Alternative is selectedMark the selected card and allow acceptancePATCH update
Different alternative is selectedReplace the active selectionPATCH update
PUT request returns 200Display the alternative offers screenPage object
PUT request returns 405Display an application errorError response
Session is invalidReject the requestAuthentication error

Actions​

ScenarioApp behaviorSDK output
Alternative offers screen opensLoad the available offersPUT /api/v3/appointments/{appointment-id}/approve
Alternative selectedMark the offer as selectedPATCH /api/v3/appointments/{appointment-id}/approve/select
Different alternative selectedReplace the current selectionPATCH update
Accept selectedAccept the selected alternativePOST /api/v3/appointments/{appointment-id}/approve
Decline all selectedDecline all displayed alternativesDecline action
Close selectedClose the appointment offer screenClose action

Endpoint Resources​

Approve Alternative Offer​

PUT 

v3/appointments/{appointment-id}/approve

Displays the alternative offers screen for the specified appointment.

Select Card​

PATCH 

v3/appointments/{appointment-id}/approve/select

Updates the active offer selection for the specified appointment.

Approve Offer​

POST 

v3/appointments/{appointment-id}/approve

Accepts the selected alternative for the specified appointment.