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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: SDWLROS

Package: Scheduling

Routine: SDWLROS


Information

SDWLROS ;IOFO BAY PINES/TEH - WAIT LIST OVERDUE REPORT-SUMMARY ;1/5/16 9:25am

Source Information

Source file <SDWLROS.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA FileMan 4 DD^%DT  (,NOW)^%DTC  $$EXTERNAL^DILFD  ^DIR  
Kernel 1 $$S^%ZTLOAD  
Registration 1 (1,DEM,ELIG)^VADPT  

Entry Points

Name Comments DBIA/ICR reference
EN ;
INIT ;Initialize variables
SORT ;Sort Records
PRT ;
PRA ;
PRT1 ;
LINE ;Draw Line
HD ;Header
HD1 ;
; SD*5.3*645 - changed 'Date Desired' to 'CID/PD' due to space limit
END

External References

Name Field # of Occurrence
DD^%DT INIT+13, HD+2
^%DTC SORT+8
NOW^%DTC INIT+13
$$S^%ZTLOAD EN+2, EN+5, EN+7, PRT1+2
$$EXTERNAL^DILFD PRA+2, PRT1+7, HD+9
^DIR PRA+6, PRT1+14
1^VADPT PRT1+11
DEM^VADPT PRT1+11
ELIG^VADPT SORT+16

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Institution: ",$P($G(^DIC(4,SDWLIN,0)),U,1),!
  • Line Location: PRT+1
Function Call: WRITE
  • Prompt: !,$$EXTERNAL^DILFD(SDWLF,.01,,$P(^SDWL(SDWLF,SDWLSC,0),U,1)),?30,SDWLX
  • Line Location: PRA+2
Function Call: WRITE
  • Prompt: !,?20,"Total #: ",SDWLXT
  • Line Location: PRA+4
Function Call: WRITE
  • Prompt: !
  • Line Location: PRT1+4
Function Call: WRITE
  • Prompt: !,"_______________________________________________________________________________"
  • Line Location: LINE+1
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $D(IOF)
  • Line Location: HD+1
Function Call: WRITE
  • Prompt: !,SDWLDTP,?80-$L("Appointment Wait List Overdue Report")\2,"Appointment Wait List Overdue Report"
  • Line Location: HD+1
Function Call: WRITE
  • Prompt: ?59,SDWLPD
  • Line Location: HD+2
Function Call: WRITE
  • Prompt: ?72,"Page: ",SDWLPG
  • Line Location: HD+2
Function Call: WRITE
  • Prompt: !!,?30,"Institution: "
  • Line Location: HD+3
Function Call: WRITE
  • Prompt: !
  • Condition for execution: I>1
  • Line Location: HD+5
Function Call: WRITE
  • Prompt: ?45,X
  • Line Location: HD+5
Function Call: WRITE
  • Prompt: !?27,"Report Category: ",$S($P(SDWLCT1,U,1)="C":"CLINIC",1:"SPECIALTY")
  • Line Location: HD+7
Function Call: WRITE
  • Prompt: " ALL"
  • Line Location: HD+7
Function Call: WRITE
  • Prompt: !,?45,$$EXTERNAL^DILFD(SDWLF,.01,,X)
  • Line Location: HD+9
Function Call: WRITE
  • Prompt: !,?28,"Output Format: ",$S(SDWLFORM="S":"Summary",1:"Detailed")
  • Line Location: HD+10
Function Call: WRITE
  • Prompt: !!,"Name",?30,"Date Entered",?47,"CID/PD",?60,"# of Days Waiting",!!
  • Line Location: HD1+3
Routine Call
  • DIR
  • Line Location:
    • PRA+6
    • PRT1+14

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(4 - [#4] PRT+1, PRT1+5
^SDWL( PRA+2, PRT1+7
^SDWL(409.3 - [#409.3] SORT+2, SORT+3, PRT1+10
^TMP("SDWLROS" EN+9!, SORT+1!, SORT+17, SORT+18*, SORT+19*, SORT+20*, SORT+21*, SORT+22*, PRT+1, PRA+1
, PRA+2, PRA+3, PRT1+2, PRT1+4, PRT1+6, PRT1+8, PRT1+9

Label References

Name Line Occurrences
END EN+2, EN+5, EN+7
HD EN+3, PRT1+1, PRT1+15
HD1 PRT1+1, PRT1+15
INIT EN+1
PRA PRT+2
PRT EN+6
PRT1 EN+8
SORT EN+4

Naked Globals

Name Field # of Occurrence
^( SORT+17*, SORT+18, SORT+19*, SORT+21

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % INIT+13
CT END!
CT1 INIT+2, END!
CT2 INIT+3, END!
>> DFN SORT+16*, PRT1+11*
>> DIR(0 PRA+6*, PRT1+14*
DT SORT+7, SORT+8, HD+2
>> DUOUT PRT1+2, PRT1+4, PRT1+6, PRT1+8, PRT1+9, PRT1+14*
FORM INIT+4, END!
I HD+5*, HD+9*, END!
INS INIT+5, END!
IOF HD+1
IOSL PRA+6, PRT1+14, PRT1+15
OPEN END!
>> SDWL INIT+8*
SDWLAPDT SORT+8*, END!
>> SDWLCL INIT+12*
>> SDWLCT1 INIT+2*, INIT+10, SORT+9, SORT+10, HD+6, HD+7
>> SDWLCT2 INIT+3*, INIT+12, SORT+11, HD+9
>> SDWLCT2( INIT+12*, SORT+12
>> SDWLDA SORT+2*, SORT+3, SORT+22, PRT1+9*, PRT1+10
>> SDWLDDT PRT1+10*, PRT1+13
>> SDWLDFN SORT+3*, SORT+16, SORT+19
>> SDWLDFNX PRA+3*
>> SDWLDTP INIT+13*, HD+1
>> SDWLDWT SORT+8*, SORT+22
>> SDWLERR SORT+3*, SORT+6*, SORT+7*, SORT+9*, SORT+12*, SORT+13*, SORT+14*, SORT+15
>> SDWLF INIT+10*, SORT+10*, PRA+2, PRT1+7, HD+9
>> SDWLFORM INIT+4*, HD+10
>> SDWLI INIT+8*, INIT+11*, INIT+12*
>> SDWLIN INIT+11*, PRT+1*, PRA+1, PRA+2, PRA+3
>> SDWLIN( INIT+11*, SORT+6
>> SDWLIN("ALL" INIT+9*
>> SDWLINS INIT+5*, INIT+9, INIT+11, SORT+5, PRT1+4*, PRT1+5, PRT1+6, PRT1+8, PRT1+9, HD+3
, HD+4, HD+5
>> SDWLODT PRT1+10*, PRT1+12
>> SDWLOPDT SORT+8*
>> SDWLPD HD+2*
>> SDWLPG INIT+6*, HD+2*
>> SDWLSC PRA+1*, PRA+2, PRA+3, PRT1+6*, PRT1+7, PRT1+8, PRT1+9
>> SDWLSCC SORT+16*, SORT+20, SORT+21, SORT+22, PRT1+2*, PRT1+3, PRT1+4, PRT1+6, PRT1+8, PRT1+9
>> SDWLSCN SORT+16*
>> SDWLSPT PRA+6, PRT1+14
>> SDWLTXP INIT+10*
>> SDWLTYP SORT+9*, SORT+13
>> SDWLTYPE SORT+9*, SORT+12, SORT+17, SORT+18, SORT+19, SORT+20, SORT+21, SORT+22
>> SDWLWT PRT1+8*, PRT1+9, PRT1+13
>> SDWLX SORT+3*, SORT+6, SORT+7, SORT+8, SORT+9, SORT+14, SORT+17, SORT+18, SORT+19, SORT+20
, SORT+21, SORT+22, PRA+1*, PRA+2*
>> SDWLXT PRA+1*, PRA+2*, PRA+4
>> SDWLXTT PRA+1*, PRA+3*
U INIT+10, INIT+11, INIT+12, SORT+6, SORT+7, SORT+8, SORT+9, SORT+10, SORT+14, SORT+16
, SORT+17, SORT+18, SORT+19, SORT+20, SORT+21, SORT+22, PRT+1, PRA+2, PRT1+5, PRT1+7
, PRT1+10, HD+6, HD+7
VA PRT1+13!
VA("BID" PRT1+12
VADM PRT1+13!, END!
VADM(1 PRT1+12
>> VAEL(3 SORT+16
>> X SORT+8, PRA+6, PRT1+10*, PRT1+11, PRT1+14, HD+5*, HD+6*, HD+7, HD+8, HD+9*
, HD+10*
X1 SORT+8*, END!
X2 SORT+8*, END!
>> Y INIT+13*, HD+2*
>> ZTSAVE INIT+7
>> ZTSAVE( INIT+8
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All