Prescriptions
Use Prescriptions to filter video doctors by prescription eligibility for the patient location.
Prescription eligibility derives from doctor configuration, visit type, patient location, and prescription rules.
This screen includes:
| # | Element | Description |
|---|---|---|
| 1 | Prescription filter | Filters doctors who can prescribe in the patient location |
| 2 | Doctor eligibility label | Displays when a doctor cannot prescribe in the patient location |
| 3 | Location context | Determines prescription eligibility |
| 4 | Empty results state | Displays when no doctors match the active filters |
Workflow
- Open the doctor list for a video visit.
- Evaluate prescription eligibility by doctor and patient location.
- Enable the prescription filter when supported.
- Show eligible doctors only when the filter is active.
- Display restriction labels for ineligible doctors when the filter is inactive.
- Continue booking with the selected doctor.
Validations
| Scenario | App Behavior | SDK Output |
|---|---|---|
| Prescription filter enabled | Show eligible doctors only | prescribeOnly = true |
| Prescription filter disabled | Show all doctors | prescribeOnly = false |
| Doctor cannot prescribe in location | Display restriction label | prescription = unavailable |
| Doctor can prescribe in location | Hide restriction label | prescription = available |
| No doctors match filter | Display empty state | results = empty |
Actions
| Scenario | App Behavior | SDK Output |
|---|---|---|
| Prescription filter selected | Refresh doctor results | prescribeOnly = true |
| Prescription filter cleared | Refresh doctor results | prescribeOnly = false |
| Eligible doctor selected | Continue booking | prescription = available |
| Ineligible doctor selected | Continue with restriction label | prescription = unavailable |
