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 static message explaining that prescribing is restricted for the patient’s region.
- A single Ok button that acknowledges the restriction.
- No editable fields or additional actions.
- Conditional visibility triggered by compliance checks on the backend.
- A fully blocked prescription workflow until the doctor dismisses the message.
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.