OREVNTX ; SLC/MKB - Event delayed orders RPC's ; 5/4/07 11:34am
Source file <OREVNTX.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 3 | ($$DCD,CLRDLY)^ORCACT2 (ALPS,SIGN,STATUS)^ORCSAVE2 SET^ORDD100 |
Kernel | 1 | ($$FMADD,$$FMDIFF,$$NOW)^XLFDT |
Registration | 1 | $$LOWER^VALM1 |
Name | Comments | DBIA/ICR reference |
---|---|---|
EVTORDER(ORDER) | ; -- Returns 1 or 0, if ORDER is for event
; Will return 0 if action DA is included but not NW |
|
COMP(PTEVT) | ; -- Returns 1 or 0, if PTEVT has been completed
|
|
ACTIVE(ORY,TYPE) | ||
MANREL(ORDER) | ||
EXQ | ||
CHGEVT(IFN,NEWEVT) | ||
EXISTS(DFN,EVT) | ; -- Returns 1 if patient DFN has delayed orders for EVT,
; or 2 if parent/sibling event has delayed orders, else 0 |
|
LP1(PTEVT) | ; -- Lapse orders, event PTEVT
|
|
MNQ | ||
SHORTNM(PTEVT) | ||
LOC(PTEVT) | ||
PAT(ORY,DFN) | ||
CANCEL(PTEVT) | ||
LPQ | ||
NAME(PTEVT) | ||
DONE(PTEVT,WHEN,MVT,OR) | ||
ALLDONE(DAD) | ; -- Returns 1 or 0, if all child events are done
|
|
TYPE(PTEVT) | ||
LAPSED(PTEVT) | ||
EMPTY(PTEVT) | ||
EVT(PTEVT) | ||
LIST(ORY,DFN) | ||
DIV(PTEVT) | ||
DC(PTEVT) | ; -- Return DC Rule ptr #100.6, given PTEVT ptr #100.2
|
|
ACTLOG(PTEVT,ACTION,EVTYPE,SAVE) | ||
D1 |
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*, 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+5 |
^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+8, LP1+2 |
Name | Line Occurrences |
---|---|
$$ALLDONE | DONE+4 |
$$LAPSED | PAT+4 |
$$TYPE | EMPTY+3, MANREL+5 |
ACTLOG | CANCEL+1, LP1+8 |
D1 | DONE+3, DONE+4, DONE+6 |
DONE | CANCEL+1, LP1+8 |
EXQ | EXISTS+3, EXISTS+4, EXISTS+5 |
LP1 | LAPSED+7, LAPSED+8 |
LPQ | LAPSED+2, LAPSED+5, LAPSED+6 |
MNQ | MANREL+3, MANREL+4 |
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+5*, LAPSED+6 |
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+6 |
DUZ | ACTLOG+11 |
DUZ(2 | DIV+3 |
ENTERED | LAPSED+1~, LAPSED+3*, LAPSED+6 |
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+5 |
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+8~* |
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 |
ORDER | EVTORDER~, EVTORDER+2, EVTORDER+4, EVTORDER+6, MANREL~, MANREL+2, MANREL+4 |
>> ORL | LOC+4 |
ORNOW | ACTLOG+3~, ACTLOG+10*, ACTLOG+11, ACTLOG+13 |
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+8, 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+5 , 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*, 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+7*, LPQ |
Y0 | SHORTNM+2~, SHORTNM+3*, SHORTNM+4 |
Z | NAME+1~*, NAME+3, NAME+4 |