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

Package: Mental Health

Routine: YTREPT


Information

YTREPT ;SLC/DKG-TEST PKG: GENERAL TEST REPORT ;Nov 09, 2023@14:48:57;

Source Information

Source file <YTREPT.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Kernel 1 $$FMTE^XLFDT  
VA FileMan 1 ^DIR  

Caller Graph

Caller Graph Total: 44

Package Total Caller Graph
Mental Health 44 YSMTI1  YTAIMS  YTALUSE  YTALUSEC  YTALUSR  YTBECK  YTBI  YTBPRS  
YTBSI18  YTCESD  YTDP  YTDP1  YTFEAR  YTFIRO  YTMATE  YTMBMD  
YTMBMD1  YTMBMD2  YTMCMI  YTMCMI2C  YTMCMI3R  YTMILL  YTMMP1  YTMMP2  
YTMMP3  YTMMP4  YTMMP5  YTMMP6  YTMMPI2B  YTMMPI2D  YTMMPI2P  YTMYER  
YTNEOPI  YTNEOPI1  YTNEOPI2  YTPAI  YTPAI1  YTPCL  YTPHQ9  YTSCII  
YTSCL9R  YTSCL9R1  YTSF36  ^YTT(601.6  

Entry Points

Name Comments DBIA/ICR reference
SCOR ;
DI ;
TF ;
F0 ;
T0 ;
T1 ;
T2 ;
T3 ;
RW ;
W0 ;
RD ;
STND ;
ST ;
LK
REPT ;
IR ;
R2 ;
DONE ;
RLN ;
SCR ;
; Added 5/6/94 LJA
DTA ;
ICL ;Report Logic for ICL Report. This code was too long to remain in file.

External References

Name Field # of Occurrence
^DIR SCR+8
$$FMTE^XLFDT DTA+1, DTA+2, DTA+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!?(72-$L(X)\2),X,!!!?(A-9\2+L1),"S C A L E",?(L2+1),"RAW ",B,!
  • Line Location: REPT+3
Function Call: WRITE
  • Prompt: !?L1,$P(^YTT(601,YSTEST,"S",J,0),U,2),?L2,$J(YSRS,4,0)
  • Line Location: REPT+4
Function Call: WRITE
  • Prompt: ?(L2+6),$J($P(S,U,J),4,0)
  • Condition for execution: $D(S)
  • Line Location: REPT+4
Function Call: WRITE
  • Prompt: !!?(72-$L(X)/2),X
  • Line Location: IR+2
Function Call: WRITE
  • Prompt: !!!?25,"--- ITEM RESPONSES ---",!!
  • Line Location: IR+3
Function Call: WRITE
  • Prompt: ?1
  • Line Location: RLN+1
Function Call: WRITE
  • Prompt: $J(YSIT,3,0)," ",$E(X,YSIT-M)," "
  • Line Location: RLN+1
Function Call: WRITE
  • Prompt: !
  • Line Location: RLN+2
Function Call: WRITE
  • Prompt: !
  • Line Location: SCR+6
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: SCR+9
Function Call: WRITE
  • Prompt: @IOF,YSHDR," ",YSDTA
  • Line Location: DTA+2
Function Call: WRITE
  • Prompt: !
  • Line Location: DTA+3
Function Call: WRITE
  • Prompt: "Begun: ",$$FMTE^XLFDT(X8,"5ZD")," Finished ",$$FMTE^XLFDT(X7,"5ZD")
  • Line Location: DTA+3
Routine Call
  • DIR
  • Line Location:
    • SCR+8

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^YTD(601.2 - [#601.2] RD+1, IR+1, R2+4, DTA+1
^YTT(601 - [#601] DI+1, T0+1, T1+1, T1+2, W0+1, W0+2, STND+2, ST+2, LKREPT+2
REPT+4, IR+2

Label References

Name Line Occurrences
DI SCOR+1
DONE REPT+1, R2+2, R2+3, R2+4
DTA REPT+3, IR+2
F0 DI+1
LK STND+3, LKLK+1
R2 R2+4
RD T0+1, T3+1, RW+1, R2+1
REPT STND+1, ST+1, LK
RLN R2+1, R2+3
RW SCOR+1
SCR REPT+4, RLN+2
ST ST+2
STND SCOR+1, T0+1, W0+1
T0 T1+1
T1 T2+1
T2 T3+2, T3+3
T3 T3+1
TF SCOR+1
W0 W0+4

Naked Globals

Name Field # of Occurrence
^( LK+1, IR+1
^("P" REPT+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A T2+2*, T3+2, T3+3, ST+1*, ST+2, LK*, LK+1, REPT+2*, REPT+3, R2+1*
R2+3, R2+4, DONE+1!, SCR+2~, ICL+1*
B T3+3*, REPT+2*, REPT+3, R2+1*, R2+3, DONE+1!, RLN+2, SCR+2~
B1 SCR+2~
C SCR+2~
D SCR+2~, ICL+1*
DIR SCR+8!
DIR(0 SCR+8*
DIRUT SCR+7~, SCR+8
DTOUT SCR+7~, SCR+8
DUOUT SCR+7~, SCR+8
E SCR+2~
E1 SCR+2~
F SCR+2~
F1 SCR+2~
G SCR+2~
G1 SCR+2~
H SCR+2~
I W0+3*, IR+1*, R2+1*, DONE+1!, RLN+2, SCR+2~
>> I0 SCR+6*
IOF SCR+9, DTA+2
IOSL SCR+6
IOST REPT+4, IR+1
J F0+1*, T0+1, T1+1*, T1+2, RW+1*, W0+1, W0+2, W0+4*, STND+2*, ST+1
ST+2*, LK*, LK+1*, REPT+4*, DONE+1!, SCR+2~
J1 SCR+2~
J2 SCR+2~
J3 SCR+2~
J4 SCR+2~
K IR+1*, IR+2*, R2+1*, R2+3*, DONE+1!, RLN+1, SCR+2~
L T0+1*, T3+1*, RW+1*, W0+2*, W0+3, RD+1, IR+3*, R2+4*, DONE+1!, SCR+2~
ICL+1*
L1 LK*, LK+1, REPT+2*, REPT+3, REPT+4, DONE+1!, SCR+2~
L2 REPT+2*, REPT+3, REPT+4, DONE+1!, SCR+2~
M T0+1*, T3+1*, T3+2, T3+3, IR+3*, R2+4*, DONE+1!, RLN+1, SCR+2~
N SCR+2~
N1 SCR+3~
N2 SCR+3~
N3 SCR+3~
N4 SCR+3~
P T1+2*, T2+1, T2+2*, STND+2*, ST+2, LKLK+1, DONE+1!, SCR+3~
P0 IR+1*, RLN+2, SCR+3~
P1 SCR+3~
P3 SCR+3~
R F0+1*, T1+1*, RW+1*, W0+1*, W0+4*, ST+1, LKREPT+4, SCR+3~, ICL+1*
R1 SCR+3~
S SCOR+1!, STND+2*, ST+2*, LK*, LK+1*, REPT+4, SCR+3~, ICL+1*
S1 SCR+3~
T SCR+3~
T1 SCR+3~
T2 SCR+3~
TT SCR+3~
U DI+1, T2+1, T2+2, ST+1, ST+2, LKLK+1, REPT+2, REPT+4, IR+2
DTA+1, DTA+3, ICL+1
V SCR+3~
V1 SCR+3~
V2 SCR+3~
V3 SCR+3~
V4 SCR+4~
V5 SCR+4~
V6 SCR+4~
W SCR+4~
X T3+2, T3+3, W0+3, RD+1*, ST+2*, REPT+2*, REPT+3, IR+2*, R2+1, DONE+1!
RLN+1, SCR+4~, SCR+7~
X0 SCR+4~, DTA+1*, DTA+3
X1 SCR+4~
X2 SCR+4~
X3 SCR+4~
X4 SCR+4~
X7 SCR+4~, DTA+3*
X8 SCR+4~, DTA+3*
X9 SCR+4~
Y T1+2*, T2+1, T2+2, W0+2*, W0+3, DONE+1!, SCR+4~
Y1 SCR+4~
Y2 SCR+4~
>> YSAGE DTA+2
>> YSDFN RD+1, IR+1, R2+4, DTA+1
>> YSDT(0 DTA+2
>> YSDTA DTA+1*, DTA+2, DTA+4
>> YSED RD+1, IR+1, R2+4, DTA+1
>> YSET RD+1, IR+1, R2+4, DTA+1
>> YSHD DTA+2
>> YSHDR DTA+2*
YSIT T2+1*, T3+1, T3+2, T3+3, RW+1*, W0+3*, IR+3*, DONE+1!, RLN+1*
YSKK T0+1*, T1+1, T1+2, T2+1*, DONE+1!, RLN+1*
>> YSLFT IR+1*, R2+1, R2+2, SCR+8*
YSMX DI+1*, TF+1*, T3+2, T3+3, DONE+1!
YSRS REPT+4*, DONE+1!
>> YSSEX DTA+2
>> YSSIG DTA+2
>> YSSX STND+2
>> YSTEST DI+1, T0+1, T1+1, T1+2, W0+1, W0+2, STND+2, ST+2, LKREPT+2
REPT+4, IR+2
YSTL T0+1*, T1+1, T3+2*, T3+3*, W0+2*, W0+3*, W0+4, DONE+1!
>> YSTOUT REPT+4, SCR+8*
YSTTL RW+1*, W0+1, W0+4*, DONE+1!
YSTY SCOR+1, STND+1, STND+3, REPT+1, DONE+1!
>> YSUOUT REPT+4, SCR+8*
Z SCR+4~
Z1 SCR+4~
Z3 SCR+4~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All