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

Package: Mental Health

Routine: YSCPAO


Information

YSCPAO ; GENERATED FROM 'YSSR REVIEW ACTION PRINT' PRINT TEMPLATE (#562) ; 08/21/96 ; (FILE 615.2, MARGIN=80)

Source Information

Source file <YSCPAO.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA FileMan 4 $$OUT^DIALOGU  CSTP^DIO2  ^DIWP  A^DIWW  
Mental Health 1 PARSE^YSSRU  

Entry Points

Name Comments DBIA/ICR reference
N
T
DT
M
BEGIN ;
A1 ;
A1R ;
B1 ;
B1R ;
C1 ;
C1R ;
D1 ;
D1R ;
HEAD ;

External References

Name Field # of Occurrence
$$OUT^DIALOGU DT
CSTP^DIO2 T+1
^DIWP D1+1
A^DIWW D1R+1
PARSE^YSSRU BEGIN+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: N+0
Function Call: WRITE
  • Prompt: $$OUT^DIALOGU(Y,"DD")
  • Line Location: DT+0
Function Call: WRITE
  • Prompt: $P("JAN^FEB^MAR^APR^MAY^JUN^JUL^AUG^SEP^OCT^NOV^DEC",U,$E(Y,4,5))_" "
  • Line Location: DT+1
Function Call: WRITE
  • Prompt: $J(Y#100\1,2)_","
  • Condition for execution: Y#100
  • Line Location: DT+1
Function Call: WRITE
  • Prompt: Y\10000+1700
  • Line Location: DT+1
Function Call: WRITE
  • Prompt: " "_$E(Y_0,9,10)_":"_$E(Y_"000",11,12)
  • Condition for execution: Y#1
  • Line Location: DT+1
Function Call: WRITE
  • Prompt: Y
  • Line Location: DT+2
Function Call: WRITE
  • Prompt: ?0
  • Line Location: BEGIN+3
Function Call: WRITE
  • Prompt: ?0
  • Line Location: BEGIN+4
Function Call: WRITE
  • Prompt: X
  • Line Location: BEGIN+4
Function Call: WRITE
  • Prompt: ?10
  • Line Location: BEGIN+5
Function Call: WRITE
  • Prompt: $E(Y,1,17)
  • Line Location: BEGIN+5
Function Call: WRITE
  • Prompt: X
  • Line Location: BEGIN+6
Function Call: WRITE
  • Prompt: X
  • Line Location: BEGIN+7
Function Call: WRITE
  • Prompt: ?46
  • Line Location: A1+1
Function Call: WRITE
  • Prompt: $E(X,1,14)
  • Line Location: A1+1
Function Call: WRITE
  • Prompt: ?63
  • Line Location: B1+1
Function Call: WRITE
  • Prompt: $E(X,1,17)
  • Line Location: B1+1
Function Call: WRITE
  • Prompt: ?0
  • Line Location: B1R+1
Function Call: WRITE
  • Prompt: "COMMENTS ON REASON FOR S/R:"
  • Line Location: B1R+1
Function Call: WRITE
  • Prompt: ?0,$E($P(X,U,2),1,200)
  • Line Location: C1+1
Function Call: WRITE
  • Prompt: ?0
  • Line Location: C1R+1
Function Call: WRITE
  • Prompt: "GENERAL COMMENTS: "
  • Line Location: C1R+1
Function Call: WRITE
  • Prompt: ?0
  • Line Location: D1R+2
Function Call: WRITE
  • Prompt: " "
  • Line Location: D1R+2
Function Call: WRITE
  • Prompt: !,?0,"D"
  • Line Location: HEAD+1
Function Call: WRITE
  • Prompt: !,?0,"PARSE^YSSRU"
  • Line Location: HEAD+2
Function Call: WRITE
  • Prompt: !,?0,"NUMDATE(ACTUAL"
  • Line Location: HEAD+3
Function Call: WRITE
  • Prompt: !,?0,"DATE OF"
  • Line Location: HEAD+4
Function Call: WRITE
  • Prompt: !,?0,"REVIEW)"
  • Line Location: HEAD+5
Function Call: WRITE
  • Prompt: !,?10,"NAME",?29,"NUMDATE(YSPARAM("
  • Line Location: HEAD+6
Function Call: WRITE
  • Prompt: !,?39,"YSPARAM("
  • Line Location: HEAD+7
Function Call: WRITE
  • Prompt: !,?46,"REASONS FOR"
  • Line Location: HEAD+8
Function Call: WRITE
  • Prompt: !,?46,"S/R:REASON"
  • Line Location: HEAD+9
Function Call: WRITE
  • Prompt: !,?63,"TYPE OF"
  • Line Location: HEAD+10
Function Call: WRITE
  • Prompt: !,?63,"SECLUSION/RESTRAINT:.01"
  • Line Location: HEAD+11
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD+12
Function Call: WRITE
  • Prompt: !,?0,"DESCRIBE CIRCUMSTANCES"
  • Line Location: HEAD+13
Function Call: WRITE
  • Prompt: !,?0,"GENERAL COMMENTS"
  • Line Location: HEAD+14
Function Call: WRITE
  • Prompt: !,"--------------------------------------------------------------------------------",!!
  • Line Location: HEAD+15
Routine Call
  • DIALOGU
  • Line Location:
    • DT

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIPT(562 BEGIN+2
^DPT - [#2] BEGIN+5
^UTILITY($J T
^YS(615.2 - [#615.2] BEGIN+4, BEGIN+5, BEGIN+8, A1R+1, B1R+2, C1+1, C1R+2, D1+1
^YSR(615.5 - [#615.5] A1+1
^YSR(615.6 - [#615.6] B1+1

Label References

Name Line Occurrences
@( M
A1 BEGIN+8
A1R BEGIN+9
B1 A1R+1
B1R A1R+2
BEGIN YSCPAO+1
C1 B1R+2
C1R B1R+3
D1 C1R+2
D1R C1R+3
N BEGIN+4, BEGIN+5, BEGIN+6, BEGIN+7, A1+1, B1R+1, C1R+1, D1R+2
T BEGIN+8, A1R+1, B1+1, B1R+2, C1+1, C1R+2, D1R+2

Naked Globals

Name Field # of Occurrence
^( BEGIN+2, BEGIN+8, A1R+1, B1R+2, C1R+2
^(0 BEGIN+5, A1+1, B1+1
^(1 T
^(50 BEGIN+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> D0 BEGIN+4, BEGIN+5, BEGIN+8, A1+1*, A1R+1, B1+1*, B1R+2, C1+1, C1R+2, D1+1
>> D1 BEGIN+8*, A1+1*, A1R+1*, B1+1*, B1R+2*, C1+1, C1R+2*, D1+1
>> DILCT T+1*, BEGIN+1*
>> DIOT(2 T
DIP BEGIN+3!, BEGIN+4!, BEGIN+6!, BEGIN+7!, A1+1!, B1+1!
DIP(1 BEGIN+4*
DIP(101 A1+1*, B1+1*
>> DISTP T+1*, BEGIN+1*
DIWF TC1R+2*, D1R+3!
>> DIWL D1+1*
>> DIWR D1+1*
>> DIXX M
>> DN TBEGIN+1*, BEGIN+3, BEGIN+4, BEGIN+5, BEGIN+6, BEGIN+7, BEGIN+8, A1+1, A1R+1
B1+1, B1R+1, B1R+2, C1+1, C1R+1, C1R+2, D1R+2
>> DSC( BEGIN+8, A1R+1, B1R+2
DUZ("LANG" DT
>> DXS BEGIN+2
>> DXS( BEGIN+2*
>> DXS(1 A1+1
>> DXS(2 B1+1
>> I(0 A1+1, B1+1
>> I(1 BEGIN+8*, A1+1, A1R+1*, B1+1, B1R+2*, C1R+2*
IOSL T
>> J(1 BEGIN+8*, A1R+1*, B1R+2*, C1R+2*
U DT+1, BEGIN+4, BEGIN+5, A1+1, B1+1, C1+1
>> X BEGIN+2*, BEGIN+4*, BEGIN+5*, BEGIN+6*, BEGIN+7*, A1+1*, B1+1*, C1+1*, C1R+2*, D1+1*
Y DTDT+1, DT+2, BEGIN+2*, BEGIN+3!, BEGIN+4!, BEGIN+5*, BEGIN+6!, BEGIN+7!, A1+1!
B1+1!, D1R+3!
>> YSDIPA( BEGIN+6, BEGIN+7
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All