automating practice partner with macro express donald t. stewart, md...

33
Automating Practice Partner with Macro Express Donald T. Stewart, MD [email protected] 2007User Group Meeting

Upload: dortha-scott

Post on 24-Dec-2015

218 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Automating Practice Partner with Macro Express

Donald T. Stewart, [email protected]

2007User Group Meeting

Page 2: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Macros

• A Macro is an abbreviation or “shortcut” for something complex.

• The concept is as old as computers, and is integral to programming.

• The obvious example in Practice Partner is QuickText.

Page 3: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Keyboard Shortcuts

• Keyboard shortcuts are combinations of keys which when pressed will activate a function in a program.

• Practice Partner comes with a large number of keyboard shortcuts built into the program.

Page 4: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting
Page 5: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting
Page 6: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting
Page 7: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting
Page 8: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting
Page 9: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting
Page 10: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Macro Express

• There are a wide variety of macro programs, but the only one I will discuss today is Macro Express, by Insight Software Solutions.

• The cost is $39.95 and an additional $29.95 buys the PGM Functions Library, a toolkit that is necessary for running some of the macros shown today.

Page 11: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

How Macro Express Works

• Macro Express runs as a separate program under Windows, and it can run all the time you are logged in, just like you might have an email program running in the background.

• It monitors your keystrokes, and when it sees a special combination you have defined, it will do something.

Page 12: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Inside Macro Express

Page 13: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

The Scripting Editor

Page 14: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Example: The Lowercase Macro

Page 15: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Using Macro Express to Automate

• The next few slides will show the steps we do in Practice Partner to email a letter to a patient

• Then we see how to create a macro for this function in Macro Express

Page 16: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Email Letter to Patient - 1

• With a letter open, you have to press Ctrl-A twice to select all the text

• Then you press Ctrl-C to copy it to the clipboard

• Then you click the “Patient” button• Then you click the “Email” button• Then hit “Tab” twice to get to the Message

Title

Page 17: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Email Letter to Patient - 2

• Then type in the title of the message• Then tab to the message window• Then press Ctrl-V to paste in the message• Then press Alt-S to send the message• Then hit Esc twice to close the Patient and

Letter windows

Page 18: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

How to do this in Macro Express

• In Macro Explorer, choose “Macros”, then “Add Macro”

• Choose a Hot Key to activate the Macro• Give it a name• Then use the Scripting Editor to create the

Macro

Page 19: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting
Page 20: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting
Page 21: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting
Page 22: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Ways to Activate a Macro

• HotKeys• A combination of keys pressed together, like Alt-

Shift-E

• ShortKeys• A set of keys typed in sequence, like ..imp

• Schedule• You can automate file checking or backup by

having the macro run at a certain time

Page 23: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

What Macro Express can Do

• You can also define shortkeys to expand the feature set of Practice Partner

• For example, “..meds” can be defined to insert both the allergies and the current medication list into a note.

• To do this with the keyboard alone in Practice Partner, we press Alt-I, then S, then Alt-I, then U, not very intuitive

Page 24: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

What Macro Express can Do

• You can define combinations of keystrokes to do things that would otherwise require a mouse.

• For example, pressing the Patient button to be able to email a patient

• Or, bringing the Patient Chart window to the foreground

Page 25: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

What Macro Express can Do

• You can add new functions to Practice Partner

• For example, you can highlight a block of text in a patient note, such as a graphics file name, a Word document, or an Excel spreadsheet, then press Ctrl+= to bring up the native viewer for the graphics file, or Word or Excel with the document loaded.

Page 26: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

What Macro Express can Do

• You can “spruce up” your formatting in patient notes by defining shortkeys to paste the degree sign into your notes, or create bulleted lists.

• You can also create complex macros that open up other windows in a patient note, get data from them, and perform calculations on the data and return the result, e. g., the Body Mass Index macro for version 8.2.

Page 27: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

What Macro Express can Do

• Shortkeys can be developed to bring up your favorite templates or quicktext. For example, typing “..ref” brings up my referral template, “..not” brings up my standard visit note template, and “..men” brings up a menu of quicktexts for visit notes on my system.

Page 28: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Advanced Macro Express

• By using the Professional Grade Macros add-in toolkit to Macro express, you can create advanced macros that can parse your note, pull out the Past Medical History, Family History, and Social History parts of the note, then update these sections in the chart automatically.

Page 29: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Advanced Macro Express

• Below is a macro that will open up the PPRNet Patient Level Report Spreadsheet, then open up a practice partner utility to get the demographics and then paste them into the spreadsheet.

• http/www.musc.edu/PPRNet/MyPPRNet.htm :/

Page 30: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Advanced Macro Express

• To produce custom reports on a group of patients, you can create a list of the patient ID numbers, then write a macro that reads the list, opens each chart, and opens a custom data harvesting note, copies the note, and writes it to a file (see details on my web site)

Page 31: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Resources for Macro Express - 1

• www.macros.com this is the Macro Express home page

• http://www.macros.com/macexplained.htm Macro Express Explained, by Joe Weinpert – the only book out on Macro Express

• http://www.pgmacros.com/ Professional Grade Macros Home Page

Page 32: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Resources for Macro Express - 2

• http://www.pgmacros.com/community/

This is the Professional Grade Macros Power Board Forum

• http://www.SammamishDiabetesAndLipid.org

My Web Site, go to “Physicians Only” to get my macro libraries

Page 33: Automating Practice Partner with Macro Express Donald T. Stewart, MD DonS@SammamishDiabetesAndLipid.Org 2007User Group Meeting

Questions?