Possible to change ordering source and clinician in VGR?

61 views
Skip to first unread message

James B

unread,
Apr 13, 2015, 2:34:30 PM4/13/15
to heo-i...@googlegroups.com
I am looking at using formless VGR in an exit check to place an order if criteria is met.  I need the ordering source to be Protocol.  Is it possible to address ordering source and clinicians using VGR?

James B

unread,
Apr 20, 2015, 9:17:28 AM4/20/15
to heo-i...@googlegroups.com
Just to give a little update.  I made some progress, discovered that you can change the order source in the HEO window by using the command   @OSOURCE_CHANGE=Protocol

TWessel

unread,
Apr 20, 2015, 11:06:14 AM4/20/15
to heo-i...@googlegroups.com
Wow.  Nice find!  Mind if I ask how you discovered this hidden gem?

James B

unread,
Apr 20, 2015, 3:22:35 PM4/20/15
to heo-i...@googlegroups.com
Performed a little reverse engineering on the rTable.log  

The problem is bringing that command into a formless VGR file. When you launch that VGR file you'll receive an error because the VGR file is passing back Protocol^^^ instead of Protocol.

If anyone is able to play around with it and make a breakthrough, I'd love to know.





ckittred

unread,
May 4, 2015, 4:31:01 PM5/4/15
to heo-i...@googlegroups.com
I found the same thing out by checking out the rtable log, and use if to switch to telephone for when NP/PAs place our medicare attestation order so it will generate an MD cosign. HEO is VERY picky about how it has to work. Here's the only thing that I've gotten to work:

- The @OSOURCE_CHANGE has to be the only order that places or it won't parse correctly. I just made a new formless VGR to handle this order specifically. The new osource also will not take effect until there is a write of the processed orders back to the HEO session. You can force this in a chained iForm session by loading a new iForm
- It has to be ordered using a string concatenation and then ordered via the form callback. the EDIT/INIT,LOAD_ORDER command does not work.
e.g. 
INIT,SET,,orderstring,CAT,"@OSOURCE_CHANGE=Telephone"

and
INIT,EXIT,ALL,orderstring

- You can set the order source via html inputs, passing it via a temporary order with order awareness, or hardcode it
- If you attempt to use an order source that the current user doesn't have HEO will throw a socket error and crash

Hope this info is useful to you

On Monday, April 13, 2015 at 2:34:30 PM UTC-4, James B wrote:
I am looking at using formless VGR in an exit check to place an order if criteria is met.  I need the ordering source to be Protocol.  Is it possible I to address ordering source and clinicians using VGR?

ckittred

unread,
May 5, 2015, 9:19:07 AM5/5/15
to heo-i...@googlegroups.com
Something I forgot to mention - if the order source VGR isn't linking to another iForm after it's done and your facility uses an entrance check, it will probably break. You can get around this by including this command at the end of the order source iForm
EDIT/INIT,LOAD_ORDER,,,,"@XOS"

This will correctly reload the default outline and run your entrance checks

James B

unread,
May 11, 2015, 10:16:38 AM5/11/15
to heo-i...@googlegroups.com
Thanks, ckittred

I was able to make some progress using the method you described.  Also, you might already be aware of this but you can change the ordering clinician by the command OCLIN_CHANGE=(STAFF_ID).  You can then incorporate that into formless VGR using the same method as the ordering source.  I could see this being useful if you wanted to use an exit check to place an order "per protocol", under the attending physician.


On Monday, April 13, 2015 at 1:34:30 PM UTC-5, James B wrote:

Darnell, Charles (WBH)

unread,
May 12, 2015, 9:29:51 AM5/12/15
to heo-i...@googlegroups.com

How do you code the clinician.role to trigger the change in source? I didn’t think VGR iForms were capable of that.

 

cid:image001.jpg@01CE02AF.CF494160

 

Chuck Darnell RN

CIT Clinical Analyst

Baptist Health Paducah

2501 Kentucky Ave.

Paducah, Ky. 42003

 

270.575.8415 phone

270.415.7767 fax

charles....@bhsi.com

BaptistHealthPaducah.com

--
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/e687bce2-a0b4-4ed7-841d-b2fa70f1e60f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



This email, facsimile, or letter and any files or attachments transmitted with it contains information that is confidential and proprietary. This information is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law. If you have received this information in error, please notify Baptist Health immediately at 502-896-3020 or via email to the sender.

ckittred

unread,
May 12, 2015, 9:38:02 AM5/12/15
to heo-i...@googlegroups.com
You are correct, VGR can't do it alone. I set up a separate PHP server that connects to the HCI database. Any bit of info I need that isn't already a VGR session variable (almost everything..) I code a PHP script to retrieve it and pass it back to the iForm. So using the user.id session variable I am able to lookup the current user group and include it in my form logic.

I've got other tools running on the server too, like a network-wide OIS/OOS lookup, a tool to show all prompts and their values/units network wide for orders, automatic standard-to-VGR rule converter, etc. It's very handy. If anyone has something similar I'm happy to share the code

To post to this group, send email to heo-...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages