Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: YTQRCAT

Package: Mental Health

Routine: YTQRCAT


Information

YTQRCAT ;SLC/KCM - Calls to manage CAT instruments ; 1/25/2017

Source Information

Source file <YTQRCAT.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Mental Health 8 EDAD^YTQAPI1  SCORSAVE^YTQAPI11  SAVEALL^YTQAPI17  UPADM^YTQEVNT  SETERROR^YTQRUTL  WP2JSON^YTSCAT  LOADANSW^YTSCORE  FMUPD^YTXCHGU  
Kernel 4 ^%ZTLOAD  $$FMADD^XLFDT  ENCODE^XLFJSON  $$LOW^XLFSTR  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
Mental Health 5 YTQRCDB3  YTQRIS  YTQRQAD1  YTQRQAD2  YTQRQAD3  

Entry Points

Name Comments DBIA/ICR reference
SPLTADM(ADMIN) ; split CAT interview into multiple admins
LOADTREE(ADMIN,TREE) ; load interview document into TREE
BLDANS(JSON,CATANS) ; split JSON into FM WP chunks
SETSCORE(ADMIN) ; score the admin
NEWADM(SRCADM,NAME) ; return a new admin for instrument NAME based on another
REPOINT(ADMIN,NAME) ; re-point the instrument in ADMIN to NAME
SAVEANS(CATANS) ; save/update CAT interview answer
NMINST(TTYP) ; return name of instrument
QSPLT(YTADMIN) ; queue the splitting if this is a CAT interview
DQSPLT ; de-queue the admin and split into separate admins
GCATINFO(ARGS,RESULTS) ; return catInfo object by assignmentId
PCATINFO(ARGS,DATA) ; save updated catInfo into assignment
GETCATI(ARGS,RESULTS) ; return saved CAT object (by interviewID)
SETCATI(ARGS,DATA) ; save CAT object (by interviewID)
CHKPROG(ADMIN) ; if CAT return progress, otherwise -1
MVAUTOSV(OLDSET,SETID) ; move the auto-save cache when assignment changes
ANYCAT(ASMT) ; return 1 if any CAT/CAD interviews in assignment

External References

Name Field # of Occurrence
^%ZTLOAD QSPLT+7
$$FMADD^XLFDT PCATINFO+8, SETCATI+2
ENCODE^XLFJSON SPLTADM+23
$$LOW^XLFSTR NMINST+1
EDAD^YTQAPI1 NEWADM+18
SCORSAVE^YTQAPI11 SETSCORE+3
SAVEALL^YTQAPI17 SAVEANS+6
UPADM^YTQEVNT REPOINT+5
SETERROR^YTQRUTL GCATINFO+4, GCATINFO+5, PCATINFO+3, GETCATI+3
WP2JSON^YTSCAT LOADTREE+4
LOADANSW^YTSCORE LOADTREE+3
FMUPD^YTXCHGU REPOINT+4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP($J SETSCORE+4!
^XTMP( GCATINFO+5, GCATINFO+6, PCATINFO+3, PCATINFO+5!, PCATINFO+6*, ANYCAT+3, ANYCAT+4
^XTMP("YTQCAT-" GETCATI+2, GETCATI+4, SETCATI+3!, SETCATI+4*, SETCATI+5*
^XTMP("YTQCATSV-" GCATINFO+9, GCATINFO+10, GCATINFO+11, GCATINFO+12, GCATINFO+13, PCATINFO+9*, PCATINFO+11!, PCATINFO+12*, PCATINFO+14!, PCATINFO+15*
, PCATINFO+17*, MVAUTOSV+1, MVAUTOSV+2!, MVAUTOSV+3*, MVAUTOSV+4!
^YTT(601.71 - [#601.71] SPLTADM+3, NEWADM+3, REPOINT+2, CHKPROG+3
^YTT(601.84 - [#601.84] SPLTADM+1, NEWADM+2, CHKPROG+3, CHKPROG+6
^YTT(601.85 - [#601.85] SAVEANS+3, SAVEANS+4, SAVEANS+5!

Label References

Name Line Occurrences
$$NEWADM SPLTADM+26
$$NMINST SPLTADM+12, SPLTADM+26, SPLTADM+31
BLDANS SPLTADM+24
LOADTREE SPLTADM+7
REPOINT SPLTADM+12, SPLTADM+31
SAVEANS SPLTADM+30
SETSCORE SPLTADM+13, SPLTADM+32
SPLTADM DQSPLT+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ADMIN SPLTADM~, SPLTADM+1, SPLTADM+7, SPLTADM+12, SPLTADM+13, SPLTADM+26, SPLTADM+28, SPLTADM+31, LOADTREE~, LOADTREE+2
, SETSCORE~, SETSCORE+2, REPOINT~, REPOINT+4, REPOINT+5, CHKPROG~, CHKPROG+1, CHKPROG+3, CHKPROG+6
ARGS GCATINFO~, PCATINFO~, GETCATI~, SETCATI~
ARGS("assignmentId" GCATINFO+2, GCATINFO+4, GCATINFO+5, PCATINFO+2, PCATINFO+3, PCATINFO+7, PCATINFO+18
ARGS("interviewId" GETCATI+1, GETCATI+3, SETCATI+1
ASMT GCATINFO+1~, GCATINFO+3*, GCATINFO+5, GCATINFO+6, PCATINFO+1~, PCATINFO+2*, PCATINFO+3, PCATINFO+5, PCATINFO+6, ANYCAT~
, ANYCAT+2
ASMTID GCATINFO+1~, GCATINFO+2*, GCATINFO+3, GCATINFO+4, GCATINFO+9, GCATINFO+10, GCATINFO+11, GCATINFO+12, GCATINFO+13, PCATINFO+7~*
, PCATINFO+9, PCATINFO+11, PCATINFO+12, PCATINFO+14, PCATINFO+15, PCATINFO+17
CATANS SPLTADM+18~, SPLTADM+24, SPLTADM+30, BLDANS~, SAVEANS~, SAVEANS+6
CATANS("AD" SPLTADM+27*, SPLTADM+28*, SPLTADM+32, SAVEANS+2
CATANS(1 SPLTADM+29*, BLDANS+4*
CATID GETCATI+1~*, GETCATI+2, GETCATI+4, SETCATI+1~*, SETCATI+3, SETCATI+4, SETCATI+5, SETCATI+6
CATPROG CHKPROG+2~*, CHKPROG+5*, CHKPROG+6*, CHKPROG+7
CNT SPLTADM+6~, SPLTADM+8*, SPLTADM+9*, SPLTADM+10
DATA PCATINFO~, SETCATI~, SETCATI+5
DATA("answers" PCATINFO+10, PCATINFO+12
DATA("catInfo" PCATINFO+4, PCATINFO+6
DATA("report" PCATINFO+13, PCATINFO+15
DATA("status" PCATINFO+16, PCATINFO+17
DT PCATINFO+8, PCATINFO+9, SETCATI+2, SETCATI+4
EXPIRE PCATINFO+8~*, PCATINFO+9, SETCATI+2~*, SETCATI+4
FND ANYCAT+1~, ANYCAT+2*, ANYCAT+4*, ANYCAT+5
I BLDANS+1~, BLDANS+2*, BLDANS+3, BLDANS+5, ANYCAT+1~, ANYCAT+3*, ANYCAT+4
IEN71 NEWADM+1~, NEWADM+3*, NEWADM+7, REPOINT+1~, REPOINT+2*, REPOINT+3
IEN85 SAVEANS+1~, SAVEANS+4*, SAVEANS+5
ITEST SPLTADM+6~, SPLTADM+8*, SPLTADM+9*, SPLTADM+17*, SPLTADM+19, SPLTADM+20, SPLTADM+25, SPLTADM+31
JSON SPLTADM+18~, SPLTADM+24!, BLDANS~
JSON( BLDANS+2, BLDANS+3, BLDANS+5*
LN BLDANS+1~, BLDANS+2*, BLDANS+4*
NAME NEWADM~, NEWADM+3, REPOINT~, REPOINT+2
NEWADM SPLTADM+18~, SPLTADM+26*, SPLTADM+27
NEWTREE SPLTADM+18~, SPLTADM+23!
NEWTREE("answers" SPLTADM+21*
NEWTREE("report" SPLTADM+20*
NEWTREE("status" SPLTADM+22*
NM SPLTADM+3~*, SPLTADM+4
NODE ANYCAT+1~, ANYCAT+2*, ANYCAT+3, ANYCAT+4
OLDSET MVAUTOSV~, MVAUTOSV+1, MVAUTOSV+3, MVAUTOSV+4
REC REPOINT+1~, REPOINT+4
REC(2 REPOINT+3*
RESULTS GCATINFO~, GETCATI~, GETCATI+4*
RESULTS("answers" GCATINFO+10*
RESULTS("catInfo" GCATINFO+6*, GCATINFO+7*
RESULTS("report" GCATINFO+12*
RESULTS("status" GCATINFO+13*
SETID MVAUTOSV~, MVAUTOSV+2, MVAUTOSV+3
SRCADM NEWADM~, NEWADM+2
TESTNM CHKPROG+3~*, CHKPROG+4
TREE SPLTADM+6~, SPLTADM+7, LOADTREE~, LOADTREE+4
TREE("answers" SPLTADM+21
TREE("report" SPLTADM+9, SPLTADM+11, SPLTADM+17, SPLTADM+19, SPLTADM+20
TREE("status" SPLTADM+22
TTYP SPLTADM+6~, SPLTADM+11*, SPLTADM+12, SPLTADM+19*, SPLTADM+26, SPLTADM+31, NMINST~, NMINST+1*, NMINST+2, NMINST+3
, NMINST+4, NMINST+5, NMINST+6, NMINST+7, NMINST+8, NMINST+9, NMINST+10, NMINST+11, NMINST+12, NMINST+13
, NMINST+14, NMINST+15
U SPLTADM+2, SPLTADM+3, NEWADM+6, NEWADM+8, NEWADM+9, NEWADM+10, NEWADM+11, NEWADM+12, NEWADM+13, NEWADM+14
, NEWADM+15, NEWADM+16, NEWADM+17, NEWADM+19, PCATINFO+9, SETCATI+4, CHKPROG+3, CHKPROG+6
X BLDANS+1~, BLDANS+3*, BLDANS+4
X0 SPLTADM+1~*, SPLTADM+2, SPLTADM+3, NEWADM+1~, NEWADM+2*, NEWADM+6, NEWADM+8, NEWADM+9, NEWADM+10, NEWADM+11
, NEWADM+12, NEWADM+13, NEWADM+14, NEWADM+15, NEWADM+16, NEWADM+17
YS LOADTREE+1~, LOADTREE+3, SETSCORE+1~, SETSCORE+3, NEWADM+1~, NEWADM+18
YS("AD" LOADTREE+2*, SETSCORE+2*
YS("FILEN" NEWADM+4*
YS(1 NEWADM+5*
YS(10 NEWADM+14*
YS(11 NEWADM+15*
YS(12 NEWADM+16*
YS(13 NEWADM+17*
YS(2 NEWADM+6*
YS(3 NEWADM+7*
YS(4 NEWADM+8*
YS(5 NEWADM+9*
YS(6 NEWADM+10*
YS(7 NEWADM+11*
YS(8 NEWADM+12*
YS(9 NEWADM+13*
YSAD SAVEANS+1~, SAVEANS+2*, SAVEANS+3, SAVEANS+4
YSDATA LOADTREE+1~, LOADTREE+3, LOADTREE+4, SETSCORE+1~, SETSCORE+3, NEWADM+1~, NEWADM+18, SAVEANS+1~, SAVEANS+6
YSDATA(2 NEWADM+19
YTADMIN QSPLT~, DQSPLT+2
ZTDESC QSPLT+1~, QSPLT+4*
ZTDTH QSPLT+1~, QSPLT+5*
ZTIO QSPLT+1~, QSPLT+2*
>> ZTREQ DQSPLT+1*
ZTRTN QSPLT+1~, QSPLT+3*
ZTSAVE QSPLT+1~
ZTSAVE("YTADMIN" QSPLT+6*
ZTSK QSPLT+1~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All