> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.clinicea.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How does Auto-Dispensing work in Pharmacy

If you have an in-house Pharmacy, managing and dispensing Rx in the Pharmacy must be simple and systematic. And, Clinicea gives you the option to do so. The Pharmacist can auto-dispense Rx based on batching i.e. FIFO, LIFO, and Batch No. Alternatively, the Pharmacist can choose to disable batching and dispense Rx without any particular set batches. _(For more info, please click on [How to configure Batching for an Inventory](https://help.clinicea.com/en/article/how-to-configure-batching-for-an-inventory-1cxt9a4/))_

_For example: Let us assume, a Patient has been prescribed with following medications for a month._

1.  _Cetrizine,_
    
2.  _Oflomac TZ 200mg,_
    
3.  _Amprez 5mg and_
    
4.  _Bupropion_
    

_The Patient now comes to the Pharmacy to collect, the prescribed Rx. The Pharmacy stocks different batches of Cetirizine, Oflomac TZ 200mg, Amprez 5mg, and Bupropion. The expiry date for some batches is sooner than that of other batches. The pharmacist wants to dispense medications that are about to expire the quickest. This avoids wastage of medications, as it will be consumed before expiry._

Let us have a look at how Auto-Dispensing works in Pharmacy:

**PRE-REQUISITES: THESE STEPS NEED TO BE DONE ONLY ONCE**

_The Pharmacist will Auto-Dispense the given Rx, as follows:_

_1. Cetrizine: Batching is not enabled, hence Rx will be stored and dispensed without any regard to Batch._

2. _Oflomac TZ 200mg: Batching is set as FIFO. The first batch in, is dispensed first. It ensures older batches are dispensed earlier, preventing them from lying on the shelf and expiring._

3. _Amprez 5mg: Batching is set as LIFO. The last Batch is dispensed first. This is useful if the cost of the medication has increased significantly, and expiry is not an issue. You want to then dispense the most expensive batch first._

4. _Bupropion: Dispending is set as Batch, ie the Pharmacist will manually select the Batch No: to dispense from._

You can see how to set batching for Inventory by reading this post [How to configure Batching for an Inventory](https://help.clinicea.com/en/article/how-to-configure-batching-for-an-inventory-1cxt9a4/).  

**Now let us have a look at how Auto-Dispensing works in Pharmacy.**  

Patient has a consultation with the Practitioner. The Practitioner prescribes several medications to the Patient through the EMR. _Ex: Cetrizine, Oflomac TZ 200mg, Amprez 5mg and Bupropion. (For more info, please click on [How to prescribe Rx](https://help.clinicea.com/en/article/how-to-prescribe-rx-16lg5dj/))_

Consultation is complete, Patient goes to the Pharmacy to pick up the medications. The Pharmacist now needs to Bill and Dispense the given Medication _(For more info, please click on [How to dispense and auto-Bill a Patient](https://help.clinicea.com/en/article/how-to-dispense-and-auto-bill-a-patient-1rgr45u/))._ The Pharmacist will now be using the **Auto-Dispensing feature** of Clinicea to do easy dispensing.

**1**. Go to **Pharmacy** | select **Pending** from the **drop-down menu** and click on **Search. It shows all prescriptions given by your Doctors which are yet to be filled.** | Select the Prescription you want to dispense by clicking on the **Patient name.** _Ex: Luna._

![](https://storage.crisp.chat/users/helpdesk/website/a9b8a3bdda62a000/fd48246f-59b5-4353-bf9c-10c5b7_x2i2ak.png)

**2**. A **New Bill** window will open. The prescribed medications will be auto-added to the Bill. You can add or remove items and change quantity. Doing so does not change the original prescription.

![](https://storage.crisp.chat/users/helpdesk/website/1e49b7fb7368cd0/680b2c89-a7f6-4326-bef0-a26f7d_ypoffd.png)

**3. Auto-Dispensing for Rx that are not following Batching.**  
_Click on the **green D** icon next to Cetrizine._

![](https://storage.crisp.chat/users/helpdesk/website/59c1e3896196d000/5cdbffce-88ae-434f-b5ca-2753c6_yzw6wv.png)

_A **Bill Item Details** window will open. You can view batching details from here. Since batching was disabled for Cetirizine, there are no batching details._

![](https://storage.crisp.chat/users/helpdesk/website/8965bd617b087800/10fc468d-9cd3-4901-bc68-b8a276_y1klpf.png)

**4. Auto-Dispensing for Rx on FIFO or LIFO**

**_Ex:_ _Oflomac TZ 200mg:_** _Batching is set as FIFO. Hence, by default Clinicea picks up the first batch of Oflomac TZ 200mg for Auto-Dispensing._

[![](https://storage.crisp.chat/users/helpdesk/website/a9c8cbc5fe470000/5e0a3959-574b-4d5d-82c0-6e7bf_16wb3gm.png)expires=1620244453&signature=3a722d7e0ce003970a92e891363ff19e7f33886c7505d2b72050bcea64c4cc4b)

**_Ex: Amprez 5mg:_** _Batching is set as LIFO. Hence, by default Clinicea selects the last batch of Amprez 5mg for Auto-Dispensing._

![](https://storage.crisp.chat/users/helpdesk/website/91eee3c35741e800/701668fc-4652-451a-84c3-e12bc8_14f253f.png)

**5. Auto-Dispensing for Rx that has to be dispensed Manually.**

**_Ex: Bupropion:_** _Dispensing is set to by Batch. This means you cannot add this item to the bill, till you manually select the batch for Bupropion._

Click on the **red D icon** again | Select a **Batch No**. | Click on **Save**. ex: Batch No. R has been selected with an Expiry Date of 31-Jan-2016.

![](https://storage.crisp.chat/users/helpdesk/website/b078a2f843112000/e83dd16d-10fc-4dd4-b5fc-e5643a_d6d9dd.png)