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

Package: Computerized Public Health Activity Data

Routine: BNIGVL4


Information

BNIGVL4 ; IHS/CMI/LAB - general retrieval select ;

Source Information

Source file <BNIGVL4.m>

Call Graph

Call Graph Total: 8

Package Total Call Graph
Registration 3 EN^VALM  TERM^VALM0  (CLEAR,FULL)^VALM1  
Computerized Public Health Activity Data 2 SHOW^BNIGVLS  DIRQ^BNIGVLS1  
VA Fileman 2 ^DIE  ^DIR  
Kernel 1 DISP^XQORM1  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Computerized Public Health Activity Data 2 BNIGVL  BNIGVL3  

Entry Points

Name Comments DBIA/ICR reference
REMX ;
EN ; -- main entry point for BNIG GENRET SELECT ITEMS
HDRR ;sort header
HDR ; -- header code
HDRP ;print selection header
EXITR ;EP - exit report called from protocol entry
REM ;EP - remove a selected item - called from protocol entry
ADD ;EP - add an item to the selected list - called from a protocol
ADDX ;
Q ;EP - quit selections
INIT ; -- init variables and list array
HELP ; -- help code
SELECTR1 ;
BACK ;go back to listman
EXIT ; -- exit code
SELECTP ;print select - get columns
SELECTS ;select screen items
SELECTR ;sort select
EXPND ; -- expand code
HDRS ;

External References

Name Field # of Occurrence
SHOW^BNIGVLS SELECTS+9
DIRQ^BNIGVLS1 ADD+2
^DIE SELECTR1+3, SELECTR1+8
^DIR ADD+2, ADDX+1, SELECTR+1, SELECTP+3, REM+2, REMX+1, HELP+5
EN^VALM EN+2
TERM^VALM0 BACK+1
CLEAR^VALM1 EN+3
FULL^VALM1 ADD+5, HELP+1
DISP^XQORM1 HELP+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: ADD+2
Function Call: WRITE
  • Prompt: !,"No items selected."
  • Line Location: ADD+3
Function Call: WRITE
  • Prompt: !,"No items selected."
  • Line Location: ADD+4
Function Call: WRITE
  • Prompt: !
  • Line Location: SELECTR+1
Function Call: WRITE
  • Prompt: !,"exiting"
  • Line Location: SELECTR1+1
Function Call: WRITE
  • Prompt: !!,"No sort criteria selected ... will sort by Activity Record date."
  • Line Location: SELECTR1+2
Function Call: WRITE
  • Prompt: !!,"No sub-totalling will be done.",!!
  • Line Location: SELECTR1+4
Function Call: WRITE
  • Prompt: !!?15,"Total Report width (including column margins - 2 spaces): ",BNIGTCW
  • Line Location: SELECTP+9
Function Call: WRITE
  • Prompt: !!,"No items have been selected.",!
  • Line Location: REM+1
Function Call: WRITE
  • Prompt: !,"No items selected."
  • Line Location: REM+3
Function Call: WRITE
  • Prompt: !,"No items selected."
  • Line Location: REM+4
Function Call: WRITE
  • Prompt: !,"Item ",BNIGC," ",$P(^BNIGRI(BNIGCRIT,0),U)," has not been selected.",!
  • Line Location: REM+6
Function Call: READ
  • Timeout: "visits",1:"patients"),",
  • Line Location: HELP+3
Function Call: WRITE
  • Prompt: !,"Enter an S to Select an Item, and R to remove a selected item, Q to Quit",!,"the selection process. To exit the report, enter an E.",!,"Hit a Q to select all ",$S(BNIGPTVS="R":"visits",1:"patients"),", bypassing all screens.",!
  • Line Location: HELP+3
Function Call: WRITE
  • Prompt: !
  • Line Location: HELP+4
Routine Call
  • VALM
  • Line Location:
    • EN+2
Routine Call
  • DIE
  • Line Location:
    • SELECTR1+3
    • SELECTR1+8
Routine Call
  • DIR
  • Line Location:
    • ADD+2
    • ADDX+1
    • SELECTR+1
    • SELECTP+3
    • REM+2
    • REMX+1
    • HELP+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^BNIRTMP - [#90512.88] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BNIGRI - [#90512.87] INIT+2, INIT+5, INIT+6, INIT+7, SELECTS+2, SELECTS+3, SELECTS+5, SELECTS+7, SELECTR1+8, SELECTP+3
, SELECTP+4, REM+6, REM+10
^BNIGRI("C" INIT+2
^BNIRTMP - [#90512.88] SELECTS+3!, SELECTS+5*, SELECTS+6, SELECTP+6*, SELECTP+7*, SELECTP+8*, REM+8!, REM+9!

Label References

Name Line Occurrences
@( HDR+1, ADD+6, SELECTS+5
ADDX ADD+3, ADD+4
BACK ADDX+2, REMX+2, HELP+6
HDR BACK+4
INIT BACK+3
REMX REM+1, REM+3, REM+4
SELECTR ADD+1
SELECTR1 Q+1

Naked Globals

Name Field # of Occurrence
^(0 INIT+2, INIT+5, INIT+6, INIT+7, SELECTP+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BNIGANS SELECTS+1*, SELECTP+1*, REM+5*
>> BNIGC SELECTS+1*, SELECTS+4, SELECTS+6, SELECTP+1*, SELECTP+8, REM+5*, REM+6, REM+7
>> BNIGCNT SELECTS+5*
BNIGCNTL EN+4!, HDR+1, INIT+2, ADD+1, ADD+6, REM+8, REM+9, Q+1
>> BNIGCRIT SELECTS+1*, SELECTS+2, SELECTS+3, SELECTS+5, SELECTS+6, SELECTS+7, SELECTP+1*, SELECTP+3, SELECTP+4, SELECTP+7
, SELECTP+8, REM+5*, REM+6, REM+8, REM+9, REM+10
BNIGCSEL EN+1!, EN+4!, REM+1
BNIGCSEL( INIT+5, INIT+6, INIT+7, SELECTS+6*, SELECTP+8*, REM+6, REM+7!
>> BNIGCTYP SELECTR+1, SELECTR1+2, SELECTR1+4, SELECTR1+5*, SELECTP+2, SELECTP+5, SELECTP+9
BNIGCUT EN+4!, INIT+3*, INIT+6, INIT+7
BNIGDISP EN+4!, INIT+1!, INIT+8!, EXIT+1!
BNIGDISP( INIT+4, INIT+5*, INIT+6*, INIT+7*
>> BNIGDTR SELECTS+7*
BNIGHIGH EN+4!, INIT+1!, INIT+2*, INIT+3, ADD+2, SELECTR+1
>> BNIGI SELECTS+1*, SELECTP+1*, REM+5*
BNIGLIST EN+4!, INIT+1!
BNIGLIST( INIT+5*, INIT+6*, INIT+7*
BNIGLIST("IDX" INIT+5*
>> BNIGPCNT SELECTP+1*, SELECTP+8
>> BNIGPTVS INIT+2, HELP+3
>> BNIGQUIT SELECTR1+1*, EXITR+1*
>> BNIGRPT SELECTS+3, SELECTS+5, SELECTS+6, SELECTR1+3, SELECTR1+8, SELECTP+6, SELECTP+7, SELECTP+8, REM+8, REM+9
BNIGSEL EN+4!, INIT+1!
BNIGSEL( INIT+2*, INIT+4, INIT+5, INIT+6, INIT+7, SELECTS+1, SELECTR1+8, SELECTP+1, REM+5
>> BNIGSORT SELECTR1+2*, SELECTR1+3, SELECTR1+7*, SELECTR1+8*
>> BNIGSORV SELECTR1+2*, SELECTR1+7*, SELECTR1+8*
>> BNIGTCW SELECTP+7*, SELECTP+8*, SELECTP+9
>> BNIGTEXT SELECTS+2*, SELECTS+4
>> BNIGVAR SELECTS+3*
C EN+4!, INIT+4*, INIT+5*, INIT+6, INIT+7, INIT+9
DA ADDX+1!, SELECTR1+3*!, SELECTR1+8*!, REM+2!, REMX+1!, HELP+5!
DIE SELECTR1+3*!, SELECTR1+8*!
DIR ADD+2!, ADDX+1!, SELECTR+1!, SELECTP+3!, REM+2!, REMX+1!, HELP+5!, BACK+5!
DIR("A" ADD+2*, ADDX+1*, SELECTR+1*, SELECTP+3*, REM+2*, REMX+1*, HELP+5*
DIR("B" SELECTP+3*
DIR(0 ADD+2*, ADDX+1*, SELECTR+1*, SELECTP+3*, REM+2*, REMX+1*, HELP+5*
>> DIRUT ADD+2*, ADD+4, SELECTP+3*, SELECTP+4, REM+2*, REM+4
DIU SELECTR1+3!, SELECTR1+8!
DIV SELECTR1+3!, SELECTR1+8!
DIW SELECTR1+3!, SELECTR1+8!
DIY SELECTR1+3!, SELECTR1+8!
DR SELECTR1+3*!, SELECTR1+8*!
>> DUOUT ADD+2, SELECTR1+1, SELECTP+3, REM+2
I EN+4!, INIT+4*, INIT+5, INIT+6, BACK+6!
IOF ADD+5, HELP+2
>> IORVOFF HDRS+1, HDRP+1, HDRR+2
>> IORVON HDRS+1, HDRP+1, HDRR+2
J EN+4!, INIT+4*, INIT+6*, INIT+7
K EN+4!, INIT+4*, INIT+7*
U INIT+2, INIT+5, INIT+6, INIT+7, SELECTS+2, SELECTS+3, SELECTS+5, SELECTS+7, SELECTR1+8, SELECTP+3
, SELECTP+4, SELECTP+7, SELECTP+8, REM+6, REM+10
>> VALMBCK BACK+2*
VALMCC EXIT+2!
VALMCNT EN+5!, INIT+9*
VALMHDR EN+5!, EXIT+2!
VALMHDR(1 HDRS+1*, HDRP+1*, HDRR+1*
VALMHDR(2 HDRS+2*, HDRP+2*, HDRR+2*
VALMHDR(3 HDRS+3*, HDRP+3*, HDRR+3*
VALMHDR(4 HDRS+4*, HDRP+4*, HDRR+4*
X EN+4!, INIT+2*, SELECTP+7*, REM+9*, HELP+4*, BACK+6!
Y INIT+2*, ADD+3, SELECTS+1, SELECTR1+2, SELECTR1+4, SELECTR1+8, SELECTP+1, SELECTP+4*, SELECTP+5*, SELECTP+7
, SELECTP+8, REM+3, REM+5, Q+1*, BACK+6!
Z BACK+6!
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