Skip to main content

Off Hours for Edit


Use Off Hours for Edit to request an appointment time outside standard availability while modifying an existing appointment.

The popup displays the off-hours fee and lets the user enter a preferred appointment time.



This screen includes:

#ElementDescription
1Off-hours modalLets the user enter a preferred off-hours appointment time.
2Modal titleDisplays Off-hours time selection.
3Close actionCloses the modal.
4Off-hours feeDisplays the additional off-hours service price.
5Instruction textAsks the user to select a preferred appointment time.
6Time input fieldAccepts the preferred off-hours time.
7Time picker actionOpens the time picker.
8Cancel actionCloses the modal without saving.
9Continue actionSubmits the selected off-hours time.
10Background scheduling screenShows the doctor schedule behind the modal.

Workflow

  1. Open the appointment edit flow.
  2. Select an appointment option that supports off-hours requests.
  3. Open the off-hours visit popup.
  4. Review the off-hours fee.
  5. Enter a preferred appointment time.
  6. Select OK.
  7. Submit the off-hours request.

Validations

ScenarioApp BehaviorSDK Output
Appointment editableDisplay off-hours request flowstate = editable
Off-hours supportedDisplay off-hours popupoffHours = available
Time not enteredBlock submissionvalidation = required
Time enteredEnable submissionvalidation = valid
Request acceptedContinue edit flowstatus = success
Request rejectedDisplay error statestatus = 405

Actions

ScenarioApp BehaviorSDK Output
Off-hours popup openedLoad off-hours request popupPUT /api/v3/wizard/time-location-selection/{appointment-id}/off-hours
Time selectedUpdate preferred appointment timetime = updated
OK selectedSubmit off-hours requestPOST /api/v3/wizard/time-location-selection/{appointment-id}/off-hours/submit
Cancel selectedClose popupstate = cancelled

Endpoint Resources

Off Hours for Edit

PUT 

v3/appointments/{appointment-id}/time/off-hours

Returns the off-hours visit popup for an appointment edit flow

Submit Off Hours for Edit

POST 

v3/appointments/{appointment-id}/time/off-hours/submit

Submits the selected off-hours time