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

Package: Scheduling

Routine: SDAMOS1


Information

SDAMOS1 ;ALB/SCK - AM MGT REPORTS STATISTICS OUTPUT ; 5/14/93

Source Information

Source file <SDAMOS1.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
VA Fileman 2 NOW^%DTC  ^DIR  
Registration 1 ($$FDATE,$$FDTTM)^VALM1  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Scheduling 1 SDAMOS  

Entry Points

Name Comments DBIA/ICR reference
PAUSE ;
PAUSEQ
HDRQ
TDIVQ
NOREP ; report if no data in TMP global
TOTALS ; total of actions by stopcode for division
; tc = check out total for division
; ta = action required tot for div.
; ti = in-pat tot for div.
TDIV ; final totals by division for med center
; reuse tc for check out total by med ctr
; ta for action req tot
; ti for in-pat tot
; tcd = check out totals by div
; tad = action req totals by div
; tip = in-pat totals by div
HDR(SDIV) ; page header
STCNT(STAT,COUNT) ; increment action count for stopcode
; sdar = action req by stop code
; sdco = checked out by stop code
; sdip = in-pat by stop code
BLD ; build report from data stored in TMP global
BLDQ
SUBTOT(SDCODE) ; totals by stopcode
; tcocnt = checked out total by division (per page)
; tarcnt = action req tot by div/page
; tipcnt = In-pat tot by div/page
SUBTOTQ

External References

Name Field # of Occurrence
NOW^%DTC HDR+7, TDIV+13, NOREP+3
^DIR PAUSE+3
$$FDATE^VALM1 HDR+6, TDIV+12, NOREP+2
$$FDTTM^VALM1 HDR+7, TDIV+13, NOREP+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,SDCODE,?34,SDCO,?53,SDAR,?64,SDIP,?77,SDCO+SDAR+SDIP
  • Line Location: SUBTOT+10
Function Call: WRITE
  • Prompt: !,SDTDASH,!,"TOTAL",?34,TCOCNT,?53,TARCNT,?64,TIPCNT,?77,TCOCNT+TARCNT+TIPCNT
  • Line Location: TOTALS+6
Function Call: WRITE
  • Prompt: !!,"Statistics Report by Stop Code"
  • Line Location: HDR+5
Function Call: WRITE
  • Prompt: !,"Division: ",SDIV,?40,"Date Range ",$$FDATE^VALM1(SDBEG)_" to "_$$FDATE^VALM1(SDEND)
  • Line Location: HDR+6
Function Call: WRITE
  • Prompt: ?95,"Run Date: ",$E($$FDTTM^VALM1(%),1,14),?125,"Page: ",PAGE
  • Line Location: HDR+7
Function Call: WRITE
  • Prompt: !," Stop Code",?25,"Checked-Out",?40,"Action Required",?58,"Inpatient",?75,"Total",!,SDASH
  • Line Location: HDR+8
Function Call: WRITE
  • Prompt: !!,"Statistics Report Totals by Division"
  • Line Location: TDIV+11
Function Call: WRITE
  • Prompt: !,"MEDICAL CENTER",?40,"Date Range ",$$FDATE^VALM1(SDBEG)_" to "_$$FDATE^VALM1(SDEND)
  • Line Location: TDIV+12
Function Call: WRITE
  • Prompt: ?95,"Run Date: ",$E($$FDTTM^VALM1(%),1,14),?125,"Page: ",PAGE
  • Line Location: TDIV+13
Function Call: WRITE
  • Prompt: !," Division",?25,"Checked-Out",?40,"Action Required",?58,"Inpatient",?75,"Total"
  • Line Location: TDIV+14
Function Call: WRITE
  • Prompt: !,SDASH
  • Line Location: TDIV+16
Function Call: WRITE
  • Prompt: !,SDIV,?34,TCD,?54,TAD,?65,TID,?75,TCD+TAD+TID
  • Line Location: TDIV+18
Function Call: WRITE
  • Prompt: !,SDTDASH
  • Line Location: TDIV+20
Function Call: WRITE
  • Prompt: !,"TOTAL",?34,TC,?54,TA,?65,TI,?75,TC+TA+TI
  • Line Location: TDIV+21
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: PAUSE+4
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: PAUSE+5
Function Call: WRITE
  • Prompt: !!,"Statistics Report by Stop Code"
  • Line Location: NOREP+1
Function Call: WRITE
  • Prompt: !,"Date Range ",$$FDATE^VALM1(SDBEG)_" to "_$$FDATE^VALM1(SDEND)
  • Line Location: NOREP+2
Function Call: WRITE
  • Prompt: ?95,"Run Date: ",$E($$FDTTM^VALM1(%),1,14),?125,"Page: 1"
  • Line Location: NOREP+3
Function Call: WRITE
  • Prompt: !,SDASH
  • Line Location: NOREP+4
Function Call: WRITE
  • Prompt: !!?10,"No data found matching sort parameters"
  • Line Location: NOREP+5
Routine Call
  • DIR
  • Line Location:
    • PAUSE+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("SDAMS" BLD+3, BLD+5, BLD+7, BLD+8

Label References

Name Line Occurrences
$$HDR BLD+3, BLD+6, SUBTOT+9
$$STCNT BLD+9
$$SUBTOT BLD+10
HDRQ HDR+3
PAUSE HDR+4, TDIV+10
SUBTOTQ SUBTOT+7
TDIV BLD+12
TOTALS BLD+11, SUBTOT+8

Naked Globals

Name Field # of Occurrence
^( BLD+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% BLDQ!, HDR+7, TDIV+13, NOREP+3
ACTION BLDQ!
COUNT STCNT~, STCNT+6, STCNT+7, STCNT+8
DIR PAUSE+3!
DIR("A" PAUSE+2*
DIR(0 PAUSE+2*
>> DTOUT PAUSE+3
>> DUOUT PAUSE+3
I BLD+1~
IOF PAUSE+4, PAUSE+5
IOSL SUBTOT+7
IOST PAUSE+1
LSTSC BLDQ!
NXTSC BLD+7*, BLD+8, BLD+10, BLDQ!
PAGE BLD+2*, BLDQ!, HDR+7*, TDIV+13*
QFLAG BLDQ!
SDAR BLD+2*, BLDQ!, STCNT+6*, SUBTOT+10, SUBTOT+11, SUBTOT+12*
>> SDASH HDR+8, TDIV+16, NOREP+4
>> SDBEG HDR+6, TDIV+12, NOREP+2
SDCO BLD+2*, BLDQ!, STCNT+7*, SUBTOT+10, SUBTOT+11, SUBTOT+12*
SDCODE SUBTOT~, SUBTOT+10
>> SDEND HDR+6, TDIV+12, NOREP+2
SDFIN BLD+1~, BLD+2*, BLD+3*, BLD+5, BLD+6*, BLD+7, BLD+8, BLD+9*, BLD+10*, BLDQ!
, SUBTOT+5~, SUBTOT+7, SUBTOT+9*
SDIP BLD+2*, BLDQ!, STCNT+8*, SUBTOT+10, SUBTOT+11, SUBTOT+12*
SDIV TOTALS+5~, HDR~, HDR+6, TDIV+8~, TDIV+15*, TDIV+17, TDIV+18
SDLST BLD+3*, BLD+6*, BLDQ!
SDNXT BLD+5*, BLD+6, BLD+7, BLD+8, BLDQ!, SUBTOT+9, TOTALS+8
>> SDSEL SUBTOT+10, TOTALS+6, HDR+3
>> SDTDASH TOTALS+6, TDIV+20
SDTOT BLD+2*, BLDQ!
STAT STCNT~, STCNT+6, STCNT+7, STCNT+8
STATUS BLD+1~, BLD+8*, BLD+9
TA BLD+2*, BLD+6*, BLDQ!, TOTALS+7*, TOTALS+8, TDIV+8~, TDIV+9*, TDIV+19*, TDIV+21
TAD TDIV+8~, TDIV+9*, TDIV+17*, TDIV+18, TDIV+19, TDIV+22!
TARCNT BLD+2*, BLDQ!, SUBTOT+11*, TOTALS+6, TOTALS+7, TOTALS+9*
TC BLD+2*, BLD+6*, BLDQ!, TOTALS+7*, TOTALS+8, TDIV+8~, TDIV+9*, TDIV+19*, TDIV+21
TCD TDIV+8~, TDIV+9*, TDIV+17*, TDIV+18, TDIV+19, TDIV+22!
TCOCNT BLD+2*, BLDQ!, SUBTOT+11*, TOTALS+6, TOTALS+7, TOTALS+9*
TI BLD+2*, BLD+6*, BLDQ!, TOTALS+7*, TOTALS+8, TDIV+8~, TDIV+9*, TDIV+19*, TDIV+21
TID TDIV+8~, TDIV+9*, TDIV+17*, TDIV+18, TDIV+19, TDIV+22!
TIPCNT BLD+2*, BLDQ!, SUBTOT+11*, TOTALS+6, TOTALS+7, TOTALS+9*
TOT BLDQ!
TOT( TOTALS+8*, TDIV+15, TDIV+17
U TOTALS+8, TDIV+17
Y STCNT+5~*, STCNT+9, SUBTOT+5~, SUBTOT+6*, SUBTOTQ, HDR+1~, HDR+2*, HDRQ
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All