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

Package: Mental Health Social Services

Routine: AMHRC2P


Information

AMHRC2P ; IHS/CMI/LAB - print active client list (using case open/close) ;

Source Information

Source file <AMHRC2P.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
Mental Health Social Services 2 ^AMHEKL  ($$CTR,DONE)^AMHLEIN  
IHS VA Utilities 1 $$EXTSET^XBFUNC  
VA Fileman 1 ^DIR  

Entry Points

Name Comments DBIA/ICR reference
PRINT ;
START ;
HEAD
DONE
HEAD1 ;

External References

Name Field # of Occurrence
^AMHEKL DONE
$$CTR^AMHLEIN HEAD1+5
DONE^AMHLEIN DONE
^DIR HEAD+1
$$EXTSET^XBFUNC HEAD1+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!?10,"Number of Cases Opened: ",?40,AMHOPEN
  • Line Location: START+4
Function Call: WRITE
  • Prompt: !!?10,"Number of Cases Admitted:",?40,AMHADMIT
  • Line Location: START+5
Function Call: WRITE
  • Prompt: !!?10,"Number of Cases Closed:",?40,AMHCLOSE
  • Line Location: START+6
Function Call: WRITE
  • Prompt: !!?10,"Tally of Dispositions:"
  • Line Location: START+7
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD+1
Function Call: WRITE
  • Prompt: !,$P(^VA(200,DUZ,0),U,2),?72,"Page ",AMHPG,!
  • Line Location: HEAD1+2
Function Call: WRITE
  • Prompt: ?(80-$L($P(^DIC(4,DUZ(2),0),U))/2),$P(^DIC(4,DUZ(2),0),U),!
  • Line Location: HEAD1+3
Function Call: WRITE
  • Prompt: ?20,"TALLY OF CASES OPENED/ADMITTED/CLOSED"
  • Line Location: HEAD1+4
Function Call: WRITE
  • Prompt: !,$$CTR^AMHLEIN(X,80)
  • Line Location: HEAD1+5
Function Call: WRITE
  • Prompt: !?(80-$L(Y)/2),Y
  • Line Location: HEAD1+6
Function Call: WRITE
  • Prompt: !!,AMH80D
  • Line Location: HEAD1+7
Routine Call
  • DIR
  • Line Location:
    • HEAD+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(4 - [#4] HEAD1+3
^VA(200 - [#200] HEAD1+2, HEAD1+6

Label References

Name Line Occurrences
HEAD START+2, START+9
HEAD1 HEAD

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AMH80D START+1*, HEAD1+7
>> AMHADMIT START+5
>> AMHCLOSE START+6
>> AMHDISP( START+8, START+10
>> AMHOPEN START+4
>> AMHPG START+2*, HEAD, HEAD1+1*, HEAD1+2
>> AMHPROG HEAD1+5
>> AMHPROV HEAD1+6
AMHQ START+3!, START+8, START+9, HEAD+1*
>> AMHX START+8*, START+10
DIR HEAD+1!
DIR(0 HEAD+1*
>> DTOUT HEAD+1
DUZ HEAD1+2
DUZ(2 HEAD1+3
IO HEAD+1
IO(0 HEAD+1
IOF HEAD1+1
IOSL START+9
IOST HEAD+1
U HEAD1+2, HEAD1+3, HEAD1+6
>> X HEAD1+5*, HEAD1+6*
>> Y HEAD+1, HEAD1+6*
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All