Automating Practice Partner with Macro Express Donald T. Stewart, MD 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.
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.
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.
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 program running in the background. It monitors your keystrokes, and when it sees a special combination you have defined, it will do something.
Inside Macro Express
The Scripting Editor
Example: The Lowercase Macro
Using Macro Express to Automate The next few slides will show the steps we do in Practice Partner to a letter to a patient Then we see how to create a macro for this function in Macro Express
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 “ ” button Then hit “Tab” twice to get to the Message Title
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
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
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
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
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 a patient Or, bringing the Patient Chart window to the foreground
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.
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.
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.
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.
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/ :/http/ :/
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)
Resources for Macro Express this is the Macro Express home pagewww.macros.com Macro Express Explained, by Joe Weinpert – the only book out on Macro Expresshttp:// Professional Grade Macros Home Pagehttp://
Resources for Macro Express This is the Professional Grade Macros Power Board Forum My Web Site, go to “Physicians Only” to get my macro libraries
Questions?