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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: YTQRIS

Package: Mental Health

Routine: YTQRIS


Information

YTQRIS ;SLC/KCM - Instrument Selection RPC's ; 1/25/2017

Source Information

Source file <YTQRIS.m>

Call Graph

Call Graph

Call Graph Total: 14

Package Total Call Graph
Kernel 6 ($$DOW,$$FMDIFF,$$FMTE,$$NOW)^XLFDT  $$LKUP^XPDKEY  $$LKOPT^XPDMENU  $$ACCESS^XQCHK  $$STA^XUAF4  $$NAME^XUSER  
Mental Health 5 ADMINS^YTQAPI5  DELETE^YTQEVNT  $$ANYCAT^YTQRCAT  ($$DELIDX,DELASMT1)^YTQRQAD1  $$ERRTXT^YTQRUTL  
VA FileMan 2 ^DIK  $$GET1^DIQ  
Registration 1 DEM^VADPT  

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: 1

Package Total Caller Graph
Mental Health 1 YTQRRPC  

Entry Points

Name Comments DBIA/ICR reference
NXT() ; return next RSP index
ACTIVE(RSP,DFN,ORDBY) ; return list of active assignments
; return displayText^pin^name|adminId^name|adminId^...
; 1 2 3 4 n...
ACTIVE1(RSP,DFN,ORDBY,TESTNM) ; return active assignments for one instrument
; return dfn[1]^ptNm[2]^assignmentId[3]^adminId[4]^ordById[5]^ordByNm[6]^
; dtGiven[7]^dtSaved[8]^locId[9]^locNm[10]
ASSIGN(DFN) ; active patient-entry assignments
; expects RSP,YSIDX,PTADMIN
ASSIGN1(DFN,TESTNM) ; active patient-entry assignments for 1 instrument
; expects RSP,YSIDX,PTADMIN
INCPLT(DFN,ORDBY) ; add list of incomplete instruments for DFN and ORDBY
; expects RSP,YSIDX,PTADMIN
INCPLT1(DFN,ORDBY,TESTNM) ; add list of incomplete instruments for DFN and ORDBY
; expects RSP,YSIDX,PTADMIN
PTINFO(RSP,DFN) ; return display info for patient
USERINFO(RSP) ; return user info
DESCRIBE(RSP,PIN,ADMINS) ; describe an assignment
; expects RSP
VALTSTS(RSP,MODE,ORDBY,TESTS) ; validate a set of instruments
DELASMT(RSP,ATYP,ANID) ; delete an assignment or incomplete admin
DELASMT2(RSP,PIN,ADMINS) ; delete an assignment or incomplete admin
ISMGR() ; return 1 if admin access to admins
DELADMIN(YSADM) ; delete an admin & associated records
ACTCAT(RSP) ; return a list of active categories
INBYCAT(RSP,NM) ; return a list of instruments by category

External References

Name Field # of Occurrence
^DIK DELADMIN+7, DELADMIN+11, DELADMIN+15
$$GET1^DIQ ASSIGN1+16, ASSIGN1+20, ASSIGN1+25, INCPLT1+19, INCPLT1+20, INCPLT1+24, DESCRIBE+10, DESCRIBE+16
DEM^VADPT PTINFO+2
$$DOW^XLFDT INCPLT+5, INCPLT1+5
$$FMDIFF^XLFDT INCPLT+16, INCPLT1+17
$$FMTE^XLFDT INCPLT+17, DESCRIBE+8, DESCRIBE+17, DESCRIBE+18
$$NOW^XLFDT INCPLT+4, INCPLT1+4
$$LKUP^XPDKEY VALTSTS+6
$$LKOPT^XPDMENU ISMGR+2
$$ACCESS^XQCHK ISMGR+3
$$STA^XUAF4 USERINFO+1
$$NAME^XUSER USERINFO+1
ADMINS^YTQAPI5 INCPLT+8, INCPLT1+8
DELETE^YTQEVNT DELADMIN+17
$$ANYCAT^YTQRCAT ASSIGN+11, ASSIGN1+11
$$DELIDX^YTQRQAD1 ASSIGN+8, ASSIGN1+8
DELASMT1^YTQRQAD1 DELASMT+4, DELASMT2+19
$$ERRTXT^YTQRUTL DELASMT+5, DELASMT2+20

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ
^VA(200 - [#200] GET1^DIQ
^SC - [#44] GET1^DIQ
^YTT(601.84 - [#601.84] Classic Fileman Calls
^YTT(601.85 - [#601.85] Classic Fileman Calls
^YTT(601.92 - [#601.92] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("YTQRERRS" DELASMT+3!, DELASMT+6!, DELASMT2+18!, DELASMT2+21!
^XTMP("YTQASMT-INDEX" ASSIGN+4, ASSIGN+5, ASSIGN1+4, ASSIGN1+5
^XTMP("YTQASMT-SET-" ASSIGN+7, ASSIGN+9, ASSIGN1+7, ASSIGN1+9, DESCRIBE+6, DESCRIBE+7
^XUSEC( VALTSTS+7
^YTT(601.71 - [#601.71] DESCRIBE+15, VALTSTS+4, VALTSTS+6, VALTSTS+9, DELADMIN+4, ACTCAT+2, ACTCAT+3, ACTCAT+4, ACTCAT+5, ACTCAT+6
, ACTCAT+7, ACTCAT+8, INBYCAT+3, INBYCAT+4, INBYCAT+5, INBYCAT+6, INBYCAT+9
^YTT(601.84 - [#601.84] ASSIGN1+21, DESCRIBE+13, DESCRIBE+14, DELASMT2+6, DELASMT2+7, DELADMIN+2, DELADMIN+3, DELADMIN+5
^YTT(601.85 - [#601.85] DELADMIN+9, DELADMIN+10
^YTT(601.92 - [#601.92] DELADMIN+13, DELADMIN+14
^YTT(601.97 - [#601.97] ACTCAT+9, INBYCAT+2

Label References

Name Line Occurrences
$$ISMGR DELASMT2+2
$$NXT ASSIGN+23, ASSIGN1+26, INCPLT+20, INCPLT1+25, DESCRIBE+9, DESCRIBE+10, DESCRIBE+11, DESCRIBE+15, DESCRIBE+16, DESCRIBE+17
, DESCRIBE+18, DESCRIBE+19, DESCRIBE+20, ACTCAT+11
ASSIGN ACTIVE+4
ASSIGN1 ACTIVE1+4
DELADMIN DELASMT2+10
INCPLT ACTIVE+5
INCPLT1 ACTIVE1+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ADMIN ASSIGN+6~, ASSIGN+17*, ASSIGN+18, ASSIGN+19, ASSIGN1+6~, ASSIGN1+17*, ASSIGN1+18, ASSIGN1+19, ASSIGN1+21
ADMINS DESCRIBE~, DESCRIBE+12, DESCRIBE+13, DELASMT2~, DELASMT2+5, DELASMT2+6
ANID DELASMT~, DELASMT+4
APRV VALTSTS+1~, VALTSTS+6*, VALTSTS+7
ASMT ASSIGN+3~, ASSIGN+5*, ASSIGN+7, ASSIGN+8, ASSIGN+9, ASSIGN+11, ASSIGN+22, ASSIGN1+3~, ASSIGN1+5*, ASSIGN1+7
, ASSIGN1+8, ASSIGN1+9, ASSIGN1+11, ASSIGN1+19
ATYP DELASMT~, DELASMT+1, DELASMT+7
CAT ACTCAT+1~, ACTCAT+7*, ACTCAT+8, INBYCAT+1~, INBYCAT+2*, INBYCAT+5
DA DELADMIN+1~, DELADMIN+7*, DELADMIN+11*, DELADMIN+15*
DATA ASSIGN+6~, ASSIGN+9*, ASSIGN1+6~, ASSIGN1+9*, DESCRIBE+3~, DESCRIBE+6*
DATA("entryMode" ASSIGN+10, ASSIGN1+10
DATA("instruments" ASSIGN+13, ASSIGN+15, ASSIGN+16, ASSIGN+17, ASSIGN1+13, ASSIGN1+14, ASSIGN1+15, ASSIGN1+17
DATA("orderedBy" DESCRIBE+10
DFN ACTIVE~, ACTIVE+4, ACTIVE+5, ACTIVE1~, ACTIVE1+4, ACTIVE1+5, ASSIGN~, ASSIGN+2, ASSIGN+4, ASSIGN+5
, ASSIGN+8, ASSIGN1~, ASSIGN1+2, ASSIGN1+4, ASSIGN1+5, ASSIGN1+8, ASSIGN1+19, ASSIGN1+20, INCPLT~, INCPLT+2
, INCPLT+7, INCPLT1~, INCPLT1+2, INCPLT1+7, INCPLT1+18, INCPLT1+19, PTINFO~
DIK DELADMIN+1~, DELADMIN+7*, DELADMIN+11*, DELADMIN+15*
DUZ USERINFO+1, DELASMT2+10, ISMGR+3
DUZ(2 USERINFO+1
ERRMSG DELASMT2+1~, DELASMT2+2*, DELASMT2+5, DELASMT2+9*, DELASMT2+11*, DELASMT2+12
EXPDT DESCRIBE+3~, DESCRIBE+7*, DESCRIBE+8*, DESCRIBE+9
EXTRA ASSIGN1+3~, ASSIGN1+12*, ASSIGN1+15*, ASSIGN1+26
I ASSIGN+6~, ASSIGN+13*, ASSIGN+15, ASSIGN+16, ASSIGN+17, ASSIGN1+6~, ASSIGN1+13*, ASSIGN1+14, ASSIGN1+15, ASSIGN1+17
, INCPLT+3~, INCPLT+9*, INCPLT+10, INCPLT+11, INCPLT+12, INCPLT+13, INCPLT+14, INCPLT+17, INCPLT+19, INCPLT1+3~
, INCPLT1+9*, INCPLT1+10, INCPLT1+11, INCPLT1+12, INCPLT1+13, INCPLT1+14, INCPLT1+15, INCPLT1+18, INCPLT1+21, INCPLT1+22
, INCPLT1+23, INCPLT1+24, DESCRIBE+3~, DESCRIBE+12*, DESCRIBE+13, VALTSTS+1~, VALTSTS+3*, DELASMT2+1~, DELASMT2+5*, DELASMT2+6
IEN DESCRIBE+3~, DESCRIBE+13*, DESCRIBE+14, VALTSTS+1~, VALTSTS+4*, VALTSTS+6, VALTSTS+9, DELASMT2+1~, DELASMT2+6*, DELASMT2+7
, DELASMT2+10
J ASSIGN+6~, ASSIGN+12*, ASSIGN+20*
MGR DELASMT2+1~, DELASMT2+2*, DELASMT2+10
MODE VALTSTS~, VALTSTS+9
MSG VALTSTS+1~, VALTSTS+2*, VALTSTS+3, VALTSTS+5*, VALTSTS+8*, VALTSTS+10*, VALTSTS+11
NAMES ASSIGN+6~, ASSIGN+12*, ASSIGN+14*, ASSIGN+15*, ASSIGN+21, ASSIGN1+6~
NM ACTCAT+1~, ACTCAT+9*, ACTCAT+10, ACTCAT+11*, INBYCAT~, INBYCAT+2, INBYCAT+11*
OFFSET INCPLT+3~, INCPLT+6*, INCPLT+16, INCPLT1+3~, INCPLT1+6*, INCPLT1+17
OK ASSIGN+8~*, ASSIGN1+8~*
ORDBY ACTIVE~, ACTIVE+5, ACTIVE1~, ACTIVE1+5, INCPLT~, INCPLT+2, INCPLT+12, INCPLT1~, INCPLT1+2, INCPLT1+12
, INCPLT1+18, INCPLT1+20, VALTSTS~, VALTSTS+7
PIN DESCRIBE~, DESCRIBE+5, DESCRIBE+6, DESCRIBE+7, DESCRIBE+9, DESCRIBE+16, DESCRIBE+20, DELASMT2~, DELASMT2+16, DELASMT2+19
PRV ASSIGN+3~, ASSIGN+4*, ASSIGN+5, ASSIGN+8, ASSIGN1+3~, ASSIGN1+4*, ASSIGN1+5, ASSIGN1+8, ASSIGN1+16, ASSIGN1+19
PRVNM ASSIGN1+3~, ASSIGN1+16*, ASSIGN1+19
PTADMIN ACTIVE+3~, ACTIVE1+3~
PTADMIN( ASSIGN+19*, ASSIGN1+18*, INCPLT+11, INCPLT1+11
RSP ACTIVE~, ACTIVE1~, PTINFO~, USERINFO~, DESCRIBE~, VALTSTS~, DELASMT~, DELASMT2~, ACTCAT~, INBYCAT~
RSP( ASSIGN+23*, ASSIGN1+26*, INCPLT+20*, INCPLT1+25*, DESCRIBE+9*, DESCRIBE+10*, DESCRIBE+11*, DESCRIBE+15*, DESCRIBE+16*, DESCRIBE+17*
, DESCRIBE+18*, DESCRIBE+19*, DESCRIBE+20*, ACTCAT+11*
RSP(0 VALTSTS+11*
RSP(1 PTINFO+3*, PTINFO+4*, USERINFO+1*, DESCRIBE+2*, DELASMT+5*, DELASMT+8*, DELASMT+9*, DELASMT2+12*, DELASMT2+13*, DELASMT2+20*
, INBYCAT+10*, INBYCAT+11*
SORTED ACTCAT+1~, INBYCAT+1~
SORTED( ACTCAT+10*, ACTCAT+11, INBYCAT+9*, INBYCAT+11
TEST ASSIGN+6~, ASSIGN+16*, ASSIGN+18*, ASSIGN+20, ASSIGN1+6~, VALTSTS+1~, VALTSTS+3*, VALTSTS+4, VALTSTS+5, VALTSTS+8
, VALTSTS+10, ACTCAT+1~, ACTCAT+2*, ACTCAT+3, ACTCAT+4, ACTCAT+5, ACTCAT+6, ACTCAT+7, ACTCAT+8, INBYCAT+1~
, INBYCAT+3*, INBYCAT+4, INBYCAT+5, INBYCAT+6, INBYCAT+9
TESTNM ACTIVE1~, ACTIVE1+4, ACTIVE1+5, ASSIGN1~, ASSIGN1+14, INCPLT1~, INCPLT1+13, INBYCAT+1~, INBYCAT+6*, INBYCAT+7
, INBYCAT+8
TESTS VALTSTS~, VALTSTS+3
U ASSIGN+20, ASSIGN+21, ASSIGN+22, ASSIGN1+19, ASSIGN1+20, ASSIGN1+22, ASSIGN1+23, ASSIGN1+24, ASSIGN1+25, ASSIGN1+26
, INCPLT+10, INCPLT+12, INCPLT+13, INCPLT+14, INCPLT+17, INCPLT+18, INCPLT+19, INCPLT1+10, INCPLT1+12, INCPLT1+13
, INCPLT1+14, INCPLT1+15, INCPLT1+18, INCPLT1+19, INCPLT1+20, INCPLT1+21, INCPLT1+22, INCPLT1+23, INCPLT1+24, PTINFO+4
, USERINFO+1, DESCRIBE+7, DESCRIBE+15, DESCRIBE+16, DESCRIBE+17, DESCRIBE+18, DESCRIBE+19, DESCRIBE+20, VALTSTS+6, VALTSTS+9
, DELASMT2+8, DELASMT2+10, DELADMIN+2, DELADMIN+3, DELADMIN+4, DELADMIN+5, DELADMIN+10, DELADMIN+14, ACTCAT+3, ACTCAT+4
, ACTCAT+5, ACTCAT+6, INBYCAT+4, INBYCAT+6, INBYCAT+9, INBYCAT+11
VA PTINFO+1~
VA("BID" PTINFO+4
VADM PTINFO+1~
VADM(1 PTINFO+4
VAERR PTINFO+1~, PTINFO+3
X ASSIGN+6~, ASSIGN+12*, ASSIGN+20*, ASSIGN+21*, ASSIGN+22*, ASSIGN+23, ASSIGN1+6~, ASSIGN1+12*, ASSIGN1+19*, ASSIGN1+20*
, ASSIGN1+22*, ASSIGN1+23*, ASSIGN1+24*, ASSIGN1+25*, ASSIGN1+26*, INCPLT+3~, INCPLT+17*, INCPLT+18*, INCPLT+19*, INCPLT+20
, INCPLT1+3~, INCPLT1+18*, INCPLT1+19*, INCPLT1+20*, INCPLT1+21*, INCPLT1+22*, INCPLT1+23*, INCPLT1+24*, INCPLT1+25
X0 ASSIGN1+6~, ASSIGN1+21*, ASSIGN1+22, ASSIGN1+23, ASSIGN1+24, ASSIGN1+25, DESCRIBE+3~, DESCRIBE+14*, DESCRIBE+15, DESCRIBE+16
, DESCRIBE+17, DESCRIBE+18, DESCRIBE+19, DESCRIBE+20, DELASMT2+1~, DELASMT2+7*, DELASMT2+8, DELASMT2+10, ACTCAT+1~, ACTCAT+8*
, ACTCAT+9
YS INCPLT+3~, INCPLT+8, INCPLT1+3~, INCPLT1+8
YS("COMPLETE" INCPLT+7*, INCPLT1+7*
YS("DFN" INCPLT+7*, INCPLT1+7*
YSADM DELADMIN~, DELADMIN+2, DELADMIN+3, DELADMIN+5, DELADMIN+7, DELADMIN+9, DELADMIN+10, DELADMIN+13, DELADMIN+14, DELADMIN+17
YSANS DELADMIN+1~, DELADMIN+9*, DELADMIN+10, DELADMIN+11
YSDATA INCPLT+3~, INCPLT+8, INCPLT1+3~, INCPLT1+8
YSDATA( INCPLT+9, INCPLT+10, INCPLT+11, INCPLT+12, INCPLT+13, INCPLT+14, INCPLT+17, INCPLT+19, INCPLT1+9, INCPLT1+10
, INCPLT1+11, INCPLT1+12, INCPLT1+13, INCPLT1+14, INCPLT1+15, INCPLT1+18, INCPLT1+21, INCPLT1+22, INCPLT1+23, INCPLT1+24
YSDOW INCPLT+3~, INCPLT+5*, INCPLT+6, INCPLT1+3~, INCPLT1+5*, INCPLT1+6
YSDTSAV INCPLT+3~, INCPLT+13*, INCPLT+16, INCPLT+17, INCPLT1+3~, INCPLT1+14*, INCPLT1+17
YSEVCPLT DELADMIN+1~, DELADMIN+5*, DELADMIN+17
YSEVDFN DELADMIN+1~, DELADMIN+2*, DELADMIN+17
YSEVTST DELADMIN+1~, DELADMIN+3*, DELADMIN+4*, DELADMIN+17
YSIDX NXT+1*, NXT+2, ACTIVE+3~, ACTIVE1+3~, DESCRIBE+3~, DESCRIBE+4*, DESCRIBE+11
YSMENU ISMGR+1~, ISMGR+2*, ISMGR+3
YSNOW INCPLT+3~, INCPLT+4*, INCPLT+5, INCPLT+16, INCPLT1+3~, INCPLT1+4*, INCPLT1+5, INCPLT1+17
YSPRIV ISMGR+1~, ISMGR+3*, ISMGR+4
YSRSLT DELADMIN+1~, DELADMIN+13*, DELADMIN+14, DELADMIN+15
YSRSTRT INCPLT+3~, INCPLT+14*, INCPLT+16, INCPLT1+3~, INCPLT1+15*, INCPLT1+17
YTQRERRS DELASMT+2~, DELASMT+5, DELASMT2+17~, DELASMT2+20
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All