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

Package: Mental Health

Routine: YTSBAMRC


Information

YTSBAMRC ;SLC/PIJ/KCM - Score BAM-R-CSG-SUD ; 01/08/2016

Source Information

Source file <YTSBAMRC.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Mental Health 1 DESGNTR^YTSCORE  
VA FileMan 1 $$GET1^DIQ  

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 YTQRQAD2  ^YTT(601.71  

Entry Points

Name Comments DBIA/ICR reference
DATA1 ; display scores for administration
SCORE ;
SCORADJ(SCOR) ;
SCORESV ;
DLLSTR(YSDATA,YS,YSTRNG) ;
; YSTRNG = 1 Score Instrument
; YSTRNG = 2 get Report Answers and Text
VERIFY(ARGS,RESULTS) ; Add inconsistency messages based on set of answers in ARGS
LT(ID1,ID2) ; returns 1 if ID1 is less than ID2
; expects ARGS from VERIFY
GT(ID1,ID2) ; returns 1 if ID1 is more than ID2
; expects ARGS from VERIFY
MSG(REL,Q1,Q2) ; Add text of message to RESULTS
; expects MSGCNT, RESULTS from VERIFY

External References

Name Field # of Occurrence
$$GET1^DIQ SCORESV+8, SCORESV+9, SCORESV+10, SCORESV+11, SCORESV+12, SCORESV+13, SCORESV+14, SCORESV+15, SCORESV+16, SCORESV+17
SCORESV+18, SCORESV+19, SCORESV+20, SCORESV+21, SCORESV+22, SCORESV+23, SCORESV+24, SCORESV+25
DESGNTR^YTSCORE DATA1+13

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^YTT(601.87 - [#601.87] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP($J SCORESV+1, SCORESV+2!, SCORESV+3*, SCORESV+4*, SCORESV+6!, SCORESV+7*, SCORESV+8*, SCORESV+9*, SCORESV+10*, SCORESV+11*
SCORESV+12*, SCORESV+13*, SCORESV+14*, SCORESV+15*, SCORESV+16*, SCORESV+17*, SCORESV+18*, SCORESV+19*, SCORESV+20*, SCORESV+21*
SCORESV+22*, SCORESV+23*, SCORESV+24*, SCORESV+25*

Label References

Name Line Occurrences
$$GT VERIFY+10
$$LT VERIFY+2, VERIFY+3, VERIFY+4, VERIFY+5, VERIFY+6, VERIFY+7, VERIFY+8, VERIFY+9
$$SCORADJ SCORE+3, SCORE+21, SCORE+24, SCORE+33, SCORE+41
DATA1 DLLSTR+12
MSG VERIFY+2, VERIFY+3, VERIFY+4, VERIFY+5, VERIFY+6, VERIFY+7, VERIFY+8, VERIFY+9, VERIFY+10
SCORE DATA1+20
SCORESV DLLSTR+13

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ANS DATA1+1~, DATA1+12*, SCORADJ+1*, SCORADJ+2*, SCORADJ+3*, SCORADJ+4*, SCORADJ+5*, SCORADJ+6
ARGS VERIFY~
ARGS( LT+3, LT+4, GT+3, GT+4
CID DATA1+2~, DATA1+17*, DATA1+18
CONFID SCORE+23*, SCORESV+20, DLLSTR+5~, DLLSTR+8*
DATA DATA1+2~, DATA1+7*, DATA1+8, DATA1+9, DATA1+11, DATA1+12, DATA1+14
DAYSAU SCORE+11*, SCORESV+11, DLLSTR+4~, DLLSTR+7*
DAYSDRUG SCORE+17*, SCORESV+13, DLLSTR+4~, DLLSTR+7*
DAYSHA SCORE+14*, SCORESV+12, DLLSTR+4~, DLLSTR+7*
DES DATA1+2~, DATA1+13, DATA1+19, SCORE+1, SCORE+4, SCORE+7, SCORE+10, SCORE+13, SCORE+16, SCORE+19
SCORE+22, SCORE+25, SCORE+28, SCORE+31, SCORE+34, SCORE+37, SCORE+39, SCORE+42
DISTR SCORE+8*, SCORESV+16, DLLSTR+5~, DLLSTR+8*
HEALTH SCORE+2*, SCORESV+14, DLLSTR+4~, DLLSTR+7*
ID1 LT~, LT+3, GT~, GT+3
ID2 LT~, LT+4, GT~, GT+4
INCME SCORE+38*, SCORESV+24, DLLSTR+5~, DLLSTR+8*
LEG DATA1+1~, DATA1+15*, DATA1+18*, SCORE+2, SCORE+3, SCORE+5, SCORE+6, SCORE+8, SCORE+9, SCORE+11
SCORE+12, SCORE+14, SCORE+15, SCORE+17, SCORE+18, SCORE+20, SCORE+21, SCORE+23, SCORE+24, SCORE+26
SCORE+27, SCORE+29, SCORE+30, SCORE+32, SCORE+33, SCORE+35, SCORE+36, SCORE+38, SCORE+40, SCORE+41
SCORE+43, SCORE+44
MSGCNT VERIFY+1~*, VERIFY+11, MSG+8*
NODE DATA1+1~, DATA1+6*, DATA1+7
NOUN MSG+2~, MSG+3*, MSG+5, MSG+7
PROTECT SCORE+24*, SCORE+27*, SCORE+33*, SCORE+36*, SCORE+38*, SCORE+44*, SCORESV+10, DLLSTR+4~, DLLSTR+7*
Q1 MSG~, MSG+3, MSG+5
Q2 MSG~, MSG+7
REL MSG~, MSG+6
RELAT SCORE+40*, SCORESV+19, DLLSTR+5~, DLLSTR+8*
RESULTS VERIFY~
RESULTS("count" VERIFY+11*
RESULTS("messages" MSG+8*
RISK SCORE+3*, SCORE+6*, SCORE+9*, SCORE+21*, SCORE+30*, SCORE+41*, SCORESV+9, DLLSTR+4~, DLLSTR+7*
RISKY SCORE+29*, SCORESV+18, DLLSTR+5~, DLLSTR+8*
SCOR SCORADJ~, SCORADJ+2, SCORADJ+3, SCORADJ+4, SCORADJ+5
SCORE DATA1+2~, DATA1+3*
SELF SCORE+26*, SCORESV+21, DLLSTR+5~, DLLSTR+8*
SLEEP SCORE+5*, SCORESV+15, DLLSTR+4~, DLLSTR+7*
SPIRIT SCORE+32*, SCORESV+22, DLLSTR+5~, DLLSTR+8*
SUPT SCORE+43*, SCORESV+25, DLLSTR+5~, DLLSTR+8*
U DATA1+4, DATA1+8, DATA1+9, DATA1+11, DATA1+12, DATA1+14
URGE SCORE+20*, SCORESV+17, DLLSTR+5~, DLLSTR+8*
USE SCORE+12*, SCORE+15*, SCORE+18*, SCORESV+8, DLLSTR+4~, DLLSTR+7*
VAL1 LT+2~, LT+3*, LT+5, GT+2~, GT+3*, GT+5
VAL2 LT+2~, LT+4*, LT+5, GT+2~, GT+4*, GT+5
WORK SCORE+35*, SCORESV+23, DLLSTR+5~, DLLSTR+8*
X MSG+2~, MSG+4*, MSG+5*, MSG+6*, MSG+7*, MSG+8
YS DATA1+1~, DLLSTR~
YS("CODE" DATA1+5
YSANS DATA1+2~, DATA1+11*, DATA1+15, DATA1+17
YSCDA DATA1+1~, DATA1+14*, DATA1+15, DATA1+17
YSDATA DLLSTR~
YSDATA( DATA1+6, DATA1+7
YSDATA(2 DATA1+4
YSINSNAM DATA1+4*, DATA1+5*, DLLSTR+3~
YSQN DATA1+2~, DATA1+8*, DATA1+13
YSSEQ DATA1+1~, DATA1+9*
YSTRNG DLLSTR~, DLLSTR+10
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