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

Package Total Call Graph
Mental Health 4 PRIVL^YTAPI5  GETSCORE^YTQAPI8  $$FILASGN^YTQRQAD1  SETERROR^YTQRUTL  
Kernel 2 $$FMTE^XLFDT  ($$TRIM,$$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
IPRIV(TSTNM)
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+19
$$FMTE^XLFDT COLL+16, LCOLL+26
$$TRIM^XLFSTR LCOLL+15
$$UP^XLFSTR LCOLL+15, INSTDEF+9
PRIVL^YTAPI5 IPRIV+3
GETSCORE^YTQAPI8 GETGRAPH+20
$$FILASGN^YTQRQAD1 EDITASMT+26
SETERROR^YTQRUTL DONE+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] GETGRAPH+10
^TMP("YTQ-JSON" GETGRAPH+27!, GETGRAPH+28*, GETGRAPH+29
^TMP($J GETGRAPH+19!, GETGRAPH+21, GETGRAPH+22, COLL+4, COLL+6, COLL+7, COLL+8, COLL+9, COLL+10, COLL+12
COLL+13, COLL+23, COLL+26, COLL+29, COLL+30, 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+21, EDITASMT+22, EDITASMT+23, EDITASMT+25
^YTT(601.71 - [#601.71] GETGRAPH+8
^YTT(601.84 - [#601.84] GETGRAPH+13, GETGRAPH+14, GETGRAPH+15, GETGRAPH+17, GETGRAPH+18
^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+18, EDITASMT+19, EDITASMT+24
$$IPRIV GETGRAPH+16
COLL GETGRAPH+22
INSTDEF LCOLL+4
LCOLL GETGRAPH+21

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ADMID GETGRAPH+2~, GETGRAPH+13*, GETGRAPH+14, GETGRAPH+15, GETGRAPH+17, GETGRAPH+18
ARGS EDITASMT~, EDITASMT+26, GETGRAPH~
ARGS("assignmentId" EDITASMT+5
ARGS("dfn" GETGRAPH+9
ARGS("instrument" GETGRAPH+7, GETGRAPH+16
CNT GETGRAPH+2~, GETGRAPH+5*, GETGRAPH+28*, COLL+1~, COLL+3*, COLL+6*, COLL+7, COLL+8*, COLL+9, COLL+10
COLL+11*, COLL+12*, COLL+13, COLL+14, COLL+23, COLL+26, 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+26, DONE+1*, DONE+3
DATA("adminDate" EDITASMT+15!
DATA("appSrc" EDITASMT+17*
DATA("consult" EDITASMT+14!
DATA("cosigner" EDITASMT+16!
DATA("orderedBy" EDITASMT+13
DATA("patient" EDITASMT+9
DATA(2 EDITASMT+25*
DFN EDITASMT+4~, EDITASMT+7*, EDITASMT+9, EDITASMT+18, GETGRAPH+2~, GETGRAPH+9*, GETGRAPH+10, GETGRAPH+13
EDITFLG EDITASMT+2~, EDITASMT+3*
EXPIRE EDITASMT+4~
FAIL DONE~, DONE+2
FOUND EDITASMT+4~
FRSTYP COLL+1~, COLL+4*, COLL+5, LCOLL+1~, LCOLL+7*, LCOLL+8
GCNT COLL+1~, COLL+3*, COLL+18*, COLL+19, COLL+38, LCOLL+17~, LCOLL+18*, LCOLL+23*, LCOLL+44
GCNTMAX COLL+1~, COLL+3*, COLL+7*, COLL+38, LCOLL+17~, LCOLL+18*, LCOLL+20*, LCOLL+44
I EDITASMT+4~, EDITASMT+21*, EDITASMT+22, EDITASMT+23, 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+8*, GETGRAPH+14, INSTDEF+2
IPRIV IPRIV+1~, IPRIV+2*, IPRIV+4*, IPRIV+5
MSG EDITASMT+2~, EDITASMT+3*, DONE~, DONE+1, DONE+2
ORDBY EDITASMT+4~, EDITASMT+13*, EDITASMT+18
PAT GETGRAPH+2~, GETGRAPH+10*, GETGRAPH+12
PID EDITASMT+4~, EDITASMT+11*
PREFIX EDITASMT+4~
PTNAME EDITASMT+4~, EDITASMT+10*
RCNT GETGRAPH+2~, GETGRAPH+5*, GETGRAPH+12, GETGRAPH+24, GETGRAPH+25, GETGRAPH+26*, COLL+15*, COLL+16, COLL+20, COLL+21*
COLL+22*, COLL+23, COLL+25*, COLL+34, COLL+35, COLL+36, COLL+37, COLL+38*, COLL+39*, 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+6!, GETGRAPH+29!*
RESULT( GETGRAPH+12*, GETGRAPH+24*, GETGRAPH+25*, GETGRAPH+26*, GETGRAPH+28, COLL+16*, COLL+20*, COLL+21*, COLL+23*, COLL+34*
COLL+35*, COLL+36*, COLL+37*, COLL+38*, COLL+39*, LCOLL+26*, LCOLL+28*, LCOLL+29*, LCOLL+32*, LCOLL+40*
LCOLL+41*, LCOLL+42*, LCOLL+43*, LCOLL+44*, LCOLL+45*
RETSTAT EDITASMT+4~, EDITASMT+26*, EDITASMT+27
RPRIV GETGRAPH+3~, GETGRAPH+11*, GETGRAPH+16*
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
SCLRES COLL+2~
SCLRES( COLL+10*, COLL+27, COLL+28, COLL+31!
SCLSEQ INSTDEF+1~, INSTDEF+10*, INSTDEF+11, INSTDEF+12
SCNT LCOLL+17~, LCOLL+33*, LCOLL+35
SDAT COLL+2~, COLL+9*
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+21, EDITASMT+22, EDITASMT+23
, EDITASMT+25, EDITASMT+26
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*
TSTNM IPRIV~, IPRIV+3
TYPE COLL+1~, COLL+7*, COLL+13*, COLL+14, COLL+17, COLL+24, LCOLL+1~, LCOLL+10*, LCOLL+11, LCOLL+20*
U IPRIV+4, COLL+4, 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+19
XSTR GETGRAPH+2~
YS GETGRAPH+2~, GETGRAPH+20, IPRIV+1~, IPRIV+3
YS("AD" GETGRAPH+17*
YS("ADATE" GETGRAPH+18*, COLL+16, LCOLL+26
YS("CODE" GETGRAPH+7*, GETGRAPH+8, GETGRAPH+12, IPRIV+3*
YSCALE LCOLL+2~, LCOLL+35*, LCOLL+36, LCOLL+39
YSCALENAM LCOLL+17~
YSCALENM COLL+1~, COLL+9*, COLL+10, COLL+26*, COLL+27, COLL+28, COLL+31, COLL+34, LCOLL+1~, LCOLL+12*
LCOLL+15, LCOLL+39*, LCOLL+40
YSCIND COLL+2~, COLL+28*, COLL+29, COLL+30, COLL+31
YSCORES GETGRAPH+2~
YSDATA GETGRAPH+2~, GETGRAPH+4*, GETGRAPH+20, GETGRAPH+23!, IPRIV+1~, IPRIV+3
YSDATA(1 IPRIV+4
YSDATA(2 IPRIV+4
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+29*, COLL+34, LCOLL+1~, LCOLL+13*, LCOLL+15, LCOLL+17~, LCOLL+37*, LCOLL+40
YSRSL LCOLL+2~
YSRSL( LCOLL+15*, LCOLL+36
YSTSCORE COLL+1~, COLL+30*, COLL+35, LCOLL+1~, LCOLL+14*, LCOLL+15, LCOLL+17~, LCOLL+38*, LCOLL+41
>> YTQRERRS EDITASMT+22*, EDITASMT+23*, EDITASMT+24, DONE+2*
Info |  Source |  Call Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All