DB Query for empty OIS #

26 views
Skip to first unread message

Jeffrey Rees

unread,
Jul 21, 2014, 10:30:24 AM7/21/14
to heo-i...@googlegroups.com
Hi all - I apologize if this has been covered before. Does anyone have the DB string to query the empty OIS orders

Scott Morris

unread,
Jul 28, 2014, 4:33:26 PM7/28/14
to heo-i...@googlegroups.com
Try this:

SELECT order_item_seq, perf_fac_id FROM ccdev.o_item WHERE order_type = 's' AND order_name like 'EMPTY%'

TWessel

unread,
Jul 31, 2014, 9:03:18 AM7/31/14
to heo-i...@googlegroups.com
Just curious.  What is the purpose of s type orderables?

Thanks!

Scott Morris

unread,
Jul 31, 2014, 9:09:41 AM7/31/14
to heo-i...@googlegroups.com
If you're asking why people might be interested to find their "Empty" order, it helps to tame the parser when trying to load a @VGR command in case a user doesn't select any @LOAD_ORDERS beforehand. (See http://heo-iforms.blogspot.com/2013/07/sending-vgr-command-by-itself-from-vgr.html for more detail).

If you're asking what the purpose of these orders is in HEO, my best guess is that these are the "placekeeper" orders that are used to have a valid entry in the database for things like outline remarks and the "return" elements at the bottom of outlines.  That said, HEO responds to them by doing nothing -- just as if you were to click a remark in an outline, so they're perfect for getting the parser to get its head on straight without adding any additional orders to the patient.

TWessel

unread,
Jul 31, 2014, 9:15:33 AM7/31/14
to heo-i...@googlegroups.com
Never mind.  I now recall what s type orders are.  My only question would be why you would care about the OIS numbers.  Just interested in how you are using those.

Thanks!
Reply all
Reply to author
Forward
0 new messages