Prescription Notification
Use the Prescription Notification screen to show that prescription actions are unavailable for a video appointment.
Workflow
- Open the scheduled video appointment.
- Review the appointment and patient details.
- Confirm the prescription restriction.
- Select Start Video Visit.
- Open the video consultation with prescription actions unavailable.
Validations
| Scenario | App behavior | SDK output |
|---|---|---|
| Prescriptions are restricted | Display the restriction indicator | prescriptionAllowed = false |
| Prescriptions are allowed | Hide the restriction indicator | prescriptionAllowed = true |
| Appointment is unavailable | Block access to the video consultation | state = unavailable |
| Session is invalid | Reject the request | state = unauthenticated |
| Request fails | Display an error state | state = error |
Actions
| Scenario | App behavior | SDK output |
|---|---|---|
| Screen requested | Display the appointment details and restriction status | Page object |
| Start Video Visit selected | Open the video consultation | Navigation event |
| Prescription action selected while restricted | Block the action | error = prescription_unavailable |
Endpoint Resources
Prescription
PUT
v3/appointments/{appointment-id}/video-room/prescription
Displays the prescription restriction notice for the specified video appointment.