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

Package: Patient Care Component Reports

Routine: APCLVL6


Information

APCLVL6 ; IHS/CMI/LAB - NO DESCRIPTION PROVIDED 25-JUN-1996 ;

Source Information

Source file <APCLVL6.m>

Call Graph

Call Graph Total: 8

Package Total Call Graph
Registration 3 EN^VALM  TERM^VALM0  (CLEAR,FULL)^VALM1  
Patient Care Component Reports 2 SHOW^APCLVLS  DIRQ^APCLVLS1  
VA Fileman 2 ^DIE  ^DIR  
Kernel 1 DISP^XQORM1  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Patient Care Component Reports 1 APCLVL5  

Entry Points

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

External References

Name Field # of Occurrence
SHOW^APCLVLS SELECTS+9
DIRQ^APCLVLS1 ADD+2
^DIE SELECTR1+11
^DIR ADD+2, ADDX+1, SELECTR+1, SELECTP+3, SELECTP+16, 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: !,^APCLVSTS(APCLCRIT,11,X,0)
  • Line Location: SELECTST+1
Function Call: WRITE
  • Prompt: !
  • Line Location: SELECTST+2
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 "_$S(APCLPTVS="P":"Patient Name",1:"Visit Date")_"."
  • Line Location: SELECTR1+3
Function Call: WRITE
  • Prompt: !!,"No sub-totalling will be done.",!!
  • Line Location: SELECTR1+6
Function Call: WRITE
  • Prompt: !!?15,"Total Report width (including column margins - 2 spaces): ",APCLTCW
  • Line Location: SELECTP+10
Function Call: WRITE
  • Prompt: !!,"No items have been selected.",!
  • Line Location: REM+1
Function Call: WRITE
  • Prompt: !,"No items selected."
  • Line Location: REM+4
Function Call: WRITE
  • Prompt: !,"No items selected."
  • Line Location: REM+5
Function Call: WRITE
  • Prompt: !,APCLC," is not a valid choice"
  • Line Location: REM+7
Function Call: WRITE
  • Prompt: !,"Item ",APCLC," ",$P(^APCLVSTS(APCLCRIT,0),U)," has not been selected.",!
  • Line Location: REM+9
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(APCLPTVS="V":"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+11
Routine Call
  • DIR
  • Line Location:
    • ADD+2
    • ADDX+1
    • SELECTR+1
    • SELECTP+3
    • SELECTP+16
    • REM+2
    • REMX+1
    • HELP+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^APCLVRPT - [#9001003.8] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^APCLVRPT - [#9001003.8] SELECTS+3!, SELECTS+6*, SELECTS+7, SELECTP+6*, SELECTP+7*, SELECTP+9*, SELECTP+12, SELECTP+18*, REM+11!, REM+12!
^APCLVSTS - [#9001003.7] INIT+3, SELECTS+2, SELECTS+3, SELECTS+5, SELECTS+6, SELECTST+1, SELECTR1+11, SELECTP+3, SELECTP+4, SELECTP+13
, SELECTP+15, REM+9, REM+13, T+2, T+3

Label References

Name Line Occurrences
$$T INIT+6, INIT+7, INIT+8
@( HDR+2, ADD+6, SELECTS+6
ADDX ADD+3, ADD+4
BACK ADDX+2, REMX+2, HELP+6
HDR BACK+4
INIT BACK+3
REMX REM+1, REM+4, REM+5
SELECTR ADD+1
SELECTST SELECTS+5

Naked Globals

Name Field # of Occurrence
^(0 INIT+3, SELECTP+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> APCLANS SELECTS+1*, SELECTP+1*, REM+6*
>> APCLANSW SELECTR1+2*, SELECTR1+3
>> APCLC SELECTS+1*, SELECTS+4, SELECTP+1*, REM+6*, REM+7, REM+8, REM+9
>> APCLCNT SELECTS+6*
>> APCLCNTL HDR+1, HDR+2, INIT+3, INIT+6, INIT+7, INIT+8, ADD+1, ADD+6, REM+11, REM+12
>> APCLCRIT SELECTS+1*, SELECTS+2, SELECTS+3, SELECTS+5, SELECTS+6, SELECTS+7, SELECTST+1, SELECTP+1*, SELECTP+3, SELECTP+4
, SELECTP+7, SELECTP+9, SELECTP+12, SELECTP+13, SELECTP+15, REM+8*, REM+9, REM+10, REM+11, REM+12
, REM+13
>> APCLCSEL REM+1
>> APCLCSEL( INIT+6, INIT+7, INIT+8, SELECTS+7*, SELECTP+9*, REM+9, REM+10!
>> APCLCSEL("GRP" SELECTS+7*, SELECTP+9*, REM+10!
>> APCLCTYP SELECTR+1, SELECTP+2, SELECTP+5, SELECTP+10
>> APCLCUT INIT+4*, INIT+7, INIT+8
APCLDISP INIT+1!, INIT+9!, EXIT+1!
APCLDISP( INIT+5, INIT+6*, INIT+7*, INIT+8*
>> APCLGIEN INIT+3, SELECTS+7, SELECTP+9, REM+10
APCLHIGH INIT+1!, INIT+3*, INIT+4, ADD+2, SELECTR+1
>> APCLI SELECTS+1*, SELECTP+1*, REM+6*
APCLLIST INIT+1!
APCLLIST( INIT+6*, INIT+7*, INIT+8*
APCLLIST("IDX" INIT+6*
>> APCLPCNT SELECTP+1*, SELECTP+9, SELECTP+18
>> APCLPTVS HDRS+1, HDRS+2, HDRS+4, HDRR+3, HDRR+4, INIT+3, ADD+2, SELECTR+1, HELP+3
>> APCLQUIT SELECTR1+1*, EXITR+1*
>> APCLRPT SELECTS+3, SELECTS+6, SELECTS+7, SELECTR1+11, SELECTP+6, SELECTP+7, SELECTP+9, SELECTP+12, SELECTP+18, REM+11
, REM+12
APCLSEL INIT+1!
APCLSEL( INIT+3*, INIT+5, INIT+6, INIT+7, INIT+8, SELECTS+1, SELECTR1+11, SELECTP+1, REM+7, REM+8
, T+2, T+3
>> APCLSORG SELECTR1+11*
>> APCLSORT SELECTR1+11*
>> APCLSORV SELECTR1+11*
>> APCLTCW SELECTP+7*, SELECTP+9*, SELECTP+10
>> APCLTEXT SELECTS+2*, SELECTS+4
>> APCLVAR SELECTS+3*
>> APCLXREF INIT+2*, INIT+3
>> APCLZZ INIT+6*, INIT+7*, INIT+8*
>> C INIT+5*, INIT+6*, INIT+7, INIT+8, INIT+10
DA ADDX+1!, SELECTR1+11*!, SELECTP+16!, REM+2!, REMX+1!, HELP+5!
DIE SELECTR1+11*!
DIR ADD+2!, ADDX+1!, SELECTR+1!, SELECTP+3!, SELECTP+16!, REM+2!, REMX+1!, HELP+5!, BACK+5!
DIR("A" ADD+2*, ADDX+1*, SELECTR+1*, SELECTP+3*, SELECTP+16*, REM+2*, REMX+1*, HELP+5*
DIR("B" SELECTP+3*, SELECTP+16*
DIR(0 ADD+2*, ADDX+1*, SELECTR+1*, SELECTP+3*, SELECTP+16*, REM+2*, REMX+1*, HELP+5*
>> DIRUT ADD+2*, ADD+4, SELECTP+3*, SELECTP+4, SELECTP+17, REM+2*, REM+5
DIU SELECTR1+11!
DIV SELECTR1+11!
DIW SELECTR1+11!
DIY SELECTR1+11!
DR SELECTR1+11*!
>> DUOUT ADD+2, SELECTR1+1, SELECTP+3, REM+2
I INIT+5*, INIT+6, INIT+7, BACK+6!
IOF ADD+5, HELP+2
>> IORVOFF HDRS+1, HDRP+1, HDRR+2
>> IORVON HDRS+1, HDRP+1, HDRR+2
>> J INIT+5*, INIT+7*, INIT+8
>> K INIT+5*, INIT+8*
T T+1~, T+2*, T+3*, T+4
U INIT+3, SELECTS+2, SELECTS+3, SELECTS+6, SELECTR1+11, SELECTP+3, SELECTP+4, SELECTP+7, SELECTP+9, SELECTP+13
, SELECTP+15, SELECTP+18, REM+9, REM+13, T+2, T+3
>> VALMBCK BACK+2*
VALMCC EXIT+2!
VALMCNT EN+5!, INIT+10*
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 INIT+3*, SELECTST+1~*, SELECTP+7*, REM+12*, HELP+4*, BACK+6!
Y INIT+3*, ADD+3, SELECTS+1, SELECTR1+2, SELECTR1+11, SELECTP+1, SELECTP+4*, SELECTP+5*, SELECTP+7, SELECTP+9
, SELECTP+17*, SELECTP+18, REM+4, REM+6, T~, T+3, BACK+6!
Z T~, T+2, T+3, 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