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

Package: Mental Health Social Services

Routine: AMHRTEN


Information

AMHRTEN ; IHS/CMI/LAB - TOP TEN POVS ;

Source Information

Source file <AMHRTEN.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
Mental Health Social Services 4 ^AMHEKL  DONE^AMHLEIN  COVPAGE^AMHRPTCP  XTMP^AMHUTIL  
VA Fileman 3 DD^%DT  NOW^%DTC  ^DIR  

Entry Points

Name Comments DBIA/ICR reference
HEAD
SET ;
PRIM ;
PRINT ;EP;PRINT TOP TEN RECORDS
HEAD1 ;
PREPROC ;
S2
POSTPROC ;
SETDASH ;set dash limits for bar chart
S3
CHRT ;EP
PRNTPRE ;EP
NUM ;get # entries
S1
PEXIT

External References

Name Field # of Occurrence
DD^%DT PRINT+1, PRINT+2
NOW^%DTC PRINT+1
^AMHEKL PEXIT
DONE^AMHLEIN PEXIT
COVPAGE^AMHRPTCP PRINT+3
XTMP^AMHUTIL PREPROC+1
^DIR PRIM+3, CHRT+1, NUM+1, HEAD+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,J,".",?6,$E(AMHPOV,1,30),?39,$E($P(@AMHA,U,2),1,15),?56,+(@AMHA),?66,$P(@AMHA,U,3)
  • Line Location: PRINT+10
Function Call: WRITE
  • Prompt: !,J,".",?6,$E(AMHPOV,1,30),?39,$E($P(@AMHA,U,2),1,15),?56,+(@AMHA),?66,$J(($P(@AMHA,U,3)/60),7,1)
  • Line Location: PRINT+11
Function Call: WRITE
  • Prompt: "*"
  • Line Location: PRINT+12
Function Call: WRITE
  • Prompt: ?J,"|_________"
  • Line Location: PRINT+15
Function Call: WRITE
  • Prompt: ?J,AMHDASH*10*X
  • Line Location: PRINT+17
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD+1
Function Call: WRITE
  • Prompt: !?2,AMHDT,?72,"Page ",AMHPG
  • Line Location: HEAD1+2
Function Call: WRITE
  • Prompt: !?((80-AMHLENG)/2),$P(^DIC(4,DUZ(2),0),U)
  • Line Location: HEAD1+4
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD1+5
Function Call: WRITE
  • Prompt: !,"TOP ",AMHLNO," ",AMHINF,"'s."
  • Line Location: HEAD1+6
Function Call: WRITE
  • Prompt: !,$S(AMHPRIM="P":"PRIMARY POV Only",1:"Both PRIMARY and SECONDARY POV's are included.")
  • Line Location: HEAD1+7
Function Call: WRITE
  • Prompt: !,"DATES: ",AMHBDD," TO ",AMHEDD,!
  • Line Location: HEAD1+8
Function Call: WRITE
  • Prompt: !,"No.",?6,AMHHD1,?39,AMHHD2,?56,"# RECS",?65,"ACT TIME (HRS)"
  • Line Location: HEAD1+9
Function Call: WRITE
  • Prompt: !,AMHHD1
  • Line Location: HEAD1+10
Function Call: WRITE
  • Prompt: !,$TR($J(" ",80)," ","-")
  • Line Location: HEAD1+11
Function Call: WRITE
  • Prompt: !,$TR($J(" ",132)," ","-")
  • Line Location: HEAD1+12
Routine Call
  • DIR
  • Line Location:
    • PRIM+3
    • CHRT+1
    • NUM+1
    • HEAD+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(4 - [#4] HEAD1+3, HEAD1+4
^XTMP("AMHTEN" PRINT+6, PRINT+7

Label References

Name Line Occurrences
CHRT PRIM+2, NUM+2
HEAD PRINT+4, PRINT+9
HEAD1 HEAD
NUM NUM+4
S2 S1
S3 S2
SET POSTPROC+1
SETDASH PRINT+8

Naked Globals

Name Field # of Occurrence
^( SET+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % PREPROC+2*, SET+1*, PRINT+5*, PRINT+12*, SETDASH+3*
>> A PRINT+5*
>> AMHA PREPROC+2*, SET+1, PRINT+11, PRINT+12, PRINT+13, SETDASH+2
>> AMHBD PRINT+2
>> AMHBDD PRINT+2*, HEAD1+8
>> AMHBT PRINT+6, PRINT+7
>> AMHC PREPROC+2*, SET+1, S1, PRINT+5*
>> AMHCHRT CHRT+3*, NUM+1, PRINT+8, PRINT+11, PRINT+14, HEAD1+9, HEAD1+10, HEAD1+11, HEAD1+12
>> AMHDASH PRINT+12, PRINT+14, PRINT+17, SETDASH+5*
>> AMHDT PRINT+1*, HEAD1+2
>> AMHED PRINT+2
>> AMHEDD PRINT+2*, HEAD1+8
>> AMHHD1 HEAD1+9, HEAD1+10
>> AMHHD2 HEAD1+9
>> AMHINF HEAD1+6
>> AMHJOB PRINT+6, PRINT+7
>> AMHLENG HEAD1+3*, HEAD1+4
>> AMHLINO PREPROC+2*
>> AMHLNO S1, S2, NUM+3*, PRINT+6, HEAD1+6
>> AMHPG PRINT+4*, HEAD, HEAD1+1*, HEAD1+2
>> AMHPOV SET+1*, PRINT+7*, PRINT+11, PRINT+12
>> AMHPRIM PRIM+1*, PRIM+5*, HEAD1+7
>> AMHQUIT PRIM+4*, CHRT+2*, PRINT+6, PRINT+7, PRINT+9, HEAD+1*
>> AMHRRPT PRIM+2, HEAD1+7
>> AMHTOT PREPROC+2*
>> AMHVTOT PREPROC+2*
>> B PRINT+5*
D PRINT+12*, SETDASH+1~
DIR PRNTPRE+1!, PRIM+3!, CHRT+1!, NUM+1!, HEAD+1!
DIR("?" NUM+1*
DIR("A" PRIM+3*, CHRT+1*, NUM+1*
DIR("B" PRIM+3*, CHRT+1*, NUM+1*
DIR(0 PRIM+3*, CHRT+1*, NUM+1*, HEAD+1*
DIRUT PRNTPRE+1!, PRIM+2, PRIM+3*, PRIM+4, CHRT+1*, CHRT+2, NUM+1*, NUM+2
DTOUT PRNTPRE+1!, NUM+4, HEAD+1
DUOUT PRNTPRE+1!, PRIM+3, CHRT+1, NUM+1
DUZ(2 HEAD1+3, HEAD1+4
>> E PREPROC+2*, S2, PRINT+5*
>> F PREPROC+2*, S1, PRINT+5*, SETDASH+3*
>> G PREPROC+2*, S2, PRINT+5*
>> I S1*, S2*, PRINT+6*, PRINT+7
IO HEAD+1
IO(0 HEAD+1
IOF HEAD1+1
IOSL PRINT+9
IOST HEAD+1
>> J PRINT+6*, PRINT+7*, PRINT+8, PRINT+11, PRINT+15*, PRINT+17*
L PRINT+12*, SETDASH+1~, SETDASH+2*, SETDASH+3*, SETDASH+4*, SETDASH+5
>> M SETDASH+3*
U PRINT+11, PRINT+12, HEAD1+3, HEAD1+4
>> X S1*, S2*, PRINT+1, PRINT+15*, PRINT+17*
>> Y S1*, S2*, PRIM+5, CHRT+3, NUM+3, NUM+4, PRINT+1*, PRINT+2*, HEAD+1
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All