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

Package: Mental Health Social Services

Routine: AMHRLP2


Information

AMHRLP2 ; IHS/CMI/LAB - PRINT GEN RET ;

Source Information

Source file <AMHRLP2.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
Mental Health Social Services 3 ^AMHEKL  DONE^AMHLEIN  DEL^AMHRL  
IHS VA Utilities 1 ^XBGSAVE  
VA Fileman 1 ^DIR  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Mental Health Social Services 1 AMHRLP  

Entry Points

Name Comments DBIA/ICR reference
HEAD ;ENTRY POINT
DONE ;EP
HEAD1 ;EP
WRITEF ;EP - write out flat file

External References

Name Field # of Occurrence
^AMHEKL DONE+2
DONE^AMHLEIN DONE+1
DEL^AMHRL DONE+4
^DIR HEAD+2
^XBGSAVE WRITEF+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD+2
Function Call: WRITE
  • Prompt: !?13,"********** CONFIDENTIAL PATIENT INFORMATION **********"
  • Line Location: HEAD1+2
Function Call: WRITE
  • Prompt: !?(($S(AMHTCW<81:80,1:AMHTCW)-AMHLENG)/2),AMHTEXT,?($S(AMHTCW<81:80,1:AMHTCW)-8),"Page ",AMHPG
  • Line Location: HEAD1+3
Function Call: WRITE
  • Prompt: !?(($S(AMHTCW<81:80,1:AMHTCW)-AMHLENG)/2),AMHTITL,?($S(AMHTCW<81:80,1:AMHTCW)-8),"Page ",AMHPG
  • Line Location: HEAD1+4
Function Call: WRITE
  • Prompt: !?(($S(AMHTCW<81:80,1:AMHTCW)-AMHLENG)/2),"Record Dates: ",AMHBDD," and ",AMHEDD,!
  • Line Location: HEAD1+5
Function Call: WRITE
  • Prompt: !?(($S(AMHTCW<81:80,1:AMHTCW)-AMHLENG)/2),"Search Template: ",$P(^DIBT(AMHSEAT,0),U),!
  • Line Location: HEAD1+6
Function Call: WRITE
  • Prompt: !?(($S(AMHTCW<81:80,1:AMHTCW)-AMHLENG)/2),AMHPTTX," SUB-TOTALS BY: ",AMHSORV,!
  • Line Location: HEAD1+7
Function Call: WRITE
  • Prompt: !?(($S(AMHTCW<81:80,1:AMHTCW)-AMHLENG)/2),AMHSORV,": ",AMHSRTR,!
  • Line Location: HEAD1+8
Function Call: WRITE
  • Prompt: !,AMHHEAD,!
  • Line Location: HEAD1+9
Function Call: WRITE
  • Prompt: AMHDASH,!
  • Line Location: HEAD1+10
Function Call: WRITE
  • Prompt: !,AMHSORV,":"
  • Line Location: HEAD1+11
Routine Call
  • DIR
  • Line Location:
    • HEAD+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIBT( HEAD1+6
^VA(200 - [#200] WRITEF+2
^XTMP("AMHRL" DONE+3!
^XTMP($J WRITEF+6!

Label References

Name Line Occurrences
HEAD1 HEAD+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AMHBD DONE+5!
AMHBDD DONE+5!, HEAD1+5
AMHBT DONE+3, DONE+5!
AMHBTH DONE+5!
AMHCRIT DONE+5!
>> AMHCTYP DONE+1, HEAD1+7, HEAD1+11
AMHDASH DONE+5!, HEAD1+10
AMHED DONE+5!
AMHEDD DONE+5!, HEAD1+5
AMHFIEL DONE+6!
AMHFILE DONE+6!, WRITEF+2
AMHFOUN DONE+6!
AMHFRST DONE+6!
AMHHDR DONE+5!
AMHHEAD DONE+5!, HEAD1+9
AMHI DONE+5!
AMHJOB DONE+3, DONE+5!
AMHL DONE+5!
AMHLENG DONE+5!, HEAD1+3*, HEAD1+4*, HEAD1+5*, HEAD1+6*, HEAD1+7*, HEAD1+8*
AMHLHDR DONE+6!
AMHLINE DONE+5!
AMHODAT DONE+5!
AMHPCNT DONE+5!
AMHPG DONE+5!, HEAD+1, HEAD1+1*, HEAD1+3, HEAD1+4
AMHPRNM DONE+6!
AMHPRNT DONE+6!
>> AMHPTTX HEAD1+3, HEAD1+7
AMHQUIT DONE+5!, HEAD+2*
AMHR DONE+5!
AMHRCNT DONE+5!
AMHRPT DONE+5!
AMHRREC DONE+5!
AMHSD DONE+5!
AMHSEAT DONE+6!, HEAD1+6
AMHSORT DONE+6!
>> AMHSORV HEAD1+7, HEAD1+8, HEAD1+11
AMHSORX DONE+6!
>> AMHSPAG HEAD1+8
AMHSRT DONE+6!
>> AMHSRTR HEAD1+8
AMHTCW DONE+5!, HEAD1+3, HEAD1+4, HEAD1+5, HEAD1+6, HEAD1+7, HEAD1+8
AMHTEST DONE+6!
>> AMHTEXT HEAD1+3*
>> AMHTITL HEAD1+3, HEAD1+4
AMHTYPE DONE+6!, HEAD1+5, HEAD1+6
AMHX DONE+6!
AUPNDAYS DONE+5!
AUPNDOB DONE+5!
AUPNDOD DONE+5!
AUPNPAT DONE+5!
AUPNSEX DONE+5!
D0 DONE+6!
DIR HEAD+2!
DIR(0 HEAD+2*
>> DTOUT HEAD+2
DUZ WRITEF+2
IO HEAD+2
IO(0 HEAD+2
IOF HEAD1+1
IOST HEAD+2
J DONE+6!
K DONE+6!
L DONE+6!
U HEAD1+6, WRITEF+2
>> XBE WRITEF+3*
XBF WRITEF+3*, WRITEF+7!
XBFLT WRITEF+3*, WRITEF+7!
XBFN WRITEF+2*, WRITEF+7!
XBGL WRITEF+1*, WRITEF+7!
XBMED WRITEF+2*, WRITEF+7!
XBQ WRITEF+3*, WRITEF+7!
XBTLE WRITEF+2*, WRITEF+7!
>> Y HEAD+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All