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

Package: Scheduling

Routine: SDCWL


Information

SDCWL ;ALB/MLI - CLINIC WORKLOAD REPORT ; 18 APRIL 88

Source Information

Source file <SDCWL.m>

Call Graph

Call Graph

Call Graph Total: 14

Package Total Call Graph
Scheduling 8 WKL^SDAMQ2  ^SDCWL1  (ADDON,PREV)^SDCWL2  (ERR,LEG,NONE,SET)^SDCWL3  ASK2^SDDIV  CL^SDSCP  DATE^SDUTL  $$OKAE^SDVSIT2  
Registration 3 IN^DGHELP  (CLOSE,ZIS)^DGUTQ  CLINIC^VAUTOMA  
VA FileMan 2 ^%DT  YN^DICN  
Kernel 1 $$FMTE^XLFDT  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Scheduling 2 SDCLINIC WORKLOAD  SDOUTPUT  

Entry Points

Name Comments DBIA/ICR reference
DT
1
2
ADD
RT
3
PN
5
ST
6
Q
SCAN ; -- scan ^SCE for date range

External References

Name Field # of Occurrence
^%DT 6
IN^DGHELP 1+1, RT+2, 3+1
CLOSE^DGUTQ ST
ZIS^DGUTQ ST
YN^DICN ADDPN5
WKL^SDAMQ2 SDCWL+2
^SDCWL1 6+7
ADDON^SDCWL2 SCAN+17
PREV^SDCWL2 6+7
ERR^SDCWL3 6+7
LEG^SDCWL3 6+7
NONE^SDCWL3 6+6
SET^SDCWL3 6+2
ASK2^SDDIV SDCWL+2
CL^SDSCP 2
DATE^SDUTL SDCWL+2
$$OKAE^SDVSIT2 SCAN+14
CLINIC^VAUTOMA DT+3, 1+1
$$FMTE^XLFDT DTDT+1, 6+1

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Formatting: !
  • Prompt: "Totals by (C)LINIC or (S)TOP CODE?: C//"
  • Variable: X
  • Timeout: DTIME
  • Line Location: 1+0
Function Call: WRITE
  • Prompt: !,"Type:",!?10,"'C' for CLINIC totals only, or",!?10,"'S' for STOP CODE and CLINIC totals",!
  • Condition for execution: X["?"
  • Line Location: 1+0
Function Call: WRITE
  • Prompt: X
  • Line Location: 1+0
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: 2+0
Function Call: WRITE
  • Prompt: !,"Enter Stop Code: "
  • Line Location: 2+0
Function Call: WRITE
  • Prompt:
  • Condition for execution: '$D(SDCL) "ALL//" R X:DTIME Q:(X="^")!'$T!(X="")
  • Line Location: 2+0
Function Call: WRITE
  • Prompt: !,"Enter a stop code or return when all stop codes have been entered"
  • Condition for execution: X["?"
  • Line Location: 2+0
Function Call: WRITE
  • Prompt: !,"Do you want to include add/edits"
  • Line Location: ADD+0
Function Call: WRITE
  • Prompt: !,"Answer 'Y'es to see add/edits entered through the ADD/EDIT STOP CODES option or",!,"'N'o to leave them out"
  • Condition for execution: %Y["?"
  • Line Location: ADD+0
Function Call: READ
  • Formatting: !
  • Prompt: "Brief or Expanded Report? E//"
  • Variable: X
  • Timeout: DTIME
  • Line Location: RT+1
Function Call: WRITE
  • Prompt: !,"Enter 'B'rief to see a comparison of data to previous year only",!,"or 'E'xpanded to see patient breakdown by clinic/stop code"
  • Condition for execution: X["?"
  • Line Location: RT+1
Function Call: WRITE
  • Prompt: X
  • Line Location: RT+1
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: 3+0
Function Call: WRITE
  • Prompt: !,"TYPE:",!?10,"'D' for report by individual clinic meeting",!?10,"'S' for report by month"
  • Condition for execution: X["?"
  • Line Location: 3+0
Function Call: WRITE
  • Prompt: X
  • Line Location: 3+0
Function Call: WRITE
  • Prompt: !,"Do you want to see patient names"
  • Line Location: PN+0
Function Call: WRITE
  • Prompt: "ANSWER 'Y'ES OR 'N'O"
  • Condition for execution: %Y["?"
  • Line Location: PN+0
Function Call: WRITE
  • Prompt: !,"Do you want to compare this data to the same period in the previous year"
  • Line Location: 5+0
Function Call: WRITE
  • Prompt: "ANSWER 'Y'ES OR 'N'O"
  • Condition for execution: %Y["?"
  • Line Location: 5+0
Function Call: WRITE
  • Prompt: !!,"Report will cover the period from: ",SDB1," through ",SDE1
  • Line Location: 5+1
Function Call: WRITE
  • Prompt: !,"Comparison will be done against the same period for the previous year"
  • Condition for execution: SDPRE
  • Line Location: 5+1
Function Call: WRITE
  • Prompt: !!
  • Line Location: 5+1
Function Call: WRITE
  • Prompt: !
  • Line Location: Q+0

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(40.7 - [#40.7] SCAN+7
^SC - [#44] 6+2
^SCE - [#409.68] SCAN+6
^SCE("B" SCAN+3, SCAN+5
^TMP($J 6+6, 6+7, Q!

Label References

Name Line Occurrences
1 1+1
3 RT3+1
5 5
6 ST6+5
ADD ADD
DT SDCWL+2
PN PN
Q SDCWL+2, DT+3, 11+1, 2+1, ADDRT+1, 3PN5
ST6+6, 6+7
RT DT+3, 1+1, RT+2
SCAN 6+4
ST RT+2

Naked Globals

Name Field # of Occurrence
^("SC" 6+6, 6+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% 1+1, ADD*, RT+2, 3+1, PN*, 5*, Q!
%DT 6*, Q!
%Y ADDPN5, Q!
BEGDATE Q!
DFN Q!
DGPGM ST*, Q!
DGVAR ST*, Q!
DIV Q!
DTIME 12RT+1, 3
ENDDATE Q!
I 6+2*, Q!
I1 Q!
IO ST
IOP ST!
J Q!
J1 Q!
K Q!
K1 Q!
L Q!
L1 Q!
M Q!
M1 Q!
N Q!
N1 Q!
P Q!
P1 Q!
POP SDCWL+2, ST, Q!
Q Q!
Q1 Q!
R Q!
S Q!
SD1 6*, Q!
SDADD SDCW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+7, SCAN+8, SCAN+9
VAUTC SDCWL+2*, 6+2, Q+1!
VAUTC( 6+2
VAUTD Q+1!
VAUTNI DT+3*, 1+1*, Q+1!
X 1*, 1+1, 2*, 2+1, RT+1*, RT+2, 3*, 3+1, 6*, Q+1!
Y SDCWL+2, DT+3, 1+1, 6+1, Q+1!
Z 1*, RT+1*, 3+1*, Q+1!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All