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

Package: Mental Health Social Services

Routine: AMHRPT0


Information

AMHRPT0 ; IHS/CMI/LAB - MENUS FOR REPORT DRIVER ;

Source Information

Source file <AMHRPT0.m>

Call Graph

Call Graph Total: 1

Package Total Call Graph
VA Fileman 1 ^DIR  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Mental Health Social Services 2 AMHRPT  AMHRPT1  

Entry Points

Name Comments DBIA/ICR reference
PMENU ;EP
Y ;EP
N ;EP
RMENU ;EP - SORT MENU
SMENU ;EP

External References

Name Field # of Occurrence
^DIR N+2, Y+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: ?((80-$L(AMHLHDR))/2),AMHLHDR,!
  • Line Location: PMENU+3
Function Call: WRITE
  • Prompt: "The following data items can be printed. You can use up to 132 characters.",!,"Choose the data items in the order you want them printed.",!
  • Line Location: PMENU+4
Function Call: WRITE
  • Prompt: ?15,"Total Report width (including column margins - 2 spaces): ",AMHTCW
  • Line Location: PMENU+5
Function Call: WRITE
  • Prompt: ?40,J,") ",$P(^AMHSORT(AMHSEL(J),0),U)
  • Line Location: PMENU+9
Function Call: WRITE
  • Prompt: !?7,"<Enter a list or a range. E.g. 1-4,5,20 or 10,12,20,30>"
  • Line Location: PMENU+10
Function Call: WRITE
  • Prompt: !?7,"<<PRESS ENTER to conclude selections or '^' to exit>>"
  • Line Location: PMENU+11
Function Call: WRITE
  • Prompt: !,"The records displayed can be selected based on any of the following criteria:",!
  • Line Location: SMENU+3
Function Call: WRITE
  • Prompt: ?27,J,") ",$E($P(^AMHSORT(AMHSEL(J),0),U),1,22)
  • Line Location: SMENU+8
Function Call: WRITE
  • Prompt: ?53,K,") ",$E($P(^AMHSORT(AMHSEL(K),0),U),1,22)
  • Line Location: SMENU+9
Function Call: WRITE
  • Prompt: !?9,"<Enter a list or a range. E.g. 1-4,5,20 or 10,12,20,30>"
  • Line Location: SMENU+10
Function Call: WRITE
  • Prompt: !?9,"<<PRESS ENTER to conclude selections or bypass screens>>"
  • Line Location: SMENU+11
Function Call: WRITE
  • Prompt: !!,"The records displayed can be sorted by any one of the following:",!
  • Line Location: RMENU+3
Function Call: WRITE
  • Prompt: ?40,J,") ",$P(^AMHSORT(AMHSEL(J),0),U)
  • Line Location: RMENU+6
Function Call: WRITE
  • Prompt: !!,"<<If you don't select a sort criteria the report will be sorted by Visit date>>"
  • Line Location: RMENU+7
Function Call: WRITE
  • Prompt: !!,"No number range entered. All numbers will be included."
  • Line Location: N+3
Function Call: WRITE
  • Prompt: !!,$C(7),$C(7),"Enter an number range in the format nnn-nnn. E.g. 0-5, 0-99, 5-20."
  • Line Location: N+4
Routine Call
  • DIR
  • Line Location:
    • N+2
    • Y+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHSORT - [#9002013.3] PMENU+6, PMENU+9, SMENU+4, SMENU+7, SMENU+8, SMENU+9, RMENU+4, RMENU+6, N+2
^AMHSORT("C" PMENU+6, RMENU+4
^AMHTRPT - [#9002013.8] N+1!, N+5*, N+6*, Y+4*, Y+5*

Label References

Name Line Occurrences
N N+4

Naked Globals

Name Field # of Occurrence
^(0 PMENU+6, SMENU+4, RMENU+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AMHCNT N+6*
>> AMHCRIT N+1, N+2, N+5, N+6, Y+4, Y+5
>> AMHCUT PMENU+7*, PMENU+9, SMENU+5*, SMENU+8, SMENU+9, RMENU+5*, RMENU+6
AMHDISP PMENU+1!, SMENU+1!, RMENU+1!
AMHDISP( PMENU+8, PMENU+9*, SMENU+6, SMENU+7*, SMENU+8*, SMENU+9*, RMENU+6*
AMHHIGH PMENU+1!, PMENU+6*, PMENU+7, SMENU+1!, SMENU+4*, SMENU+5, RMENU+1!, RMENU+4*, RMENU+5
>> AMHLHDR PMENU+3*
>> AMHPTVS SMENU+4
>> AMHRPT N+1, N+5, N+6, Y+4, Y+5
AMHSEL PMENU+1!, SMENU+1!, RMENU+1!
AMHSEL( PMENU+6*, PMENU+8, PMENU+9, SMENU+4*, SMENU+6, SMENU+7, SMENU+8, SMENU+9, RMENU+4*, RMENU+6
>> AMHTCW PMENU+5
>> AMHTEXT Y+1
>> AMHXREF SMENU+4
DIR N+2!, Y+1!
DIR("A" N+2*, Y+1*
DIR("B" Y+1*
DIR(0 N+2*, Y+1*
>> DIRUT N+2*, Y+1*, Y+2
>> DUOUT N+2, Y+1
>> I PMENU+8*, PMENU+9, SMENU+6*, SMENU+7, SMENU+8, RMENU+6*
IOF PMENU+2, SMENU+2, RMENU+2
IOSL SMENU+2, RMENU+2
>> J PMENU+8*, PMENU+9*, SMENU+6*, SMENU+8*, SMENU+9, RMENU+6*
>> K SMENU+6*, SMENU+9*, RMENU+6*
U PMENU+6, PMENU+9, SMENU+4, SMENU+7, SMENU+8, SMENU+9, RMENU+4, RMENU+6, N+2
>> X PMENU+6*, SMENU+4*, RMENU+4*, N+6*
>> Y PMENU+6*, SMENU+4*, RMENU+4*, N+3, N+4, N+6, Y+3, Y+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All