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

Package: Scheduling

Routine: SDAMOC


Information

SDAMOC ;IOFIO - BAY PINES/TEH - Statistical Report for Cancelled Appointments;4/15/92

Source Information

Source file <SDAMOC.m>

Call Graph

Call Graph

Call Graph Total: 15

Package Total Call Graph
Scheduling 7 ($$CLINIC,$$DIV,$$LINE)^SDAMO  (BLD1,START)^SDAMOC  $$DISP^SDAMOC0  (,$$LINE)^SDAMOCC  BLD^SDAMOCP  BLD^SDAMOCP1  ($$CLINIC,$$DIV)^SDAMU  
Kernel 3 (,HOME)^%ZIS  ^%ZISC  ^%ZTLOAD  
VA FileMan 3 NOW^%DTC  WAIT^DICD  ^DIR  
List Manager 1 ($$FDATE,$$FDTTM)^VALM1  
Registration 1 FIRST^VAUTOMA  

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 SDAMOC  SDAMOCC  

Entry Points

Name Comments DBIA/ICR reference
STATS ;
STATS1 ;
STATSQ ;
START ;
EN ; build ^TMP global
ENQ
BLD1 ;
CLINIC ;all clinic or specific clinic
PATIENT ;loop through appointments - find status of appt.
SET ;Set in ^TMP("SDAMC",$J,Division,Clinic Name,Clinic)
SETQ
GETCLN
GETSC
NOREP ;report if no data in TMP global
OPTION(CHECK) ;
QUE ;
STOP() ;
COMPL() ;
COMPLQ

External References

Name Field # of Occurrence
NOW^%DTC NOREP+3
^%ZIS STATS1+4
HOME^%ZIS QUE+4
^%ZISC STATSQ+1
^%ZTLOAD QUE+3
WAIT^DICD STATS1+6
^DIR OPTION+5, COMPL+3
$$CLINIC^SDAMO GETCLN
$$DIV^SDAMO STATS+5
$$LINE^SDAMO STOP+1
BLD1^SDAMOC EN+1, EN+2
START^SDAMOC STATS1+7
$$DISP^SDAMOC0 COMPL+1
^SDAMOCC STATS1+1
$$LINE^SDAMOCC STATS1+2
BLD^SDAMOCP START+6
BLD^SDAMOCP1 START+7
$$CLINIC^SDAMU CLINIC+4, CLINIC+7
$$DIV^SDAMU CLINIC+8, CLINIC+11, SET+2
$$FDATE^VALM1 NOREP+2
$$FDTTM^VALM1 NOREP+3
FIRST^VAUTOMA STOP+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,$$LINE^SDAMOCC("Device Selection")
  • Line Location: STATS1+2
Function Call: WRITE
  • Prompt: !!,"This output requires 132 columns.",!!
  • Line Location: STATS1+3
Function Call: WRITE
  • Prompt: !
  • Line Location: STATS1+6
Function Call: WRITE
  • Prompt: !!,?29,"Cancelled Clinic Report"
  • Line Location: NOREP+1
Function Call: WRITE
  • Prompt: !,?20,"Date Range ",$$FDATE^VALM1(SDBEG)_" to "_$$FDATE^VALM1(SDEND)
  • Line Location: NOREP+2
Function Call: WRITE
  • Prompt: !,?20,"Run Date: ",$E($$FDTTM^VALM1(%),1,14),?50,"Page: 1"
  • Line Location: NOREP+3
Function Call: WRITE
  • Prompt: !,SDASH
  • Line Location: NOREP+4
Function Call: WRITE
  • Prompt: !!?20,"No data found matching sort parameters"
  • Line Location: NOREP+5
Function Call: WRITE
  • Prompt: !!,$$LINE^SDAMO("Stop Code Selection")
  • Line Location: STOP+1
Routine Call
  • DIR
  • Line Location:
    • OPTION+5
    • COMPL+3
Routine Call
  • %ZIS
  • Line Location:
    • STATS1+4
Routine Call
  • %ZIS
  • Line Location:
    • QUE+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(40.7 - [#40.7] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(2.98 START+3
^DPT - [#2] SET+3
^DPT("ASDCN" PATIENT+3, PATIENT+4
^SC - [#44] CLINIC+4, CLINIC+7, CLINIC+8, CLINIC+11
^TMP("SDAMC" STATS+1!, START+2!, START+5, SET+7*
^TMP("SDAMCD" STATS+1!, SET+8*
^TMP("SDAMS" STATSQ+3!

Label References

Name Line Occurrences
$$COMPL STATS1+1
$$OPTION STATS+4
$$STOP GETSC
@( STATS+7
CLINIC BLD1+1, BLD1+2
COMPLQ COMPL+1
EN START+4
NOREP START+5
PATIENT CLINIC+4, CLINIC+8, CLINIC+11
QUE STATS1+5
SET PATIENT+4
SETQ SET+3, SET+4, SET+5
STATS1 STATS+6
STATSQ STATS+5, STATS+7, STATS1+4, STATS1+5, START+5, START+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% STATS+2~, NOREP+3
%ZIS STATS+2~, STATS1+4*
BLD STATSQ+3!
CHECK OPTION~
DIC STATSQ+3!, STOP+2*
DIR OPTION+5!, COMPL+3!
DIR("?" OPTION+4*, COMPL+2*
DIR("A" OPTION+4*, COMPL+2*
DIR("B" OPTION+4*, COMPL+2*
DIR(0 OPTION+4*, COMPL+2*
DIROUT STATSQ+3!
DTOUT STATSQ+3!, COMPL+3
DUOUT STATSQ+3!
FMT STATS+4*, STATSQ+3!, START+6, START+7, EN+1, EN+2
IO START+1
IO("Q" STATS1+5, QUE+4!
IOM START+3
OPT STATS+7*, STATSQ+6!
POP STATS+2~, STATS1+4
SCTOT STATSQ+3!
SDAMDD STATSQ+2!, START+3*
SDAPPT STATSQ+2!
SDASH STATSQ+2!, STATSQ+4!, START+3*, NOREP+4
SDAT STATSQ+2!, STATSQ+4!
SDATA STATSQ+2!, SET+3*, SET+4, SET+8
SDBEG STATSQ+3!, STATSQ+4!, PATIENT+2, NOREP+2
SDCI STATSQ+4!
SDCL STATSQ+2!, STATSQ+4!
SDCLC STATSQ+2!, CLINIC+4*, CLINIC+8*, CLINIC+11*
SDCLI STATSQ+2!
SDCLIN STATSQ+2!, CLINIC+4*, CLINIC+7*, CLINIC+8, CLINIC+11*, PATIENT+3, PATIENT+4, SET+2, SET+7, SET+8
SDCOL STATSQ+2!
SDCTYP PATIENT+2~, SET+4*, SET+5, SET+6*, SET+7
SDDATE STATSQ+2!, PATIENT+2*, PATIENT+3*, PATIENT+4, SET+3, SET+8
SDDFN STATSQ+4!, STATSQ+6!, PATIENT+4*, SET+3, SET+8
SDDIV STATSQ+2!, BLD1+1*, BLD1+2*, CLINIC+6, CLINIC+8, CLINIC+11
SDDV STATSQ+2!, STATSQ+4!, BLD1+2*, SET+2*, SET+7, SET+8
SDDVNM STATSQ+4!
SDEND STATSQ+3!, STATSQ+4!, PATIENT+3, NOREP+2
SDFIN STATS+3*, STATS+7, STATSQ+3!, STATSQ+6!, GETCLN*, GETSC*
SDFLG STATSQ+2!, STATSQ+4!
SDI STATSQ+2!
SDLEN STATSQ+2!, START+3*, CLINIC+8, CLINIC+11, SET+2
SDNAME STATSQ+6!, CLINIC+8, CLINIC+11, SET+2
SDNXT STATSQ+2!, STATSQ+4!
SDPAGE STATSQ+2!, STATSQ+5!, START+3*
SDPAT STATSQ+2!
SDRUN STATSQ+3!
SDSEL STATS+3, STATS+6, STATS+7, STATSQ+3!
SDSORT STATS+3*, STATSQ+3!
SDSTAT STATSQ+2!
SDSTOP STATSQ+2!, STATSQ+5!
SDTAB STATSQ+5!
SDTDASH STATSQ+2!, STATSQ+5!, START+3*
SDTOTT STATSQ+5!
SDY STATSQ+5!
U START+3, SET+4
VAUTC STATS+6*, STATSQ+3!, CLINIC+3, CLINIC+6, CLINIC+10, STOP+4!, STOP+5
VAUTC( CLINIC+11
VAUTD STATSQ+3!, BLD1+1, CLINIC+3, CLINIC+8, CLINIC+11, SET+2
VAUTD( BLD1+2
VAUTNI STATSQ+3!, STOP+2*
VAUTSTR STATSQ+3!, STOP+2*
VAUTVB STATSQ+3!, STOP+2*
X STATSQ+6!, OPTION+1*, OPTION+2*, OPTION+3*, OPTION+4, QUE+2*
Y STATSQ+5!, STATSQ+6!, OPTION+6, STOP+4, COMPL+1*, COMPL+3*, COMPLQ
ZTDESC QUE+1*, QUE+4!
ZTQUEUED STATSQ+1, QUE+4!
ZTRTN QUE+1*, QUE+4!
ZTSAVE STATS+2~
ZTSAVE( QUE+2*
ZTSK QUE+3, QUE+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 |  Local Variables  | All