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

Package: Scheduling

Routine: SCRPW60


Information

SCRPW60 ;BP-CIOFO/KEITH - Patient Appointment Statistics ; 19 Nov 98 10:34 AM

Source Information

Source file <SCRPW60.m>

Call Graph

Call Graph

Call Graph Total: 11

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

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 SCRPW PATIENT APPT STATISTICS  SCRPW61  

Entry Points

Name Comments DBIA/ICR reference
DTR ;Date range selection
FDT
LDT
TYP ;Report format selection
QUE
START ;Initialize variables, gather information
EXIT
SEL ;Pick selected clinics
ASK
SRC ;Select clinic range
C2
SSS ;Pick selected Stop Codes
SRS ;Select Stop Code range
SRSE
SCG ;Select clinic group
HDR ;Print report header

External References

Name Field # of Occurrence
^%DT FDTLDT
NOW^%DTC START+3
^DIC ASKSRC+1, C2SSS+2, SRS+1, SRSE+1, SCG+1
^DIR TYP+3, TYP+9, TYP+11, START+16, HDR+1
$$DIVA^SCRPW17 SCRPW60+4
DISP0^SCRPW23 START+9
DHDR^SCRPW40 START+9
$$XY^SCRPW50 HDR+3
END^SCRPW50 EXIT+2
SUBT^SCRPW50 DTR+1, TYP+1
TITL^SCRPW50 SCRPW60+3
CNT^SCRPW61 START+2
DPRT^SCRPW61 START+13, START+15
FOOT^SCRPW61 START+9
STOP^SCRPW61 HDR+2
$$PRIM^VASITE START+11
EN^XUTMDEVQ QUE+1

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: !
  • Line Location: TYP+9
Function Call: WRITE
  • Prompt: !
  • Line Location: QUE+1
Function Call: WRITE
  • Prompt: !!?(IOM-$L(SDX)\2),SDX
  • Line Location: START+9
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: SSS+1
Function Call: WRITE
  • Prompt: !
  • Line Location: SRS+1
Function Call: WRITE
  • Prompt: !
  • Line Location: SRSE+1
Function Call: WRITE
  • Prompt: !!,$C(7),"Ending Stop Code must collate after beginning Stop Code!"
  • Line Location: SRSE+3
Function Call: WRITE
  • Prompt: !
  • Line Location: SCG+1
Function Call: WRITE
  • Prompt: !?(IOM-$L(SDT(X))\2),SDT(X)
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: !,SDLINE,!,"For date range: ",SDPBDA," to ",SDPEDA,!,"Date printed: ",SDPNOW,?((IOM-6)-$L(SDPAGE)),"Page: ",SDPAGE
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: !,SDLINE
  • Line Location: HDR+6
Routine Call
  • DIC
  • Line Location:
    • ASK
    • SRC+1
    • C2
    • SSS+2
    • SRS+1
    • SRSE+1
    • SCG+1
Routine Call
  • DIR
  • Line Location:
    • TYP+3
    • TYP+9
    • TYP+11
    • START+16
    • HDR+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(40.7 - [#40.7] Classic Fileman Calls
^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+3
^DG(40.8 - [#40.8] START+12
^TMP("SCRPW" START+1!, START+9, START+12, START+14

Label References

Name Line Occurrences
@( START+2
ASK SEL+1
C2 C2+1
EXIT SCRPW60+4, FDTLDTTYP+3, TYP+4, TYP+5, TYP+6, TYP+7, TYP+9, QUE+2
START+2, START+9, START+15
FDT FDT+1
HDR START+9
LDT LDT+1, LDT+2
SCG TYP+7
SEL TYP+3
SRC TYP+4
SRS TYP+6, SRS+1
SRSE SRSE+2, SRSE+3
SSS TYP+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% START+3, EXIT!
%DT FDT*, EXIT!
%DT("A" FDT*, LDT*
DFN EXIT!
DIC EXIT!, ASK!*, SRC+1!*, SSS+1!*, SRS+1!*, SCG+1!*
DIC("A" SRC+1*, C2*, SSS+1*, SRS+1*, SRSE*
DIC("S" ASK*, SRC+1*
DIC(0 ASK*, SRC+1*, SSS+1*, SRS+1*, SCG+1*
DIR TYP+8!, TYP+10!, START+16~, EXIT!, HDR+1~
DIR("?" TYP+8*
DIR("A" TYP+8*, TYP+10*
DIR("B" TYP+8*, TYP+10*
DIR(0 TYP+2*, TYP+8*, TYP+10*, START+16*, HDR+1*
DTOUT FDTLDTTYP+3, TYP+9, TYP+11, EXIT!, ASK+1, SRC+1, C2SSS+2
SRS+1, SRSE+1, SCG+1
DUOUT TYP+3, TYP+9, TYP+11, EXIT!, ASK+1, SRC+1, C2SSS+2, SRS+1, SRSE+1
SCG+1
IOF HDR+3
IOM START+1, START+3, START+9, HDR+3, HDR+4
IOST START+9, START+16, HDR+1, HDR+3
SDAC EXIT!
SDAPP EXIT!
SDBCS START+6*, EXIT!
SDBDAY FDT+1*, LDT+1, EXIT!
SDCG EXIT!
SDCL TYP+3, TYP+4*, EXIT!, SRS+1*, SRSE+1!, SRSE+3
SDCL( TYP+4, START+5, START+6, START+7, ASK+2*, SRC+1*, C2*, SSS+2*, SRS+1*, SRSE+4*
SCG+1*
SDCL("" START+5, C2
SDCL(0 TYP+5, TYP+6, TYP+7, START+6, START+7
SDCL0 EXIT!
SDCLN START+5*, EXIT!
SDCOL START+1*, EXIT!
SDCP0 EXIT!
SDCSC EXIT!
SDCTOT EXIT!
SDDAY EXIT!
SDDIV SCRPW60+4~, START+1, START+11, START+12, EXIT!, ASKSRC+1
SDDIV( START+1, START+10
SDECL START+5*, EXIT!
SDECS START+6*, EXIT!
SDEDAY LDT+2*, EXIT!
SDF TYP+3*, TYP+4, TYP+5, TYP+6, TYP+7, START+2, START+4, START+5, START+6, START+7
, EXIT!
SDH EXIT+1!
SDH( HDR+5
SDI START+7*, START+12*, START+14*, EXIT+1!
SDIV START+9*, START+10*, START+13*, START+15*, EXIT+1!
SDIV( START+10*, START+11*, START+12*, START+13
SDIVN START+13*, EXIT+1!
SDLINE START+3*, EXIT+1!, HDR+3, HDR+4, HDR+5, HDR+6
SDMD START+1*, START+14*, START+15, EXIT+1!
SDORD EXIT+1!
SDOUT TYP+9*, TYP+11*, START+1*, START+2, START+13, START+15, START+16, EXIT+1!, HDR+1*, HDR+2
SDPAGE START+3*, EXIT+1!, HDR+1, HDR+3, HDR+4, HDR+6*
SDPBDA FDT+1*, EXIT+1!, HDR+4
SDPEDA LDT+2*, EXIT+1!, HDR+4
SDPL TYP+9*, EXIT+1!
SDPLO TYP+12*, EXIT+1!
SDPNOW START+3*, EXIT+1!, HDR+4
SDPTNA EXIT+1!
SDQUIT TYP+2*, TYP+3, EXIT+1!, SEL+1, ASK+1*
SDSSN EXIT+1!
SDT START+9, EXIT+1!
SDT( HDR+3
SDT(1 START+3*
SDT(2 START+4*, START+6*, START+7*
SDT(3 START+5*
SDTLINE START+3*, EXIT+1!
SDTOT EXIT+1!
SDX START+9*, START+12*, EXIT+1!
U FDTLDTSTART+1, START+11, START+12, SRC+1, C2SSS+2, SRS+1, SRSE+3
SRSE+4, SCG+1
X FDTLDTEXIT+1!, SEL+1, SRC+1, C2HDR+3*, HDR+5*
Y FDT+1, LDT+1, LDT+2, TYP+3, TYP+9, TYP+12, START+3*, EXIT+1!, ASK+2, SRC+1
C2SSS+2, SRS+1, SRSE+2, SCG+1, HDR+1
Y(0 SSS+2, SRS+1, SRSE+3, SRSE+4
Z QUE~*, EXIT+1!
ZTSAVE QUE~, QUE+1
ZTSAVE( QUE*
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