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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: AMHEXCP

Package: Mental Health Social Services

Routine: AMHEXCP


Information

AMHEXCP ; IHS/CMI/LAB - PRNT RECORD REVIEW ;

Source Information

Source file <AMHEXCP.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA Fileman 3 DD^%DT  EN^DIQ1  ^DIR  
Mental Health Social Services 2 DONE^AMHLEIN  ($$PPCLSC,$$PPINI)^AMHUTIL  

Entry Points

Name Comments DBIA/ICR reference
HEAD ;ENTRY POINT
HEAD1 ;
CHKDISC ;
START ;
DONE ;
PROC ;

External References

Name Field # of Occurrence
DD^%DT START+3, PROC+2
DONE^AMHLEIN DONE+1
$$PPCLSC^AMHUTIL CHKDISC+2
$$PPINI^AMHUTIL CHKDISC+3
EN^DIQ1 PROC+8, PROC+12
^DIR HEAD+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"No errors to report",!
  • Line Location: START+4
Function Call: WRITE
  • Prompt: !!,AMHDATE,?22,AMHNAME,?43,AMHHRCN,?52,AMHPROG,?56,AMHCAT,?74,AMHACT,!,^XTMP("AMHEXC",AMHJOB,AMHBT,"ERRORS",AMHR)
  • Line Location: PROC+15
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD+2
Function Call: WRITE
  • Prompt: ?(80-$L($P(^DIC(4,DUZ(2),0),U))/2),$P(^DIC(4,DUZ(2),0),U),?72,"Page ",AMHPG,!
  • Line Location: HEAD1+2
Function Call: WRITE
  • Prompt: ?((80-AMHLENG)/2),"BH EXPORT RECORD REVIEW",!
  • Line Location: HEAD1+4
Function Call: WRITE
  • Prompt: ?15,"Record Posting Dates: ",AMHBDD," and ",AMHEDD,!
  • Line Location: HEAD1+5
Function Call: WRITE
  • Prompt: !!,"RECORD DATE",?22,"PATIENT",?43,"HRN",?51,"PGM",?56,"TYPE",?72,"ACT TYPE"
  • Line Location: HEAD1+6
Function Call: WRITE
  • Prompt: !,AMH80D
  • Line Location: HEAD1+7
Routine Call
  • DIR
  • Line Location:
    • HEAD+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AMHREC - [#9002011] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHREC - [#9002011] START+6, PROC+3, PROC+4, PROC+5
^AUPNPAT - [#9000001] PROC+4
^DIC(4 - [#4] HEAD1+2
^DPT - [#2] PROC+3
^UTILITY("DIQ1" PROC+6!, PROC+9, PROC+10!, PROC+13, PROC+14!
^VA(200 - [#200] CHKDISC+1
^XTMP("AMHEXC" START+4, START+6, DONE+2!, PROC+15

Label References

Name Line Occurrences
DONE START+4, START+7, START+8
HEAD START+4, START+8, PROC+1
HEAD1 HEAD+1
PROC START+6

Naked Globals

Name Field # of Occurrence
^(0 PROC+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AMH80D START+2*, HEAD1+7
>> AMH80E START+1*
>> AMHACT PROC+13*, PROC+15
>> AMHAP CHKDISC+1
>> AMHBD START+3
>> AMHBDD START+3*, HEAD1+5
>> AMHBT START+4, START+6, DONE+2, PROC+15
>> AMHCAT PROC+9*, PROC+15
>> AMHDATE PROC+2*, PROC+15
>> AMHDISC CHKDISC+2*
>> AMHED START+3
>> AMHEDD START+3*, HEAD1+5
>> AMHHRCN PROC+4*, PROC+15
>> AMHINI CHKDISC+3*
>> AMHJOB START+4, START+6, DONE+2, PROC+15
>> AMHLENG HEAD1+3*, HEAD1+4
>> AMHNAME PROC+3*, PROC+15
>> AMHPG START+4*, HEAD+1, HEAD1+1*, HEAD1+2
>> AMHPROG PROC+5*, PROC+15
AMHQUIT START+5!, START+6, START+7, START+8, PROC+1, HEAD+2*
>> AMHR START+5*, START+6*, PROC+3, PROC+4, PROC+5, PROC+8, PROC+9, PROC+12, PROC+13, PROC+15
>> AMHREC START+6*, PROC+2
>> AMHRPROC CHKDISC+2, CHKDISC+3
DA PROC+7!, PROC+8*!, PROC+11!, PROC+12*!
DIC PROC+7!, PROC+8*!, PROC+11!, PROC+12*!
DIQ PROC+7!, PROC+8!, PROC+11!, PROC+12!
DIQ(0 PROC+8*, PROC+12*
DIR HEAD+2!
DIR(0 HEAD+2*
DR PROC+7!, PROC+8*!, PROC+11!, PROC+12*!
>> DTOUT HEAD+2
DUZ(2 PROC+4, HEAD1+2
IO HEAD+2
IO(0 HEAD+2
IOF HEAD1+1
IOSL START+8, PROC+1
IOST HEAD+2
U PROC+2, PROC+3, PROC+4, PROC+5, HEAD1+2
>> Y START+3*, PROC+2*, HEAD+2
Info |  Source |  Call 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