ORWDXA ; SLC/KCM/JLI - Utilities for Order Actions ; May 20, 2024@11:05
Source file <ORWDXA.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 23 | EN^OCXOERR $$VALID^ORCACT0 XFR^ORCACT01 REPLCD^ORCACT1 ($$PRINT,SET)^ORCACT2 $$NMSP^ORCD MSG^ORCFLAG $$ACTION^ORCSAVE (COMP,DELETE,STATUS)^ORCSAVE2 EN^ORCSEND COMP^ORMBLDOR ORCAN^ORNORC TEXT^ORQ12 $$ORDERER^ORQOR2 COMPLETE^ORUTL5 AUTH^ORWDPS32 ISVALIV^ORWDPS33 (CHOREXP,FLAGRCPT,FLGCOM,FLGHST,SCHALRT)^ORWDXA1 FORMID^ORWDXM (GTORITM,ISNOW)^ORWDXR VALSCH^ORWNSS GETBYIFN^ORWORR UNLK1^ORX2 |
MailMan | 2 | KILL^XM (,EN)^XMB |
Kernel | 1 | ($$FMTE,$$NOW)^XLFDT |
Outpatient Pharmacy | 1 | $$PARK^PSO52EX |
Pharmacy Data Management | 1 | ZERO^PSS50 |
Scheduling | 1 | SDAUTHCL^SDAMA203 |
Toolkit | 1 | $$GET^XPAR |
VA FileMan | 1 | (,UPDATE,WP)^DIE |
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 |
Name | Comments | DBIA/ICR reference |
---|---|---|
VALID(VAL,ORID,ACTION,ORNP,ORWNAT) | ; Is action valid for order?
|
|
HOLD(REC,ORID,ORNP) | ; Place order on hold
|
|
UNHOLD(REC,ORID,ORNP) | ; Release order from hold
|
|
DC(REC,ORID,ORNP,ORL,REASON,DCORIG,ISNEWORD) | ; Discontinue/Cancel/Delete order
|
|
DCREQIEN(VAL) | ; Return IEN for Req Phys Cancelled reason
|
|
COMPLETE(REC,ORID,ESCODE) | ; Complete order (generic)
; validate ESCode |
|
VERIFY(REC,ORID,ESCODE,ORVER) | ; Verify order
; validate ESCode |
|
ALERT(DUMMY,ORID,ORDUZ) | ; alert user (ORDUZ) when order (ORID) resulted
|
|
FLAG(REC,ORIFN,OREASON,ORNP,OREXP,ORLIST) | ; Flag order ;p539
|
|
BULLETIN | ; flagged order bulletin
|
|
UNFLAG(REC,ORIFN,OREASON) | ; Unflag order ;p539
|
|
FLAGTXT(LST,ORID) | ; flag reason
|
|
WCGET(LST,ORID) | ; ward comments
|
|
WCPUT(ERR,ORID,WCLST) | ; Set ward comments
|
|
OFCPLX(ORY,ORID,PRTORDER) | ; is ORID child of PRTORDER
|
|
ISACTOI(ORY,OI) | ; Is ord item active?
|
|
UPCTCHK(ORID) | ;
|
|
SAVFLG(ORIFN,ORFH) | ;File flag history ;p539
|
Name | Field # of Occurrence |
---|---|
^DIE | ALERT+4 |
UPDATE^DIE | FLAG+14, FLAG+22, SAVFLG+6 |
WP^DIE | WCPUT+2, SAVFLG+9 |
EN^OCXOERR | FLAG+26, UNFLAG+8 |
$$VALID^ORCACT0 | VALID+42 |
XFR^ORCACT01 | VALID+4 |
REPLCD^ORCACT1 | VERIFY+6 |
$$PRINT^ORCACT2 | DC+12 |
SET^ORCACT2 | DC+30, DC+31, DC+39, DC+50 |
$$NMSP^ORCD | DC+55, OFCPLX+8 |
MSG^ORCFLAG | FLAG+23, UNFLAG+4 |
$$ACTION^ORCSAVE | HOLD+2, UNHOLD+2, DC+49 |
COMP^ORCSAVE2 | COMPLETE+2 |
DELETE^ORCSAVE2 | DC+39 |
STATUS^ORCSAVE2 | DC+32 |
EN^ORCSEND | VERIFY+7 |
COMP^ORMBLDOR | COMPLETE+3 |
ORCAN^ORNORC | DC+4 |
TEXT^ORQ12 | BULLETIN+15 |
$$ORDERER^ORQOR2 | ALERT+2 |
COMPLETE^ORUTL5 | COMPLETE+5 |
AUTH^ORWDPS32 | VALID+13 |
ISVALIV^ORWDPS33 | VALID+8 |
CHOREXP^ORWDXA1 | UNFLAG+10 |
FLAGRCPT^ORWDXA1 | FLAGTXT+7 |
FLGCOM^ORWDXA1 | FLAGTXT+11 |
FLGHST^ORWDXA1 | FLAG+8 |
SCHALRT^ORWDXA1 | FLAG+15 |
FORMID^ORWDXM | VALID+32 |
GTORITM^ORWDXR | VALID+27 |
ISNOW^ORWDXR | OFCPLX+4 |
VALSCH^ORWNSS | VALID+6 |
GETBYIFN^ORWORR | HOLD+3, UNHOLD+3, DC+27, DC+47, DC+51, COMPLETE+4, VERIFY+8, FLAG+27, UNFLAG+9 |
UNLK1^ORX2 | VERIFY+7 |
$$PARK^PSO52EX | VALID+56 |
ZERO^PSS50 | VALID+52 |
SDAUTHCL^SDAMA203 | VALID+38 |
$$FMTE^XLFDT | BULLETIN+14, BULLETIN+17, FLAGTXT+3, FLAGTXT+6 |
$$NOW^XLFDT | FLAG+5, FLAG+10, UNFLAG+2, UNFLAG+4, ISACTOI+1, SAVFLG+2 |
KILL^XM | FLAG+23 |
^XMB | DC+63 |
EN^XMB | BULLETIN+19 |
$$GET^XPAR | BULLETIN+9 |
RPC Name | Call Tags |
---|---|
ORWDXA VALID | VALID |
ORWDXA HOLD | HOLD |
ORWDXA UNHOLD | UNHOLD |
ORWDXA DC | DC |
ORWDXA DCREASON | DCREASON |
ORWDXA ALERT | ALERT |
ORWDXA FLAG | FLAG |
ORWDXA UNFLAG | UNFLAG |
ORWDXA FLAGTXT | FLAGTXT |
ORWDXA COMPLETE | COMPLETE |
ORWDXA VERIFY | VERIFY |
ORWDXA WCGET | WCGET |
ORWDXA WCPUT | WCPUT |
ORWDXA DCREQIEN | DCREQIEN |
ORWDXA OFCPLX | OFCPLX |
ORWDXA ISACTOI | ISACTOI |
FileNo | Call Tags |
---|---|
^OR(100 - [#100] | Classic Fileman Calls |
100.008 | WP^DIE |
100.845 | WP^DIE |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | DC+62, BULLETIN+13 |
^OR(100 - [#100] | VALID+3, VALID+9, VALID+11, VALID+25, VALID+30, VALID+39, VALID+40, VALID+45, VALID+51, DC+13 , DC+14, DC+15, DC+16, DC+20, DC+23, DC+26, DC+32*, DC+34!, DC+36*, DC+38 , DC+43, DC+47, DC+54, DC+61, FLAG+7, FLAG+10!, FLAG+11!, FLAG+24*, FLAG+25, BULLETIN+4 , UNFLAG+3, UNFLAG+4*, UNFLAG+5*, UNFLAG+7, FLAGTXT+2, WCGET+2, OFCPLX+2, OFCPLX+7, OFCPLX+10, OFCPLX+13 , OFCPLX+15, OFCPLX+17, OFCPLX+18, UPCTCHK+4, UPCTCHK+5, UPCTCHK+6, UPCTCHK+7, UPCTCHK+8, UPCTCHK+9 |
^ORD(100.01 - [#100.01] | BULLETIN+18 |
^ORD(100.02 - [#100.02] | DC+8 |
^ORD(100.03 - [#100.03] | DC+8, DCREQIEN+1 |
^ORD(100.98 - [#100.98] | VALID+26, VALID+36, VALID+40 |
^ORD(101.41 - [#101.41] | VALID+12 |
^ORD(101.43 - [#101.43] | ISACTOI+1, ISACTOI+2 |
^ORE(100.2 - [#100.2] | DC+38*! |
^SC - [#44] | VALID+37 |
^TMP($J | VALID+48!, VALID+53, VALID+54!, SAVFLG+8!, SAVFLG+10! |
^VA(200 - [#200] | DC+59, BULLETIN+7, FLAGTXT+3 |
^XUSEC("ORELSE" | VALID+16, VALID+19, VERIFY+2 |
^XUSEC("OREMAS" | VALID+16, VALID+19, VERIFY+2 |
Name | Line Occurrences |
---|---|
$$UPCTCHK | VALID+43, VALID+44 |
BULLETIN | FLAG+6 |
ISACTOI | VALID+28 |
SAVFLG | FLAG+9 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
A | VALID+29~, VALID+30*, VALID+36* |
A( | VALID+36*, VALID+38 |
ACT | WCGET+1~*, WCGET+2, WCPUT+1~*, WCPUT+2 |
ACTDA | HOLD+1~, HOLD+2*, HOLD+3, UNHOLD+1~, UNHOLD+2*, UNHOLD+3, DC+1~, DC+49*, DC+51 |
ACTION | VALID~, VALID+4*, VALID+6, VALID+8, VALID+10, VALID+16, VALID+17*, VALID+18, VALID+19, VALID+24 , VALID+35, VALID+42, VALID+43, VALID+44, VALID+46, VALID+55 |
B | VALID+29~, VALID+38* |
BULL | BULLETIN+3~, BULLETIN+9*, BULLETIN+10 |
CNT | FLAGTXT+1~, FLAGTXT+5*, FLAGTXT+6*, FLAGTXT+10*, FLAGTXT+14*, FLAGTXT+16* |
COMMID | UPCTCHK+3~, UPCTCHK+4*, UPCTCHK+5, UPCTCHK+6 |
CREATE | DC+1~, DC+12*, DC+52 |
CURRACT | DC+2~, DC+6*, DC+14*, DC+16, DC+18 |
DA | ALERT+4*, FLAG+3~, FLAG+7*, FLAG+10, FLAG+11, FLAG+13, FLAG+17, FLAG+25, UNFLAG+1~, UNFLAG+3* , UNFLAG+4 |
DCORIG | DC~, DC+5*, DC+30, DC+31, DC+39, DC+50 |
DG | VALID+1~, VALID+39*, VALID+40 |
>> DIE | ALERT+4* |
DIERR | WCPUT+1~, WCPUT+3 |
DLG | VALID+11~*, VALID+12, VALID+13, VALID+29~, VALID+30*, VALID+31*, VALID+32, VALID+33 |
>> DR | ALERT+4* |
DUMMY | ALERT~, ALERT+4* |
DUZ | VALID+16, VALID+19, DC+59, VERIFY+2, ALERT+3, FLAG+10, FLAG+21, BULLETIN+12, UNFLAG+4, SAVFLG+5 |
ERR | FLAG+4~, WCPUT~, WCPUT+3* |
ERRLST | WCPUT+1~ |
ESCODE | COMPLETE~, VERIFY~ |
EVT | DC+38~* |
F | FLAGTXT+1~, FLAGTXT+8*, FLAGTXT+10*, FLAGTXT+12*, FLAGTXT+14* |
FDAIEN | FLAG+4~ |
FLAG | FLAGTXT+1~, FLAGTXT+2*, FLAGTXT+3, FLAGTXT+4, FLAGTXT+6 |
FRM | VALID+29~, VALID+30*, VALID+32, VALID+33 |
I | VALID+29~, VALID+36*, FLAG+4~, FLAG+16*, UNFLAG+1~, FLAGTXT+1~, FLAGTXT+8*, FLAGTXT+9*, FLAGTXT+10, FLAGTXT+12* , FLAGTXT+13*, FLAGTXT+14, FLAGTXT+15*, FLAGTXT+16, WCGET+1~, WCGET+2* |
IEN | FLAG+4~, FLAG+17*, FLAG+18*, FLAG+19, UNFLAG+1~ |
ISIV | VALID+22~, VALID+23*, VALID+25*, VALID+26 |
ISNEWORD | DC~ |
ISNOW | OFCPLX+1~, OFCPLX+3*, OFCPLX+4, OFCPLX+5 |
IVOD | VALID+22~, VALID+23*, VALID+26*, VALID+27 |
LST | FLAGTXT~, WCGET~ |
LST( | FLAGTXT+6*, FLAGTXT+10*, FLAGTXT+14*, FLAGTXT+16*, WCGET+2* |
LST(1 | FLAGTXT+3* |
LST(2 | FLAGTXT+4* |
NATURE | DC+1~, DC+7*, DC+8*, DC+9*, DC+12, DC+30, DC+39, DC+50 |
NOWID | OFCPLX+1~, OFCPLX+11*, OFCPLX+17*, OFCPLX+18 |
NOWVAL | OFCPLX+1~, OFCPLX+11*, OFCPLX+18*, OFCPLX+19 |
NUMCHDS | OFCPLX+1~, OFCPLX+11*, OFCPLX+15*, OFCPLX+16 |
OI | ISACTOI~, ISACTOI+1, ISACTOI+2 |
OIIEN | VALID+22~, VALID+23*, VALID+27, VALID+28 |
OR0 | BULLETIN+3~, BULLETIN+4*, BULLETIN+6, BULLETIN+12, BULLETIN+13, BULLETIN+14, BULLETIN+17 |
OR3 | BULLETIN+3~, BULLETIN+4*, BULLETIN+18 |
ORACT | VALID+1~, VALID+18* |
ORB | FLAG+3~, FLAG+26*, UNFLAG+1~, UNFLAG+8* |
ORCOM | FLAGTXT+1~, FLAGTXT+11 |
ORCOM( | FLAGTXT+13, FLAGTXT+14, FLAGTXT+15, FLAGTXT+16 |
ORDA | VALID+47~, OFCPLX+1~, OFCPLX+11*, OFCPLX+13*, OFCPLX+14 |
ORDEA | VALID+47~, VALID+50*, VALID+53* |
ORDG | VALID+29~, VALID+30*, VALID+38 |
ORDRG | VALID+47~, VALID+51*, VALID+52, VALID+53 |
ORDTXT | BULLETIN+3~, BULLETIN+15 |
ORDTXT(1 | BULLETIN+16 |
ORDTXT(2 | BULLETIN+16 |
ORDTXT(3 | BULLETIN+16 |
ORDUZ | ALERT~, ALERT+2*, ALERT+3*, ALERT+4 |
OREASON | FLAG~, FLAG+10, BULLETIN+17, UNFLAG~, UNFLAG+4 |
OREBUILD | VALID+41~ |
ORENT | BULLETIN+3~, BULLETIN+8*, BULLETIN+9 |
ORES | VERIFY+4~ |
ORES( | VERIFY+6*, VERIFY+7 |
OREXP | FLAG~, FLAG+12, FLAG+13, FLAG+15 |
ORFB | UNFLAG+1~ |
ORFDA | FLAG+4~, SAVFLG+1~, SAVFLG+10! |
ORFDA( | FLAG+13*, FLAG+19*, FLAG+20*, FLAG+21*, SAVFLG+4*, SAVFLG+5* |
ORFH | FLAG+3~, FLAG+8, FLAG+9, SAVFLG~ |
ORFIENS | FLAG+4~, FLAG+17*, FLAG+19, FLAG+20, FLAG+21, SAVFLG+1~, SAVFLG+3*, SAVFLG+4, SAVFLG+5 |
ORFNM | SAVFLG+1~, SAVFLG+10! |
ORFNM(1 | SAVFLG+9 |
ORI | VERIFY+4~, VERIFY+7* |
ORID | VALID~, VALID+2, VALID+3, VALID+6, VALID+8, VALID+9, VALID+11, VALID+25, VALID+27, VALID+30 , VALID+39, VALID+40, VALID+42, VALID+43, VALID+44, VALID+45, VALID+51, VALID+56, HOLD~, HOLD+2 , HOLD+3, UNHOLD~, UNHOLD+2, UNHOLD+3, DC~, DC+3, DC+4, DC+13, DC+14, DC+15 , DC+16, DC+18*, DC+20, DC+23, DC+26, DC+27, DC+30, DC+31, DC+32, DC+34 , DC+38, DC+39, DC+42*, DC+43, DC+47, DC+49, DC+50, DC+51, DC+54, DC+60 , DC+61, COMPLETE~, COMPLETE+2, COMPLETE+3, COMPLETE+4, COMPLETE+5, VERIFY~, VERIFY+6, VERIFY+7, VERIFY+8 , ALERT~, ALERT+2, ALERT+4, FLAGTXT~, FLAGTXT+2, FLAGTXT+7, FLAGTXT+11, WCGET~, WCGET+1, WCPUT~ , WCPUT+1, OFCPLX~, OFCPLX+2, OFCPLX+4, OFCPLX+7, OFCPLX+10, UPCTCHK~, UPCTCHK+4, UPCTCHK+5, UPCTCHK+6 , UPCTCHK+7, UPCTCHK+8, UPCTCHK+9 |
ORIEN | VALID+47~, VALID+51* |
ORIFN | VALID+1~, VALID+9*, VERIFY+4~, VERIFY+6*, FLAG~, FLAG+7, FLAG+8, FLAG+9, FLAG+10, FLAG+11 , FLAG+13, FLAG+15, FLAG+17, FLAG+23, FLAG+24, FLAG+25, FLAG+26, FLAG+27, BULLETIN+4, BULLETIN+15 , UNFLAG~, UNFLAG+3, UNFLAG+4, UNFLAG+5, UNFLAG+7, UNFLAG+8, UNFLAG+9, UNFLAG+10, WCGET+1~*, WCGET+2 , WCPUT+1~*, WCPUT+2, SAVFLG~, SAVFLG+3, SAVFLG+9 |
ORL | DC~, DC+7* |
ORL(2 | DC+7* |
ORLIST | FLAG~ |
ORLIST( | FLAG+16 |
ORNOW | FLAG+3~, FLAG+5*, FLAG+20, FLAG+24, UNFLAG+1~, UNFLAG+2*, UNFLAG+5, SAVFLG+1~, SAVFLG+2*, SAVFLG+4 |
ORNP | VALID~, VALID+13, HOLD~, HOLD+2, UNHOLD~, UNHOLD+2, DC~, DC+49, FLAG~, FLAG+10 , FLAG+25*, FLAG+26, UNFLAG+1~, UNFLAG+7*, UNFLAG+8 |
ORNSS | VALID+5~*, VALID+6, VALID+7 |
ORPS | FLAG+3~, UNFLAG+1~ |
ORSRV | BULLETIN+3~, BULLETIN+7*, BULLETIN+8 |
ORSTA | VALID+41~, VALID+45*, VALID+49, VALID+56 |
ORUSR | FLAG+4~, FLAG+25, BULLETIN+3~, BULLETIN+6*, BULLETIN+7, BULLETIN+8, UNFLAG+1~, FLAGTXT+1~, FLAGTXT+7 |
ORUSR( | FLAG+16*, FLAG+18, FLAGTXT+9, FLAGTXT+10 |
ORUSR("" | FLAG+26 |
ORVER | VALID+1~, VALID+16*, VERIFY~, VERIFY+2*, VERIFY+3 |
ORVP | VALID+1~, VALID+9*, FLAG+3~, FLAG+7*, FLAG+15, FLAG+26, UNFLAG+1~, UNFLAG+3*, UNFLAG+8 |
ORWNAT | VALID~, VALID+42 |
ORY | OFCPLX~, OFCPLX+16*, OFCPLX+20*, ISACTOI~, ISACTOI+2* |
>> PATLOC | VALID+37, VALID+38 |
PIID | UPCTCHK+3~, UPCTCHK+7*, UPCTCHK+8, UPCTCHK+9 |
PKG | DC+53~, DC+54*, DC+55*, DC+56, OFCPLX+6~, OFCPLX+7*, OFCPLX+8*, OFCPLX+9 |
DC+1~, DC+12* | |
PRTID | VALID+1~* |
PRTORDER | OFCPLX~, OFCPLX+12*, OFCPLX+13, OFCPLX+14*, OFCPLX+15, OFCPLX+16, OFCPLX+17, OFCPLX+18, OFCPLX+20 |
REASON | DC~, DC+8, DC+30, DC+31, DC+39, DC+50, DC+56 |
REATXT | DC+39~* |
REC | HOLD~, HOLD+3, UNHOLD~, UNHOLD+3, DC~, DC+27, DC+46!, DC+47, DC+51, COMPLETE~ , COMPLETE+4, VERIFY~, VERIFY+8, FLAG~, FLAG+27, UNFLAG~, UNFLAG+9 |
REC(1 | DC+44*, DC+48*, DC+52* |
REC(2 | DC+44*, DC+59 |
RET | UPCTCHK+3~*, UPCTCHK+5, UPCTCHK+6*, UPCTCHK+8, UPCTCHK+9*, UPCTCHK+10 |
RPLORD | DC+25~, DC+26*, DC+36, DC+42 |
SIGSTS | DC+1~, DC+17*, DC+21*, DC+22*, DC+42 |
STATUS | DC+1~, DC+23*, DC+24, DC+28 |
TYPE | VALID+29~, VALID+37*, VALID+38 |
U | VALID+9, VALID+11, VALID+14, VALID+25, VALID+26, VALID+30, VALID+39, VALID+40, VALID+45, DC+8 , DC+14, DC+17, DC+21, DC+23, DC+26, DC+28, DC+32, DC+34, DC+36, DC+38 , DC+44, DC+47, DC+48, DC+52, DC+54, DC+59, DC+61, DC+62, VERIFY+2, VERIFY+3 , FLAG+7, FLAG+10, FLAG+24, FLAG+25, FLAG+26, BULLETIN+6, BULLETIN+7, BULLETIN+12, BULLETIN+13, BULLETIN+14 , BULLETIN+17, BULLETIN+18, UNFLAG+3, UNFLAG+4, UNFLAG+5, UNFLAG+7, UNFLAG+8, FLAGTXT+3, FLAGTXT+4, FLAGTXT+6 , FLAGTXT+10, FLAGTXT+14, OFCPLX+7, OFCPLX+10, OFCPLX+12, OFCPLX+13, OFCPLX+15, OFCPLX+16, OFCPLX+20, ISACTOI+2 |
USR | FLAG+4~, FLAG+16*, FLAG+26*, UNFLAG+1~ |
VAL | VALID~, VALID+1*, VALID+2*, VALID+3*, VALID+7*, VALID+8, VALID+10, VALID+13, VALID+14*, VALID+15* , VALID+20*, VALID+21, VALID+24, VALID+28, VALID+34*, VALID+38*, VALID+40*, VALID+42*, VALID+43*, VALID+44* , VALID+49*, VALID+50*, VALID+56*, DCREQIEN~, DCREQIEN+1* |
WCLST | WCPUT~ |
WPCNT | UPCTCHK+3~, UPCTCHK+5*, UPCTCHK+6, UPCTCHK+8*, UPCTCHK+9 |
X3 | DC+2~, DC+13*, DC+14, OFCPLX+1~, OFCPLX+11*, OFCPLX+13* |
X8 | DC+2~, DC+16*, DC+17, DC+20*, DC+21, DC+28, DC+34, DC+36 |
XMB | DC+57~, DC+58*, BULLETIN+3~, BULLETIN+12* |
XMB(1 | DC+59*, BULLETIN+13* |
XMB(10 | BULLETIN+17* |
XMB(11 | BULLETIN+18* |
XMB(2 | DC+60*, BULLETIN+13* |
XMB(3 | DC+61*, DC+62*, BULLETIN+13* |
XMB(4 | DC+59*, BULLETIN+14* |
XMB(5 | BULLETIN+16* |
XMB(6 | BULLETIN+16* |
XMB(7 | BULLETIN+16* |
XMB(8 | BULLETIN+17* |
XMB(9 | BULLETIN+17* |
XMDUZ | BULLETIN+3~, BULLETIN+12* |
XMY | BULLETIN+3~ |
XMY( | BULLETIN+12* |
>> XMZ | FLAG+10 |
Name | Field # of Occurrence |
---|---|
$T(XFR^ORCACT01 | VALID+4 |