# Prescription module issues

**URL:** <https://community.open-emr.org/t/prescription-module-issues/4524>\
**Category:** Day-to-Day Users\
**Created:** [April 14, 2016, 9:36pm UTC](https://community.open-emr.org/t/prescription-module-issues/4524 "2016-04-14T21:36:23Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 14, 2016, 9:36pm UTC](https://community.open-emr.org/t/prescription-module-issues/4524/1 "2016-04-14T21:36:23Z")

</div>

**[yaronbs](https://sourceforge.net/u/yaronbs/)** wrote on [Thursday, April 14, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#5ae4):

I have a few questions regarding the inventory/prescription modules:

1. What is the actual usage of the template fields in the inventory module? They do not seem to have any real impact on the data entered in the Prescription form. Maybe this is a bug in the drugselected function?
2. The “Drug” field is mandatory although it does not seem to impose any checks on the data entered.
3. Against what does the drug search button perform its lookup?

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 14, 2016, 10:29pm UTC](https://community.open-emr.org/t/prescription-module-issues/4524/2 "2016-04-14T22:29:20Z")

</div>

**[fsgl](https://sourceforge.net/u/fsgl/)** wrote on [Thursday, April 14, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#fdb6):

1. See [this](http://www.open-emr.org/wiki/index.php/Pharmacy_Dispensary_Module#Add_Medications_to_Dispensary).
2. See same webpage as in 1.
3. Search can be of one’s own pharmacy or against an online database.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 15, 2016, 6:15am UTC](https://community.open-emr.org/t/prescription-module-issues/4524/3 "2016-04-15T06:15:00Z")

</div>

**[yaronbs](https://sourceforge.net/u/yaronbs/)** wrote on [Friday, April 15, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#1182):

1. I have read this, nothing there answers my questions I am afraid.
2. See 1.
3. How do you define where it searches? It certainly does not search within the in-house inventory (or at least it does not find anything there).

Also, I am checking this on version 4.2.0, so the screen looks a bit different.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 15, 2016, 12:50pm UTC](https://community.open-emr.org/t/prescription-module-issues/4524/4 "2016-04-15T12:50:27Z")

</div>

**[fsgl](https://sourceforge.net/u/fsgl/)** wrote on [Friday, April 15, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#7d01):

1. Template

> A particular drug will not appear in the Prescription Module as a part of the In-House formulary unless the **Templates** section has been completed.

1. Rephrase question.
2. See attachment.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 15, 2016, 10:29pm UTC](https://community.open-emr.org/t/prescription-module-issues/4524/5 "2016-04-15T22:29:37Z")

</div>

**[tmccormi](https://sourceforge.net/u/tmccormi/)** wrote on [Friday, April 15, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#2d87):

The templates are what is called the ‘Sig’ normally, it is the standard list of ways that a particular provider prescribes a drug; size, type, qty etc …

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 16, 2016, 7:24am UTC](https://community.open-emr.org/t/prescription-module-issues/4524/6 "2016-04-16T07:24:03Z")

</div>

**[yaronbs](https://sourceforge.net/u/yaronbs/)** wrote on [Saturday, April 16, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#9972):

I understand the reasoning, I don’t understand the functionality in the prescription form.  
Also, I had posted an answer to the previous post and it seems to have gone missing for some reason…

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 16, 2016, 7:55am UTC](https://community.open-emr.org/t/prescription-module-issues/4524/7 "2016-04-16T07:55:49Z")

</div>

**[epsdky](https://sourceforge.net/u/epsdky/)** wrote on [Saturday, April 16, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#8c84):

Hello Yaron,

To automatically fill fields in the “Add/Edit” form for a particular regularly recurring Rx.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 16, 2016, 9:11am UTC](https://community.open-emr.org/t/prescription-module-issues/4524/8 "2016-04-16T09:11:16Z")

</div>

**[yaronbs](https://sourceforge.net/u/yaronbs/)** wrote on [Saturday, April 16, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#dfc5):

What I am saying is that no fields are automatically filled.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 16, 2016, 9:36am UTC](https://community.open-emr.org/t/prescription-module-issues/4524/9 "2016-04-16T09:36:18Z")

</div>

**[epsdky](https://sourceforge.net/u/epsdky/)** wrote on [Saturday, April 16, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#6b60):

I have set up a template (Inventory \> Management) in [this](http://open-emr.org/wiki/index.php/OpenEMR_Version_4.1.2_Demo) demo, Is this how you are doing it?

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 16, 2016, 9:46am UTC](https://community.open-emr.org/t/prescription-module-issues/4524/10 "2016-04-16T09:46:15Z")

</div>

**[fsgl](https://sourceforge.net/u/fsgl/)** wrote on [Saturday, April 16, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#424d):

I think we need to back up a little bit & explain the difference between the Prescription Module & the Dispensary Module. There are two distinct entities being discussed.

The Prescription Module allows a physician to write, record, transmit a rx to a pharmacy or generate a paper rx for a patient. There would be less of a reason for any fields in Prescription to be automatically populated because each time we write a rx, the name of the drug is different. The amount dispensed is different & the dosage, frequency & route will be different.

Most of us in the US don’t have our own pharmacy as part of our practice. Colleagues abroad often will have in-house pharmacies. The Dispensary module will enable our foreign colleagues to keep an accurate inventory of the drug stock.

The Dispensary Module is integrated with the Prescription Module for our foreign colleages to write rx’s & to have drugs dispensed to patients from the in-house pharmacy instead of sending the rx’s to an external pharmacy.

Our foreign colleagues can search for drugs available in the in-house formulary (list of available drugs). If there are drugs which are ordered in the same manner every time, then Templates can be used for that purpose. In large clinics with a large patient population, this is more likely to happen than in a small solo practice.

Indeed, a demo is worth a thousand words (Thanks, Ian).

Other inventory information will need to be supplied in a real world situation.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 16, 2016, 10:11am UTC](https://community.open-emr.org/t/prescription-module-issues/4524/11 "2016-04-16T10:11:55Z")

</div>

**[epsdky](https://sourceforge.net/u/epsdky/)** wrote on [Saturday, April 16, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#a30f):

The Rx auto field fill is only usefull for a few prescriptions that are used frequently e.g.

(Drug Xanax)

```
Name Schedule Interval Qty Refills 	
Xanax-2-p 2 p,r.n 12 2
Xanax-6-q 6 q.i.d 12 12

```

these two prescription might be used very frequently and simply selecting Xanax-2-p Xanax-6-q from the “in house” list might be useful.

This use is separate from dispensing in house drugs.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 16, 2016, 11:55am UTC](https://community.open-emr.org/t/prescription-module-issues/4524/12 "2016-04-16T11:55:23Z")

</div>

**[yaronbs](https://sourceforge.net/u/yaronbs/)** wrote on [Saturday, April 16, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#6b60/1aa3):

I can not see the Inventory menu option (logged in as Admin), under Globals\Features it does not seem to be enabled and I do not see the option to select a template under Prescriptions.  
I am looking at this:  
[http://demo.open-emr.org:2107/openemr/interface/main/main\_screen.php?auth=login&site=default](http://demo.open-emr.org:2107/openemr/interface/main/main_screen.php?auth=login&site=default)

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 16, 2016, 4:16pm UTC](https://community.open-emr.org/t/prescription-module-issues/4524/13 "2016-04-16T16:16:43Z")

</div>

**[fsgl](https://sourceforge.net/u/fsgl/)** wrote on [Saturday, April 16, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#6b60/1aa3/c9e0):

The 4.1.2 Demo reset shortly after Ian added the data.

It resets each day about 6 am Pacific Time.

I’ve just added Latanoprost to the Dispensary Module.

You will have to take a look at it within the next 15 hours.

If not Latanoprost will also disappear.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 17, 2016, 6:16pm UTC](https://community.open-emr.org/t/prescription-module-issues/4524/14 "2016-04-17T18:16:42Z")

</div>

**[yaronbs](https://sourceforge.net/u/yaronbs/)** wrote on [Sunday, April 17, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#6b60/1aa3/c9e0/a199):

I am afraid I did not see this post in time…

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 17, 2016, 6:50pm UTC](https://community.open-emr.org/t/prescription-module-issues/4524/15 "2016-04-17T18:50:39Z")

</div>

**[kodusote](https://sourceforge.net/u/kodusote/)** wrote on [Sunday, April 17, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#6b60/1aa3/c9e0/a199/415f):

Dear Yaron, As fsgl said, the templates is only useful if you have an in-house pharmacy. I have added an in-house pharmacy to the Demo site and added Aspirin 75mg to the inventory. I added a template “Aspring Low Dose”. If you wish to prescribe Asprin Low Dose to any of the patients in the Demo, in the in-house drop-down list, you will see “Asprin Low Dose”. Once you select it, the prescription would be automatically populated by the information in the template as shown in the attached. Hope this explains the value of the templates - an old functionality that is no longer useful for practitioners in USA.!

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 17, 2016, 6:57pm UTC](https://community.open-emr.org/t/prescription-module-issues/4524/16 "2016-04-17T18:57:14Z")

</div>

**[kodusote](https://sourceforge.net/u/kodusote/)** wrote on [Sunday, April 17, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#bda4):

Dear Yaron,  
As fsgl said, the templates is only useful if you have an in-house pharmacy. I have added an in-house pharmacy to the Demo site and added Aspirin 75mg to the inventory. You did not see the inventory module in the Demo earlier because the in-house sale of drugs and products was not enabled in the global settings. I added a template “Aspring Low Dose”. If you wish to prescribe Asprin Low Dose to any of the patients in the Demo, in the in-house drop-down list, you will see “Asprin Low Dose”. Once you select it, the prescription would be automatically populated by the information in the template as shown in the attached. Hope this explains the value of the templates - an old functionality that is no longer useful for practitioners in USA.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 18, 2016, 8:10pm UTC](https://community.open-emr.org/t/prescription-module-issues/4524/17 "2016-04-18T20:10:03Z")

</div>

**[yaronbs](https://sourceforge.net/u/yaronbs/)** wrote on [Monday, April 18, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#0933):

So the problem is that on my local installation the template does NOT automatically fill the relevant fields while in the online demo it does (since now I see it works there). Perhaps I have some patch missing?

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 19, 2016, 12:16am UTC](https://community.open-emr.org/t/prescription-module-issues/4524/18 "2016-04-19T00:16:52Z")

</div>

**[fsgl](https://sourceforge.net/u/fsgl/)** wrote on [Tuesday, April 19, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#6c4d):

Not a patch problem.

Dispensary Module has been available from at least 2009.

Would suggest that you take a closer look at the Wiki article.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 19, 2016, 8:20am UTC](https://community.open-emr.org/t/prescription-module-issues/4524/19 "2016-04-19T08:20:06Z")

</div>

**[kodusote](https://sourceforge.net/u/kodusote/)** wrote on [Tuesday, April 19, 2016](https://sourceforge.net/p/openemr/discussion/202504/thread/e331521a/#56c4):

Dear Yaron,  
As fsgl said, the inventory module has been around in the main installation from way back. Please check that you have enabled it in the global settings as shown in the attached. If after doing that you still cannot see it on your installation, I’ll suggest you do a re-installation. Did you do a Debian installation? If so, a re-installation may solve the problem.
