Help Your Users With Quick Orders - Uncheck All

Part of the convenience of iForms is the ability to "pre-check" items, meaning that when the iForm is opened, some checkboxes start with the check mark already in it.  This makes an iForm work like an orderset that has a number of "order with previous" items.

However, when we first started making iForms, especially long or complicated ones, we felt like we had to tread a thin line regarding what items were pre-checked, not because we doubted the clinical necessity or contribution, but because we foresaw situations in which a physician may want to order just a few common things instead of the entire she-bang.
Our quick solution was to put an additional button at the bottom of the iForm titled "Uncheck All."  This way, if the user wants to select just a few things but doesn't want to go through the entire form, unchecking everything that they can find, they can just click the one button, find what they need, and submit without worrying that they missed something.

This kind of function is pretty straightforward if you're already including jQuery in your pages:

$('input:checkbox:checked').attr('checked',false);


Now, we tell our teams that make the decisions about what should be pre-selected that they can be more free to choose those things that are ordered "most of the time" without having to worry about the times that a physician may come in and "just order the labs."

2 comments:

  1. We use a lot of pre-checking on our specific forms (those decision are made by a panel of our doctors and nurses however, not us geeks), the general forms are mostly not pre-checked (ie, common lab, prn meds, no pre-checks).

    I started putting a hidden check all / uncheck all function into my forms using the same script to make life much less click-intensive for my testers.

    It fires off a ctrl-click of the logo (an idea I got from your VGR script, ty)

    I want to do a posting on my general tools soon and I'll show the code there.

    ReplyDelete
  2. Yeah, it certainly does make the lives of the testers easier (and you make a good point about having a hidden "check all" as well for that purpose).

    We figured that the "uncheck all" could be helpful for general consumption for those "one-off" orders to help with buy-in.

    ReplyDelete