Prescription
Use the Prescription Message screen to notify the doctor when prescribing is not permitted in the patient’s current location.
This screen enforces regulatory compliance and blocks all prescription actions.
It appears automatically during a consultation or when the doctor initiates a prescription.
This screen includes:
- A compliance notice indicating that the doctor cannot prescribe in the patient’s current location.
- Appointment summary details including:
- Doctor name and visit type.
- Location (for example, Online doctor).
- Date and time.
- Fee breakdown for the selected visit, including total fee and doctor fee.
- A primary Approve button that allows continuation despite prescription restrictions.
- A close (X) control to dismiss the dialog.
- Conditional visibility triggered by backend prescription eligibility checks.
Workflow
- The doctor starts a consultation or initiates a prescription.
- The backend evaluates the patient’s geographic location.
- If the region restricts prescribing, the app displays this screen immediately.
- The doctor selects Ok to confirm.
- The app returns to the active session without enabling prescription actions.
Validations
These scenarios describe how the app validates conditions that require the Prescription Message screen.
Actions
These scenarios describe how the app processes doctor actions in the Prescription Message screen.
Endpoint Resources
Prescription Message
PUT
/appointments/{appointment-id}/video-room/prescription
Produces the Prescription Message page when the doctor is not authorized to prescribe in the patient's current location.
The response includes:
- A static restriction message
- A single acknowledgment action (Ok)
- A fully blocked prescription state
UI Element Types
| Level | Reference | Type | Value | Placement |
|---|---|---|---|---|
| 1 | prescription | Regular | To the best of our knowledge, you cannot prescribe in the patient’s current location. | — |
| 1 | ok | Button | Ok | — |
Prescription Message
PUT
/profile/appointments/{appointment-id}/approve/prescription
Displays prescription restrictions for the appointment. The screen appears when prescribing is not permitted based on the patient’s current location.