TIUTSK ; SLC/JER - TIU's Nightly Daemon ;01/30/23 14:09
Source file <TIUTSK.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 |
---|---|---|
Kernel | 1 | ^DIC(19 |
Text Integration Utility | 1 | TIU NIGHTLY TASK |
Name | Comments | DBIA/ICR reference |
---|---|---|
MAIN | ;
; All records are read. DC date updated, Record purged, Alerts are ; generated if appropriate |
|
UPDDCDT(TIUDA) | ; If missing DC date & Patient Movement file has DC date,
; DC date updated. |
|
PURGE(DA) | ; When purge criteria met, document and addenda purged
|
|
FIXDC(DA,PARENT,DFN,TIU) | ; Stuff fixed field data
|
|
OVERDUE(TIUDA,TIUSTART,TIUEND) | ;Checks whether or not a given document is overdue
|
|
OVERX | ||
TSKPARM(TIUDA) | ;Calculate a tiu parameter for the nightly task
; TIUDA = 1 return START OF ADD SGNR ALERT PERIOD computation ; TIUDA = 2 return END OF ADD SGNR ALERT PERIOD computation ; TIUDA = 3 return LENGTH OF SIGNER ALERT PERIOD computation |
Name | Field # of Occurrence |
---|---|
^DIE | UPDDCDT+7, PURGE+5 |
FILE^DIE | FIXDC+14 |
DT^DILF | TSKPARM+6, TSKPARM+8, TSKPARM+17 |
SEND^TIUALRT | MAIN+24 |
$$NOW^TIULC | PURGE+5 |
$$REQVER^TIULC | OVERDUE+7 |
$$ISADDNDM^TIULC1 | PURGE+3 |
DOCPRM^TIULC1 | OVERDUE+5 |
GETTIU^TIULD | UPDDCDT+9 |
SETPARM^TIULE | MAIN+5, TSKPARM+9 |
$$DATE^TIULS | PURGE+8 |
ALERTDEL^TIUPEVNT | MAIN+36 |
BUFPURGE^TIUPUTC | MAIN+37 |
DIK^TIURB2 | PURGE+4 |
$$FMADD^XLFDT | MAIN+13, MAIN+14 |
$$FMDIFF^XLFDT | MAIN+30, OVERDUE+9, OVERDUE+14 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DGPM - [#405] | UPDDCDT+5 |
^TIU(8925 - [#8925] | MAIN+9, MAIN+21, MAIN+22, UPDDCDT+3, PURGE+2, PURGE+6*, PURGE+7*, PURGE+8*, FIXDC+8, FIXDC+9 , OVERDUE+4, OVERDUE+7, OVERDUE+9 |
^TIU(8925.2 - [#8925.2] | MAIN+26, MAIN+28, MAIN+33, MAIN+35 |
^TIU(8925.7 - [#8925.7] | OVERDUE+10, OVERDUE+14 |
^TIU(8925.99 - [#8925.99] | TSKPARM+13, TSKPARM+15 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DA | UPDDCDT+7*, PURGE~, PURGE+2, PURGE+6, PURGE+7, PURGE+8, FIXDC~, FIXDC+2 |
DFN | UPDDCDT+2~, UPDDCDT+12, FIXDC~ |
DIE | UPDDCDT+2~, UPDDCDT+7*, PURGE+1~, PURGE+5* |
DR | UPDDCDT+2~, UPDDCDT+7*, PURGE+1~, PURGE+5* |
DT | MAIN+13, MAIN+14, MAIN+30, PURGE+6, PURGE+8, OVERDUE+9, OVERDUE+14, TSKPARM+7 |
FDA | FIXDC+1~ |
FDARR | FIXDC+1~, FIXDC+2*, FIXDC+4, FIXDC+5, FIXDC+7, FIXDC+8, FIXDC+9, FIXDC+10, FIXDC+11, FIXDC+12 , FIXDC+13 |
FLAGS | FIXDC+1~, FIXDC+2*, FIXDC+14 |
IENS | FIXDC+1~, FIXDC+2* |
PARENT | FIXDC~, FIXDC+3, FIXDC+6, FIXDC+8, FIXDC+9 |
TIU | UPDDCDT+2~, UPDDCDT+9, UPDDCDT+12, FIXDC~ |
TIU("INST" | FIXDC+11 |
TIU("LDT" | UPDDCDT+10, FIXDC+4, FIXDC+7, FIXDC+13 |
TIU("LOC" | FIXDC+10 |
TIU("TS" | FIXDC+5 |
TIUADDL | MAIN+4~, MAIN+19*, MAIN+24*, OVERDUE+14* |
TIUD0 | UPDDCDT+2~, UPDDCDT+3*, UPDDCDT+6, UPDDCDT+8, UPDDCDT+11, OVERDUE+4~*, OVERDUE+5 |
TIUD14 | UPDDCDT+2~, UPDDCDT+3*, UPDDCDT+4 |
TIUDA | MAIN+3~, MAIN+9*, MAIN+10, MAIN+22*, MAIN+24, MAIN+26*, MAIN+28, MAIN+33, MAIN+35, MAIN+37 , UPDDCDT~, UPDDCDT+3, UPDDCDT+7, UPDDCDT+9, UPDDCDT+12, PURGE+1~*, PURGE+2*, PURGE+3, PURGE+4, OVERDUE~ , OVERDUE+4, OVERDUE+5, OVERDUE+7, OVERDUE+9, OVERDUE+10, TSKPARM~, TSKPARM+6, TSKPARM+7, TSKPARM+8, TSKPARM+15 |
TIUDAD | UPDDCDT+2~, UPDDCDT+11*, UPDDCDT+12 |
TIUDATE | MAIN+3~, MAIN+27~, MAIN+28*, MAIN+29, MAIN+30, OVERDUE+4~, OVERDUE+7*, OVERDUE+8, OVERDUE+9, OVERDUE+11 , OVERDUE+14 |
TIUDDT | UPDDCDT+2~ |
TIUDGPM | UPDDCDT+2~, UPDDCDT+4*, UPDDCDT+5 |
TIUDIV | TSKPARM+4~, TSKPARM+11*, TSKPARM+12, TSKPARM+13 |
TIUDPRM | OVERDUE+4~, OVERDUE+5, OVERDUE+6 |
TIUDPRM(0 | OVERDUE+7 |
TIUEDA | MAIN+34~, MAIN+35*, MAIN+36 |
TIUEI | MAIN+31~*, MAIN+33*, MAIN+35 |
TIUEND | MAIN+4~, MAIN+6*, MAIN+24, OVERDUE~, OVERDUE+11 |
TIUENTDT | MAIN+3~, MAIN+20*, MAIN+21*, MAIN+22 |
TIUMSG | FIXDC+1~ |
TIUODT | MAIN+3~, MAIN+14*, MAIN+21 |
TIUPARM | TSKPARM+4~, TSKPARM+13*, TSKPARM+14, TSKPARM+15 |
TIUPDT | MAIN+3~, MAIN+13* |
TIUPRM0 | MAIN+3~, MAIN+13, MAIN+14, OVERDUE+9, OVERDUE+14, TSKPARM+9, TSKPARM+10, TSKPARM+11 |
TIUPRM1 | MAIN+3~ |
TIUSTART | MAIN+4~, MAIN+6*, MAIN+24, OVERDUE~, OVERDUE+11 |
TIUTYP | PURGE+1~ |
TIUVAL | TSKPARM+4~, TSKPARM+15*, TSKPARM+16, TSKPARM+17 |
TIUXTRA | OVERDUE+4~*, OVERDUE+10*, OVERDUE+14 |
TIUY | OVERDUE+4~*, OVERDUE+9*, OVERDUE+14*, OVERX, TSKPARM+4~, TSKPARM+5*, TSKPARM+6, TSKPARM+7*, TSKPARM+8, TSKPARM+10 , TSKPARM+12, TSKPARM+14, TSKPARM+16, TSKPARM+17, TSKPARM+18 |
U | MAIN+13, MAIN+14, MAIN+28, UPDDCDT+4, UPDDCDT+5, UPDDCDT+6, UPDDCDT+8, UPDDCDT+11, PURGE+6, FIXDC+4 , FIXDC+5, FIXDC+7, FIXDC+8, FIXDC+9, FIXDC+10, FIXDC+11, OVERDUE+7, OVERDUE+9, OVERDUE+14, TSKPARM+11 , TSKPARM+15 |
X | PURGE+1~ |
Y | PURGE+1~ |