OREVNTX ; SLC/MKB - Event delayed orders RPC's ;06/16/10 05:32
Source file <OREVNTX.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 |
Name | Comments | DBIA/ICR reference |
---|---|---|
PAT(ORY,DFN) | ||
EXISTS(DFN,EVT) | ; -- Returns 1 if patient DFN has delayed orders for EVT,
; or 2 if parent/sibling event has delayed orders, else 0 |
|
EXQ | ||
LIST(ORY,DFN) | ||
COMP(PTEVT) | ; -- Returns 1 or 0, if PTEVT has been completed
|
|
ACTIVE(ORY,TYPE) | ||
NAME(PTEVT) | ||
SHORTNM(PTEVT) | ||
EVT(PTEVT) | ||
DC(PTEVT) | ; -- Return DC Rule ptr #100.6, given PTEVT ptr #100.2
|
|
TYPE(PTEVT) | ||
DIV(PTEVT) | ||
LOC(PTEVT) | ||
EMPTY(PTEVT) | ||
EVTORDER(ORDER) | ; -- Returns 1 or 0, if ORDER is for event
; Will return 0 if action DA is included but not NW |
|
MANREL(ORDER) | ||
MNQ | ||
CANCEL(PTEVT) | ||
DONE(PTEVT,WHEN,MVT,OR) | ||
D1 | ||
ALLDONE(DAD) | ; -- Returns 1 or 0, if all child events are done
|
|
CHGEVT(IFN,NEWEVT) | ||
ACTLOG(PTEVT,ACTION,EVTYPE,SAVE) | ||
LAPSED(PTEVT) | ||
LPQ | ||
LP1(PTEVT) | ; -- Lapse orders, event PTEVT
|
RPC Name | Call Tags |
---|---|
OREVNTX PAT | PAT |
OREVNTX ACTIVE | ACTIVE |
OREVNTX LIST | LIST |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DIC(9.4 - [#9.4] | EMPTY+3 |
^OR(100 - [#100] | LIST+9, EMPTY+4, EMPTY+5, EMPTY+7, EMPTY+11, EVTORDER+2, MANREL+2, CHGEVT+3, CHGEVT+4!, CHGEVT+5* , CHGEVT+6*, CHGEVT+7*, LAPSED+8, LAPSED+9, LP1+3, LP1+4, LP1+7* |
^ORD(100.5 - [#100.5] | PAT+6, EXISTS+5, EXISTS+7, LIST+12, ACTIVE+3, ACTIVE+4, ACTIVE+5, ACTIVE+6, ACTIVE+8, NAME+2 , SHORTNM+3, TYPE+2, TYPE+3, DIV+2, DIV+3, LOC+2, LOC+3, LAPSED+4, LAPSED+13 |
^ORD(100.6 - [#100.6] | LIST+12, NAME+3, SHORTNM+5 |
^ORE(100.2 - [#100.2] | PAT+2, PAT+3!, PAT+5, EXISTS+4, EXISTS+6, EXISTS+7, LIST+5, LIST+6, LIST+7, LIST+9 , LIST+10, COMP+1, COMP+2, NAME+1, SHORTNM+2, SHORTNM+5, EVT+1, DC+1, DC+2, TYPE+1 , DIV+1, LOC+1, EMPTY+2, EMPTY+8, EMPTY+10, EVTORDER+4, EVTORDER+5, EVTORDER+6, MANREL+4, MANREL+5 , CANCEL+2, CANCEL+4, CANCEL+5, CANCEL+6, DONE+1, DONE+6, D1, D1+2*, D1+3*, D1+4* , D1+5!, ALLDONE+2, ACTLOG+2, ACTLOG+4, ACTLOG+5, ACTLOG+6, ACTLOG+7, ACTLOG+9*, ACTLOG+10*, ACTLOG+11* , ACTLOG+12, ACTLOG+13*, ACTLOG+14*, LAPSED+2, LAPSED+3, LAPSED+7, LAPSED+16, LP1+2 |
Name | Field # of Occurrence |
---|---|
^( | PAT+2, LIST+10, COMP+2 |
^(0 | TYPE+2, DIV+2, CHGEVT+3, LAPSED+4, LP1+7 |
^(1 | LIST+7, NAME+1, DC+1, D1 |
^(3 | CHGEVT+3 |
^(8 | MANREL+2, CHGEVT+6*, CHGEVT+7* |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACTION | ACTLOG~, ACTLOG+2, ACTLOG+11 |
CHLD | EMPTY+9~*, EMPTY+10*, EMPTY+11 |
CNT | PAT+1~*, PAT+7*, PAT+8, LIST+3~, LIST+4*, LIST+13*, LIST+14, ACTIVE+2~*, ACTIVE+9*, ACTIVE+10 |
DA | LIST+3~, LIST+6*, LIST+7, LIST+9, LIST+10, LIST+13, ACTLOG+3~, ACTLOG+8*, ACTLOG+10, ACTLOG+11 , ACTLOG+13, ACTLOG+14 |
DAD | EVTORDER+5*, EVTORDER+6, CANCEL+2~, CANCEL+4*, CANCEL+5, CANCEL+6, DONE+2~, DONE+4*, DONE+5*, DONE+6 , ALLDONE~, ALLDONE+2 |
DAYS | LAPSED+1~, LAPSED+13*, LAPSED+14 |
DC | LIST+3~, LIST+8*, LIST+12 |
DFN | PAT~, PAT+1*, PAT+2, PAT+3, EXISTS~, EXISTS+3, EXISTS+4, EXISTS+6, EXISTS+7, LIST~ , LIST+4*, LIST+5, LIST+6, LIST+9 |
DT | LAPSED+14 |
DUZ | ACTLOG+11 |
DUZ(2 | DIV+3 |
ENTERED | LAPSED+1~, LAPSED+5*, LAPSED+10*, LAPSED+12*, LAPSED+14 |
EVT | PAT+1~*, PAT+2*, PAT+3, PAT+6, EXISTS~, EXISTS+3, EXISTS+4, EXISTS+5, LIST+3~, LIST+8* , LIST+12, MANREL+1~, MANREL+2*, MANREL+3, MANREL+4, MANREL+5, DONE+2~, D1+1*, D1+5, LAPSED+1~ , LAPSED+3*, LAPSED+4*, LAPSED+13 |
EVTDT | MANREL+1~, MANREL+5*, MANREL+6 |
EVTYPE | ACTLOG~, ACTLOG+11 |
HDR | ACTLOG+3~, ACTLOG+5*, ACTLOG+6, ACTLOG+8*, ACTLOG+9 |
I | EXISTS+3~, EXISTS+7*, LIST+10*, COMP+1~, COMP+2*, ALLDONE+1~*, ALLDONE+2*, ACTLOG+3~, ACTLOG+4*, ACTLOG+7* , ACTLOG+8 |
IDT | LIST+3~, LIST+4*, LIST+5*, LIST+6 |
IEN | ACTIVE+2~, ACTIVE+4*, ACTIVE+5, ACTIVE+8, ACTIVE+9 |
IFN | EMPTY+1~, EMPTY+4*, EMPTY+5, EMPTY+7, EMPTY+11*, CANCEL+2~*, CANCEL+3, CANCEL+6*, CANCEL+7, CHGEVT~ , CHGEVT+2, CHGEVT+3, CHGEVT+4, CHGEVT+5, CHGEVT+6, CHGEVT+7, LP1+1~, LP1+3*, LP1+4, LP1+5 , LP1+6, LP1+7 |
J | LAPSED+16~* |
LAST | ACTLOG+3~, ACTLOG+6*, ACTLOG+7 |
MVT | DONE~, D1+2, ACTLOG+3~, ACTLOG+12*, ACTLOG+13 |
NEWEVT | CHGEVT~, CHGEVT+2*, CHGEVT+4, CHGEVT+5, CHGEVT+6, CHGEVT+7 |
NM | ACTIVE+2~, ACTIVE+3*, ACTIVE+4 |
OLDEVT | CHGEVT+2~, CHGEVT+3*, CHGEVT+4 |
OR | DONE~, D1+2, D1+4 |
OR0 | EMPTY+1~, EMPTY+2* |
OR3 | CHGEVT+2~, CHGEVT+3*, CHGEVT+6, CHGEVT+7 |
ORCA | LAPSED+1~, LAPSED+8*, LAPSED+9 |
ORDER | EVTORDER~, EVTORDER+2, EVTORDER+4, EVTORDER+6, MANREL~, MANREL+2, MANREL+4 |
>> ORL | LOC+4 |
ORN | LAPSED+1~, LAPSED+7*, LAPSED+8, LAPSED+9 |
ORNOW | ACTLOG+3~, ACTLOG+10*, ACTLOG+11, ACTLOG+13 |
ORSIGDT | LAPSED+1~, LAPSED+9*, LAPSED+10 |
ORY | PAT~, LIST~, ACTIVE~ |
ORY( | PAT+7*, LIST+13*, ACTIVE+9* |
ORY(0 | PAT+8*, LIST+14*, ACTIVE+10* |
PAT | EMPTY+1~, EMPTY+2*, EMPTY+4, EMPTY+11, DONE+2~, D1+1*, D1+3, D1+5, CHGEVT+2~, CHGEVT+3* , CHGEVT+4, CHGEVT+5, LP1+1~, LP1+2*, LP1+3 |
PSO | EMPTY+1~, EMPTY+3*, EMPTY+7 |
PTEVT | COMP~, COMP+1, COMP+2, NAME~, NAME+1, SHORTNM~, SHORTNM+2, SHORTNM+5, EVT~, EVT+1 , DC~, DC+1*, DC+2, TYPE~, TYPE+1, DIV~, DIV+1, LOC~, LOC+1, EMPTY~ , EMPTY+1, EMPTY+2, EMPTY+3, EMPTY+4, EMPTY+8, EMPTY+10, CANCEL~, CANCEL+1*, CANCEL+2, CANCEL+4 , DONE~, DONE+1, DONE+4*, DONE+5*, DONE+6*, D1, D1+2, D1+3, D1+4, D1+5 , ACTLOG~, ACTLOG+2, ACTLOG+4, ACTLOG+5, ACTLOG+6, ACTLOG+7, ACTLOG+9, ACTLOG+10, ACTLOG+11, ACTLOG+12 , ACTLOG+13, ACTLOG+14, LAPSED~, LAPSED+2, LAPSED+3, LAPSED+7, LAPSED+15, LAPSED+16, LP1~, LP1+2 , LP1+3, LP1+8 |
RELDT | MANREL+1~, MANREL+2*, MANREL+3, MANREL+6 |
SAVE | ACTLOG~, ACTLOG+14 |
STS | EMPTY+1~, EMPTY+5*, EMPTY+7, LP1+1~, LP1+4* |
TOTAL | ACTLOG+3~, ACTLOG+6*, ACTLOG+8 |
TYPE | ACTIVE~, ACTIVE+2*, ACTIVE+7, EMPTY+1~, EMPTY+3*, EMPTY+7, MANREL+1~, MANREL+5*, MANREL+6 |
U | PAT+6, PAT+7, EXISTS+5, LIST+7, LIST+8, LIST+9, LIST+10, LIST+12, LIST+13, COMP+2 , ACTIVE+5, ACTIVE+6, ACTIVE+7, ACTIVE+9, NAME+1, NAME+2, NAME+3, SHORTNM+2, SHORTNM+3, SHORTNM+4 , SHORTNM+5, EVT+1, DC+1, DC+2, TYPE+1, TYPE+2, TYPE+3, DIV+1, DIV+2, DIV+3 , LOC+1, LOC+2, LOC+3, EMPTY+2, EMPTY+5, EMPTY+7, EMPTY+11, EVTORDER+3, EVTORDER+4, EVTORDER+5 , EVTORDER+6, MANREL+2, CANCEL+2, CANCEL+4, CANCEL+6, DONE+4, D1+1, D1+2, CHGEVT+3, CHGEVT+5 , CHGEVT+6, CHGEVT+7, ACTLOG+6, ACTLOG+8, ACTLOG+11, ACTLOG+12, ACTLOG+14, LAPSED+3, LAPSED+4, LAPSED+7 , LAPSED+8, LAPSED+9, LAPSED+12, LAPSED+13, LP1+2, LP1+4, LP1+7 |
>> VAIP(4 | ACTLOG+14 |
>> VAIP(5 | ACTLOG+14 |
>> VAIP(8 | ACTLOG+14 |
WHEN | DONE~, DONE+3*, D1+2, D1+3 |
X | PAT+1~, PAT+6*, PAT+7, EXISTS+3~, EXISTS+5*, EXISTS+6, EXISTS+7, LIST+3~, LIST+10*, LIST+12* , LIST+13*, ACTIVE+2~, ACTIVE+6*, NAME+1~*, NAME+2, NAME+3*, SHORTNM+2~*, SHORTNM+3, SHORTNM+5*, TYPE+1~* , TYPE+2*, TYPE+3, DIV+1~*, DIV+2*, DIV+3, LOC+1~*, LOC+2, EVTORDER+2~*, EVTORDER+3 |
X0 | LIST+3~, LIST+7*, LIST+8, LIST+9, ACTIVE+2~, ACTIVE+5*, ACTIVE+6*, ACTIVE+7, ACTIVE+9, LOC+1~ , LOC+2*, LOC+3, EVTORDER+2~*, EVTORDER+3, EVTORDER+4, EVTORDER+5, DONE+2~, D1*, D1+1, LAPSED+1~ , LAPSED+3*, LAPSED+12, LP1+1~, LP1+2*, LP1+4 |
X1 | LIST+3~, LIST+7*, LIST+8, LIST+13, DONE+2~, DONE+4, D1*, D1+2* |
Y | PAT+1~, PAT+2*, PAT+3, PAT+4, PAT+5, PAT+7, EXISTS+3~*, EXISTS+4*, EXISTS+6*, EXISTS+7* , EXQ, COMP+1~*, COMP+2*, COMP+3, NAME+1~, NAME+2*, NAME+3*, NAME+4*, NAME+5, SHORTNM+2~ , SHORTNM+3*, SHORTNM+4*, SHORTNM+5*, SHORTNM+6, TYPE+1~, TYPE+3*, TYPE+4, DIV+1~, DIV+3*, DIV+4 , LOC+1~, LOC+2*, LOC+3*, LOC+4*, LOC+5, EMPTY+1~*, EMPTY+4, EMPTY+5*, EMPTY+7*, EMPTY+8 , EMPTY+10, EMPTY+11*, EMPTY+12, EVTORDER+2~*, EVTORDER+4*, EVTORDER+6*, EVTORDER+7, MANREL+1~*, MANREL+4*, MANREL+6* , MNQ, ALLDONE+1~*, ALLDONE+2*, ALLDONE+3, LAPSED+1~*, LAPSED+15*, LPQ |
Y0 | SHORTNM+2~, SHORTNM+3*, SHORTNM+4 |
Z | NAME+1~*, NAME+3, NAME+4 |