Prescription module issues

yaronbs wrote on Thursday, April 14, 2016:

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?

fsgl wrote on Thursday, April 14, 2016:

  1. See this.
  2. See same webpage as in 1.
  3. Search can be of one’s own pharmacy or against an online database.

yaronbs wrote on Friday, April 15, 2016:

  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.

fsgl wrote on Friday, April 15, 2016:

  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.

tmccormi wrote on Friday, April 15, 2016:

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 …

yaronbs wrote on Saturday, April 16, 2016:

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…

epsdky wrote on Saturday, April 16, 2016:

Hello Yaron,

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

yaronbs wrote on Saturday, April 16, 2016:

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

epsdky wrote on Saturday, April 16, 2016:

I have set up a template (Inventory > Management) in this demo, Is this how you are doing it?

fsgl wrote on Saturday, April 16, 2016:

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.

epsdky wrote on Saturday, April 16, 2016:

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.

yaronbs wrote on Saturday, April 16, 2016:

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

fsgl wrote on Saturday, April 16, 2016:

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.

yaronbs wrote on Sunday, April 17, 2016:

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

kodusote wrote on Sunday, April 17, 2016:

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.!

kodusote wrote on Sunday, April 17, 2016:

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.

yaronbs wrote on Monday, April 18, 2016:

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?

fsgl wrote on Tuesday, April 19, 2016:

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.

kodusote wrote on Tuesday, April 19, 2016:

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.