Skip to main content

Set Status


Use Set Status to update availability for patient requests.
Select a predefined away period or define a custom return date.
The app restores availability automatically when the selected period ends or immediately after switching back to Active.


This screen includes:

  • A radio group with availability options:
    • Active
    • Away for 1 hour
    • Away for 4 hours
    • Away for the rest of the day
    • Away until with a custom return date
  • A locale-formatted date picker for Away until.
  • An informational message that explains profile visibility behavior while away.
  • A Save button that applies the selected status and closes the modal.
  • Automatic availability restoration when the away period ends.

Workflow

Set a Short-Term Away Status

  1. Open the Account screen.
  2. Select Set status.
  3. Select one of the following options:
    • Away for 1 hour
    • Away for 4 hours
    • Away for the rest of the day
  4. Select Save.

Set a Custom Return Date

  1. Open the Account screen.
  2. Select Set status.
  3. Select Away until.
  4. Select a future date from the calendar.
  5. Select Save.
note

While the profile is marked as away, new patient requests do not appear.

Resume Availability

  1. Open the Account screen.
  2. Select Set status.
  3. Select Active.
  4. Select Save.

Validations

ScenarioApp BehaviorSDK OutputExample
No status is selected.The app disables Save.Validation error.
Away until selected without a date.The app blocks submission.Validation error.
Selected date is in the past.The app rejects the value.Validation error.
User session is not authenticated.The app blocks the update.Authorization error.
Update succeeds.The app closes the modal.Status update confirmation.

Actions

ActionApp BehaviorSDK Output
Save status change.The app updates availability on the server.Status update response.
Enter away mode.The app hides the profile from patient search.Availability state update.
Time period ends.The app restores availability automatically.Automatic status reset.
Switch back to Active.The app restores visibility immediately.Status update confirmation.

Endpoint Resources

Set Status

PUT 

/profile/availability-status

Displays the availability status modal and applies the selected state.

UI Element Types

LevelReferenceTypeValuePlacement
1status~activeRadioActive
1status~one-hourRadioAway for 1 hour
1status~four-hoursRadioAway for 4 hours
1status~dayRadioAway for the rest of the day
1status~untilRadioAway until:
1dateDateAway until
1profile-away-meaningsRegularSelecting 'away' means you will not receive new patient requests.
1saveButtonSave^

Toggle Away Until Visibility

PATCH 

/profile/availability-status/away-until

Shows or hides the Away until date field without reloading the screen

Set Availability Status

POST 

/profile/availability-status

Updates availability using the selected status and optional date.

Parameters

NameTypeRequiredDescription
statusEnumYesAvailability status.
dateDateConditionalRequired when status equals until-date.

Errors

CodeDescription
FORBIDDENThe user lacks permission to update availability.
FIELDS_VALIDATION_ERROROne or more required fields are invalid or missing.
STATUS_CAN_NOT_BE_CHANGEDThe requested status transition is not allowed.