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

Package: IHS RPMS CHR System

Routine: BCHRPT


Information

BCHRPT ; IHS/CMI/LAB - APC visit counts by selected vars ;

Source Information

Source file <BCHRPT.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
VA Fileman 5 DD^%DT  (C,YX)^%DTC  ^DIC  ^DIK  ^DIR  
IHS RPMS CHR System 4 (PMENU,RMENU,SMENU)^BCHRPT0  (PSELECT,SELECT)^BCHRPT1  PAUSE^BCHRPTU  KILL^BCHRPTX  
IHS VA Utilities 1 ^XBDBQUE  
Kernel 1 HOME^%ZIS  

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
IHS RPMS CHR System 5 BCH DE LIST RECORDS  BCH P FREQ ACT  BCH P FREQ PROBLEM CAT  BCH P FREQ PROBLEMS (CHR)  BCH P REPORTS AR CNTS  

Entry Points

Name Comments DBIA/ICR reference
BD ;get beginning date
SORT ;
ZIS ;call to XBDBQUE
SHOW ;
ED ;get ending date
SCREEN ;
REG ;
START ;
ADD ;EP
GETDATES ;
DEL ;EP - delete entry in temp file
PRINT ;print portion of report
XIT ;
KILLVARS ;
SHOWP ;
PAGE ;
SHOWR ;

External References

Name Field # of Occurrence
DD^%DT ED+1, ED+4
C^%DTC ED+4
YX^%DTC ADD+1
HOME^%ZIS START+1
PMENU^BCHRPT0 PRINT+2
RMENU^BCHRPT0 SORT+5
SMENU^BCHRPT0 SCREEN+1
PSELECT^BCHRPT1 PRINT+7
SELECT^BCHRPT1 SCREEN+6
PAUSE^BCHRPTU SHOW+7, SHOWP+6
KILL^BCHRPTX XIT+1
^DIC ADD+1
^DIK DEL+1
^DIR BD+1, ED+1, SCREEN+2, SCREEN+8, PRINT+3, PRINT+9, SORT+6, PAGE+2, REG+2
^XBDBQUE REG+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $C(7),$C(7),!!,"SITE NOT SET IN DUZ(2) - NOTIFY SITE MANAGER!!",!!
  • Line Location: START+3
Function Call: WRITE
  • Prompt: !
  • Line Location: BD+1
Function Call: WRITE
  • Prompt: !
  • Line Location: ED+1
Function Call: WRITE
  • Prompt: !!,"Unable to create report temporary file entry!!,"
  • Line Location: ED+6
Function Call: WRITE
  • Prompt: !!
  • Line Location: SCREEN+8
Function Call: WRITE
  • Prompt: !!?15,"Total Report width (including column margins - 2 spaces): ",BCHTCW
  • Line Location: PRINT+6
Function Call: WRITE
  • Prompt: !!
  • Line Location: PRINT+9
Function Call: WRITE
  • Prompt: !!,"NO PRINT FIELDS SELECTED!!",$C(7),$C(7)
  • Line Location: SORT+1
Function Call: WRITE
  • Prompt: !
  • Line Location: SORT+6
Function Call: WRITE
  • Prompt: !!,"No sort criteria selected ... will sort by record date."
  • Line Location: SORT+7
Function Call: WRITE
  • Prompt: ?((80-$L(BCHLHDR))/2),BCHLHDR,!
  • Line Location: SHOW+2
Function Call: WRITE
  • Prompt: !?6,"Record selection criteria:"
  • Line Location: SHOW+3
Function Call: WRITE
  • Prompt: !,"Date of Service range: ",BCHBDD," to ",BCHEDD,"."
  • Line Location: SHOW+4
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: SHOW+7
Function Call: WRITE
  • Prompt: !!?6,"PRINT Field(s) Selected:"
  • Line Location: SHOWP+2
Function Call: WRITE
  • Prompt: !!?12,"Total Report width (including column margins - 2 spaces): ",BCHTCW
  • Line Location: SHOWP+7
Function Call: WRITE
  • Prompt: !!?6,"Record SORTING Criteria"
  • Line Location: SHOWR+2
Function Call: WRITE
  • Prompt: !!?12,"Records will be sorted by: ",$P(^BCHSORT(BCHTRPT,0),U),!
  • Line Location: SHOWR+4
Function Call: WRITE
  • Prompt: !!,"UNABLE TO CREATE REPORT FILE ENTRY - NOTIFY SITE MANAGER!"
  • Line Location: ADD+1
Routine Call
  • %ZIS
  • Line Location:
    • START+1
Routine Call
  • DIC
  • Line Location:
    • ADD+1
Routine Call
  • DIR
  • Line Location:
    • BD+1
    • ED+1
    • SCREEN+2
    • SCREEN+8
    • PRINT+3
    • PRINT+9
    • SORT+6
    • PAGE+2
    • REG+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^BCHTRPT - [#90002.42] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BCHRCNT - [#90002.43] START+5, START+6, SORT+2
^BCHSORT - [#90002.41] SORT+9, SHOW+8, SHOW+9, SHOWP+5, SHOWR+4
^BCHTRPT - [#90002.42] SCREEN+10!, SORT+1, SHOW+5, SHOW+6, SHOW+9, SHOWP+4, SHOWP+5, ADD+5!
^VA(200 - [#200] ADD+1

Label References

Name Line Occurrences
@( START+7, PRINT+1
ADD ED+5
BD ED+2
DEL SCREEN+4, PRINT+5, SORT+1, SORT+8
KILLVARS REG+5
PRINT SCREEN+3, SCREEN+10, PRINT+13
SCREEN SCREEN+11
SHOW ED+8, SCREEN+3, SCREEN+7
SHOWP PRINT+8
SHOWR SORT+4
SORT PRINT+1, PRINT+4, PRINT+12, PAGE+3
START SCREEN+4, SCREEN+9, PRINT+1, PRINT+5, PRINT+11, SORT+1, SORT+8
XIT START+8, BD+2, ED+6, REG+8
ZIS SORT+2, SORT+7

Naked Globals

Name Field # of Occurrence
^(0 START+5, SHOWP+5
^(2 SHOW+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %H ADD+1*
>> BCHBD BD+3*, ED+1, ED+4
>> BCHBDD ED+4*, SHOW+4
>> BCHCRIT SHOWP+4*, SHOWP+5
BCHDISP KILLVARS+1!
>> BCHDONE SHOW+2, SHOWP+1, SHOWR+1
>> BCHED ED+3*, ED+4
>> BCHEDD ED+4*, SHOW+4
>> BCHHIGH SCREEN+2, PRINT+3, SORT+6
>> BCHI SHOW+6*, SHOW+8, SHOW+9, SHOWP+4*, SHOWP+5
>> BCHLHDR SHOW+2*
>> BCHPCNT START+9*
>> BCHPTVS START+10*
BCHQ SHOW+9!, SHOW+11!
BCHQUIT START+2!, START+8, ED+6, PRINT+1, ADD+1*
>> BCHREG REG+1*, REG+4*
>> BCHREGN REG+1*, REG+4*
>> BCHRPRCR START+6*, REG+6
>> BCHRPT SCREEN+10, SORT+1, SHOW+5, SHOW+6, SHOW+9, SHOWP+4, SHOWP+5, DEL+1, ADD+2*, ADD+5
>> BCHRPTC START+4, START+5, START+6, SORT+2
>> BCHRPTI START+5*, START+7*
>> BCHRPTP START+5*, PRINT+1*, SORT+1, REG+6
>> BCHRPTPA START+5*, PRINT+1*
>> BCHRPTST START+5*
>> BCHSD ED+4*
BCHSEL KILLVARS+1!
BCHSEL( SORT+9
>> BCHSORT SORT+3*, SORT+7*, SORT+9*
>> BCHSORV SORT+7*, SORT+9*, PAGE+2
BCHSPAG PAGE+1!, PAGE+4*
>> BCHTCW START+9*, PRINT+6, SHOWP+4*, SHOWP+5*, SHOWP+7
>> BCHTRPT SHOWR+3, SHOWR+4
>> BCHXREF START+10*
C SHOW+9*, SHOW+12!
DA REG+2!, DEL+1*!, ADD+1!, ADD+3!
DD ADD+3!
DIADD ADD+1*!, ADD+3!
DIC DEL+1!, ADD+1*!, ADD+3!
DIC(0 ADD+1*
DIK DEL+1*!
DINUM ADD+3!
DIR BD+1!, ED+1!, SCREEN+2!, SCREEN+8!, PRINT+3!, PRINT+9!, SORT+6!, PAGE+2!, REG+2!
DIR("A" BD+1*, ED+1*, SCREEN+2*, SCREEN+8*, PRINT+3*, PRINT+9*, SORT+6*, PAGE+2*, REG+2*
DIR("B" ED+1*, SCREEN+8*, PRINT+9*, PAGE+2*, REG+2*
DIR(0 BD+1*, ED+1*, SCREEN+2*, SCREEN+8*, PRINT+3*, PRINT+9*, SORT+6*, PAGE+2*, REG+2*
>> DIRUT BD+1*, BD+2, ED+1*, ED+2, SCREEN+2*, SCREEN+4, SCREEN+8*, SCREEN+9, PRINT+3*, PRINT+5
, PRINT+10*, PRINT+11, SORT+6*, SORT+8, PAGE+2*, PAGE+3, REG+3
DLAYGO ADD+1*!, ADD+3!
DR ADD+1!, ADD+3!
>> DUOUT BD+1, ED+1, SCREEN+2, SCREEN+8, PRINT+3, PRINT+10, SORT+6, PAGE+2
DUZ ADD+1
DUZ(2 START+3
IOF SHOW+1, SHOW+7, SHOWP+1, SHOWP+6, SHOWR+1
IOSL SHOW+7, SHOWP+6
U START+5, START+6, SORT+2, SORT+9, SHOW+8, SHOWP+4, SHOWP+5, SHOWR+4, ADD+1
X ED+4, SHOW+9*, SHOW+10, ADD+1*, ADD+3!
>> X1 ED+4*
>> X2 ED+4*
>> XBNS REG+6*
>> XBRC REG+6*
>> XBRP REG+6*
>> XBRX REG+6*
Y BD+3, ED+1*, ED+3, ED+4*, SCREEN+3, SCREEN+10, PRINT+4, PRINT+12, SORT+7, SORT+9
, PAGE+4, REG+4, SHOW+9*, ADD+1, ADD+2, ADD+3!
Y(0 REG+4
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