Jerry Fahrni

Pharmacy Informatics and Technology

  • Home
  • About
RSS

Batch Files to Increase Pharmacy Efficiency

Posted on April 22, 2009 by Jerry Fahrni
2 Comments

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 = 0×1000;
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

Categories: Tablet PCs | Tags: batch files, tablet pc
Notice: This work is licensed under a BY-NC-SA. Permalink: Batch Files to Increase Pharmacy Efficiency
Agents raid Siemens U.S. headquarters
Sum(1) ..how could something so simple be so frustrating

2 Responses to “Batch Files to Increase Pharmacy Efficiency”

  1. Jerry Fahrni » Back it up, sir. Back it up. says:
    May 6, 2009 at 4:27 pm

    [...] a batch file is really quite simple. I personally use Notepad to write the batch file. Simply type the xcopy script in Notepad and save [...]

  2. Jerry Fahrni » Tablet PCs in pharmacy practice – Barriers says:
    August 12, 2009 at 8:48 am

    [...] of the barriers to tablet PC implementation can be easily handled via education and various changes to the tablet, making it easier to use. Other barriers, however will require more effort and involvement of the [...]

  • Tweet
  • Recent Posts

    • Evernote update for Android is awesome
    • Ideas, Vision, Innovation: Fantasy vs. Reality
    • News flash, not all docs happy with iPad in the hospital setting
    • Pharmacy student adherence to a simulated medication regimen
    • Thinking about pharmacy refrigerators
    • Android App: Tarascon Prescriber’s Essentials
    • Lexi-Drugs to include CHEST guideline and Beers Criteria
    • Medication reconciliation on an internal medicine unit in French hospital [Article]
    • Foiled again!
    • Pharmacy technician program standards draft from ASHP now available for comment
  • Blogroll

    • Apple Core Labs
    • Archetypical
    • Florence dot com
    • Health Care Product Management
    • Infusion Nurse Blog
    • Pharmacy Technology Resources
    • Rob Fahrni
    • RxINFORMATICA
    • RxInformatics
    • The Cynical Pharmacist
    • The Medicine Guy
    • The Student Pharmacist
    • Unnatural Language Processing
  • Categories

    • Automation (42)
    • Barcoding (61)
    • Cloud Computing (25)
    • Cool Technology (105)
    • CPOE (3)
    • Database (8)
    • EMR (31)
    • Hardware (5)
    • iPhone (17)
    • Medication Safety (80)
    • Mobile Computing (100)
    • None of the above (2)
    • Pharmacy Informatics (107)
    • Pharmacy Practice (22)
    • RFID (7)
    • Siemens (13)
    • Tablet PCs (50)
    • Technology (62)
    • Therapeutics (28)
    • Top Posts/Searches (28)
    • Uncategorized (85)
    • Web 2.0 (14)
    • What'd I miss (62)
© Jerry Fahrni. Proudly Powered by WordPress | Nest Theme by YChong