# Writing & Managing Prescriptions
ClinIT's prescription pad supports medicines, lab tests, and imaging requests in a single workflow.
---
Opening the Prescription Pad
During a session, the Prescription Pad is at the bottom of the screen. It is also accessible outside a session from Prescriptions in the sidebar.
---
Adding a Medicine
- Click + Add Item → type the medicine name.
- ClinIT searches your clinic's medicine catalog (populated from past prescriptions and the admin catalog).
- Select a match or type a new name to add a free-text item.
### Fields per Medicine Item
| Field | Required | Notes |
|---|---|---|
| Medicine Name | ✅ | |
| Generic Name | ❌ | Auto-filled from catalog |
| Dose | ✅ | e.g. 500 mg |
| Route | ❌ | Oral / Topical / IV / IM / etc. |
| Frequency | ✅ | e.g. Twice daily |
| Duration | ✅ | e.g. 7 days |
| Instructions | ❌ | e.g. "Take with food", "Avoid driving" |
| Dispense Qty | ❌ | Number of units for pharmacy |
---
Adding a Lab Test
- Click + Add Item → switch type to Lab Test.
- Search your lab test catalog or type a new name.
- Add clinical notes for the lab (e.g. *"Fasting sample required"*).
The lab order is created in the Lab Orders module with status CREATED.
---
Adding an Imaging Request
- Click + Add Item → switch type to Imaging.
- Select the imaging modality (X-Ray, CT, MRI, Ultrasound, etc.).
- Specify the body part and laterality.
- Add clinical indication.
---
Prescription Diagnosis
Add a diagnosis or impression for the prescription (appears on the printed Rx header).
---
AI Prescription Review
After adding all items, click 🔍 Review Rx to invoke the Smart Prescription Review AI module:
- Checks for drug-drug interactions within the current prescription.
- Flags contraindications against known patient allergies.
- Highlights dosing concerns (e.g. renal dose adjustment required).
- Outputs a structured review card the doctor must acknowledge before printing.
> All AI reviews are stored in the AiOutput table with status PENDING_REVIEW → APPROVED.
---
Prescribing Defaults
Set your personal defaults for commonly prescribed medicines under Settings → Prescribing Defaults:
- Default duration.
- Default route.
- Default instructions per drug class.
---
Printing a Prescription
Click Print to generate a PDF with:
- Clinic header (logo, address, phone).
- Doctor name, license, and stamp (if uploaded).
- Patient name, DOB, date.
- Prescription items in a formatted table.
- QR code linking to the digital copy (optional).
---
Prescription History
All prescriptions are stored in the patient chart under Chart → Prescriptions. Past prescriptions are visible in the session sidebar's History panel.
---
Deleting a Prescription
Prescriptions are soft-deleted (isDeleted: true). A deleted prescription does not appear in the patient chart or portal but remains in the audit log.