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 |  Local Variables  | All
Print Page as PDF
Routine: SCRPW44

Package: Scheduling

Routine: SCRPW44


Information

SCRPW44 ;RENO/KEITH - Means Test/Eligibility/Enrollment Report (cont.) ; 03 Feb 99 2:10 PM

Source Information

Source file <SCRPW44.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Scheduling 4 DHDR^SCRPW40  S44^SCRPW42  ($$DSV,PD1)^SCRPW43  $$XY^SCRPW50  
Kernel 1 $$S^%ZTLOAD  
Registration 1 ELIG^VADPT  
VA FileMan 1 ^DIR  

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 SCRPW42  SCRPW43  

Entry Points

Name Comments DBIA/ICR reference
START ;Print report
DPRT(SDIV) ;Print a division
STOP ;Check for stop task request
HDR ;Print report header
SUMM(SDIV) ;Print summary for a division
SHDS(SDX,SDY) ;Print subheader for summary
SLP(SDI) ;Print summary line
STOT ;Print summary total
PRTD ;Print detail
PRT0 ;Print 0 sorts
PRT1 ;Print 1 sort
PRT2 ;Print 2 sorts
PRT3 ;Print 3 sorts
PRT4 ;Print 4 sorts
PRT5 ;Print 5 sorts
PRT6 ;Print 6 sorts
PRT11
PRT21
PRT31
PRT41
PRT51
PRT61
SHD(SDLEV) ;Print sort subheaders
PLINE(SDLEV) ;Print detail line
SST(SDLEV) ;Print sort subtotal
HD1 ;Print detail category
HD2 ;Print detail subheader

External References

Name Field # of Occurrence
$$S^%ZTLOAD STOP+1
^DIR HDR+1
DHDR^SCRPW40 DPRT+3
S44^SCRPW42 START+1
$$DSV^SCRPW43 PRT4+2
PD1^SCRPW43 DPRT+2
$$XY^SCRPW50 HDR+3, HDR+4
ELIG^VADPT PLINE+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!?(IOM-$L(SDX)\2),SDX
  • Line Location: DPRT+4
Function Call: WRITE
  • Prompt: $$XY^SCRPW50(IOF,1,0)
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: !?(IOM-$L(SDTIT(SDI))\2),SDTIT(SDI)
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: !,SDLINE,!,"For date range: ",$P(SD("BDT"),U,2)," to ",$P(SD("EDT"),U,2),!,"Date printed: ",SDPNOW,?(IOM-6-$L(SDPAGE)),"Page: ",SDPAGE,!,SDLINE
  • Line Location: HDR+5
Function Call: READ
  • Prompt: M E A N S T E S T I N D I C A T O R"
  • Variable: "Means Test indicator") Q
  • Timeout: SDOUT
  • Line Location: SUMM+2
Function Call: READ
  • Prompt: E L I G I B I L I T Y"
  • Variable: "Encounter eligibility") Q
  • Timeout: SDOUT
  • Line Location: SUMM+3
Function Call: READ
  • Prompt: R E N T E N R O L L M E N T P R I O R I T Y"
  • Variable: "Enrollment priority") Q
  • Timeout: SDOUT
  • Line Location: SUMM+4
Function Call: WRITE
  • Prompt: !!?(IOM-$L(SDX)\2),SDX,!?(IOM-$L(SDX)\2),$E(SDLINE,1,$L(SDX))
  • Line Location: SHDS+2
Function Call: WRITE
  • Prompt: !?(C),SDY,?(C+40),"Encounters",?(C+59),"Visits",?(C+73),"Uniques",!?(C),$E(SDLINE,1,30),?(C+40),$E(SDLINE,1,10),?(C+55),$E(SDLINE,1,10),?(C+70),$E(SDLINE,1,10)
  • Line Location: SHDS+3
Function Call: WRITE
  • Prompt: !?(C),$E(SDLINE,1,30),?(C+40),$E(SDLINE,1,10),?(C+55),$E(SDLINE,1,10),?(C+70),$E(SDLINE,1,10),!?(C),"TOTAL:",?(C+40),$J(SDE,10,0),?(C+55),$J(SDV,10,0),?(C+70),$J(SDU,10,0)
  • Line Location: STOT+3
Function Call: WRITE
  • Prompt: !!?(IOM-$L(SDX)\2),SDX
  • Line Location: PRTD+1
Function Call: WRITE
  • Prompt: !
  • Line Location: PRT11+2
Function Call: WRITE
  • Prompt: !
  • Line Location: PRT21+2
Function Call: WRITE
  • Prompt: !
  • Line Location: PRT31+2
Function Call: WRITE
  • Prompt: !
  • Line Location: PRT41+2
Function Call: WRITE
  • Prompt: !
  • Line Location: PRT51+2
Function Call: WRITE
  • Prompt: !
  • Line Location: PRT61+2
Function Call: WRITE
  • Prompt: !
  • Line Location: SHD+5
Function Call: WRITE
  • Prompt: !
  • Line Location: SHD+5
Function Call: WRITE
  • Prompt: !?(5*SDI),$P(SD("SORT",SDI),U,2),": ",@("S"_SDI)
  • Line Location: SHD+6
Function Call: WRITE
  • Prompt: !,SDPNAM,?32,$P(SDX,U),?44,$P(SDX,U,2),?67,$P(SDX,U,3),?99,$P(SDX,U,4)
  • Line Location: PLINE+2
Function Call: WRITE
  • Prompt: !?(5*SDLEV),"SUBTOTAL: ",SDT(SDLEV)," "
  • Line Location: SST+2
Function Call: WRITE
  • Prompt: "(",SDX,")"
  • Line Location: SST+2
Function Call: WRITE
  • Prompt: !?(IOM-$L(SDZ)\2),SDZ,!?(IOM-$L(SDZ)\2),$E(SDLINE,1,$L(SDZ))
  • Line Location: HD1+1
Function Call: WRITE
  • Prompt: !,"Patient:",?32,"SSN:",?44,"Means Test Indicator:",?67,"Encounter Eligibility:",?99,"Enrollment Priority:"
  • Line Location: HD2+1
Routine Call
  • DIR
  • Line Location:
    • HDR+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("SCRPW" DPRT+4, SLP+1, SLP+2, STOT+2, PRTD+1, PRTD+2, PRT0+3, PRT1+1, PRT2+1, PRT3+1
PRT4+1, PRT5+1, PRT6+1, PRT11+1, PRT21+1, PRT31+1, PRT41+1, PRT51+1, PRT61+1

Label References

Name Line Occurrences
HD1 PRTD+2, PRT1+2, PRT2+2, PRT3+2, PRT4+3, PRT5+2, PRT6+1, SHD+3, PLINE+1, SST+1
HD2+1
HD2 PRT0+2, PRT11PRT21PRT31PRT41PRT51PRT61, PLINE+1
HDR DPRT+2, DPRT+4, SHDS+1, SLP+3, STOT+1, PRTD+1, PRTD+2, PRT1+2, PRT2+2, PRT3+2
PRT4+3, PRT5+2, PRT6+1, SHD+3, PLINE+1, SST+1, HD2+1
PLINE PRT0+3, PRT11+1, PRT21+1, PRT31+1, PRT41+1, PRT51+1, PRT61+1
PRT0 PRTD+2
PRT1 PRT0+1
PRT11 PRT1+3
PRT2 PRT1+4
PRT21 PRT2+3
PRT3 PRT2+4
PRT31 PRT3+3
PRT4 PRT3+4
PRT41 PRT4+4
PRT5 PRT4+5
PRT51 PRT5+3
PRT6 PRT5+4
PRT61 PRT6+1
PRTD DPRT+6
SHD PRT0+2, PRT11PRT21PRT31PRT41PRT51PRT61
SHDS SUMM+2, SUMM+3, SUMM+4
SLP SUMM+2, SUMM+3, SUMM+4
SST PRT1+4, PRT2+4, PRT3+4, PRT4+5, PRT5+4, PRT11+2, PRT21+2, PRT31+2, PRT41+2, PRT51+2
PRT61+2
STOP HDR+2
STOT SUMM+2, SUMM+3, SUMM+4
SUMM DPRT+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> C SHDS+3, SLP+4, STOT+3
>> DFN PRT0+3*, PRT11+1*, PRT21+1*, PRT31+1*, PRT41+1*, PRT51+1*, PRT61+1*
DIR HDR+1~
DIR(0 HDR+1*
IOF HDR+3
IOM DPRT+4, HDR+4, HDR+5, SHDS+2, PRTD+1, HD1+1
IOSL SHDS+1, SLP+3, STOT+1, SHD+3, PLINE+1, SST+1, HD2+1
IOST HDR+1, HDR+3
>> S0 PRTD+2*, PRT0+3, PRT1+1, PRT2+1, PRT3+1, PRT4+1, PRT4+2, PRT11+1, PRT21+1, PRT31+1
HD1+1
>> S1 PRT1+1*, PRT2+1, PRT3+1, PRT4+1, PRT4+2, PRT11+1, PRT21+1, PRT31+1
>> S2 PRT2+1*, PRT3+1, PRT4+1, PRT4+2, PRT21+1, PRT31+1
>> S3 PRT3+1*, PRT4+1, PRT4+2, PRT31+1
>> S4 PRT4+1*, PRT4+2
>> S5 PRT5+1*, PRT6+1, PRT51+1, PRT61+1
>> S6 PRT6+1*, PRT61+1
>> SD("BDT" HDR+5
>> SD("EDT" HDR+5
>> SD("FMT" DPRT+5, DPRT+6, HD1+1
>> SD("PAGE" PRT1+2, PRT2+2, PRT3+2, PRT4+3, PRT5+2, PRT6+1, SHD+4
>> SD("SORT" PRT0+1, PRT1+3, PRT2+3, PRT3+3, PRT4+4, PRT5+3, SHD+4, SHD+5, SHD+6, SST+2
>> SDE SLP+2*, SLP+4, STOT+2*, STOT+3
SDI HDR+4~*, SLP~, SLP+1, SLP+2, SHD+5~*, SHD+6*, PLINE+3~*
SDIV DPRT~, DPRT+4, DPRT+5, SUMM~, SLP+1, SLP+2, STOT+2, PRTD+1, PRTD+2, PRT0+3
PRT1+1, PRT2+1, PRT3+1, PRT4+1, PRT4+2, PRT11+1, PRT21+1, PRT31+1
SDLEV SHD~, SHD+3, PLINE~, PLINE+3, SST~, SST+2
>> SDLINE HDR+4, HDR+5, SHDS+2, SHDS+3, STOT+3, SHD+4, HD1+1
>> SDMTS PLINE+1*
>> SDOUT DPRT+2, DPRT+4, DPRT+5, STOP+1*, HDR+1*, HDR+2, SUMM+2, SUMM+3, SUMM+4, SHDS+1
, SLP+1, SLP+3, STOT+1, PRTD+1, PRTD+2, PRT0+3, PRT1+1, PRT1+2, PRT2+1, PRT2+2
PRT3+1, PRT3+2, PRT4+1, PRT4+3, PRT5+1, PRT5+2, PRT6+1, PRT11+1, PRT21+1, PRT31+1
PRT41+1, PRT51+1, PRT61+1, SHD+2, SHD+3, PLINE+1, SST+1, HD1+1, HD2+1
>> SDPAGE DPRT+2*, DPRT+3*, HDR+5*
>> SDPG DPRT+2, HDR+1, HDR+3, HDR+5*
>> SDPGL HDR+5*, PRT1+2, PRT2+2, PRT3+2, PRT4+3, PRT5+2, PRT6+1, SHD+3*, SHD+4*
>> SDPNAM PRT0+2*, PRT0+3*, PRT11*, PRT11+1*, PRT21*, PRT21+1*, PRT31*, PRT31+1*, PRT41*, PRT41+1*
, PRT51*, PRT51+1*, PRT61*, PRT61+1*, PLINE+2
>> SDPNOW HDR+5
>> SDT( PLINE+3*, SST+2
>> SDT(0 PRT0+1*
>> SDT(1 PRT1+2*
>> SDT(2 PRT2+2*
>> SDT(3 PRT3+2*
>> SDT(4 PRT4+3*
>> SDT(5 PRT5+2*
>> SDT(6 PRT6+1*
>> SDTIT DPRT+3
>> SDTIT( HDR+4
>> SDTIT(2 DPRT+2*, DPRT+6*
>> SDU SLP+2*, SLP+4, STOT+2*, STOT+3
>> SDUI PRT4+2*, PRT5+1, PRT6+1, PRT41+1, PRT51+1, PRT61+1
>> SDV SLP+2*, SLP+4, STOT+2*, STOT+3
SDX DPRT+4*, SHDS~, SHDS+2, SLP+1*, SLP+2, SLP+4, PRTD+1~*, PRT0+3*, PRT11+1*, PRT21+1*
PRT31+1*, PRT41+1*, PRT51+1*, PRT61+1*, PLINE+2, SST+2*
SDY SHDS~, SHDS+3
>> SDZ HD1+1*
U DPRT+5, DPRT+6, HDR+5, SLP+2, STOT+2, SHD+6, PLINE+1, PLINE+2, SST+2, HD1+1
>> VAEL(9 PLINE+1
>> Y HDR+1
>> ZTQUEUED STOP+1
>> ZTSTOP STOP+1*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All