> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prvaha.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Writing and Printing Patient Prescriptions in Prvaha

> Issue digital prescriptions during consultations, add drugs from your clinic's formulary, and generate printable PDF prescriptions for patients.

Prvaha's prescription system lets doctors write, save, and print structured prescriptions without leaving the dashboard. Prescriptions are linked directly to a patient's appointment record and are stored permanently in their profile, giving every clinician in your practice immediate access to a patient's full medication history. Every saved prescription can be downloaded as a formatted, clinic-branded PDF ready to hand to the patient or send digitally.

## Writing a prescription

Prescriptions in Prvaha are created within the context of a patient's consultation workflow. The workflow captures clinical information step-by-step — including vitals, diagnosis, and medications — and the completed workflow becomes the source of the printed prescription.

<Steps>
  <Step title="Open the appointment">
    Navigate to **Appointments** in the sidebar and open the relevant appointment record. You can also reach it from the patient's profile by clicking the appointment in their **Appointments** tab.
  </Step>

  <Step title="Start or continue the consultation workflow">
    Inside the appointment, click **View Workflow** (or open the workflow tracker) to access the consultation steps. Each step — such as Vital Signs, Diagnosis, and Medications — corresponds to a section of the prescription.
  </Step>

  <Step title="Complete the Medications step">
    Navigate to the **Medications** step (or the equivalent step configured for your clinic). This is where you add drugs, dosages, and instructions for the patient.
  </Step>
</Steps>

<Note>
  Drugs must be added to your clinic's drug catalogue before they appear in the prescription form. Ask your clinic administrator to add any missing drugs at **Dashboard → Drugs → New**. See [Clinic Management → Drugs](/clinic/drugs) for full instructions.
</Note>

## Adding drugs

Within the Medications step of the workflow, each drug is entered as a row in a structured table. For each drug you prescribe, fill in the following fields:

| Field         | Description                                                             |
| ------------- | ----------------------------------------------------------------------- |
| **Drug**      | Search and select from your clinic's approved drug catalogue            |
| **Dosage**    | The amount per dose (for example, "1 tablet" or "5 mL")                 |
| **Frequency** | How often to take it (for example, "TDS after food" or "OD at bedtime") |
| **Duration**  | How long the course lasts (for example, "5 days" or "2 weeks")          |

To add another drug, click **Add Row** (or the **+** icon) within the medications table and repeat the process. You can add as many drugs as needed within a single prescription.

<Tip>
  Before saving, read through the dosage and frequency for each drug. Simple errors — such as "BD" instead of "TDS" — are easy to miss on screen but can cause confusion for the patient or pharmacist. A quick review at this stage prevents the need to reprint later.
</Tip>

## Diagnoses

Attach one or more diagnoses to the consultation to provide clinical context for the prescribed medications. In the **Diagnosis** step of the workflow:

<Steps>
  <Step title="Search for a diagnosis">
    Type the condition name into the diagnosis search field. Prvaha shows matching entries from your clinic's diagnosis catalogue.
  </Step>

  <Step title="Select the correct entry">
    Click the matching diagnosis to attach it. You can attach multiple diagnoses if the patient presents with more than one condition.
  </Step>

  <Step title="Add custom diagnoses if needed">
    If a diagnosis does not appear in the search results, your administrator can add it at **Dashboard → Diagnoses → New**. Custom diagnoses can be created with or without a reference code.
  </Step>
</Steps>

## Generating a PDF

Once the workflow steps are complete and saved, Prvaha can generate a formatted prescription PDF in one click.

<Steps>
  <Step title="Open the workflow detail view">
    From the appointment record, open the workflow detail page. This shows all completed steps alongside a summary of the consultation.
  </Step>

  <Step title="Click Print / Download">
    Click the **Print** or **Download** button in the workflow header. Prvaha generates a PDF using your clinic's prescription template, which includes:

    * Your clinic's name and branding
    * The patient's name, age, gender, and appointment ID
    * The prescribed medications in a structured table
    * The attending doctor's signature line
    * A QR code linking to the digital record (if enabled by your administrator)
  </Step>

  <Step title="Share with the patient">
    Save the PDF to your device and share it with the patient by printing a physical copy or sending it digitally via the messaging tools in the appointment.
  </Step>
</Steps>

<Note>
  The PDF layout is controlled by your clinic's prescription template configuration. If you need to adjust the template structure — for example, to add or remove sections — contact your clinic administrator or refer to the Workflow configuration settings.
</Note>

## Prescription history

Every prescription generated from a completed workflow is permanently attached to that appointment record and is accessible from the patient's profile.

* Open the patient's profile from **Patients** in the sidebar.
* Navigate to the **Appointments** tab.
* Click on any past appointment to view its workflow, including all prescribed medications and the associated PDF.

This gives every doctor in your clinic full visibility into what has previously been prescribed to a patient, supporting safer, better-informed consultations.
