ORCSEND2 ;SLC/MKB - Release cont ;Jan 23, 2019@17:18
Source file <ORCSEND2.m>
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
|