Skip to main content

Prescription


Use the Prescription Message screen to notify doctors that prescribing is restricted based on the patient’s current location. This screen enforces legal compliance by preventing prescription actions where regulatory limitations apply. Only logged-in users see this screen. It appears automatically during a consultation or when a doctor initiates a prescription.


This screen includes:

  • A static message:
    To the best of our knowledge, you cannot prescribe in the patient’s current location.
  • An Ok button that confirms and dismisses the message.
  • No form fields or alternate actions.
  • Conditional visibility triggered by patient location and compliance logic.
  • Enforcement at both frontend and backend levels.

Workflow

  1. During a consultation, the app evaluates the patient’s geographic location.
  2. If the location restricts prescribing, the system displays this screen immediately.
  3. The doctor selects Ok to confirm acknowledgment.
  4. The screen closes and returns to the active session or prescribing flow.

Validations

  • The screen appears only when prescribing is blocked in the patient's current region.
  • The message is informational; it does not accept input.
  • The backend confirms and logs the region-based restriction.
  • No submission fields or error states appear.

Actions

  • Ok: Confirms the doctor's acknowledgment of the restriction.
  • The app logs the confirmation and closes the screen.
  • No additional UI transitions, data saves, or redirect logic occurs.
  • The prescribing workflow resumes without allowing further prescription attempts.

SDK and API References

GET 

/profile/appointments/{id}/approve/prescription

Returns a prescribing restriction message based on the patient’s current location and applicable legal constraints. The screen displays a regional compliance notice and provides a single action to acknowledge the restriction.

UI Element Types

LevelReferenceTypeLabelPlacement
1prescriptionRegularTo the best of our knowledge, you cannot prescribe in the patient's current location
1okButtonOk