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

Package: Mental Health Social Services

Routine: AMHRL4


Information

AMHRL4 ; IHS/CMI/LAB - NO DESCRIPTION PROVIDED 25-JUN-1996 ;

Source Information

Source file <AMHRL4.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
Registration 3 EN^VALM  TERM^VALM0  (CLEAR,FULL)^VALM1  
VA Fileman 2 ^DIE  ^DIR  
Kernel 1 DISP^XQORM1  
Mental Health Social Services 1 SHOW^AMHRLS  

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Mental Health Social Services 4 AMHRL  AMHRL3  AMHRPSU2  AMHRPT  

Entry Points

Name Comments DBIA/ICR reference
REMX ;
EN ; -- main entry point for AMH GEN SELECT ITEMS
HDRR ;sort header
HDR ; -- header code
HDRP ;print selection header
EXITR ;EP - exit report called from protocol entry
REM ;EP - remove a selected item - called from protocol entry
ADD ;EP - add an item to the selected list - called from a protocol
ADDX ;
Q ;EP - quit selections
INIT ; -- init variables and list array
HELP ; -- help code
SELECTR1 ;
BACK ;go back to listman
EXIT ; -- exit code
SELECTP ;print select - get columns
SELECTS ;select screen items
SELECTR ;sort select
EXPND ; -- expand code
HDRS ;

External References

Name Field # of Occurrence
SHOW^AMHRLS SELECTS+9
^DIE SELECTR1+3, SELECTR1+10
^DIR ADD+2, ADDX+1, SELECTR+1, SELECTP+2, REM+2, REMX+1, HELP+5
EN^VALM EN+2
TERM^VALM0 BACK+1
CLEAR^VALM1 EN+3
FULL^VALM1 ADD+5, HELP+1
DISP^XQORM1 HELP+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: ADD+2
Function Call: WRITE
  • Prompt: !,"No items selected."
  • Line Location: ADD+3
Function Call: WRITE
  • Prompt: !,"No items selected."
  • Line Location: ADD+4
Function Call: WRITE
  • Prompt: !
  • Line Location: SELECTR+1
Function Call: WRITE
  • Prompt: !,"exiting"
  • Line Location: SELECTR1+1
Function Call: WRITE
  • Prompt: !!,"No sort item selected ... will sort by "
  • Line Location: SELECTR1+2
Function Call: WRITE
  • Prompt: AMHSORV,"."
  • Line Location: SELECTR1+2
Function Call: WRITE
  • Prompt: !!,"No sub-totalling will be done.",!!
  • Line Location: SELECTR1+4
Function Call: WRITE
  • Prompt: !!,"No items have been selected.",!
  • Line Location: REM+1
Function Call: WRITE
  • Prompt: !,"No items selected."
  • Line Location: REM+3
Function Call: WRITE
  • Prompt: !,"No items selected."
  • Line Location: REM+4
Function Call: WRITE
  • Prompt: !,"Item ",AMHC," ",$P(^AMHSORT(AMHCRIT,0),U)," has not been selected.",!
  • Line Location: REM+6
Function Call: WRITE
  • Prompt: !,"Enter an S to Select an Item, and R to remove a selected item, Q to Quit",!,"the selection process. To exit the report, enter an E.",!,"Type a Q to select all ",AMHPTTS,", bypassing all screens.",!
  • Line Location: HELP+3
Function Call: WRITE
  • Prompt: !
  • Line Location: HELP+4
Routine Call
  • VALM
  • Line Location:
    • EN+2
Routine Call
  • DIE
  • Line Location:
    • SELECTR1+3
    • SELECTR1+10
Routine Call
  • DIR
  • Line Location:
    • ADD+2
    • ADDX+1
    • SELECTR+1
    • SELECTP+2
    • REM+2
    • REMX+1
    • HELP+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AMHTRPT - [#9002013.8] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHSORT - [#9002013.3] INIT+2, INIT+5, INIT+6, INIT+7, SELECTS+2, SELECTS+3, SELECTS+5, SELECTS+7, SELECTR1+10, SELECTP+2
, SELECTP+3, REM+6, REM+10
^AMHTRPT - [#9002013.8] SELECTS+3!, SELECTS+5*, SELECTS+6, SELECTP+4*, SELECTP+5*, SELECTP+7*, REM+8!, REM+9!

Label References

Name Line Occurrences
@( HDR+1, ADD+6, SELECTS+5
ADDX ADD+3, ADD+4
BACK ADDX+2, REMX+2, HELP+6
HDR BACK+4
INIT BACK+3
REMX REM+1, REM+3, REM+4
SELECTR ADD+1
SELECTR1 Q+1

Naked Globals

Name Field # of Occurrence
^(0 INIT+2, INIT+5, INIT+6, INIT+7, SELECTP+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AMHANS SELECTS+1*, SELECTP+1*, REM+5*
>> AMHC SELECTS+1*, SELECTS+4, SELECTS+6, SELECTP+1*, SELECTP+7, REM+5*, REM+6, REM+7
>> AMHCNT SELECTS+5*
AMHCNTL EN+4!, HDR+1, INIT+2, ADD+1, ADD+6, REM+8, REM+9, Q+1
>> AMHCRIT SELECTS+1*, SELECTS+2, SELECTS+3, SELECTS+5, SELECTS+6, SELECTS+7, SELECTP+1*, SELECTP+2, SELECTP+3, SELECTP+5
, SELECTP+7, REM+5*, REM+6, REM+8, REM+9, REM+10
AMHCSEL EN+1!, EN+4!, REM+1
AMHCSEL( INIT+5, INIT+6, INIT+7, SELECTS+6*, SELECTP+7*, REM+6, REM+7!
>> AMHCTYP SELECTR+1, SELECTR1+2, SELECTR1+4, SELECTR1+5*
AMHCUT EN+4!, INIT+3*, INIT+6, INIT+7
AMHDISP EN+4!, INIT+1!, INIT+8!, EXIT+1!
AMHDISP( INIT+4, INIT+5*, INIT+6*, INIT+7*
AMHHIGH EN+4!, INIT+1!, INIT+2*, INIT+3, ADD+2, SELECTR+1
>> AMHI SELECTS+1*, SELECTP+1*, REM+5*
AMHLIST EN+4!, INIT+1!
AMHLIST( INIT+5*, INIT+6*, INIT+7*
AMHLIST("IDX" INIT+5*
>> AMHPCNT SELECTP+1*, SELECTP+7
>> AMHPTTS HDRS+2, HDRS+4, HDRR+3, SELECTR+1, HELP+3
>> AMHPTTX HDRS+1, ADD+2
>> AMHPTVS HDRR+4, INIT+2, SELECTR1+2, SELECTR1+7, SELECTR1+8, SELECTR1+9
>> AMHQUIT SELECTR1+1*, EXITR+1*
>> AMHRDTR SELECTS+7*
>> AMHRPT SELECTS+3, SELECTS+5, SELECTS+6, SELECTR1+3, SELECTR1+10, SELECTP+4, SELECTP+5, SELECTP+7, REM+8, REM+9
AMHSEL EN+4!, INIT+1!
AMHSEL( INIT+2*, INIT+4, INIT+5, INIT+6, INIT+7, SELECTS+1, SELECTR1+10, SELECTP+1, REM+5
>> AMHSORT SELECTR1+2*, SELECTR1+3, SELECTR1+7*, SELECTR1+8*, SELECTR1+9*, SELECTR1+10*
>> AMHSORV SELECTR1+2*, SELECTR1+7*, SELECTR1+8*, SELECTR1+9*, SELECTR1+10*
>> AMHTCW SELECTP+5*, SELECTP+7*, SELECTP+8
>> AMHTEXT SELECTS+2*, SELECTS+4
>> AMHVAR SELECTS+3*
>> AMHXREF INIT+2
C EN+4!, INIT+4*, INIT+5*, INIT+6, INIT+7, INIT+9
DA ADDX+1!, SELECTR1+3*!, SELECTR1+10*!, REM+2!, REMX+1!, HELP+5!
DIE SELECTR1+3*!, SELECTR1+10*!
DIR ADD+2!, ADDX+1!, SELECTR+1!, SELECTP+2!, REM+2!, REMX+1!, HELP+5!, BACK+5!
DIR("A" ADD+2*, ADDX+1*, SELECTR+1*, SELECTP+2*, REM+2*, REMX+1*, HELP+5*
DIR("B" SELECTP+2*
DIR(0 ADD+2*, ADDX+1*, SELECTR+1*, SELECTP+2*, REM+2*, REMX+1*, HELP+5*
>> DIRUT ADD+2*, ADD+4, SELECTR1+1, SELECTP+2*, SELECTP+3, REM+2*, REM+4
DIU SELECTR1+3!, SELECTR1+10!
DIV SELECTR1+3!, SELECTR1+10!
DIW SELECTR1+3!, SELECTR1+10!
DIY SELECTR1+3!, SELECTR1+10!
DR SELECTR1+3*!, SELECTR1+10*!
>> DUOUT ADD+2, SELECTR1+1, SELECTP+2, REM+2
I EN+4!, INIT+4*, INIT+5, INIT+6, BACK+6!
IOF ADD+5, HELP+2
>> IORVOFF HDRS+1, HDRP+1, HDRR+2
>> IORVON HDRS+1, HDRP+1, HDRR+2
J EN+4!, INIT+4*, INIT+6*, INIT+7
K EN+4!, INIT+4*, INIT+7*
U INIT+2, INIT+5, INIT+6, INIT+7, SELECTS+2, SELECTS+3, SELECTS+5, SELECTS+7, SELECTR1+10, SELECTP+2
, SELECTP+3, SELECTP+5, SELECTP+7, REM+6, REM+10
>> VALMBCK BACK+2*
VALMCC EXIT+2!
VALMCNT EN+5!, INIT+9*
VALMHDR EN+5!, EXIT+2!
VALMHDR(1 HDRS+1*, HDRP+1*, HDRR+1*
VALMHDR(2 HDRS+2*, HDRP+2*, HDRR+2*
VALMHDR(3 HDRS+3*, HDRP+3*, HDRR+3*
VALMHDR(4 HDRS+4*, HDRP+4*, HDRR+4*
X EN+4!, INIT+2*, SELECTP+5*, REM+9*, HELP+4*, BACK+6!
Y INIT+2*, ADD+3, SELECTS+1, SELECTR1+2, SELECTR1+4, SELECTR1+10, SELECTP+1, SELECTP+3*, SELECTP+5, SELECTP+7
, REM+3, REM+5, Q+1*, BACK+6!
Z BACK+6!
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 |  Naked Globals |  Local Variables |  All