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 |  Local Variables  | All
Print Page as PDF
Routine: YTPHQ9

Package: Mental Health

Routine: YTPHQ9


Information

YTPHQ9 ;ALB/ASF- TEST PRIME MD PHQ9 ;7/2/03 14:23

Source Information

Source file <YTPHQ9.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Mental Health 1 DTA^YTREPT  
VA FileMan 1 ^DIR  

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
DONE
WAIT ;
; Added 5/6/94 LJA

External References

Name Field # of Occurrence
^DIR WAIT+5
DTA^YTREPT YTPHQ9+18

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !?21,$P(^YTT(601,YSTEST,"P"),U)
  • Line Location: YTPHQ9+19
Function Call: WRITE
  • Prompt: !,"PHQ9 score= ",R
  • Line Location: YTPHQ9+21
Function Call: WRITE
  • Prompt: !,^YTT(601,YSET,"G",1,1,N,0)
  • Line Location: YTPHQ9+22
Function Call: WRITE
  • Prompt: !
  • Line Location: YTPHQ9+26
Function Call: WRITE
  • Prompt: !,$S($E(X,I)="X":"X",1:$E(X,I)-1)_" "_$C(96+I)_"."_$E(^YTT(601,YSET,"Q",I,"T",1,0),1,60)
  • Line Location: YTPHQ9+27
Function Call: WRITE
  • Prompt: " ..."
  • Condition for execution: $D(^YTT(601,YSET,"Q",I,"T",2,0))
  • Line Location: YTPHQ9+27
Function Call: WRITE
  • Prompt: !!,"0= Not at all 1= Several days 2= More than half the days 3= Nearly every day"
  • Line Location: YTPHQ9+28
Function Call: WRITE
  • Prompt: !
  • Line Location: WAIT+3
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: WAIT+6
Routine Call
  • DIR
  • Line Location:
    • WAIT+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^YTD(601.2 - [#601.2] YTPHQ9+7
^YTT(601 - [#601] YTPHQ9+19, YTPHQ9+22, YTPHQ9+27

Label References

Name Line Occurrences
WAIT YTPHQ9+29

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A YTPHQ9+3~
B YTPHQ9+3~
B1 YTPHQ9+3~
C YTPHQ9+3~
D YTPHQ9+3~
DIR WAIT+5!
DIR(0 WAIT+5*
DIRUT WAIT+4~, WAIT+5
DTOUT WAIT+4~, WAIT+5
DUOUT WAIT+4~, WAIT+5
E YTPHQ9+3~
E1 YTPHQ9+3~
F YTPHQ9+3~
F1 YTPHQ9+3~
G YTPHQ9+3~
G1 YTPHQ9+3~
H YTPHQ9+3~
I YTPHQ9+3~, YTPHQ9+9*, YTPHQ9+27*
>> I0 WAIT+3*
IOF WAIT+6
IOSL YTPHQ9+29, WAIT+3
J YTPHQ9+3~
J1 YTPHQ9+3~
J2 YTPHQ9+3~
J3 YTPHQ9+3~
J4 YTPHQ9+3~
K YTPHQ9+3~
L YTPHQ9+3~
L1 YTPHQ9+3~
L2 YTPHQ9+3~
M YTPHQ9+3~
N YTPHQ9+3~, YTPHQ9+22*
N1 YTPHQ9+4~
N2 YTPHQ9+4~
N3 YTPHQ9+4~
N4 YTPHQ9+4~
P YTPHQ9+4~
P0 YTPHQ9+4~
P1 YTPHQ9+4~
P3 YTPHQ9+4~
>> R YTPHQ9+8*, YTPHQ9+9*, YTPHQ9+21
R1 YTPHQ9+4~
>> S YTPHQ9+12*, YTPHQ9+13*, YTPHQ9+14*, YTPHQ9+15*, YTPHQ9+16*, YTPHQ9+20
S1 YTPHQ9+4~
T YTPHQ9+4~
T1 YTPHQ9+4~
T2 YTPHQ9+4~
TT YTPHQ9+4~
U YTPHQ9+19
V YTPHQ9+4~
V1 YTPHQ9+4~
V2 YTPHQ9+4~
V3 YTPHQ9+4~
V4 YTPHQ9+5~
V5 YTPHQ9+5~
V6 YTPHQ9+5~
W YTPHQ9+5~
X YTPHQ9+5~, YTPHQ9+7*, YTPHQ9+9, YTPHQ9+10, YTPHQ9+11, YTPHQ9+13, YTPHQ9+14, YTPHQ9+15, YTPHQ9+16, YTPHQ9+27
X0 YTPHQ9+5~
X1 YTPHQ9+5~
X2 YTPHQ9+5~
X3 YTPHQ9+5~
X4 YTPHQ9+5~
X7 YTPHQ9+5~
X8 YTPHQ9+5~
X9 YTPHQ9+5~
Y YTPHQ9+5~
Y1 YTPHQ9+5~
Y2 YTPHQ9+5~
>> YSDFN YTPHQ9+7
>> YSED YTPHQ9+7
>> YSET YTPHQ9+7, YTPHQ9+22, YTPHQ9+27
>> YSLFT WAIT+5*
>> YSN3 YTPHQ9+11*, YTPHQ9+16
>> YSN4 YTPHQ9+11*, YTPHQ9+16
>> YSNOITEM YTPHQ9+6*
>> YSNX YTPHQ9+10*
>> YSTEST YTPHQ9+19
>> YSTOUT WAIT+5*
>> YSTY YTPHQ9+17
>> YSUOUT WAIT+5*
Z YTPHQ9+5~
Z1 YTPHQ9+5~
Z3 YTPHQ9+5~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All