Active Order Awareness - Signed Orders

93 views
Skip to first unread message

Michael Burrows

unread,
Nov 8, 2013, 4:06:43 PM11/8/13
to heo-i...@googlegroups.com
Hey guys,

I would like to display a message in my HTML file if an existing order is has not been signed by a physician.

More specifically: There is an "Admission Status" order that may or may not have been "signed" by a physician. We aren't supposed to discharge that patient until the order is signed. Is there a parameter on the order that I can read with VGR that tells me the "Signed" status of the order?

If so, we have a discharge iForm that is used for every patient that I could manipulate to show a certain message based on the status.

Thanks,

Mike Burrows
Phoebe Putney Health System

TWessel

unread,
Dec 13, 2013, 3:20:34 PM12/13/13
to heo-i...@googlegroups.com
If you can put a special comment on your admit order that identifies that the order requires co-sign, then you can use Active Order Awareness to read the comment and also place the "@CS" order in your VGR code.  @CS displays the co-sign screen.

___________________________
Tom Wessel, MD
CMIO
SRHS
Spartanburg, SC

Michael Burrows

unread,
Dec 16, 2013, 10:04:18 AM12/16/13
to heo-i...@googlegroups.com
Thanks for the suggestion. I was not aware of the "@CS" command. I will check it out.

Michael Burrows
Phoebe Putney Health System

Michael Burrows

unread,
Sep 2, 2014, 2:45:33 PM9/2/14
to heo-i...@googlegroups.com
I finally got around to implementing a solution using the "@CS" command... so far, I have not been able to get it to work.

When I type "@CS" directly into HEO, it displays the cosign screen, as expected. But when it is submitted by VGR form, nothing happens.

Here is the offending portion of my code:

EDIT,IF,,btn_showcs,EQ,"OK",THEN
EDIT,SET,LOCAL,orderstring,CAT,"@CS"

EDIT,IF,,btn_iggy,EQ,"Ignore",THEN
EDIT,EXIT,ALL

#Load the order string
EDIT,LOAD_ORDER,,,,orderstring

EDIT,EXIT,ALL

Can anyone see what I'm doing wrong (assuming you actually can call the cosign screen from VGR)? I have tested the functionality of the button with a different order, which works fine.

Thanks!

Michael Burrows
Phoebe Putney Health System


Michael Hudson

unread,
Sep 2, 2014, 3:30:44 PM9/2/14
to heo-i...@googlegroups.com
Michael,

Try concatenating using the OIS 12006152, which is an OIS for an order that does not display, it actually is the special order for a spacer used in an outline. I use this same process to load the @VGR command so they will go to the next iform.

EDIT,IF,,btn_showcs,EQ,"OK",THEN
EDIT,SET,LOCAL,orderstring,CAT,"@LOAD_ORDER=OIS=12006152^^^OOS=0^^^@CS"

Hope this helps,

Michael


--
You received this message because you are subscribed to the Google Groups "HEO iForms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to heo-iforms+...@googlegroups.com.
To post to this group, send email to heo-i...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/heo-iforms/6f97ab0a-4be7-4df9-9c1b-5673f86b050c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael Burrows

unread,
Sep 2, 2014, 3:44:38 PM9/2/14
to heo-i...@googlegroups.com
Thanks; good idea, but that didn't do it either, unfortunately. I am perplexed.

Mike

Jeffrey Rees

unread,
Sep 3, 2014, 2:59:37 PM9/3/14
to heo-i...@googlegroups.com
Mike -

Sometime the spacer OIS varies by facility so if you are typing in a non-existent OIS the @CS function still will not work.

Trying querying the empty OIS # 
SELECT order_item_seq, perf_fac_id FROM ccdev.o_item WHERE order_type = 's' AND order_name like 'EMPTY%'

Michael Burrows

unread,
Sep 3, 2014, 3:05:49 PM9/3/14
to heo-i...@googlegroups.com
Yep, I thought that might be the case and stumbled upon a thread on here telling me how to do it. As it turns out, my facility's empty OIS is 12006153.

Unfortunately, it made no difference and @CS still doesn't work from the iForm, regardless of what OIS I call (or don't).

I will let you all know if I find the answer.

Thanks for your response!

Mike

Brady Deckard

unread,
Sep 4, 2014, 9:25:13 AM9/4/14
to heo-i...@googlegroups.com
This should work:

EDIT,IF,,btn_showcs,EQ,"OK",THEN
EDIT,SET,LOCAL,cs_variable,TO,"@CS"

EDIT,EXIT,ALL,cs_variable

Michael Burrows

unread,
Sep 4, 2014, 9:36:39 AM9/4/14
to heo-i...@googlegroups.com
That worked! Thanks so much! 

I had no idea that you could do that. I thought once and "EDIT,EXIT,ALL" was called, that was it... but apparently you can put more commands on that line (if they are stored in a variable). Interesting, and great to know.

(In hindsight, I'm guessing that the problem was that the "EDIT,EXIT,ALL" was closing out the cosign screen immediately.)

Thanks again,

Mike Burrows
Phoebe Putney Health System
Reply all
Reply to author
Forward
0 new messages