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