Skip to content

Prescriptions

The Prescriptions module allows creating, editing, printing and sending medical prescriptions. The main screen is a TreeTable with expandable patients; each patient shows their prescriptions (with medications, indications and presentation).

How the screen is organized

The screen shows a TreeTable with two levels:

  1. Patient level: one row per patient with their medical record and name.
  2. Prescription level: when expanded, the patient's prescriptions are listed with type, date, doctor and summary.

Above the table there is a toolbar with a search engine (300 ms debounce) and, if the user has PRESCRIPTIONS: WRITE, a button to create a new prescription.

Prescription types

The system supports several prescription types defined in the PrescriptionType enum. Each one can have a different visual presentation (tags, medication tags, QR). The most common types are:

  • FertilCenter prescription
  • PAP Center prescription
  • Generic prescription

Available actions

  • New prescription: opens the creation dialog (write indications, select medications, assign patient).
  • Edit prescription: adjust information before printing or sending it.
  • Print prescription (PDF): generates a PDF with the complete prescription and a QR.
  • Send prescription: opens the send dialog to share it through the configured channels.
  • Scan prescription: public scanning flow (used to digitize external prescriptions).
  • Delete prescription: requires PRESCRIPTIONS: ADMIN.

Roles and permissions

  • PRESCRIPTIONS: WRITE to create, edit, print and send prescriptions.
  • PRESCRIPTIONS: ADMIN to delete prescriptions.

Documented features

FeaturePage
Create prescriptionCreate prescription
Edit prescriptionEdit prescription
Print prescription (PDF)Print prescription
Send prescriptionSend prescription
Delete prescriptionDelete prescription

Relation with other modules

  • Patients: prescriptions are associated with the patient.
  • Medications: the medications and their variants (active components, presentations, formulas) are selected from the medications catalog.
  • Templates: the templates allow reusing frequent formats and medications.
  • Presentations: the presentation container parameters are configured in their module.
  • Medical studies: from a finished prescription you can link to a study or interpretation.

Operational recommendations

  • Verify the patient before generating the prescription: name, medical record and responsible doctor.
  • Use templates for frequent medications and reduce capture time.
  • Confirm the indications and dosage before printing or sending.
  • Sent prescriptions are recorded in the audit log.