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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: YSASO2

Package: Mental Health

Routine: YSASO2


Information

YSASO2 ;692/DCL-ASI/ASF COMPOSITE SCORES FOR LITE ;5/22/97 11:10

Source Information

Source file <YSASO2.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
VA FileMan 2 $$GET1^DIQ  ^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: 2

Package Total Caller Graph
Mental Health 2 YSASES  YSASSN  

Entry Points

Name Comments DBIA/ICR reference
OUT3(YSASIEN,YSASOK) ;Entry Point pass IEN from file 604 FOR LITE
F(YSASFLD) ;Pass field name - IEN is expected to be in YSASIEN
CHECKALL(YSASIEN,YSFLAG) ; all reqiured fields
TESTIT ;
REPTMSG(YSASIEN) ;report missing requires

External References

Name Field # of Occurrence
$$GET1^DIQ F+3, CHECKALL+4, CHECKALL+9, REPTMSG+2, REPTMSG+3, REPTMSG+4, REPTMSG+10
^DIR REPTMSG+15

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,YSASNA,?C2,"Composite"
  • Line Location: OUT3+6
Function Call: WRITE
  • Prompt: !,$TR($J("",$L(YSASNA))," ","-"),?C2,"Scores"
  • Line Location: OUT3+7
Function Call: WRITE
  • Prompt: !," Adm: ",$$F(1),?C2,"--------"
  • Line Location: OUT3+8
Function Call: WRITE
  • Prompt: !," Int: ",$$F(.05),?C1," MEDICAL",?C2,$S(YSASC="":" ----",1:YSASC)
  • Line Location: OUT3+10
Function Call: WRITE
  • Prompt: !," By: ",$S(X]"":$P(X,","),1:"<INCOMPLETE>"),?C1," EMPLOYMENT",?C2,$S(YSASC="":" ----",1:YSASC)
  • Line Location: OUT3+13
Function Call: WRITE
  • Prompt: !?C1," ALCOHOL",?C2,$S(YSASC="":" ----",1:YSASC)
  • Line Location: OUT3+15
Function Call: WRITE
  • Prompt: !?C1," DRUG",?C2,$S(YSASC="":" ----",1:YSASC)
  • Line Location: OUT3+17
Function Call: WRITE
  • Prompt: !?C1," LEGAL",?C2,$S(YSASC="":" ----",1:YSASC)
  • Line Location: OUT3+19
Function Call: WRITE
  • Prompt: !?C1," FAMILY",?C2,$S(YSASC="":" ----",1:YSASC)
  • Line Location: OUT3+21
Function Call: WRITE
  • Prompt: !?C1,"PSYCHIATRIC",?C2,$S(YSASC="":" ----",1:YSASC)
  • Line Location: OUT3+23
Function Call: WRITE
  • Prompt: @IOF,YSASPT," interviewed on ",YSASDT,!,"Required ASI Items M=missing, X= not answered, N= not applicable",!
  • Line Location: REPTMSG+6
Function Call: WRITE
  • Prompt: $J($P(^YSTX(604.66,N1,0),U,11)_":"_$S(X="":"M",1:X),10)
  • Line Location: REPTMSG+13
Function Call: WRITE
  • Prompt: !
  • Line Location: REPTMSG+15
Routine Call
  • DIR
  • Line Location:
    • REPTMSG+15

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^YSTX(604 - [#604] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(604 CHECKALL+8, REPTMSG+9
^YSTX(604.66 - [#604.66] CHECKALL+6, CHECKALL+7, REPTMSG+7, REPTMSG+8, REPTMSG+13

Label References

Name Line Occurrences
$$F OUT3+4, OUT3+8, OUT3+9, OUT3+10, OUT3+11, OUT3+12, OUT3+14, OUT3+16, OUT3+18, OUT3+20
, OUT3+22
CHECKALL TESTIT+1
REPTMSG TESTIT+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
C1 OUT3+2~, OUT3+3*, OUT3+10, OUT3+13, OUT3+15, OUT3+17, OUT3+19, OUT3+21, OUT3+23
C2 OUT3+2~, OUT3+3*, OUT3+6, OUT3+7, OUT3+8, OUT3+10, OUT3+13, OUT3+15, OUT3+17, OUT3+19
, OUT3+21, OUT3+23
C3 OUT3+2~, OUT3+3*
DIERR F+1~
DIR REPTMSG+15!
DIR(0 REPTMSG+15*
IOF OUT3+5, REPTMSG+6
N1 CHECKALL+2~, CHECKALL+6*, CHECKALL+7, REPTMSG+1~, REPTMSG+7*, REPTMSG+8, REPTMSG+13
U CHECKALL+6, CHECKALL+7, CHECKALL+8, REPTMSG+7, REPTMSG+8, REPTMSG+9, REPTMSG+13
X OUT3+2~, OUT3+12*, OUT3+13, CHECKALL+2~, CHECKALL+9*, CHECKALL+10, CHECKALL+11, REPTMSG+1~, REPTMSG+10*, REPTMSG+11
, REPTMSG+13
Y OUT3+2~
YSASAGE OUT3+2~, OUT3+4*
YSASC OUT3+2~, OUT3+9*, OUT3+10, OUT3+11*, OUT3+13, OUT3+14*, OUT3+15, OUT3+16*, OUT3+17, OUT3+18*
, OUT3+19, OUT3+20*, OUT3+21, OUT3+22*, OUT3+23
YSASCLS CHECKALL+2~, CHECKALL+4*, CHECKALL+5*, CHECKALL+6, REPTMSG+1~, REPTMSG+4*, REPTMSG+5*, REPTMSG+7
YSASCS OUT3+2~
>> YSASDT REPTMSG+2*, REPTMSG+6
YSASFLD F~, F+2, F+3, CHECKALL+2~, CHECKALL+7*, CHECKALL+8, CHECKALL+9, REPTMSG+1~, REPTMSG+8*, REPTMSG+9
, REPTMSG+10
YSASIEN OUT3~, OUT3+1, OUT3+3*, F+3, CHECKALL~, CHECKALL+4, CHECKALL+9, TESTIT+1*, TESTIT+2, REPTMSG~
, REPTMSG+2, REPTMSG+3, REPTMSG+4, REPTMSG+10
YSASMSG OUT3+2~, OUT3+3*
YSASN OUT3+2~, OUT3+4*
>> YSASNA OUT3+4*, OUT3+6, OUT3+7
YSASOK OUT3~, OUT3+3*
>> YSASPT REPTMSG+3*, REPTMSG+6
YSASS OUT3+2~
YSASSR OUT3+2~
YSASY OUT3+2~
YSF CHECKALL+2~, CHECKALL+8*, CHECKALL+9, REPTMSG+1~, REPTMSG+9*, REPTMSG+10
YSFLAG CHECKALL~, CHECKALL+3*, CHECKALL+6, CHECKALL+10*, CHECKALL+11*, TESTIT+1, TESTIT+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All