ORCSEND2 ;SLC/MKB - Release cont ;Jan 23, 2019@17:18
Source file <ORCSEND2.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Order Entry Results Reporting | 3 | ORCDVBEC ORCSEND1 ORMVBEC |
Name | Comments | DBIA/ICR reference |
---|---|---|
PTR(NAME) | ; -- Returns ptr value of prompt in Dialog file
|
|
EN | ; -- Spawn child orders from ORIFN, send to VBECS [from VBEC^ORCSEND1]
|
|
EN1 | ||
EN2 | ||
UNRL(DAD) | ; -- ck for any unreleased child orders
|
|
START | ; -- Define ORSTRT(), set Start Date in ORPARENT
|
|
LINK | ; -- set up ORPARENT/ORIFN links, ORLAST in ORCHLD()
; Uses ORVP,ORLOG in xref |
|
LABTST | ; -- Create Lab order for VBECS blood component or test
; Expects var's from above, Returns ORLAB & ORLRIFN |
|
LT1 | ; VALIDATE??
|
|
TEST(X) | ; -- find corresponding Lab test for VBECS item X, in #101.43
|
|
CANCEL(ORDAD,OREASON) | ; -- Cancel parent order
|
Name | Field # of Occurrence |
---|---|
^%DT | START+2, START+5 |
GETDLG1^ORCD | EN+8, LABTST+6 |
GETORDER^ORCD | EN+8 |
GETIMES^ORCDLR1 | EN+8 |
EN^ORCSAVE | EN1+8, LT1+7 |
AM^ORCSAVE2 | START+4 |
DATES^ORCSAVE2 | EN1+10, START+6, LT1+10 |
NEXT^ORCSAVE2 | START+4 |
RELEASE^ORCSAVE2 | EN1+11, EN1+14, LT1+11 |
STATUS^ORCSAVE2 | CANCEL+7 |
$$WHY^ORCSEND | LT1+13 |
$$WORK^ORCSIGN | EN2+4 |
MSG^ORMBLD | CANCEL+4 |
NEW^ORMBLD | LT1+11 |
NW^ORMBLDVB | EN1+12 |
RESULTS^ORMBLDVB | EN2+1 |
PRINT^ORPR02 | EN2+5 |
$$NOW^XLFDT | CANCEL+5 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^LAB(60 - [#60] | LT1+1 |
^LAB(62 - [#62] | LT1+3 |
^LAB(62.05 - [#62.05] | LT1+5 |
^OR(100 - [#100] | EN+4, EN1+13*, EN1+16, UNRL+2, UNRL+3, LINK+2*, LINK+3*, LINK+4*!, LT1+12, CANCEL+2 , CANCEL+3, CANCEL+6* |
^ORD(100.02 - [#100.02] | CANCEL+5 |
^ORD(100.98 - [#100.98] | LABTST+7 |
^ORD(101.41 - [#101.41] | PTR+1, LABTST+5 |
^ORD(101.42 - [#101.42] | LT1+4 |
^ORD(101.43 - [#101.43] | EN1+2, LABTST+7, LABTST+9, TEST+2 |
^TMP($J | EN+9*, EN1+4, EN2+8!, LABTST+3, LABTST+6* |
Name | Field # of Occurrence |
---|---|
^( | LT1+1 |
^(1 | CANCEL+6* |
^(8 | CANCEL+6* |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%DT | START+1~* |
DAD | UNRL~, UNRL+2 |
DUZ | EN1+11, EN1+14, LT1+11 |
I | UNRL+1~, UNRL+2*, UNRL+3, TEST+1~, TEST+2* |
LOC | EN2+2~, EN2+3*, EN2+5 |
LRT | LABTST+2~, LABTST+9*, LT1+1, LT1+12 |
NAME | PTR~, PTR+1 |
NATR | EN2+2~, EN2+4*, EN2+5, CANCEL+1~, CANCEL+5*, CANCEL+6 |
>> NATURE | EN1+11, EN1+14, EN2+4, LT1+11 |
NM | TEST+1~*, TEST+2 |
NOW | CANCEL+1~, CANCEL+5*, CANCEL+6 |
OR0 | EN+1~, EN+4*, EN+5, EN+6, EN+7, EN1+1, EN2+3, START+6 |
ORCAT | EN+1~, EN+6* |
ORCHLD | EN+2~, EN1+13, LINK+2*, CANCEL+1~, CANCEL+2*, CANCEL+3, CANCEL+4 |
ORDAD | CANCEL~, CANCEL+1, CANCEL+2, CANCEL+6, CANCEL+7 |
ORDG | EN+1~, EN+7*, LABTST+2~, LABTST+7* |
ORDIALOG | EN+1~, EN+5*, EN+8, EN+9, EN1+4!*, LABTST+2~, LABTST+3*, LABTST+5*, LABTST+6 |
ORDIALOG( | EN1+4*, EN1+6*, EN1+7*, LABTST+9*, LABTST+10*, LABTST+11*, LT1+2*, LT1+3*, LT1+6* |
ORDUZ | EN+1~, EN+5* |
OREASON | CANCEL~, CANCEL+4, CANCEL+6 |
>> ORERR | EN1, EN1+3, EN1+9*, EN2+6*, EN2+7*, LABTST+8*, LT1+8*, LT1+13* |
ORESP | EN+2~ |
ORESP( | EN1, EN1+2, EN1+6, START+2, START+3, LABTST+10, LABTST+11, LT1+4 |
ORFLDS | EN+2~, EN1+5*, EN1+6 |
ORI | EN+2~, EN1*, EN1+2, EN1+6 |
ORIFN | EN+4, EN+8, EN1+8!, EN1+9, EN1+10, EN1+11, EN1+12, EN1+16*, START+6, LINK+2 , LINK+3, LINK+4, LABTST+2~, LT1+8, LT1+10, LT1+11, LT1+12, LT1+13, LT1+14 |
ORIT | EN+2~, EN1+2*, EN1+4, EN1+8!, LABTST+7, LT1+7~ |
ORITX | EN+2~, EN1+2*, EN1+5, EN1+10, LT1+3 |
ORL | EN1+1~*, EN2+3 |
ORLAB | EN+2~, LABTST+2!, LT1+12*, LT1+13 |
ORLAST | EN+2~, EN1+13, LINK+2* |
ORLOG | EN+1~, EN+6*, LINK+4 |
ORLRIFN | EN+2~, EN1+7, LABTST+2!, LT1+12* |
>> ORNOW | EN1+11, EN1+14, LT1+11 |
ORNP | EN+1~, EN+5* |
ORP | EN+2~, EN1+6* |
ORPARENT | EN+1~, EN+4*, EN1+3, EN1+13, EN1+14, EN1+16, EN2+1, EN2+6, LINK+2, LINK+3 |
ORPCOLL | EN+3~, EN+13*, START+3, LABTST+11 |
ORPCOMM | EN+3~, EN+14* |
ORPDTW | EN+3~, EN+11*, START+2, LABTST+11 |
ORPINFC | EN+3~, EN+12* |
ORPITEM | EN+3~, EN+9*, EN1, EN1+2, EN1+4, LABTST+9 |
ORPKG | EN+1~, EN+7*, LABTST+2~ |
ORPLAB | EN+3~, EN+16*, EN1+7 |
ORPMSBS | EN+3~, EN+12* |
ORPRBCM | EN+3~, EN+10* |
ORPREAS | EN+3~, EN+11* |
ORPRINT | EN+1~, EN+7*, EN2+5, LT1+14* |
ORPRINT( | LT1+14* |
ORPRINT(0 | EN2+2 |
ORPRSLT | EN+3~, EN+15* |
ORPSPEC | EN+3~, EN+15* |
ORPTYPE | EN+3~, EN+13*, LABTST+10 |
ORPUNIT | EN+3~, EN+10* |
ORPURG | EN+3~, EN+14*, LT1+4 |
>> ORQUIT | EN1+16* |
ORSTRT | EN+2~ |
ORSTRT( | EN1+10 |
ORSTRT("COLL" | START+1*, START+5*, LT1+9 |
ORSTRT("DTW" | START+1*, START+2*, LT1+9 |
ORTIME | EN+2~ |
ORTS | EN+1~, EN+6* |
>> ORVP | LINK+4 |
P | EN+2~, EN1+6*, LABTST+2~ |
PAT | EN2+2~, EN2+3*, EN2+5 |
STRT | START+1~*, START+2*, START+5*, START+6 |
STS | EN+2~, EN1+16*, EN2, EN2+7, UNRL+1~, UNRL+3*, UNRL+4 |
U | EN+5, EN+6, EN+7, EN1+1, EN1+3, EN1+5, EN1+6, EN1+13, EN1+16, EN2+3 , UNRL+3, START+6, LINK+3, LINK+4, LABTST+7, LABTST+9, LT1+3, LT1+4, TEST+2, CANCEL+3 , CANCEL+6 |
X | EN+2~, EN1+10*, START+1~, START+2*, START+3*, START+4, LABTST+2~, LABTST+7*, LABTST+8*, LABTST+9 , LT1+1*, LT1+2, LT1+3, LT1+4*, LT1+5*, LT1+6, LT1+9*, LT1+10, TEST~, TEST+1 |
Y | UNRL+1~*, UNRL+2, UNRL+4*, UNRL+5, START+1~, START+2, START+5, TEST+1~*, TEST+2*, TEST+3 |