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 |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: YTQRCRD

Package: Mental Health

Routine: YTQRCRD


Information

YTQRCRD ;SLC/KCM - MH Clinical Reminder Dialog DLL Calls ; 1/25/2017

Source Information

Source file <YTQRCRD.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Kernel 3 ($$FMADD,$$FMTE,$$NOW)^XLFDT  $$CNV^XLFUTL  OWNSKEY^XUSRB  
Mental Health 3 SCORSAVE^YTQAPI11  $$QASAVE^YTQRQAD2  ($$CPRSSTR,CALC,LEGACY)^YTSCOREX  
Registration 1 (DEM,KVA)^VADPT  
Toolkit 1 $$GET^XPAR  

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 YTQRCRD DLL  

Entry Points

Name Comments DBIA/ICR reference
DLL(YTQRRSP,REQ) ; Controller for patient select screen
OUT ; end of switch statement
VAL(X) ; return value from request
; expects PARAMS ( with special handling for HWND)
SETUP(RSP,TESTNM,DFN,ORDBY,LOC,HWND) ; set up assignment for reminder dialog
; DLL: ShowInstrument begin - initiate instrument web page
; (testNm,DFN,OrdByNm,OrdBy,AdmByNm,AdmBy,LocNm,LocIEN,AllReq)
; input: testName, DFN, orderedBy, interviewer, location, handle
; output: URL with GUID
GUID4() ; return a type 4 GUID (random)
GETRSLT(RSP,TESTNM,GUID) ; get status and results for reminder dialog test invocation
; DLL: ShowInstrument end - web page completed, return result
; input: TESTNM, GUID
; output: status, scale=score..., questions...
; faComplete, faIncomplete, faCancelled, faNotStarted
SKIPSTR(NODE,TEST) ; return a string of skipped question identifiers
COMMIT(RSP,TESTNM,DFN,ORDBY,ADMBY,ADMDT,LOC,HWND) ; save completed administration
; DLL: SaveInstrument(testNm,DFN,OrdBy,AdmBy,AdmDate,LocIEN)
; input: testName, DFN, orderedBy, interviewer, location, adminDate
; (use DFN + TESTNM to find the GUID)
; need to set adminDate so it syncs with the visit
; update ordBy, admBy, loc if necessary
; output: returnStatus
CLEAR(RSP,DFN,TESTNM,HWND) ; remove test data from reminder dialog temporary space
; DLL: RemoveTempVistaFile(testNm, DFN)
; input: testName, DFN, handle
; remove all for DFN if testName=""
; otherwise remove testName for DFN
CLEARTST(DFN,TESTNM,HWND) ; for DFN/HWND session, remove specific TESTNM

External References

Name Field # of Occurrence
DEM^VADPT SETUP+22
KVA^VADPT SETUP+44
$$FMADD^XLFDT SETUP+52
$$FMTE^XLFDT SETUP+30
$$NOW^XLFDT SETUP+29
$$CNV^XLFUTL GUID4+3
$$GET^XPAR SETUP+12, SETUP+60
OWNSKEY^XUSRB SETUP+20
SCORSAVE^YTQAPI11 COMMIT+30
$$QASAVE^YTQRQAD2 COMMIT+24
$$CPRSSTR^YTSCOREX GETRSLT+28
CALC^YTSCOREX GETRSLT+27
LEGACY^YTSCOREX GETRSLT+26

Used in RPC

RPC Name Call Tags
YTQRCRD DLL DLL

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP($J COMMIT+28!, COMMIT+32
^XTMP( SETUP+50, SETUP+51, SETUP+52*, SETUP+53, SETUP+56, SETUP+58*, SETUP+59*, GETRSLT+10, GETRSLT+12, GETRSLT+14
, GETRSLT+21, GETRSLT+24, GETRSLT+25, SKIPSTR+3, SKIPSTR+4, SKIPSTR+5, COMMIT+14, COMMIT+15, COMMIT+16*, COMMIT+17*
, COMMIT+18*, COMMIT+19*, COMMIT+20, CLEARTST+4, CLEARTST+5, CLEARTST+6!, CLEARTST+8!, CLEARTST+10!
^XTMP("YTQCPRS-HWND" SETUP+9, SETUP+56*, SETUP+57*, COMMIT+11, CLEAR+9, CLEARTST+2, CLEARTST+9!
^YTT(601.71 - [#601.71] SETUP+17, SETUP+18, SETUP+38, SETUP+39, GETRSLT+7, GETRSLT+16, GETRSLT+22, COMMIT+13, CLEARTST+7
^YTT(601.76 - [#601.76] GETRSLT+9, SKIPSTR+6, SKIPSTR+7

Label References

Name Line Occurrences
$$GUID4 SETUP+48
$$SKIPSTR GETRSLT+15
$$VAL DLL+9, DLL+13, DLL+17, DLL+21
CLEAR DLL+21
CLEARTST COMMIT+33, CLEAR+7, CLEAR+10
COMMIT DLL+17
GETRSLT DLL+13
OUT DLL+8, DLL+12, DLL+16, DLL+20
SETUP DLL+9

Naked Globals

Name Field # of Occurrence
^("adminDate" COMMIT+16*
^(2 COMMIT+32

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ADFN GETRSLT+23~, GETRSLT+24*, GETRSLT+26
ADMBY COMMIT~, COMMIT+9, COMMIT+18
ADMDT COMMIT~, COMMIT+9, COMMIT+16
ADMIN COMMIT+8~, COMMIT+24*, COMMIT+25, COMMIT+26, COMMIT+29
ANSWERS GETRSLT+20~, GETRSLT+21*, GETRSLT+26, GETRSLT+27, GETRSLT+28
AUSER GETRSLT+23~, GETRSLT+25*, GETRSLT+26
C GUID4+1~, GUID4+2*, GUID4+3
CMD DLL+1~, DLL+2*, DLL+8, DLL+12, DLL+16, DLL+20
CTXT SKIPSTR+1~, SKIPSTR+6*, SKIPSTR+7
D GUID4+1~, GUID4+2*, GUID4+5
DATA SETUP+6~, SETUP+59, COMMIT+8~, COMMIT+20*, COMMIT+24
DATA("adminDate" SETUP+30*
DATA("adminId" COMMIT+22, COMMIT+23!
DATA("appSrc" SETUP+32*
DATA("assignmentId" COMMIT+22*
DATA("catInfo" SETUP+35*
DATA("date" SETUP+29*, SETUP+30
DATA("entryMode" SETUP+34*
DATA("id" SETUP+54*
DATA("instruments" SETUP+36*, SETUP+37*, SETUP+38*, SETUP+39*, SETUP+40*, SETUP+41*, SETUP+42*, SETUP+43*
DATA("interview" SETUP+28*
DATA("location" SETUP+31*
DATA("orderedBy" SETUP+27*
DATA("patient" SETUP+23*, SETUP+24*, SETUP+25*, SETUP+26*
DATA("questionMode" SETUP+33*
DATA("source" COMMIT+21*
DFN SETUP~, SETUP+8, SETUP+9, SETUP+16, SETUP+23, SETUP+57, COMMIT~, COMMIT+9, COMMIT+11, COMMIT+15
, COMMIT+33, CLEAR~, CLEAR+7, CLEAR+9, CLEAR+10, CLEARTST~, CLEARTST+2, CLEARTST+9
>> DILOCKTM SETUP+50
DLIM SKIPSTR+1~, SKIPSTR+7*, SKIPSTR+8
DONE SETUP+46~, SETUP+47*, SETUP+52*, SETUP+55
DT SETUP+10, SETUP+52, SETUP+57
DUZ GETRSLT+25
GUID SETUP+6~, SETUP+8*, SETUP+9*, SETUP+10*, SETUP+11*, SETUP+12, SETUP+48*, SETUP+49, SETUP+54, SETUP+57
, SETUP+60, GETRSLT~, GETRSLT+6, COMMIT+8~, COMMIT+11*, COMMIT+12, CLEAR+6~, CLEARTST+1~, CLEARTST+2*, CLEARTST+3
HOLDER SETUP+15~, SETUP+20
HOLDER(0 SETUP+19, SETUP+21
HWND SETUP~, SETUP+8, SETUP+9, SETUP+57, SETUP+58, COMMIT~, COMMIT+11, COMMIT+33, CLEAR~, CLEAR+7
, CLEAR+9, CLEAR+10, CLEARTST~, CLEARTST+2, CLEARTST+9
I DLL+1~, DLL+3*, GETRSLT+5~, GETRSLT+9*, SKIPSTR+1~, SKIPSTR+3*, SKIPSTR+4, SKIPSTR+5, CLEARTST+1~, CLEARTST+4*
, CLEARTST+5, CLEARTST+6
LOC SETUP~, SETUP+31, COMMIT~, COMMIT+9, COMMIT+19
N GUID4+1~, GUID4+3*, GUID4+4*
NODE SETUP+46~, SETUP+49*, SETUP+50, SETUP+51, SETUP+52, SETUP+53, SETUP+56, SETUP+58, SETUP+59, GETRSLT+5~
, GETRSLT+6*, GETRSLT+10, GETRSLT+12, GETRSLT+14, GETRSLT+15, GETRSLT+21, GETRSLT+24, GETRSLT+25, SKIPSTR~, SKIPSTR+3
, SKIPSTR+4, SKIPSTR+5, COMMIT+8~, COMMIT+12*, COMMIT+14, COMMIT+15, COMMIT+16, COMMIT+17, COMMIT+18, COMMIT+19
, COMMIT+20, CLEARTST+1~, CLEARTST+3*, CLEARTST+4, CLEARTST+5, CLEARTST+6, CLEARTST+8, CLEARTST+10
ORDBY SETUP~, SETUP+16, SETUP+20, SETUP+27, SETUP+28, COMMIT~, COMMIT+9, COMMIT+17
PARAMS DLL+1~
PARAMS( DLL+3*, VAL+2, VAL+3
QCNT GETRSLT+5~, GETRSLT+9*, GETRSLT+11, GETRSLT+13, GETRSLT+15, GETRSLT+17
QSTN SKIPSTR+1~, SKIPSTR+5*, SKIPSTR+6
REQ DLL~
REQ( DLL+3
REQ(1 DLL+2
RPRIV SETUP+15~, SETUP+18*, SETUP+19, SETUP+20
RSP SETUP~, GETRSLT~, COMMIT~, CLEAR~
RSP(1 SETUP+12*, SETUP+16*, SETUP+17*, SETUP+21*, SETUP+22*, SETUP+55*, SETUP+60*, GETRSLT+8*, GETRSLT+11*, GETRSLT+13*
, GETRSLT+15*, GETRSLT+17*, GETRSLT+28*, COMMIT+10*, COMMIT+14*, COMMIT+15*, COMMIT+25*, COMMIT+26*, COMMIT+31*, COMMIT+32*
, CLEAR+5*
SCORES GETRSLT+20~, GETRSLT+26, GETRSLT+27, GETRSLT+28
TEST SETUP+6~, SETUP+17*, SETUP+18, SETUP+36, SETUP+38, SETUP+39, GETRSLT+5~, GETRSLT+7*, GETRSLT+8, GETRSLT+9
, GETRSLT+12, GETRSLT+14, GETRSLT+15, GETRSLT+16, GETRSLT+21, GETRSLT+22, GETRSLT+27, GETRSLT+28, SKIPSTR~, SKIPSTR+3
, SKIPSTR+4, SKIPSTR+5, SKIPSTR+6, COMMIT+8~, COMMIT+13*, COMMIT+14, COMMIT+20, CLEARTST+1~, CLEARTST+7*, CLEARTST+8
TESTNM SETUP~, SETUP+8, SETUP+9, SETUP+17, SETUP+37, SETUP+57, GETRSLT~, GETRSLT+7, GETRSLT+11, GETRSLT+13
, GETRSLT+15, GETRSLT+17, GETRSLT+26, COMMIT~, COMMIT+11, COMMIT+13, COMMIT+33, CLEAR~, CLEAR+7, CLEARTST~
, CLEARTST+2, CLEARTST+5, CLEARTST+7, CLEARTST+9
TRYS SETUP+46~, SETUP+47*
U SETUP+10, SETUP+18, SETUP+38, SETUP+39, SETUP+52, SETUP+57, GETRSLT+11, GETRSLT+13, GETRSLT+15, GETRSLT+16
, GETRSLT+17, GETRSLT+22, SKIPSTR+7, COMMIT+11, CLEARTST+2
V VAL+2~*
>> VA("BID" SETUP+25
>> VADM(1 SETUP+24
>> VAERR SETUP+22
X VAL~, VAL+2, VAL+3, GUID4+1~, GUID4+2*, GUID4+3*, GUID4+4*, GUID4+5, SKIPSTR+1~, SKIPSTR+2*
, SKIPSTR+3, SKIPSTR+8*, SKIPSTR+9, CLEAR+6~, CLEAR+9*, CLEAR+10
YS COMMIT+27~, COMMIT+30
YS("AD" COMMIT+29*
YSDATA COMMIT+27~, COMMIT+30
YSDATA(1 COMMIT+31
YSDATA(2 COMMIT+31
YTQRRSP DLL~, DLL+9, DLL+13, DLL+17, DLL+21
YTQRRSP(1 DLL+24*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All