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

Package: Scheduling

Routine: SCRPW2


Information

SCRPW2 ;RENO/KEITH - Clinic Utilization Statistical Summary ; 16 May 99 6:19 PM

Source Information

Source file <SCRPW2.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
Scheduling 5 $$DIVA^SCRPW17  DISP0^SCRPW23  (START,STOP)^SCRPW3  DHDR^SCRPW40  ($$XY,END,SUBT,TITL)^SCRPW50  
VA Fileman 4 ^%DT  (,NOW)^%DTC  ^DIC  ^DIR  
Kernel 1 EN^XUTMDEVQ  
Registration 1 $$PRIM^VASITE  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Scheduling 1 SCRPW3  

Entry Points

Name Comments DBIA/ICR reference
FOOT ;Print footer
SRC ;Select range of clinics
HDR ;Print report header
DPRT(SDIV) ;Print report for a division
SCG ;Select clinic group
SRS ;Select range of stop codes
START ;Gather data and print report
INIT ;Initialize array for counting patterns
EXIT
FDT
LDT
ASK
DTR
SEL ;Select clinics
TYP
C2

External References

Name Field # of Occurrence
^%DT FDT, LDT
^%DTC START+2
NOW^%DTC START+4
^DIC ASK, SRC+1, C2, SCG+1
^DIR TYP+2, START+19, SRS+1, SRS+2, HDR+1
$$DIVA^SCRPW17 SCRPW2+4
DISP0^SCRPW23 START+12
START^SCRPW3 DPRT+2
STOP^SCRPW3 HDR+2
DHDR^SCRPW40 START+12, DPRT+1
$$XY^SCRPW50 HDR+3
END^SCRPW50 EXIT+3
SUBT^SCRPW50 DTR, TYP
TITL^SCRPW50 SCRPW2+3
$$PRIM^VASITE START+14
EN^XUTMDEVQ TYP+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: FDT+0
Function Call: WRITE
  • Prompt: !
  • Line Location: LDT+0
Function Call: WRITE
  • Prompt: !!,$C(7),"Ending date must be after beginning date!"
  • Line Location: LDT+1
Function Call: WRITE
  • Prompt: !!,"This report requires 132 column output.",!
  • Line Location: TYP+7
Function Call: WRITE
  • Prompt: !!?(132-$L(SDX)\2),SDX
  • Line Location: START+12
Function Call: WRITE
  • Prompt: !!?(132-$L(SDX)\2),SDX
  • Line Location: DPRT+1
Function Call: WRITE
  • Prompt: !!,"*** CLINIC SUMMARY ***"
  • Line Location: DPRT+2
Function Call: WRITE
  • Prompt: !
  • Line Location: SEL+1
Function Call: WRITE
  • Prompt: !
  • Line Location: SRC+1
Function Call: WRITE
  • Prompt: !
  • Line Location: C2+0
Function Call: WRITE
  • Prompt: !!,$C(7),"Ending clinic must collate after beginning clinic!"
  • Line Location: C2+1
Function Call: WRITE
  • Prompt: !
  • Line Location: SRS+1
Function Call: WRITE
  • Prompt: !
  • Line Location: SRS+2
Function Call: WRITE
  • Prompt: !
  • Line Location: SCG+1
Function Call: WRITE
  • Prompt: !?(132-$L(SDT(X))\2),SDT(X)
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: !,SDLINE,!,"For date range: ",SDPBDA," to ",SDPEDA,!,"Date printed: ",SDPNOW,?(126-$L(SDPAGE)),"Page: ",SDPAGE
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: !,SDLINE
  • Line Location: HDR+6
Function Call: WRITE
  • Prompt: !
  • Line Location: FOOT+2
Function Call: WRITE
  • Prompt: SDLINE,!,"NOTE: Appointment totals include no-shows, overbooks, sched. and unsched. appts. Overbooks = sched. and unsched. appts. - clinic"
  • Line Location: FOOT+3
Function Call: WRITE
  • Prompt: !?6,"capacity (or 0 if greater). Open slots = regular (untaken) appt. slots. Adjusted availability = clinic capacity - sched. and"
  • Line Location: FOOT+4
Function Call: WRITE
  • Prompt: !?6,"unsched. appts. - additional variable appt. slots. Percent scheduling utilization = sched. and unsched. appts. + additional"
  • Line Location: FOOT+5
Function Call: WRITE
  • Prompt: !?6,"variable appt. slots (times 100) divided by clinic capacity. Percent actual utilization = sched. and unsched. appts. + addl."
  • Line Location: FOOT+6
Function Call: WRITE
  • Prompt: !?6,"variable appointment slots - no-shows - additional variable no-show slots (times 100) divided by clinic capacity.",!,SDLINE
  • Line Location: FOOT+7
Routine Call
  • DIC
  • Line Location:
    • ASK
    • SRC+1
    • C2
    • SCG+1
Routine Call
  • DIR
  • Line Location:
    • TYP+2
    • START+19
    • SRS+1
    • SRS+2
    • HDR+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SD(409.67 - [#409.67] Classic Fileman Calls
^SC - [#44] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" FDT+1, LDT+2, START+4
^DG(40.8 - [#40.8] START+15
^TMP( START+3!
^TMP("SCRPW" START+1!, START+12, START+15, START+17, DPRT+1

Label References

Name Line Occurrences
@( START+3
ASK SEL+1
C2 C2+1
DPRT START+16, START+18
EXIT SCRPW2+4, FDT, LDT, TYP+2, TYP+3, TYP+4, TYP+5, TYP+8, START+12, START+18
FDT FDT+1
FOOT START+12, DPRT+1
HDR START+12, DPRT+1
INIT START+2
LDT LDT+1, LDT+2
SCG TYP+5
SEL TYP+2
SRC TYP+3
SRS TYP+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% START+4, EXIT+1!
%DT FDT*, EXIT+1!
%DT("A" FDT*, LDT*
%H EXIT+1!
%I EXIT+1!
%Y EXIT+2!
DGPGM EXIT+2!
DGVAR EXIT+2!
DIC EXIT+2!, ASK!*, SRC+1!*, SCG+1!*
DIC("A" SRC+1*, C2*
DIC("S" ASK*, SRC+1*
DIC(0 ASK*, SRC+1*, SCG+1*
DIR START+19~, EXIT+2!, SRS+1!, HDR+1~
DIR("A" SRS+1*
DIR(0 TYP+1*, START+19*, SRS+1*, HDR+1*
DTOUT FDT, LDT, TYP+2, EXIT!, ASK+1, SRC+1, C2, SRS+1, SRS+2, SCG+1
DUOUT TYP+2, EXIT+2!, ASK+1, SRC+1, C2, SRS+1, SRS+2, SCG+1
I INIT+1~, INIT+3*
IOF HDR+3
IOSL FOOT+2
IOST START+12, START+19, HDR+1, HDR+3
POP EXIT+2!
SD EXIT+2!, INIT+1!, INIT+2*, INIT+3
SD( INIT+3*
SDA EXIT!
SDAC EXIT+1!
SDAP EXIT!
SDAVA EXIT!
SDBCS START+7*, EXIT+2!
SDBDAY FDT+1*, LDT+1, START+2, EXIT+1!
SDC EXIT!
SDCAP EXIT!
SDCG EXIT+1!
SDCL TYP+2, TYP+3*, EXIT!
SDCL( TYP+3, START+6, START+7, START+8, ASK+2*, SRC+1*, C2*, SRS+1*, SRS+2*, SCG+1*
SDCL("" START+6, C2
SDCL(0 TYP+4, TYP+5, START+7, START+8
SDCL0 EXIT!
SDCLI EXIT!
SDCLN START+6*, EXIT!, DPRT+2*
SDCP0 EXIT!
SDCSC EXIT+2!
SDCT EXIT!
SDDAY EXIT!
SDDIV SCRPW2+4~, START+1, START+14, START+15, EXIT+1!, ASK, SRC+1
SDDIV( START+1, START+13
SDECL START+6*, EXIT+2!
SDECS START+7*, EXIT+2!
SDEDAY LDT+2*, START+2, EXIT!, EXIT+1!
SDF TYP+2*, TYP+3, TYP+4, TYP+5, START+3, START+5, START+6, START+7, START+8, EXIT!
SDF1 EXIT!
SDH EXIT!
SDH( HDR+5
SDH(1 START+9*
SDH(2 START+10*
SDH(3 START+11*
SDI START+8*, START+15*, START+17*, EXIT!, FOOT+1~, FOOT+2*
SDIV START+12*, START+13*, START+16*, START+18*, DPRT~, DPRT+1
SDIV( START+13*, START+14*, START+15*, START+16
SDIVN START+16*, EXIT+1!
SDL EXIT!
SDLAP EXIT+1!
SDLINE START+4*, EXIT!, EXIT+1!, HDR+3, HDR+4, HDR+5, HDR+6, FOOT+3, FOOT+7
SDMAX START+2*, EXIT!
SDMD START+1*, START+17*, START+18, EXIT+1!
SDNS EXIT!
SDNSVS EXIT+1!
SDOB EXIT+2!
SDOS EXIT+2!
SDOUT START+1*, START+16, START+18, START+19, EXIT+1!, HDR+1*, HDR+2
SDPAGE START+4*, EXIT+1!, HDR+1, HDR+3, HDR+4, HDR+6*
SDPAS EXIT!
SDPBDA FDT+1*, EXIT+1!, HDR+4
SDPCT EXIT+2!
SDPEDA LDT+2*, EXIT+1!, HDR+4
SDPESL EXIT+1!
SDPLAP EXIT+1!
SDPNOW START+4*, EXIT+1!, HDR+4
SDPR EXIT+2!
SDPRN EXIT+2!
SDQUIT TYP+1*, TYP+2, EXIT+2!, SEL+1, ASK+1*
SDS EXIT+2!
SDSL EXIT+2!
SDSUB START+3*, EXIT+2!
SDT START+12, EXIT+2!, DPRT+1
SDT( HDR+3
SDT(1 START+4*
SDT(2 START+5*, START+7*, START+8*
SDT(3 START+6*
SDTAP EXIT!, DPRT+2*
SDTITL EXIT+2!
SDTNS EXIT!, DPRT+2*
SDTNSVS EXIT+1!, DPRT+2*
SDTOB EXIT!, DPRT+2*
SDTOS EXIT+2!, DPRT+2*
SDTSL EXIT!, DPRT+2*
SDTVSL EXIT+1!, DPRT+2*
SDVSL EXIT+1!
SDX START+12*, START+15*, EXIT+1!, DPRT+1*
STOUT EXIT+2!
U FDT, LDT, START+1, START+14, START+15, SRC+1, C2, SCG+1
X FDT, LDT, START+2, EXIT+2!, SEL+1, SRC+1, C2, HDR+3*, HDR+5*
X1 START+2*, EXIT+2!
X2 START+2*, EXIT+2!
Y FDT+1, LDT+1, LDT+2, TYP+2, START+4*, EXIT+2!, ASK+2, SRC+1, C2, SRS+1
, SRS+2, SCG+1, HDR+1
Z TYP+6~*
ZTSAVE TYP+6~, TYP+7
ZTSAVE( TYP+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 |  Local Variables |  All