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 |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: YTQRQAD5

Package: Mental Health

Routine: YTQRQAD5


Information

YTQRQAD5 ;SLC/LLB - RESTful Calls to handle MHA assignments ; 10/07/2019

Source Information

Source file <YTQRQAD5.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Mental Health 3 GETSCORE^YTQAPI8  $$FILASGN^YTQRQAD1  SETERROR^YTQRUTL  
Kernel 2 $$FMTE^XLFDT  $$UP^XLFSTR  
Registration 1 DEM^VADPT  

Entry Points

Name Comments DBIA/ICR reference
EDITASMT(ARGS,DATA) ; save assignment, return /api/mha/assignment/edit/{assignmentId}
DONE(CODE,MSG,FAIL) ;
GETGRAPH(ARGS,RESULT) ; Retrieve completed instrument score graphing data for a patient
; Report all scores for one patient/Instrument combination
COLL ; Collect groups & scores for non-legacy instruments
LCOLL ; Collect scores from Legacy Instruments
INSTDEF ;Get the Instrument Definition of ScaleGroups/Scales

External References

Name Field # of Occurrence
DEM^VADPT EDITASMT+18
$$FMTE^XLFDT COLL+12, LCOLL+26
$$UP^XLFSTR LCOLL+15, INSTDEF+9
GETSCORE^YTQAPI8 GETGRAPH+17
$$FILASGN^YTQRQAD1 EDITASMT+24
SETERROR^YTQRUTL DONE+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] GETGRAPH+9
^TMP("YTQ-JSON" GETGRAPH+24!, GETGRAPH+25*, GETGRAPH+26
^TMP($J GETGRAPH+16!, GETGRAPH+18, GETGRAPH+19, COLL+3, COLL+5, COLL+6, COLL+8, COLL+9, COLL+19, COLL+22
COLL+23, COLL+24, LCOLL+6, LCOLL+7, LCOLL+9, LCOLL+10, LCOLL+12, LCOLL+13, LCOLL+14, LCOLL+19
LCOLL+20
^XTMP("YTQASMT-SET-" EDITASMT+6, EDITASMT+7, EDITASMT+10, EDITASMT+11, EDITASMT+12, EDITASMT+20, EDITASMT+21, EDITASMT+23
^YTT(601.71 - [#601.71] GETGRAPH+7
^YTT(601.84 - [#601.84] GETGRAPH+11, GETGRAPH+12, GETGRAPH+13, GETGRAPH+14, GETGRAPH+15
^YTT(601.86 - [#601.86] INSTDEF+3, INSTDEF+4, INSTDEF+5
^YTT(601.87 - [#601.87] INSTDEF+7, INSTDEF+8

Label References

Name Line Occurrences
$$DONE EDITASMT+6, EDITASMT+9, EDITASMT+17, EDITASMT+18, EDITASMT+22
COLL GETGRAPH+19
INSTDEF LCOLL+4
LCOLL GETGRAPH+18

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ADMID GETGRAPH+2~, GETGRAPH+11*, GETGRAPH+12, GETGRAPH+13, GETGRAPH+14, GETGRAPH+15
ARGS EDITASMT~, EDITASMT+24, GETGRAPH~
ARGS("assignmentId" EDITASMT+5
ARGS("dfn" GETGRAPH+8
ARGS("instrument" GETGRAPH+6
CNT GETGRAPH+2~, GETGRAPH+4*, GETGRAPH+25*, COLL+1~, COLL+2*, COLL+5*, COLL+6, COLL+7*, COLL+8*, COLL+9
COLL+10, COLL+19, COLL+22, LCOLL+1~, LCOLL+3*, LCOLL+9*, LCOLL+10, LCOLL+12, LCOLL+13, LCOLL+14
LCOLL+19*, LCOLL+20, LCOLL+21*, LCOLL+22*, LCOLL+24, LCOLL+27, LCOLL+30, LCOLL+33, LCOLL+35
CODE DONE~, DONE+1, DONE+2
DATA EDITASMT~, EDITASMT+24, DONE+1*, DONE+3
DATA("adminDate" EDITASMT+15!
DATA("appSrc" EDITASMT+16*
DATA("consult" EDITASMT+14!
DATA("orderedBy" EDITASMT+13
DATA("patient" EDITASMT+9
DATA(2 EDITASMT+23*
DFN EDITASMT+4~, EDITASMT+7*, EDITASMT+9, EDITASMT+17, GETGRAPH+2~, GETGRAPH+8*, GETGRAPH+9, GETGRAPH+11
EDITFLG EDITASMT+2~, EDITASMT+3*
EXPIRE EDITASMT+4~
FAIL DONE~, DONE+2
FOUND EDITASMT+4~
FRSTYP COLL+1~, COLL+3*, COLL+4, LCOLL+1~, LCOLL+7*, LCOLL+8
GCNT COLL+1~, COLL+2*, COLL+14*, COLL+15, COLL+29, LCOLL+17~, LCOLL+18*, LCOLL+23*, LCOLL+44
GCNTMAX COLL+1~, COLL+2*, COLL+6*, COLL+29, LCOLL+17~, LCOLL+18*, LCOLL+20*, LCOLL+44
I EDITASMT+4~, EDITASMT+20*, EDITASMT+21, INSTDEF+1~, INSTDEF+2*, INSTDEF+3, INSTDEF+4
INST LCOLL+2~
INST("SCALEGROUP" INSTDEF+6*, INSTDEF+11*
INSTD LCOLL+2~, LCOLL+5
INSTD( LCOLL+22, LCOLL+30, LCOLL+33, LCOLL+35, INSTDEF+12*
INSTD(999 LCOLL+18
INSTID GETGRAPH+2~, GETGRAPH+7*, GETGRAPH+12, INSTDEF+2
MSG EDITASMT+2~, EDITASMT+3*, DONE~, DONE+1, DONE+2
ORDBY EDITASMT+4~, EDITASMT+13*, EDITASMT+17
PAT GETGRAPH+2~, GETGRAPH+9*, GETGRAPH+10
PID EDITASMT+4~, EDITASMT+11*
PREFIX EDITASMT+4~
PTNAME EDITASMT+4~, EDITASMT+10*
RCNT GETGRAPH+2~, GETGRAPH+4*, GETGRAPH+10, GETGRAPH+21, GETGRAPH+22, GETGRAPH+23*, COLL+11*, COLL+12, COLL+16, COLL+17*
COLL+18*, COLL+19, COLL+21*, COLL+25, COLL+26, COLL+27, COLL+28, COLL+29*, COLL+30*, LCOLL+25*
LCOLL+26, LCOLL+28, LCOLL+29*, LCOLL+31*, LCOLL+32, LCOLL+34*, LCOLL+40, LCOLL+41, LCOLL+42, LCOLL+43
LCOLL+44*, LCOLL+45*
RESULT GETGRAPH~, GETGRAPH+5!, GETGRAPH+26!*
RESULT( GETGRAPH+10*, GETGRAPH+21*, GETGRAPH+22*, GETGRAPH+23*, GETGRAPH+25, COLL+12*, COLL+16*, COLL+17*, COLL+19*, COLL+25*
COLL+26*, COLL+27*, COLL+28*, COLL+29*, COLL+30*, LCOLL+26*, LCOLL+28*, LCOLL+29*, LCOLL+32*, LCOLL+40*
LCOLL+41*, LCOLL+42*, LCOLL+43*, LCOLL+44*, LCOLL+45*
RETSTAT EDITASMT+4~, EDITASMT+24*, EDITASMT+25
SCL INSTDEF+1~, INSTDEF+7*, INSTDEF+8, INSTDEF+11
SCL0 INSTDEF+1~, INSTDEF+8*, INSTDEF+9, INSTDEF+10
SCLNAM INSTDEF+1~, INSTDEF+9*, INSTDEF+11, INSTDEF+12
SCLSEQ INSTDEF+1~, INSTDEF+10*, INSTDEF+11, INSTDEF+12
SCNT LCOLL+17~, LCOLL+33*, LCOLL+35
SEQ INSTDEF+1~, INSTDEF+3*, INSTDEF+4, INSTDEF+6, INSTDEF+11, INSTDEF+12
SETID EDITASMT+4~, EDITASMT+5*, EDITASMT+6, EDITASMT+7, EDITASMT+10, EDITASMT+11, EDITASMT+12, EDITASMT+20, EDITASMT+21, EDITASMT+23
, EDITASMT+24
SG INSTDEF+1~, INSTDEF+4*, INSTDEF+5, INSTDEF+6, INSTDEF+7
SGNAM INSTDEF+1~, INSTDEF+5*, INSTDEF+6, INSTDEF+12
SSN EDITASMT+4~, EDITASMT+12*
TYPE COLL+1~, COLL+6*, COLL+9*, COLL+10, COLL+13, COLL+20, COLL+23, COLL+24, LCOLL+1~, LCOLL+10*
LCOLL+11, LCOLL+20*
U COLL+3, LCOLL+7, LCOLL+15, LCOLL+37, LCOLL+38, LCOLL+39, INSTDEF+5, INSTDEF+6, INSTDEF+9, INSTDEF+10
INSTDEF+11
VA EDITASMT+4~
VADM EDITASMT+4~
VAERR EDITASMT+4~, EDITASMT+18
XSTR GETGRAPH+2~
YS GETGRAPH+2~, GETGRAPH+17
YS("AD" GETGRAPH+14*
YS("ADATE" GETGRAPH+15*, COLL+12, LCOLL+26
YS("CODE" GETGRAPH+6*, GETGRAPH+7, GETGRAPH+10
YSCALE LCOLL+2~, LCOLL+35*, LCOLL+36, LCOLL+39
YSCALENAM LCOLL+17~
YSCALENM COLL+1~, COLL+22*, COLL+25, LCOLL+1~, LCOLL+12*, LCOLL+15, LCOLL+39*, LCOLL+40
YSCORES GETGRAPH+2~
YSDATA GETGRAPH+2~, GETGRAPH+3*, GETGRAPH+17, GETGRAPH+20!
YSEND LCOLL+1~, LCOLL+6*
YSGNAM LCOLL+17~, LCOLL+30*, LCOLL+32, LCOLL+33, LCOLL+35
YSGRPS GETGRAPH+2~
YSR LCOLL+2~, LCOLL+36*, LCOLL+37, LCOLL+38, LCOLL+39
YSRSCORE COLL+1~, COLL+23*, COLL+25, LCOLL+1~, LCOLL+13*, LCOLL+15, LCOLL+17~, LCOLL+37*, LCOLL+40
YSRSL LCOLL+2~
YSRSL( LCOLL+15*, LCOLL+36
YSTSCORE COLL+1~, COLL+24*, COLL+26, LCOLL+1~, LCOLL+14*, LCOLL+15, LCOLL+17~, LCOLL+38*, LCOLL+41
>> YTQRERRS EDITASMT+21*, EDITASMT+22, DONE+2*
Info |  Source |  Call Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All