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

Package Total Call Graph
Kernel 6 ($$DOW,$$FMDIFF,$$FMTE,$$NOW)^XLFDT  $$LKUP^XPDKEY  $$LKOPT^XPDMENU  $$ACCESS^XQCHK  $$STA^XUAF4  $$NAME^XUSER  
Mental Health 3 ADMINS^YTQAPI5  ($$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: 2

Package Total Caller Graph
Mental Health 2 YTQRQAD1  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+3, DELADMIN+7, DELADMIN+11
$$GET1^DIQ ASSIGN1+15, ASSIGN1+19, ASSIGN1+24, INCPLT1+18, INCPLT1+19, INCPLT1+23, DESCRIBE+10, DESCRIBE+16
DEM^VADPT PTINFO+2
$$DOW^XLFDT INCPLT+5, INCPLT1+5
$$FMDIFF^XLFDT INCPLT+15, INCPLT1+16
$$FMTE^XLFDT INCPLT+16, 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
$$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, ACTCAT+2, ACTCAT+3, ACTCAT+4, ACTCAT+5, INBYCAT+3, INBYCAT+4
, INBYCAT+5, INBYCAT+6
^YTT(601.84 - [#601.84] ASSIGN1+20, DESCRIBE+13, DESCRIBE+14, DELASMT2+6, DELASMT2+7
^YTT(601.85 - [#601.85] DELADMIN+5, DELADMIN+6
^YTT(601.92 - [#601.92] DELADMIN+9, DELADMIN+10
^YTT(601.97 - [#601.97] ACTCAT+6, INBYCAT+2

Label References

Name Line Occurrences
$$ISMGR DELASMT2+2
$$NXT ASSIGN+22, ASSIGN1+25, INCPLT+19, INCPLT1+24, DESCRIBE+9, DESCRIBE+10, DESCRIBE+11, DESCRIBE+15, DESCRIBE+16, DESCRIBE+17
, DESCRIBE+18, DESCRIBE+19, DESCRIBE+20, ACTCAT+8
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+16*, ASSIGN+17, ASSIGN+18, ASSIGN1+6~, ASSIGN1+16*, ASSIGN1+17, ASSIGN1+18, ASSIGN1+20
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+21, ASSIGN1+3~, ASSIGN1+5*, ASSIGN1+7, ASSIGN1+8
, ASSIGN1+9, ASSIGN1+18
ATYP DELASMT~, DELASMT+1, DELASMT+7
CAT ACTCAT+1~, ACTCAT+4*, ACTCAT+5, INBYCAT+1~, INBYCAT+2*, INBYCAT+5
DA DELADMIN+1~, DELADMIN+3*, DELADMIN+7*, DELADMIN+11*
DATA ASSIGN+6~, ASSIGN+9*, ASSIGN1+6~, ASSIGN1+9*, DESCRIBE+3~, DESCRIBE+6*
DATA("entryMode" ASSIGN+10, ASSIGN1+10
DATA("instruments" ASSIGN+12, ASSIGN+14, ASSIGN+15, ASSIGN+16, ASSIGN1+12, ASSIGN1+13, ASSIGN1+14, ASSIGN1+16
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+18, ASSIGN1+19, INCPLT~, INCPLT+2
, INCPLT+7, INCPLT1~, INCPLT1+2, INCPLT1+7, INCPLT1+17, INCPLT1+18, PTINFO~
DIK DELADMIN+1~, DELADMIN+3*, DELADMIN+7*, DELADMIN+11*
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+11*, ASSIGN1+14*, ASSIGN1+25
I ASSIGN+6~, ASSIGN+12*, ASSIGN+14, ASSIGN+15, ASSIGN+16, ASSIGN1+6~, ASSIGN1+12*, ASSIGN1+13, ASSIGN1+14, ASSIGN1+16
, INCPLT+3~, INCPLT+9*, INCPLT+10, INCPLT+11, INCPLT+12, INCPLT+13, INCPLT+16, INCPLT+18, INCPLT1+3~, INCPLT1+9*
, INCPLT1+10, INCPLT1+11, INCPLT1+12, INCPLT1+13, INCPLT1+14, INCPLT1+17, INCPLT1+20, INCPLT1+21, INCPLT1+22, INCPLT1+23
, 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+11*, ASSIGN+19*
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+11*, ASSIGN+13*, ASSIGN+14*, ASSIGN+20, ASSIGN1+6~
NM ACTCAT+1~, ACTCAT+6*, ACTCAT+7, ACTCAT+8*, INBYCAT~, INBYCAT+2, INBYCAT+8*
OFFSET INCPLT+3~, INCPLT+6*, INCPLT+15, INCPLT1+3~, INCPLT1+6*, INCPLT1+16
OK ASSIGN+8~*, ASSIGN1+8~*
ORDBY ACTIVE~, ACTIVE+5, ACTIVE1~, ACTIVE1+5, INCPLT~, INCPLT+2, INCPLT+11, INCPLT1~, INCPLT1+2, INCPLT1+11
, INCPLT1+17, INCPLT1+19, 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+15, ASSIGN1+18
PRVNM ASSIGN1+3~, ASSIGN1+15*, ASSIGN1+18
PTADMIN ACTIVE+3~, ACTIVE1+3~
PTADMIN( ASSIGN+18*, ASSIGN1+17*, INCPLT+10, INCPLT1+10
RSP ACTIVE~, ACTIVE1~, PTINFO~, USERINFO~, DESCRIBE~, VALTSTS~, DELASMT~, DELASMT2~, ACTCAT~, INBYCAT~
RSP( ASSIGN+22*, ASSIGN1+25*, INCPLT+19*, INCPLT1+24*, DESCRIBE+9*, DESCRIBE+10*, DESCRIBE+11*, DESCRIBE+15*, DESCRIBE+16*, DESCRIBE+17*
, DESCRIBE+18*, DESCRIBE+19*, DESCRIBE+20*, ACTCAT+8*
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+7*, INBYCAT+8*
SORTED ACTCAT+1~, INBYCAT+1~
SORTED( ACTCAT+7*, ACTCAT+8, INBYCAT+6*, INBYCAT+8
TEST ASSIGN+6~, ASSIGN+15*, ASSIGN+17*, ASSIGN+19, ASSIGN1+6~, VALTSTS+1~, VALTSTS+3*, VALTSTS+4, VALTSTS+5, VALTSTS+8
, VALTSTS+10, ACTCAT+1~, ACTCAT+2*, ACTCAT+3, ACTCAT+4, ACTCAT+5, INBYCAT+1~, INBYCAT+3*, INBYCAT+4, INBYCAT+5
, INBYCAT+6
TESTNM ACTIVE1~, ACTIVE1+4, ACTIVE1+5, ASSIGN1~, ASSIGN1+13, INCPLT1~, INCPLT1+12
TESTS VALTSTS~, VALTSTS+3
U ASSIGN+19, ASSIGN+20, ASSIGN+21, ASSIGN1+18, ASSIGN1+19, ASSIGN1+21, ASSIGN1+22, ASSIGN1+23, ASSIGN1+24, ASSIGN1+25
, INCPLT+11, INCPLT+12, INCPLT+13, INCPLT+16, INCPLT+17, INCPLT+18, INCPLT1+11, INCPLT1+12, INCPLT1+13, INCPLT1+14
, INCPLT1+17, INCPLT1+18, INCPLT1+19, INCPLT1+20, INCPLT1+21, INCPLT1+22, INCPLT1+23, 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+6, DELADMIN+10, ACTCAT+3, INBYCAT+4, INBYCAT+6, INBYCAT+8
VA PTINFO+1~
VA("BID" PTINFO+4
VADM PTINFO+1~
VADM(1 PTINFO+4
VAERR PTINFO+1~, PTINFO+3
X ASSIGN+6~, ASSIGN+11*, ASSIGN+19*, ASSIGN+20*, ASSIGN+21*, ASSIGN+22, ASSIGN1+6~, ASSIGN1+11*, ASSIGN1+18*, ASSIGN1+19*
, ASSIGN1+21*, ASSIGN1+22*, ASSIGN1+23*, ASSIGN1+24*, ASSIGN1+25*, INCPLT+3~, INCPLT+16*, INCPLT+17*, INCPLT+18*, INCPLT+19
, INCPLT1+3~, INCPLT1+17*, INCPLT1+18*, INCPLT1+19*, INCPLT1+20*, INCPLT1+21*, INCPLT1+22*, INCPLT1+23*, INCPLT1+24
X0 ASSIGN1+6~, ASSIGN1+20*, ASSIGN1+21, ASSIGN1+22, ASSIGN1+23, ASSIGN1+24, 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+5*
, ACTCAT+6
YS INCPLT+3~, INCPLT+8, INCPLT1+3~, INCPLT1+8
YS("COMPLETE" INCPLT+7*, INCPLT1+7*
YS("DFN" INCPLT+7*, INCPLT1+7*
YSADM DELADMIN~, DELADMIN+3, DELADMIN+5, DELADMIN+6, DELADMIN+9, DELADMIN+10
YSANS DELADMIN+1~, DELADMIN+5*, DELADMIN+6, DELADMIN+7
YSDATA INCPLT+3~, INCPLT+8, INCPLT1+3~, INCPLT1+8
YSDATA( INCPLT+9, INCPLT+10, INCPLT+11, INCPLT+12, INCPLT+13, INCPLT+16, INCPLT+18, INCPLT1+9, INCPLT1+10, INCPLT1+11
, INCPLT1+12, INCPLT1+13, INCPLT1+14, INCPLT1+17, INCPLT1+20, INCPLT1+21, INCPLT1+22, INCPLT1+23
YSDOW INCPLT+3~, INCPLT+5*, INCPLT+6, INCPLT1+3~, INCPLT1+5*, INCPLT1+6
YSDTSAV INCPLT+3~, INCPLT+12*, INCPLT+15, INCPLT+16, INCPLT1+3~, INCPLT1+13*, INCPLT1+16
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+15, INCPLT1+3~, INCPLT1+4*, INCPLT1+5, INCPLT1+16
YSPRIV ISMGR+1~, ISMGR+3*, ISMGR+4
YSRSLT DELADMIN+1~, DELADMIN+9*, DELADMIN+10, DELADMIN+11
YSRSTRT INCPLT+3~, INCPLT+13*, INCPLT+15, INCPLT1+3~, INCPLT1+14*, INCPLT1+16
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