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

# Manage the drug formulary, stock and stock alerts

> Add drugs to the NduMed formulary or import them by CSV, receive and adjust stock by batch and expiry, review stock movements and set low-stock and expiry alerts.

Pharmacists keep the drug list (formulary) and stock levels up to date in NduMed. Dispensing uses the formulary price and draws on these stock batches.

## The formulary

Open **Pharmacy** in the menu.

### Add a drug

| Field | Notes |
| - | - |
| **Code** | Unique code |
| **Name** | Generic name |
| **Form** | Tablet, Capsule, Syrup, Suspension, Injection, Infusion, Cream, Ointment, Drops, Inhaler, Suppository or Other |
| **Strength** | For example 500 mg |
| **Dispense unit** | For example tablet, bottle, vial |
| **Unit price** | Charged per dispense unit |
| **Reorder level** | Stock at or below this triggers a low-stock alert |
| **Controlled substance** | Requires a second authoriser when dispensing |

Use **Edit** to change a drug and **Deactivate** to stop it being dispensed.

### Import drugs from a CSV file

Select **Import CSV** and upload a file with these columns:

```csv theme={null}
code,name,form,strength,dispense_unit,unit_price,reorder_level,controlled
AMOX500,Amoxicillin,Tablet,500 mg,tablet,0.50,200,false
MORPH10,Morphine sulfate,Injection,10 mg/mL,ampoule,4.00,20,true
```

The `controlled` column is optional. Rows whose code already exists are skipped.

## Stock

Open **Stock**.

### Receive stock

Select **Receive stock** and enter the drug, **Batch number**, **Expiry date** and quantity. Each batch is tracked separately so the earliest-expiring stock is issued first.

### Adjust stock

Select **Adjust stock**, choose the type and give a reason:

* **Increase (stock-take / return)**
* **Decrease (stock-take)**
* **Write off (wastage)**: for expired, damaged or lost stock.

Stock cannot go below zero.

### Stock movements

Select **View stock movements** for a full history: Opening balance, Receipt, Issue (dispense), Adjustment and Wastage.

## Stock alerts

Open **Stock alerts** to see two lists:

* **Below reorder level**: drugs at or below their reorder level.
* **Near expiry**: batches expiring within the alert window.

Under **Alert settings**, set the near-expiry window in days (default 90, from 1 to 3650).

> [!NOTE]
>
> Every morning at 07:00 (server time), NduMed emails a stock digest to active pharmacists and administrators, but only when something needs attention.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.