Forget Something? - VGR Cheat Sheet

When we attended McKesson's VGR Training class, we got an electronic copy of a VGR "Cheat Sheet," basically a one page reference guide to the available VGR commands. Inspired by that, I decided that I'd make my own. Please note that this cheat sheet is not exhaustive; there are plenty of things that I left out in the interest of space (for instance, there are lots of other prompts listed in the official documentation, but I only listed the "most commonly used" ones, at least in my experience).

At any rate, I figured that this would be something that the community at large may find useful. Enjoy!


Create Multi-item Checklists


The Problem

Checkboxes are great on iForms, wonderful, but our doctors want even less clicking. So we need a way to select a group of checkboxes with one click.

Hello World - A Message from Russ

I guess I'll follow Scott's example. I'm Russ Garlow Jr, I work at South Georgia Medical Center in Valdosta, GA. We're a 335 bed, 3k+ employee hospital in Southwest GA. We have an outstanding CPOE dept with six members, but I'm the first dedicated iForm designer. The others did some tweaking before I came on board, but none of them really had time to delve into the murky depths of iForms or VGR. They had looked at outsourcing it, but that wasn't practical based on the number of forms we would have and the time that needs to go into them. You really need to have someone working on them full time. So they got me and sent me to training.

Trim Your VGR - Clear Default Text


The Problem

You know what always annoyed me?  Having to have multiple @LOAD_ORDER strings in my VGR just to check whether a textbox was left blank (and let's not even talk about when there is more than one textbox).

So, for example:

# ED CHEST AP PORTABLE
EDIT,IF,,chkChestAPportable,EQ,"true",AND
EDIT,IF,,txtChestAPportableComments,NE,,THEN
EDIT,SET,,orderstring,CAT,"@LOAD_ORDER=OIS=123456^^^OOS=0^^^7810=`cboChestAPportableReason^^^53=`txtChestAPportableComments"

EDIT,IF,,chkChestAPportable,EQ,"true",AND
EDIT,IF,,txtChestAPportableComments,EQ,,THEN
EDIT,SET,,orderstring,CAT,"@LOAD_ORDER=OIS=123456^^^OOS=0^^^7810=`cboChestAPportableReason^^^53=..."

I knew that there had to be a better way, and through some trial and error, I came up with a solution that's worked really well for us. But before we get to that, let's take a quick walk through the process and see why some of the early solutions didn't quite work right.

Easy Order Selection - rowSelector

The Problem

If you've spent much time at all creating iForms for HEO, you've come across a list of orders that have all kinds of prompts associated with them.  Take meds, for example, you may have a long list of meds, all with options for dose, route, priority, and frequency.  If you're like me, you may have wanted them all aligned nice and neatly.

For me (especially given the restrictions of HEO's formatting, but that's whole other rant), I will generally use a table.

List of Statin Medications, all with their own Dose, Route, and Frequency options

Now, other than using the "grid" formatting that "comes with" the iForms that McKesson provides, I wanted to figure out how to help the customer see which order they were looking at when they were fiddling around with the doses, frequencies, etc.  If you have enough doses, routes, or whatever that all look similar enough, the user may accidentally make their choice on the wrong med.