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

Package: Mental Health Social Services

Routine: AMHRPTCP


Information

AMHRPTCP ; IHS/CMI/LAB - generic report cover page ;

Source Information

Source file <AMHRPTCP.m>

Call Graph

Call Graph Total: 1

Package Total Call Graph
Mental Health Social Services 1 PAUSE^AMHRPTU  

Caller Graph

Caller Graph Total: 7

Package Total Caller Graph
Mental Health Social Services 7 AMHRAGS  AMHRAP2P  AMHRAT2P  AMHRP1  AMHRPSU2  AMHRPTP  AMHRTEN  

Entry Points

Name Comments DBIA/ICR reference
SORT ;
COVPAGE ;EP
PAUSE
SHOWP ;
SHOW ;

External References

Name Field # of Occurrence
PAUSE^AMHRPTU SHOW+5, SHOWP+1, SHOWP+6, SHOWP+9, SORT+3, PAUSE

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!!?20,"BEHAVIORAL HEALTH RECORD LISTING"
  • Line Location: COVPAGE+2
Function Call: WRITE
  • Prompt: !!!?20,"Aggregate Suicide Data Report - Selected Variables"
  • Line Location: COVPAGE+3
Function Call: WRITE
  • Prompt: !!,"REPORT REQUESTED BY: ",$P(^VA(200,DUZ,0),U)
  • Line Location: COVPAGE+4
Function Call: WRITE
  • Prompt: !!,"The following visit listing contains BH visits selected based on the",!,"following criteria:",!
  • Line Location: COVPAGE+5
Function Call: WRITE
  • Prompt: !?28,"RECORD SELECTION CRITERIA"
  • Line Location: SHOW+1
Function Call: WRITE
  • Prompt: !!,"Encounter Date range: ",AMHBDD," to ",AMHEDD,!
  • Line Location: SHOW+2
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: SHOW+5
Function Call: WRITE
  • Prompt: !,$P(^AMHSORT(AMHI,0),U),": "
  • Line Location: SHOW+6
Function Call: WRITE
  • Prompt: X
  • Line Location: SHOW+7
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: SHOWP+1
Function Call: WRITE
  • Prompt: !!,"Report Type: ",$P(^AMHRCNT(AMHRPTC,0),U,6)
  • Line Location: SHOWP+2
Function Call: WRITE
  • Prompt: !!?29,"PRINT FIELD SELECTION",!
  • Line Location: SHOWP+4
Function Call: WRITE
  • Prompt: $P(^AMHTRPT(AMHRPT,12,X,0),U,2),")"
  • Line Location: SHOWP+7
Function Call: WRITE
  • Prompt: !," TOTAL column width: ",AMHTCW
  • Line Location: SHOWP+8
Function Call: WRITE
  • Prompt: !!,"Records will be sorted by: ",$P(^AMHSORT(AMHSORT,0),U),!
  • Line Location: SORT+1
Function Call: WRITE
  • Prompt: !,"Each ",$P(^AMHSORT(AMHSORT,0),U)," will be on a separate page.",!
  • Line Location: SORT+2
Function Call: WRITE
  • Prompt: !!,"NO VISITS TO REPORT.",!
  • Line Location: SORT+4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHRCNT - [#9002013.4] SHOWP+2
^AMHSORT - [#9002013.3] SHOW+6, SHOW+7, SHOWP+7, SORT+1, SORT+2
^AMHTRPT - [#9002013.8] SHOW+3, SHOW+4, SHOW+7, SHOWP+3, SHOWP+5, SHOWP+7
^VA(200 - [#200] COVPAGE+4
^XTMP("AMHRPT" SORT+4

Label References

Name Line Occurrences
PAUSE SHOWP+3
SHOWP SHOW+3

Naked Globals

Name Field # of Occurrence
^(2 SHOW+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AMHBDD SHOW+2
>> AMHBTH SORT+4
>> AMHCRIT SHOWP+5*, SHOWP+7
>> AMHEDD SHOW+2
>> AMHI SHOW+4*, SHOW+6, SHOW+7, SHOWP+5*
>> AMHJOB SORT+4
AMHQ SHOW+6!, SHOW+7
>> AMHRPT SHOW+3, SHOW+4, SHOW+7, SHOWP+3, SHOWP+5, SHOWP+7
>> AMHRPTC SHOW+2, SHOWP+2
>> AMHSORT SORT+1, SORT+2
>> AMHSPAG SORT+2
>> AMHSUIC COVPAGE+2, COVPAGE+3
>> AMHTCW SHOWP+8
>> C SHOW+7*
DUZ COVPAGE+4
IOF COVPAGE+1, SHOW+5, SHOWP+1, SHOWP+6, SHOWP+9, SORT+3
IOSL SHOW+5, SHOWP+1, SHOWP+6, SHOWP+9, SORT+3
U COVPAGE+4, SHOW+6, SHOWP+2, SHOWP+5, SHOWP+7, SORT+1, SORT+2
>> X SHOW+7*, SHOWP+7*
>> Y SHOW+7*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All