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

Package: Scheduling

Routine: SCRPW11


Information

SCRPW11 ;RENO/KEITH - Patient Activity by Appointment Frequency ; 15 Jul 98 02:38PM

Source Information

Source file <SCRPW11.m>

Call Graph

Call Graph Total: 13

Package Total Call Graph
VA Fileman 5 ^%DT  NOW^%DTC  ^DIC  ^DIK  ^DIR  
Scheduling 4 $$DIVA^SCRPW17  DISP0^SCRPW23  DHDR^SCRPW40  ($$XY,END,SUBT,TITL)^SCRPW50  
Kernel 2 $$S^%ZTLOAD  EN^XUTMDEVQ  
Registration 2 (,KVA)^VADPT  $$PRIM^VASITE  

Entry Points

Name Comments DBIA/ICR reference
DIV() ;Check division
S1
STOP ;Check for stop task request
FAP1
DPRT(SDIV) ;Print report for a division
FDT
DTR
HDR ;Print report header
PRT2
PRT1
EV1(SDIV)
PRT
LDT
C
START
S
R
EVAL
L1
FAPP
EXIT
ALPH
ORDR
LOOP

External References

Name Field # of Occurrence
^%DT FDT, LDT
NOW^%DTC START+10
$$S^%ZTLOAD STOP+1
^DIC S1, C
^DIK EVAL+4
^DIR LDT+4, LDT+6, LDT+8, START+19, R+1, HDR+2
$$DIVA^SCRPW17 SCRPW11+2
DISP0^SCRPW23 START+14
DHDR^SCRPW40 START+15, DPRT+1
$$XY^SCRPW50 HDR+3
END^SCRPW50 EXIT
SUBT^SCRPW50 DTR, LDT+3, LDT+7
TITL^SCRPW50 SCRPW11+2
^VADPT PRT, ALPH
KVA^VADPT EXIT+1
$$PRIM^VASITE START+12, LOOP
EN^XUTMDEVQ LDT+10

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: LDT+10
Function Call: WRITE
  • Prompt: !!?(IOM-$L(SDX)\2),SDX
  • Line Location: START+15
Function Call: WRITE
  • Prompt: !!?(IOM-$L(SDX)\2),SDX
  • Line Location: DPRT+1
Function Call: WRITE
  • Prompt: !
  • Line Location: R+1
Function Call: WRITE
  • Prompt: !
  • Line Location: C+0
Function Call: WRITE
  • Prompt: !?(132-$L(SDT(SDI))\2),SDT(SDI)
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: !,SDLINE,!,"For date range: ",SDPBDA," to ",SDPEDA,!,"Date printed: ",SDPNOW,?(126-$L(SDPAGE)),"Page: ",SDPAGE,!,SDLINE
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: !!,"Number of appts.: ",SDFREQ,?24,"Patient: ",$E(VADM(1),1,30),?65,"SSN: ",$P(VADM(2),U,2)
  • Line Location: PRT+0
Function Call: WRITE
  • Prompt: !?29,SDPTCSF," appointments to ",SDCS," (",SDCLCS,")"
  • Line Location: PRT1+0
Function Call: WRITE
  • Prompt: !?34,SDPTCLT," ",SDCLNA," appointment",$S(SDPTCLT=1:"",1:"s")
  • Line Location: PRT1+1
Function Call: WRITE
  • Prompt: !?44,Y," ",SDCLNA," (",SDCLCS,")"
  • Line Location: PRT2+0
Routine Call
  • DIC
  • Line Location:
    • S1
    • C
Routine Call
  • DIR
  • Line Location:
    • LDT+4
    • LDT+6
    • LDT+8
    • START+19
    • R+1
    • HDR+2

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" FDT+1, LDT+2, START+10, PRT2
^DG(40.8 - [#40.8] START+13
^DIC(40.7 - [#40.7] LOOP, FAPP, PRT1
^DPT - [#2] EVAL+6, FAPP
^SC - [#44] START+1, START+3, L1, FAPP
^SC("ASCRPW" START+1
^TMP("SCRPW" START!, START+5, START+13, START+14, START+17, DPRT+1, DPRT+3, DPRT+4, EXIT+1!, EV1*
, EV1+1*, FAP1*, FAP1+1*, ORDR*, ORDR+1*, PRT+1, PRT+2, PRT1+1, PRT2, ALPH*

Label References

Name Line Occurrences
$$DIV START+1, START+3
@( LDT+6
ALPH DPRT+3
DPRT START+16, START+18
EV1 EVAL+6
EVAL L1
EXIT FDT, LDT, LDT+4, LDT+6, LDT+8, LDT+10, START+2, START+4, START+15, START+18
, START+20
FAP1 FAPP
FAPP START+5
FDT FDT+1
HDR START+15, DPRT+1, DPRT+2, PRT, PRT+2, PRT1, PRT1+1, PRT2
LDT LDT+1, LDT+2
LOOP START+1, START+3
ORDR START+5
PRT DPRT+3, DPRT+4
PRT1 PRT+1
PRT2 PRT+2
S1 S
STOP START+5, EVAL, HDR+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% START+10, EXIT!
%DT FDT*, EXIT!
%DT("A" FDT*, LDT*
%DT(0 FDT*
%H EXIT!
%I EXIT!
DA EVAL+3*, EVAL+5!
DA(1 EVAL+3*, EVAL+4
DA(2 EVAL+3*, EVAL+4
DFN START+5*, DPRT+3*, DPRT+4*, EXIT!, L1*, EVAL+2, EVAL+6, EV1, EV1+1, FAPP
, FAP1, FAP1+1, ORDR, ORDR+1, PRT+1, PRT+2, PRT1+1, PRT2, ALPH
DGPGM EXIT+1!
DGVAR EXIT+1!
DIC EXIT!, S!*, C!*
DIC(0 S*, C*
DIK EVAL+4*, EVAL+5!
DIR LDT+5!, LDT+8!, START+19~, EXIT+1!, R!, HDR+2~
DIR("?" LDT+4*, LDT+5*, R*
DIR("A" LDT+4*, LDT+5*, LDT+8*, R*, R+1*
DIR(0 LDT+4*, LDT+5*, LDT+8*, START+19*, R*, R+1*, HDR+2*
DT FAPP
DTOUT FDT, LDT, LDT+6, LDT+8, EXIT!, R+1, S+1, C
DUOUT LDT+6, LDT+8, EXIT!, R+1, S+1, C
IOF HDR+3
IOM START+15, DPRT+1
IOSL PRT, PRT+2, PRT1, PRT1+1, PRT2
IOST START+14, START+19, HDR+2, HDR+3
POP EXIT+1!
SD EXIT!, S!, S+1, C!
SD( START+7, START+8, S1*, C+1*, LOOP+2, FAP1+1
SD(0 START+1
SDBCS START+6, EXIT!, R+1*, LOOP+1, FAP1
SDBDAY FDT+1*, LDT+1, EXIT!, EXIT+1!, L1
SDCG START+1*, START+8, EXIT+1!
SDCL START+1*, START+3*, EXIT!, L1, EVAL+3, FAPP*
SDCL0 START+1*, START+3*, EXIT!, DIV+1, LOOP, EV1, FAPP*, FAP1, FAP1+1
SDCLCS EXIT!, LOOP*, LOOP+1, LOOP+2, EV1, EV1+1, FAPP*, FAP1, FAP1+1, PRT+1*
, PRT1, PRT1+1, PRT2*
SDCLNA EXIT+1!, PRT1+1*, PRT2*
SDCLPT EXIT!, L1*, EVAL+3
SDCS EXIT!, PRT1*
SDDAY EXIT!, L1*, EVAL+3, EVAL+6, FAPP*, FAP1, FAP1+1, PRT+2*, PRT2
SDDIV SCRPW11+2~, START, START+12, START+13, EXIT!, DIV+1
SDDIV( START, START+11, DIV+1
SDDIV(0 START
SDECS START+6, EXIT!, R+1*, LOOP+1, FAP1
SDEDAY LDT+2*, EXIT!, EXIT+1!, L1
SDFMT LDT+6*, START+1, START+3, START+6, START+7, START+8, EXIT!, LOOP+1, LOOP+2, FAP1
, FAP1+1
SDFREQ DPRT+3*, DPRT+4*, EXIT!, ORDR*, ORDR+1, PRT, PRT+1, ALPH
SDI START+7*, START+13*, START+14*, START+15, START+17*, EXIT!, HDR+3*
SDII START+6*, START+7*, START+8*, START+9*, START+15, DPRT+1, EXIT!
SDIV START+5*, START+11*, START+14*, START+15*, START+16*, START+18*, DPRT~, DPRT+1, DPRT+3, DPRT+4
, LOOP*, EVAL+6, EV1~, EV1+1, FAP1, FAP1+1, ORDR, ORDR+1, PRT+1, PRT+2
, PRT1+1, PRT2, ALPH
SDIV( START+11*, START+12*, START+13*, START+16
SDIVN START+16*, EXIT!
SDLINE START+10*, EXIT+1!, HDR+3, HDR+4
SDMC EXIT!
SDMD START*, START+17*, START+18, EXIT!, EVAL+6
SDMIN LDT+4*, START+9, START+14, DPRT+1, DPRT+3, EXIT!
SDNAM DPRT+4*, EXIT+1!, ALPH*
SDORD LDT+8*, DPRT+3, DPRT+4, EXIT+1!
SDOUT LDT+6*, START*, START+1, START+2, START+3, START+4, START+5, START+15, START+16, START+18
, START+19, DPRT+1, DPRT+2, DPRT+3, DPRT+4, EXIT!, STOP+1*, R+1*, S+1*, C*
, L1, EVAL, HDR+1, HDR+2*, PRT, PRT+1, PRT+2, PRT1, PRT1+1, PRT2
SDPAGE START+10*, EXIT+1!, HDR+2, HDR+3, HDR+4*
SDPBDA FDT+1*, EXIT+1!, HDR+4
SDPEDA LDT+2*, EXIT+1!, HDR+4
SDPNOW START+10*, EXIT+1!, HDR+4
SDPTAP0 EXIT!, EVAL+6*, FAPP*, FAP1, FAP1+1
SDPTCLT EXIT!, PRT1+1*
SDPTCS EXIT+1!, ORDR*, ORDR+1*
SDPTCSF EXIT!, ORDR+1*, PRT+1*, PRT1
SDRBDA EXIT+1!
SDREDA EXIT+1!
SDSTOP START*, START+5*, EXIT!, EVAL*
SDT START+15, DPRT+1, EXIT+1!
SDT( START+6*, START+7*, START+8*, START+9*, HDR+3
SDX START+13*, START+15*, DPRT+1*, EXIT!
U FDT, LDT, START, START+12, START+13, S1, C+1, DIV+1, LOOP, EVAL+6
, EV1, FAPP, FAP1, FAP1+1, PRT, PRT1
V LDT+9*, EXIT+1!
>> VADM(1 PRT, ALPH
>> VADM(2 PRT
X FDT, LDT, EXIT!
Y FDT+1, LDT+1, LDT+2, LDT+4, LDT+6, LDT+8, START+10*, EXIT+1!, R+1, S
, S1, C, C+1, HDR+2, PRT2*
Y(0 S1
>> ZTQUEUED STOP+1
ZTSAVE LDT+9~, LDT+10, EXIT+1!
ZTSAVE( LDT+9*
>> ZTSTOP STOP+1*
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All