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 |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: YTMBMD

Package: Mental Health

Routine: YTMBMD


Information

YTMBMD ;ALB/ASF,HIOFO/FT - MBMD ; 7/15/13 1:43pm

Source Information

Source file <YTMBMD.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Mental Health 4 PTVAR^YSLRP  (HPA1B,HPAB,PSB,REPTB,RPAB)^YTMBMD1  (PAINREP,PERCENT)^YTMBMD2  (DTA,SCR)^YTREPT  

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 ^YTT(601.6  

Entry Points

Name Comments DBIA/ICR reference
MAIN ;
RD
VALIDITY ;check if ok to score
RAW ; raw scores
PS1 ; untransformed prevalence scores
RPA ;Response Pattern Adjustment
HPA ;High Point Adjustment COPING
HPA1 ;high point AA-EE, a-m
REPT ;reports
LIKELY ;
CHART ;
NOTEWOR ;note worthy responses

External References

Name Field # of Occurrence
PTVAR^YSLRP MAIN+2
HPA1B^YTMBMD1 MAIN+15
HPAB^YTMBMD1 MAIN+14
PSB^YTMBMD1 MAIN+12
REPTB^YTMBMD1 MAIN+16
RPAB^YTMBMD1 MAIN+13
PAINREP^YTMBMD2 MAIN+18
PERCENT^YTMBMD2 MAIN+17
DTA^YTREPT REPT+3
SCR^YTREPT REPT+7, REPT+11, REPT+12, NOTEWOR+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,?(72-$L(X)\2),X,!
  • Line Location: REPT+4
Function Call: WRITE
  • Prompt: !?50,$S(YSVFLAG:"*** Invalid Profile ***",1:"Valid Profile")
  • Line Location: REPT+5
Function Call: WRITE
  • Prompt: !,"*** General Medical Norms ***"
  • Line Location: REPT+6
Function Call: WRITE
  • Prompt: !,?4,$P(^YTT(601,YSTEST,"S",I,0),U,2),?25
  • Line Location: REPT+10
Function Call: WRITE
  • Prompt: !,$P(YSSID," ")
  • Line Location: REPT+19
Function Call: WRITE
  • Prompt: ?52,$P(YSSID," ",2,99)
  • Line Location: REPT+22
Function Call: WRITE
  • Prompt: $S(X="L":"unlikely problem",X="M":"possible problem",X="H":"likely problem",1:"????")
  • Line Location: LIKELY+3
Function Call: WRITE
  • Prompt: $E("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",1,$J(X/3,0,0))
  • Line Location: CHART+4
Function Call: WRITE
  • Prompt: !!?10,"*** Noteworthy Responses ***"
  • Line Location: NOTEWOR+2
Function Call: WRITE
  • Prompt: !," 58. ",^YTT(601,YSTEST,"Q",58,"T",1,0)
  • Line Location: NOTEWOR+10
Function Call: WRITE
  • Prompt: !,"161. ",^YTT(601,YSTEST,"Q",161,"T",1,0)
  • Line Location: NOTEWOR+11

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^YTD(601.2 - [#601.2] RD
^YTT(601 - [#601] RAW+3, PS1+2, REPT+2, REPT+10, REPT+18, NOTEWOR+9, NOTEWOR+10, NOTEWOR+11

Label References

Name Line Occurrences
CHART REPT+21
HPA MAIN+8
HPA1 MAIN+9
LIKELY REPT+10
NOTEWOR MAIN+20
PS1 MAIN+6
RAW MAIN+5
RD MAIN+3, NOTEWOR+1
REPT MAIN+10
RPA MAIN+7
VALIDITY MAIN+4

Naked Globals

Name Field # of Occurrence
^("P" REPT+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A MAIN+1~, REPT+2*
B MAIN+1~, REPT+2*
G MAIN+1~, RAW+3*, RAW+4
I MAIN+1~, RAW+3*, RAW+4*, PS1+2*, PS1+6*, RPA+7*, HPA+1*, HPA+3*, HPA1+2*, HPA1+5*
HPA1+6*, REPT+7*, REPT+8, REPT+9, REPT+10, REPT+12*, REPT+13, REPT+14, REPT+15, REPT+16
REPT+17, REPT+18, REPT+20, LIKELY+2, CHART+2, NOTEWOR+3*, NOTEWOR+4, NOTEWOR+5, NOTEWOR+6, NOTEWOR+7
NOTEWOR+8, NOTEWOR+9
IOST REPT+7, REPT+11, REPT+12, NOTEWOR+3
L1 MAIN+1~, REPT+2*
L2 MAIN+1~, REPT+2*
N MAIN+1~, RAW+2*, RAW+3, RAW+4, HPA+1*, HPA+2, HPA1+1*, HPA1+2*, HPA1+3, HPA1+4
>> R MAIN+11*, RAW+1*, RAW+4*, PS1+2, PS1+3, PS1+4, PS1+5, PS1+6, REPT+20
>> S PS1+1*, PS1+2*, PS1+3*, PS1+4*, PS1+5*, PS1+6*, RPA+2, RPA+3, RPA+4, RPA+5
RPA+6, RPA+7*, HPA+1, HPA+3*, HPA1+2, HPA1+5*, HPA1+6*, REPT+20, LIKELY+2, CHART+2
U MAIN+11, RAW+4, PS1+2, PS1+3, PS1+4, PS1+5, PS1+6, RPA+2, RPA+3, RPA+4
RPA+5, RPA+6, RPA+7, HPA+1, HPA+3, HPA1+2, HPA1+5, HPA1+6, REPT+2, REPT+10
REPT+18, REPT+20, LIKELY+2, CHART+2
X MAIN+1~, RD*, VALIDITY+2, VALIDITY+3, RAW+4, PS1+3*, PS1+4*, PS1+5*, PS1+6*, REPT+2*
REPT+4, LIKELY+1~, LIKELY+2*, LIKELY+3, CHART+1~, CHART+2*, CHART+4, NOTEWOR+9, NOTEWOR+10, NOTEWOR+11
>> YSAGE VALIDITY+4
YSANS MAIN+1~, RAW+4*
YSDAS MAIN+1~, RPA+1*, RPA+2*, RPA+3*, RPA+4*, RPA+5*, RPA+6*, RPA+7, HPA+2*, HPA+3
HPA1+3*, HPA1+5
YSDAS1 MAIN+1~, HPA1+4*, HPA1+6
>> YSDFN RD
>> YSED RD
YSIN MAIN+1~, RAW+4*
>> YSSEX PS1+2
YSSID MAIN+1~, REPT+18*, REPT+19, REPT+22
>> YSTEST RDRAW+3, PS1+2, REPT+2, REPT+10, REPT+18, NOTEWOR+9, NOTEWOR+10, NOTEWOR+11
YSTOUT MAIN+1~, MAIN+19*, REPT+1*, REPT+7, REPT+11, REPT+12, NOTEWOR+3
>> YSTY MAIN+10, MAIN+16, MAIN+18, MAIN+20
YSUOUT MAIN+1~, MAIN+19*, REPT+1*, REPT+7, REPT+11, REPT+12, NOTEWOR+3
YSVFLAG MAIN+1~, VALIDITY+1*, VALIDITY+2*, VALIDITY+3*, VALIDITY+4*, REPT+5
>> YSWT RAW+4*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All