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 |  Local Variables |  All
Print Page as PDF
Routine: BSDWKR4

Package: IHS Changes To Scheduling

Routine: BSDWKR4


Information

BSDWKR4 ; IHS/ANMC/LJF - WORKLOAD SCHED VS SEEN ; [ 11/01/2004 3:05 PM ]

Source Information

Source file <BSDWKR4.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
Kernel 4 ^%ZISC  ($$FMDIFF,$$FMTE)^XLFDT  $$REPEAT^XLFSTR  DISP^XQORM1  
Registration 3 EN^VALM  TERM^VALM0  CLEAR^VALM1  
IHS Changes To ADT 1 ($$BROWSE,$$RANGE,$$READ,ZIS)^BDGF  
IHS Changes To Scheduling 1 ($$PRIN,$$PRV,$$TEAM,CLINIC,PCASK)^BSDU  
IHS VA Utilities 1 ($$VAL,$$VALI)^XBDIQ1  
VA Fileman 1 $$GET1^DIQ  

Entry Points

Name Comments DBIA/ICR reference
EN ; -- main entry point for BSDRM WORK STATS
HDR ; -- header code
PAD(D,L) ;EP -- SUBRTN to pad length of data
; -- D=data L=length
SUB22(X) ; returns 2nd value of 2nd subcategory
SUB2(D,P) ; -- returns value of 2nd sort if asked for
TYPE(C,D,N,P,S) ; -- return type of appt.
; returns column #: 1=sched, 2=overbook, 3=canceld, 4=no-show, 5=walkin
PRINT ; print report to paper
EXPND ; -- expand code
INCR(SUB,TYPE,NAME,SUB2,APPT) ; increment totals
HDG ; heading for paper report
START ;EP; -- re-entry for printing to paper
INIT ; -- init variables and list array
EXIT ; -- exit code
SET(LINE,NUM) ; -- sets display line into array
BLDLINE(I,NUM,LINE) ; build columns in display line
; Array BSDA killed by calling code
ASK ; -- ask user questions
SUB21(X) ; returns external category
SP(N) ; -- SUBRTN to pad N number of spaces
SUB1(C,N) ; -- return name of subcategory for clinic C
HELP ; -- help code

External References

Name Field # of Occurrence
^%ZISC PRINT+5
$$BROWSE^BDGF ASK+19
$$RANGE^BDGF HDR+1
$$READ^BDGF ASK+3, ASK+10, ASK+11, ASK+14, ASK+16
ZIS^BDGF ASK+20
$$PRIN^BSDU SUB1+1
$$PRV^BSDU SUB1+2
$$TEAM^BSDU SUB1+3
CLINIC^BSDU ASK+7
PCASK^BSDU ASK+8
$$GET1^DIQ INIT+12, SUB2+3, SUB2+4
EN^VALM EN+2
TERM^VALM0 EN+1
CLEAR^VALM1 EN+1, EN+3
$$VAL^XBDIQ1 INIT+23
$$VALI^XBDIQ1 TYPE+5
$$FMDIFF^XLFDT SUB2+3
$$FMTE^XLFDT INIT+69
$$REPEAT^XLFSTR HDG+3, HDG+6, PAD+2
DISP^XQORM1 HELP+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!
  • Line Location: HELP+1
Function Call: WRITE
  • Prompt: !,^TMP("BSDWKR4",$J,X,0)
  • Line Location: PRINT+4
Function Call: WRITE
  • Prompt: @IOF,?30,"Scheduled vs. Actual Appointments"
  • Line Location: HDG+1
Function Call: WRITE
  • Prompt: !,VALMHDR(I)
  • Line Location: HDG+2
Function Call: WRITE
  • Prompt: !,$$REPEAT^XLFSTR("-",80)
  • Line Location: HDG+3
Function Call: WRITE
  • Prompt: !,"Category Names",?28,"SCHED + OVERBK - CANCEL = EXPECTED"
  • Line Location: HDG+4
Function Call: WRITE
  • Prompt: ?51,"- NOSHOW + WALKIN = TOTAL SEEN"
  • Line Location: HDG+5
Function Call: WRITE
  • Prompt: !,$$REPEAT^XLFSTR("=",80)
  • Line Location: HDG+6
Routine Call
  • VALM
  • Line Location:
    • EN+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ
^SC - [#44] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SC - [#44] INIT+17, INIT+21, INIT+22, TYPE+4
^SC("AIHSPC" INIT+11
^TMP("BSD" INIT+1!, INIT+35, INIT+39, INIT+46, INIT+51, INIT+54, INIT+62, INIT+66, INIT+67, INIT+70
, INIT+75, INIT+78!, INCR+2*, INCR+3*, INCR+4*, INCR+5*, INCR+6*, INCR+7*, INCR+8*, INCR+9*
, INCR+10*, INCR+11*, INCR+12*
^TMP("BSDWKR4" INIT+1!, SET+2*, EXIT+1!, PRINT+2, PRINT+4

Label References

Name Line Occurrences
$$PAD INIT+37, INIT+45, INIT+53, INIT+61, INIT+69, INIT+74, BLDLINE+5, SP+1
$$SP HDR+1, HDR+2, INIT+53, INIT+61, INIT+69, BLDLINE+3, BLDLINE+4
$$SUB1 INIT+13
$$SUB2 INIT+27
$$SUB21 INIT+43, INIT+59
$$SUB22 INIT+43, INIT+59
$$TYPE INIT+26
BLDLINE INIT+39, INIT+46, INIT+54, INIT+62, INIT+70, INIT+75
EN ASK+19
EXIT PRINT+5
HDG PRINT+1, PRINT+3
HDR HDG+1
INCR INIT+30, INCR+13
INIT START+1
PRINT START+1
SET INIT+40, INIT+47, INIT+48, INIT+55, INIT+63, INIT+71, INIT+72, INIT+76

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APPN INIT+5~, INIT+20*, INIT+21*, INIT+22, INIT+26
APPT INIT+5~, INIT+16*, INIT+17*, INIT+21, INIT+22, INIT+23, INIT+26, INIT+27, INIT+30, INCR~
, INCR+1, INCR+13
BSDA INIT+34~, INIT+39!, INIT+46!, INIT+54!, INIT+62!, INIT+70!, INIT+75!
BSDA( BLDLINE+2*
BSDA(1 BLDLINE+4, BLDLINE+5
BSDA(2 BLDLINE+4, BLDLINE+5
BSDA(3 BLDLINE+4, BLDLINE+5
BSDA(4 BLDLINE+5
BSDA(5 BLDLINE+5
BSDAR INIT+2~*, INIT+6
BSDBD ASK+1~, ASK+10*, HDR+1, INIT+16
BSDDET ASK+1~, ASK+14*, INCR+11, INCR+12
BSDED ASK+1~, ASK+11*, HDR+1, INIT+16
BSDI INIT+34~, INIT+43*, INIT+44, INIT+59*, INIT+60
BSDJ INIT+34~, INIT+43*, INIT+44, INIT+59*, INIT+60
>> BSDQ ASK+7, ASK+8
BSDSEEN ASK+1~
BSDSRT ASK+1~, ASK+16*, ASK+17*, INIT+42, INIT+43, INIT+58, INIT+59, SUB2+1, SUB2+2, SUB2+3
, SUB2+4
BSDSUB ASK+1~, ASK+3*, ASK+4, ASK+7, ASK+8, SUB1+1, SUB1+2, SUB1+3
BSDTT ASK+1~
C SUB1~, TYPE~, TYPE+4
CLN INIT+5~, INIT+6*, INIT+11, INIT+12, INIT+13, INIT+17, INIT+21, INIT+22, INIT+26, SUB1+1
, SUB1+2, SUB1+3
D SUB2~, SUB2+2, SUB2+3, TYPE~, TYPE+4, TYPE+5, PAD~, PAD+2
DATE INCR+1~*, INCR+11, INCR+12
END INIT+5~, INIT+16*, INIT+17
I INIT+34~, INIT+39*, INIT+46*, INIT+54*, INIT+62*, INIT+70*, INIT+75*, BLDLINE~, BLDLINE+2, BLDLINE+4
, BLDLINE+5, HDG+2*
IO PRINT+1
IOF HDG+1
IOSL PRINT+3
J INIT+34~, INIT+44*, INIT+45, INIT+46, INIT+60*, INIT+61, INIT+62
L PAD~, PAD+2
LINE INIT+34~, INIT+37*, INIT+39, INIT+40, INIT+45*, INIT+46, INIT+47, INIT+53*, INIT+54, INIT+55
, INIT+61*, INIT+62, INIT+63, INIT+69*, INIT+70, INIT+71, INIT+74*, INIT+75, INIT+76, BLDLINE~
, BLDLINE+3*, BLDLINE+4*, BLDLINE+5*, SET~, SET+2
N SUB1~, SUB1+4, TYPE~, TYPE+4, SP~, SP+1
NAME INIT+5~, INIT+12*, INIT+13, INIT+30, INCR~, INCR+5, INCR+6, INCR+9, INCR+10, INCR+11
, INCR+12, INCR+13
NUM BLDLINE~, BLDLINE+2, BLDLINE+3, SET~, SET+1*, SET+2
P SUB2~, SUB2+3, SUB2+4, TYPE~, TYPE+5
PAT INIT+5~, INIT+22*, INIT+23, INIT+26, INIT+27
POP ASK+1~
S TYPE~, TYPE+2, TYPE+3
S1 INIT+34~, INIT+35*, INIT+37, INIT+39, INIT+46, INIT+51, INIT+52, INIT+54, INIT+62, INIT+66
, INIT+67, INIT+70
S2 INIT+34~, INIT+51*, INIT+52, INIT+53, INIT+54, INIT+62, INIT+66, INIT+67, INIT+70
S3 INIT+34~, INIT+66*, INIT+67, INIT+68, INIT+70
S4 INIT+34~, INIT+67*, INIT+69, INIT+70
STATUS INIT+5~, INIT+23*, INIT+24, INIT+26
SUB INIT+5~, INIT+13*, INIT+30, INCR~, INCR+2, INCR+4, INCR+5, INCR+6, INCR+7, INCR+8
, INCR+9, INCR+10, INCR+11, INCR+12, INCR+13
SUB2 INIT+5~, INIT+27*, INIT+30, INCR~, INCR+7, INCR+8, INCR+9, INCR+10, INCR+11, INCR+12
, INCR+13
TYPE INIT+5~, INIT+26*, INIT+30, INCR~, INCR+3, INCR+4, INCR+6, INCR+8, INCR+10, INCR+12
, INCR+13
U ASK+4, ASK+14, ASK+17, SUB1+2, SUB1+3
VALMCNT EN+1~, INIT+1*, INIT+40, INIT+47, INIT+48, INIT+55, INIT+63, INIT+71, INIT+72, INIT+76
>> VALMHDR( HDG+2
>> VALMHDR(1 HDR+1*
>> VALMHDR(2 HDR+2*
VAUTC ASK+1~, INIT+2
VAUTD ASK+1~
X INIT+34~, INIT+68*, INIT+69, SUB2+2~*, SUB2+3~*, SUB21~, SUB21+1, SUB22~, SUB22+1, TYPE+5~*
, HELP+1*, PRINT+2~*, PRINT+4
Y ASK+1~, ASK+19*, SUB2+3~*
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All