ORMTIM02 ; JM/SLC-ISC - PERFORM MISC TIME BASED ACTIVITIES ;04/30/13 05:29
Source file <ORMTIM02.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 | 1 | ORMTIME |
Name | Comments | DBIA/ICR reference |
---|---|---|
MISC | ; Perform misc time based activities
|
|
UNSIGNED | ; Generate alerts for unsigned orders that were not alerted by CPRS
; This happens when CPRS crashes - through network connection drops or other causes |
|
NEEDALRT(PROVIDER,DFN,ORNUM) | ; Returns true if order needs an alert
|
|
HASALERT(USER,PATIENT) | ; Returns true if alert exists for user and patient
|
|
MARKED(ORNUM) | ; Returns true if the order has been marked as not needing an alert
|
|
MARK(ORNUM) | ; Marks an order as already having been alerted
|
|
CLEAN | ; Clean up old entries in ^XTMP
|
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%DT | UNSIGNED+2~, UNSIGNED+17*, UNSIGNED+22! |
ALERTID | HASALERT+1~, HASALERT+2*, HASALERT+3, HASALERT+4 |
DATE | HASALERT+1~, HASALERT+4*, HASALERT+5 |
DFN | NEEDALRT~, NEEDALRT+6, NEEDALRT+9 |
IDX | CLEAN+1~, CLEAN+2*, CLEAN+3*, CLEAN+5, CLEAN+7 |
MINDAYS | UNSIGNED+4~, UNSIGNED+8*, UNSIGNED+15, UNSIGNED+22! |
MINTIME | UNSIGNED+4~, UNSIGNED+7*, UNSIGNED+14, UNSIGNED+22! |
ORBADUZ | UNSIGNED+3~, UNSIGNED+41* |
ORBDFN | UNSIGNED+3~, UNSIGNED+38*, UNSIGNED+40 |
ORBPDATA | UNSIGNED+3~, UNSIGNED+41* |
ORBPMSG | UNSIGNED+3~, UNSIGNED+41* |
ORCSVAL | UNSIGNED+32~, UNSIGNED+33, UNSIGNED+35 |
ORMARKID | UNSIGNED+3~, UNSIGNED+5*, UNSIGNED+20, MARKED+1, MARK+1, MARK+2, CLEAN+3, CLEAN+5, CLEAN+6, CLEAN+7 |
ORMINT | UNSIGNED+32~, UNSIGNED+34*, UNSIGNED+35*, UNSIGNED+36 |
ORMINTIM | UNSIGNED+3~, UNSIGNED+14*, UNSIGNED+34 |
ORN | UNSIGNED+3~, UNSIGNED+5* |
ORNUM | UNSIGNED+3~, UNSIGNED+39*, UNSIGNED+40, UNSIGNED+43, NEEDALRT~, NEEDALRT+2, NEEDALRT+10, MARKED~, MARKED+1, MARK~ , MARK+1, MARK+2, CLEAN+1~, CLEAN+4*, CLEAN+5*, CLEAN+6, CLEAN+7 |
ORZDATE | UNSIGNED+2~, UNSIGNED+25*, UNSIGNED+26, UNSIGNED+27 |
ORZIEN | UNSIGNED+2~, UNSIGNED+26*, UNSIGNED+27, UNSIGNED+28, UNSIGNED+29, UNSIGNED+33, UNSIGNED+39 |
ORZNOW | UNSIGNED+2~, UNSIGNED+18*, UNSIGNED+19, UNSIGNED+20, UNSIGNED+21, UNSIGNED+36, CLEAN+3 |
ORZPAT | UNSIGNED+2~, UNSIGNED+23*, UNSIGNED+24, UNSIGNED+25, UNSIGNED+26, UNSIGNED+27, UNSIGNED+38 |
ORZPURGE | UNSIGNED+2~, UNSIGNED+19*, UNSIGNED+20, UNSIGNED+21*, MARK+2 |
ORZREC8 | UNSIGNED+3~, UNSIGNED+29*, UNSIGNED+30, UNSIGNED+31, UNSIGNED+37, UNSIGNED+40 |
ORZSDATE | UNSIGNED+2~, UNSIGNED+16*, UNSIGNED+25 |
ORZSIGDT | UNSIGNED+3~, UNSIGNED+30* |
ORZSTS | UNSIGNED+3~, UNSIGNED+31* |
ORZSUB | UNSIGNED+2~, UNSIGNED+27*, UNSIGNED+28, UNSIGNED+29, UNSIGNED+39 |
ORZTIME | UNSIGNED+2~, UNSIGNED+36*, UNSIGNED+37 |
ORZWHEN | UNSIGNED+3~, UNSIGNED+37* |
PATIENT | HASALERT~, HASALERT+2 |
PROVIDER | NEEDALRT~, NEEDALRT+6, NEEDALRT+8 |
RESULT | NEEDALRT+4~, NEEDALRT+5*, NEEDALRT+6*, NEEDALRT+9*, NEEDALRT+10, NEEDALRT+11, HASALERT+1~, HASALERT+2*, HASALERT+5*, HASALERT+6 |
SUROGATE | NEEDALRT+4~, NEEDALRT+8*, NEEDALRT+9 |
U | UNSIGNED+20, UNSIGNED+24, UNSIGNED+30, UNSIGNED+31, UNSIGNED+37, UNSIGNED+40, NEEDALRT+8 |
USER | HASALERT~, HASALERT+3, HASALERT+4 |
X | UNSIGNED+2~, UNSIGNED+15*, UNSIGNED+17*, UNSIGNED+22! |
XTMPDAYS | UNSIGNED+4~, UNSIGNED+10*, UNSIGNED+19, UNSIGNED+22! |
XTMPHOUR | UNSIGNED+4~, UNSIGNED+11*, UNSIGNED+21, UNSIGNED+22! |
Y | UNSIGNED+2~, UNSIGNED+16, UNSIGNED+18, UNSIGNED+22! |