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

Package: Mental Health Social Services

Routine: AMHRL01


Information

AMHRL01 ; IHS/CMI/LAB - TUCSON-OHPRD/LAB - SCREEN LOGIC ;

Source Information

Source file <AMHRL01.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA Fileman 3 YX^%DTC  (,IX)^DIC  ^DIR  
Mental Health Social Services 1 DBHUSR^AMHUTIL  

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Mental Health Social Services 4 AMHRL  AMHRL0  AMHRLP1  AMHRLS  

Entry Points

Name Comments DBIA/ICR reference
PAUSE ;EP
ADD1 ;
SUIN ;
INFORM ;EP
ADD ;EP
Y ;EP - called from apclvl0
SPECIAL ;EP

External References

Name Field # of Occurrence
YX^%DTC ADD1+2
DBHUSR^AMHUTIL INFORM+14
^DIC ADD1+2
IX^DIC ADD+8
^DIR INFORM+20, ADD+5, PAUSE+2, Y+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !?15,$P(^DIC(4,X,0),U)
  • Line Location: INFORM+18
Function Call: WRITE
  • Prompt: !!,"SGR Listing of Suicide Forms by Selected Variables"
  • Line Location: SUIN+1
Function Call: WRITE
  • Prompt: !!,"This report is a 'general retrieval' type report and will list the"
  • Line Location: SUIN+2
Function Call: WRITE
  • Prompt: !,"data items selected by the user for Suicide Forms in a date range."
  • Line Location: SUIN+3
Function Call: WRITE
  • Prompt: !,"The user can also specify how to display the items in the printed"
  • Line Location: SUIN+4
Function Call: WRITE
  • Prompt: !,"report.",!
  • Line Location: SUIN+5
Function Call: WRITE
  • Prompt: !!
  • Line Location: ADD+2
Function Call: WRITE
  • Prompt: !!,"UNABLE TO CREATE REPORT FILE ENTRY - NOTIFY SITE MANAGER!"
  • Line Location: ADD1+2
Function Call: WRITE
  • Prompt: !
  • Line Location: PAUSE+2
Routine Call
  • DIC
  • Line Location:
    • ADD1+2
Routine Call
  • DIR
  • Line Location:
    • INFORM+20
    • ADD+5
    • PAUSE+2
    • Y+1
Routine Call
  • DIC
  • Line Location:
    • ADD+8

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)
^AMHBHUSR - [#9002013.11] INFORM+15, INFORM+18
^AMHSORT - [#9002013.3] SPECIAL+2
^AMHTPRT( SPECIAL+1!
^AMHTRPT - [#9002013.8] ADD+12, ADD+13, ADD1+6!, Y+4*, Y+5*, SPECIAL+1!, SPECIAL+4*, SPECIAL+5*
^DIC(4 - [#4] INFORM+18
^VA(200 - [#200] ADD1+2

Label References

Name Line Occurrences
ADD1 ADD+3, ADD+7
SUIN INFORM+3

Naked Globals

Name Field # of Occurrence
^(0 ADD+12
^(4 SPECIAL+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %H ADD1+2*
AMHBD INFORM+11!
AMHBDD INFORM+11!
AMHCAND ADD+1!, ADD+10*
>> AMHCNT SPECIAL+5*
>> AMHCRIT Y+4, Y+5, SPECIAL+1, SPECIAL+2, SPECIAL+4, SPECIAL+5
>> AMHCTYP ADD+12*
AMHED INFORM+11!
AMHEDD INFORM+11!
>> AMHEP1 ADD+3, ADD+8
>> AMHLHDR INFORM+5*, INFORM+6
>> AMHPCNT INFORM+10*
>> AMHPTCT INFORM+10*
>> AMHPTTX INFORM+7, INFORM+8
>> AMHPTVS INFORM+3, INFORM+4, INFORM+12, INFORM+14, INFORM+15, Y+1
>> AMHQUIT ADD+6*, ADD+9*, ADD1+2*
AMHRDTR INFORM+11!
>> AMHRPT ADD+10*, ADD+12, ADD+13, ADD1+3*, ADD1+6, Y+4, Y+5, SPECIAL+1, SPECIAL+4, SPECIAL+5
>> AMHSEAT ADD+3
>> AMHSORT ADD+12*
>> AMHSORV ADD+12*
>> AMHSPAG ADD+12*
>> AMHTCW INFORM+1*, ADD+13*
>> AMHTEXT Y+1
AMHTYPE INFORM+13!
>> AMHXREF INFORM+12*
>> D ADD+8*
DA ADD+8!, ADD1+2!, ADD1+4!
DD ADD1+4!
DIADD ADD1+2*!, ADD1+4!
DIC ADD+8*!, ADD1+2*!, ADD1+4!
DIC("A" ADD+8*
DIC("S" ADD+8*
DIC(0 ADD+8*, ADD1+2*
DINUM ADD1+4!
DIR INFORM+20!, ADD+5!, PAUSE+2!, Y+1!
DIR("A" INFORM+20*, ADD+5*, PAUSE+2*, Y+1*
DIR("B" ADD+5*, Y+1*
DIR(0 INFORM+20*, ADD+5*, PAUSE+2*, Y+1*
>> DIRUT ADD+5*, ADD+6, PAUSE+2*, Y+1*, Y+2
DLAYGO ADD1+2*!, ADD1+4!
DR ADD+8!, ADD1+2!, ADD1+4!
>> DUOUT ADD+5, PAUSE+2, Y+1
DUZ INFORM+15, INFORM+18, ADD1+2
IO PAUSE+1
IO(0 PAUSE+1
IOF INFORM+2
>> IORVOFF INFORM+16
>> IORVON INFORM+16
IOST PAUSE+1
U INFORM+18, ADD+12, ADD+13, ADD1+2, SPECIAL+5
X INFORM+18*, ADD+13*, ADD1+2*, ADD1+4!
Y ADD+7, ADD+9, ADD+10, ADD1+2, ADD1+3, ADD1+4!, Y+3, Y+5, SPECIAL+2*, SPECIAL+3
, SPECIAL+5
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