YTQRCAT ;SLC/KCM - Calls to manage CAT instruments ; 1/25/2017
Source file <YTQRCAT.m>
| 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
|