Batch Files to Increase Pharmacy Efficiency

Our hospital utilizes a decentralized model. One pharmacist in the main pharmacy takes care of the dispensing duties while the rest of the pharmacists are responsible for order entry, kinetics and trouble shooting in their respective areas.

The pharmacist located in the ICU typically participates in daily rounds each morning. If you are familiar with how rounding works, then you know that a pharmacist’s main job is to evaluate drug therapy based on lots of data (patient condition, diagnosis, age, gender, weight, renal status, etc). Accessing this data at the point-of-care is never easy for a pharmacist and they will often rely on the old “pen an paper” to get the job done. With all the advances in technology it just didn’t seem right for them to be doing it this way. Solution? A tablet PC.

I configured a Dell Latitude XT tablet PC (see photos) for the pharmacists to use on the floor. It was a big hit. The only minor complaint was the number of times the pharmacist had to “tab” to get all their applications and references open. We utilize various systems to get laboratory data, write orders, enter orders, etc. Not to mention the online references we frequently use. The solution was simple, create small batch files to open multiple applications at once.

Below is a list of some basic ways to create a batch file to open multiple applications (or browser with multiple tabs) at once. These can all be written using Notepad and can be saved as *.bat for batch files and *.js for the javascript file (MS Explorer version 7.0)

Dell Latitude 

tabletpc_open tabletpc_slatemode

 

To open applications: Opens our pharmacy system (SMS), Notepad, Internet Explorer

@ECHO OFF

Start “SMS” “C:\Program Files\SMS\PCW\I86\23079035\bin\PCWSTAPL.EXE”

Start “NOTEPAD” “%SystemRoot%\system32\notepad.exe”

Start IEXPLORE.EXE http://www.google.com

 

 

Batch files to open up browsers to multiple locations (i.e. multiple tabs at once)

 

Google’s Chrome Browser: Open the browser (chrome.exe) and populate the tabs (Google, JerryFahrni.com, UpToDate, Micromedex)

@ECHO OFF
START /d “C:\Documents and Settings\jfahrni\Local Settings\Application Data\Google\Chrome\Application\” chrome.exe www.google.com www.jerryfahrni.com  WWW.UPTODATE.COM http://www.thomsonhc.com/hcs/librarian

 

Firefox Browser: Open the browser (firefox.exe) and populate the tabs (Google, JerryFahrni.com, UpToDate, Micromedex)

@ECHO OFF
START firefox.EXE www.google.com www.jerryfahrni.com WWW.UPTODATE.COM http://www.thomsonhc.com/hcs/librarian


 Internet Explorer version 6.0 and older: Open two browsers (explorer.exe): one with JerryFahrni.com and one with google.

@ECHO OFF

START explorer.EXE http://jerryfahrni.com

START explorer.EXE httpt://google.com


 Internet Explorer version 7.0 and newer: This can be a little tricky. You cannot directly use a batch file like IE 6.0, Firefox and Chrome. You will have to use a small java script file.

 

var navOpenInBackgroundTab = 0x1000;
var oIE = new ActiveXObject(“InternetExplorer.Application”);
oIE.Navigate2(“http://jerryfahrni.com”);
oIE.Navigate2(“http://www.google.com”, navOpenInBackgroundTab);
oIE.Visible = true;

 

To get a polished look I convert my batch (BAT) files to little executable files (EXE) with a conversion program like Bat To Exe Converter. Then create an nifty little icon to separate it from the rest of the desktop using. I use a nice little application called Irfanview to create my icons.

Here is an image of the screen I use as education for the pharmacists.

tablet-screen-info

This entry was posted in Tablet PCs and tagged , . Bookmark the permalink.

2 thoughts on “Batch Files to Increase Pharmacy Efficiency

  1. Pingback: Jerry Fahrni » Back it up, sir. Back it up.

  2. Pingback: Jerry Fahrni » Tablet PCs in pharmacy practice – Barriers