YTSCOREV ;SLC/KCM - Update scores with revision change ; 9/15/2015
Source file <YTSCOREV.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 |
---|---|---|
Mental Health | 8 | YS123 RESCORING MONITOR YS123PST YS142FIX YS142PST YS218PST YS233PST YS249PST YTXCHGT |
Name | Comments | DBIA/ICR reference |
---|---|---|
RESCORE | ; background task to ensure all results recorded for administrations
; expects: YSRSREV (revision identifier) to be passed in ; examples: "0~1" for all instruments, "142~2" for one instrument ; quit if re-scoring has been completed |
|
DIRECT | ; enter here to run interactively without tasking
; expects: YSRSREV (revision identifier) to be passed in |
|
QTASK(YSRSREV,RESUME) | ; Create background task for rescoring administrations
; YSRSREV: revision ID (for example: 0~1, 142~2) ; RESUME: $H start time for task |
|
SCOREONE(YS123ADM) | ; score one adminstration
|
|
DIFFREV(IEN71,YS123ADM) | ; return true if different revision
|
|
DELRSLTS(YS123ADM) | ; delete the current results of an administration
|
|
ERRHND | ; Handle errors & clear stack
; Grab the error code |
|
MONLOOP | ; monitor re-scoring loop
|
|
SHOWPROG | ; show progress of re-scoring process
; loop through revId's and show progress |
|
SHOWERRS | ; browse the errors
|
|
GETCMD() | ; Get the next command
|
|
SEC2HMS(SS) | ; return "#h #m #s" from seconds
|
|
LSTREV | ; list revised instruments
|
Name | Field # of Occurrence |
---|---|
HOME^%ZIS | MONLOOP+1 |
$$EC^%ZOSV | ERRHND+2 |
UNWIND^%ZTER | ERRHND+4, ERRHND+17 |
^%ZTLOAD | QTASK+9 |
BROWSE^DDBR | SHOWERRS+7 |
^DIR | GETCMD+4 |
$$FMADD^XLFDT | DIRECT+17, DIRECT+23, QTASK+11 |
$$HADD^XLFDT | RESCORE+7 |
$$HDIFF^XLFDT | DIRECT+30, DIRECT+37 |
$$HTE^XLFDT | SHOWPROG+12, SHOWERRS+5 |
$$NOW^XLFDT | DIRECT+23, DIRECT+38 |
$$GET^XPAR | RESCORE+4, DIRECT+19, SHOWPROG+8 |
EN^XPAR | DIRECT+28 |
MES^XPDUTL | QTASK+10 |
LOADANSW^YTSCORE | SCOREONE+11 |
SCOREINS^YTSCORE | SCOREONE+12 |
UPDSCORE^YTSCORE | SCOREONE+13 |
FMDEL^YTXCHGU | DELRSLTS+6 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP("YTS123BR" | SHOWERRS+2!, SHOWERRS+6*, SHOWERRS+7, SHOWERRS+8! |
^TMP($J | SCOREONE+2!, SCOREONE+15! |
^XTMP("YTS-RESCORE" | RESCORE+5*, DIRECT+16*, DIRECT+17*, DIRECT+22, DIRECT+24, DIRECT+30*, DIRECT+31, DIRECT+32*, DIRECT+37*, DIRECT+39 , DIRECT+41, DIRECT+42*, DIRECT+43*, DIRECT+48, DIRECT+49*, DIRECT+50*, DIRECT+52, DIRECT+53*, QTASK+11*, QTASK+12* , ERRHND+13*, ERRHND+14, ERRHND+15*, SHOWPROG+3, SHOWPROG+10, SHOWPROG+11, SHOWPROG+15, SHOWPROG+16, SHOWPROG+17, SHOWPROG+18 , SHOWPROG+20, SHOWPROG+29, SHOWERRS+3, SHOWERRS+4 |
^YTT(601.71 - [#601.71] | SCOREONE+7, SCOREONE+9, DIFFREV+2, SHOWPROG+4, LSTREV+6 |
^YTT(601.84 - [#601.84] | DIRECT+25, DIRECT+43, DIRECT+45, SCOREONE+5, SCOREONE+9, DIFFREV+3, SHOWPROG+14, LSTREV+5 |
^YTT(601.92 - [#601.92] | DELRSLTS+3, DELRSLTS+5, LSTREV+2, LSTREV+3, LSTREV+4, LSTREV+7, LSTREV+8, LSTREV+9 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACTION | MONLOOP+2~, MONLOOP+3*, MONLOOP+4, MONLOOP+5, MONLOOP+6* |
ADM | SHOWERRS+1~, SHOWERRS+5*, SHOWERRS+6, LSTREV+1~, LSTREV+4*, LSTREV+5, LSTREV+6 |
CNT | LSTREV+1~, LSTREV+2*, LSTREV+4*, LSTREV+10 |
DIR | GETCMD+1~ |
DIR("B" | GETCMD+3* |
DIR(0 | GETCMD+2* |
DIROUT | GETCMD+1~, GETCMD+5 |
DIRUT | GETCMD+1~, GETCMD+5 |
DT | DIRECT+17, QTASK+11 |
DTOUT | GETCMD+1~ |
DUOUT | GETCMD+1~ |
ERR | SHOWERRS+1~, SHOWERRS+5*, SHOWERRS+6 |
ERRNUM | ERRHND+14~*, ERRHND+15 |
ERROR | ERRHND+2~*, ERRHND+4, ERRHND+15 |
EVAL | SHOWPROG+2~, SHOWPROG+15*, SHOWPROG+25 |
HH | SEC2HMS+1~, SEC2HMS+2*, SEC2HMS+4 |
I | SHOWERRS+1~, SHOWERRS+3*, SHOWERRS+4, SHOWERRS+6 |
IEN | DELRSLTS+1~, DELRSLTS+3*, DELRSLTS+4*, DELRSLTS+5, DELRSLTS+6, LSTREV+1~, LSTREV+2*, LSTREV+3, LSTREV+4, LSTREV+7 , LSTREV+8, LSTREV+9 |
IEN71 | SCOREONE+3~, SCOREONE+5*, SCOREONE+7, SCOREONE+9, SCOREONE+10, SCOREONE+12, DIFFREV~, DIFFREV+2 |
MM | SEC2HMS+1~, SEC2HMS+3*, SEC2HMS+4 |
RESUME | QTASK~, QTASK+7, QTASK+12 |
REVID | SHOWPROG+2~, SHOWPROG+3*, SHOWPROG+4, SHOWPROG+5, SHOWPROG+8, SHOWPROG+10, SHOWPROG+11, SHOWPROG+15, SHOWPROG+16, SHOWPROG+17 , SHOWPROG+18, SHOWPROG+20 |
REVNUM | SHOWPROG+2~, SHOWPROG+5*, SHOWPROG+23 |
REVSCR71 | DIFFREV+1~, DIFFREV+2*, DIFFREV+4 |
REVSCR84 | DIFFREV+1~, DIFFREV+3*, DIFFREV+4 |
RLST | DELRSLTS+1~ |
RLST( | DELRSLTS+3*, DELRSLTS+4 |
SCRD | SHOWPROG+2~, SHOWPROG+16*, SHOWPROG+26 |
SESS | SHOWPROG+2~, SHOWPROG+17*, SHOWPROG+20*, SHOWPROG+27 |
SS | SEC2HMS~, SEC2HMS+2*, SEC2HMS+3*, SEC2HMS+4 |
STS | SHOWPROG+2~, SHOWPROG+7*, SHOWPROG+8*, SHOWPROG+9, SHOWPROG+10*, SHOWPROG+12*, SHOWPROG+24 |
TEST | LSTREV+1~, LSTREV+5*, LSTREV+6 |
TIME | SHOWPROG+2~, SHOWPROG+18*, SHOWPROG+19*, SHOWPROG+27 |
TM | SHOWERRS+1~, SHOWERRS+5*, SHOWERRS+6 |
TOTL | SHOWPROG+2~, SHOWPROG+14*, SHOWPROG+25 |
TSTNAM | SHOWPROG+2~, SHOWPROG+4*, SHOWPROG+23 |
U | DIRECT+17, DIRECT+45, QTASK+11, QTASK+12, SCOREONE+5, SCOREONE+7, SCOREONE+9, DIFFREV+2, DIFFREV+3, DELRSLTS+5 , ERRHND+15, SHOWPROG+4, SHOWPROG+12, SHOWPROG+14, SHOWERRS+5, LSTREV+4, LSTREV+5, LSTREV+6, LSTREV+7, LSTREV+8 , LSTREV+9 |
X | SHOWPROG+11~*, SHOWPROG+12, SHOWERRS+1~, SHOWERRS+4*, SHOWERRS+5, GETCMD+1~ |
Y | GETCMD+1~, GETCMD+5*, GETCMD+6 |
YS | SCOREONE+3~, SCOREONE+11, SCOREONE+13 |
YS("AD" | SCOREONE+4* |
YS123ADM | DIRECT+18~, DIRECT+24*, DIRECT+25*, DIRECT+27, DIRECT+43, DIRECT+45, DIRECT+47, DIRECT+49, SCOREONE~, SCOREONE+4 , SCOREONE+5, SCOREONE+9, SCOREONE+10, DIFFREV~, DIFFREV+3, DELRSLTS~, DELRSLTS+3, DELRSLTS+5, ERRHND+15 |
YS123CNT | DIRECT+18~, DIRECT+22*, DIRECT+34*, DIRECT+35, DIRECT+50 |
YS123HRS | DIRECT+18~, DIRECT+19*, DIRECT+20*, DIRECT+23 |
YS123LIM | DIRECT+18~, DIRECT+23*, DIRECT+38 |
YS123NEW | DIRECT+18~, DIRECT+47*, DIRECT+48, SCOREONE+3~, SCOREONE+4*, SCOREONE+14*, SCOREONE+16 |
YS123OUT | DIRECT+18~, DIRECT+21*, DIRECT+25, DIRECT+29*, DIRECT+35, DIRECT+38*, DIRECT+39*, DIRECT+40 |
YS123TS | DIRECT+18~, DIRECT+21*, DIRECT+30, DIRECT+37 |
YSAD | SCOREONE+3~ |
YSDATA | SCOREONE+3~, SCOREONE+11, SCOREONE+12, SCOREONE+13 |
YSRSREV | RESCORE+4, RESCORE+5, RESCORE+7, DIRECT+16, DIRECT+22, DIRECT+24, DIRECT+28, DIRECT+30, DIRECT+31, DIRECT+32 , DIRECT+37, DIRECT+41, DIRECT+42, DIRECT+43, DIRECT+45, DIRECT+48, DIRECT+49, DIRECT+50, DIRECT+52, DIRECT+53 , QTASK~, QTASK+12 |
ZTDESC | QTASK+3~, QTASK+6* |
ZTDTH | QTASK+3~, QTASK+7* |
ZTIO | QTASK+3~, QTASK+4* |
>> ZTQUEUED | DIRECT+51 |
>> ZTREQ | DIRECT+51* |
ZTRTN | QTASK+3~, QTASK+5* |
ZTSAVE | QTASK+3~ |
ZTSAVE("YSRSREV" | QTASK+8* |
ZTSK | QTASK+3~, QTASK+10, QTASK+12 |