Skip to main content

Controlled Substances


Use Controlled Substances to display prescription restrictions for video appointment requests. The warning explains that controlled substances cannot be prescribed in video appointments.



This screen includes:

#ElementDescription
1Modal titleDisplays Prescription limitations.
2Close actionDismisses the modal.
3Warning messageExplains that controlled substances cannot be prescribed during video appointments.
4Continue actionConfirms the warning and continues the appointment request flow.

Workflow

  1. Start or continue an appointment request.
  2. Check prescription restrictions for the appointment type.
  3. Display the Prescription limitations modal when the restriction applies.
  4. Select Continue to proceed.
  5. Select the close action to dismiss the modal and preserve the current request state.

Validations

ScenarioApp BehaviorSDK Output
Prescription restriction appliesDisplay prescription limitation modalwarning = controlled_substances
Warning confirmedContinue appointment request flowstate = confirmed
Warning dismissedPreserve current appointment request statestate = unchanged
Warning content fails to loadDisplay error statestate = error

Actions

ScenarioApp BehaviorSDK Output
Warning requiredLoad prescription limitation modalPUT /api/v3/wizard/info/controlled-substances-prescription
Continue selectedContinue appointment request flowstate = continued
Close selectedDismiss prescription limitation modalstate = unchanged
Request rejectedPreserve current appointment request statestate = error

Endpoint Resources

Controlled Substances Prescription

PUT 

v3/wizard/info/controlled-substances-prescription

Returns the controlled substances prescription warning modal.