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

Package: Scheduling

Routine: SCRPW27


Information

SCRPW27 ;RENO/KEITH - ACRP Ad Hoc Report (cont.) ; 03 Aug 98 9:06 PM

Source Information

Source file <SCRPW27.m>

Call Graph

Call Graph Total: 8

Package Total Call Graph
Scheduling 4 PLIST^SCRPW22  DISP0^SCRPW23  PDF^SCRPW28  (APFP,DDPH,DPHD,HD1,HD2,HDR)^SCRPW29  
VA Fileman 2 NOW^%DTC  ^DIR  
Kernel 1 KILL^%ZISS  
Registration 1 KVA^VADPT  

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
Scheduling 5 SCRPW20  SCRPW21  SCRPW26  SCRPW28  SCRPW29  

Entry Points

Name Comments DBIA/ICR reference
DDXP1
DDXP0
RPAR ;Print report parameters
DDXP ;Detail dx/procedure lists
RPRT1(SDRPT,SDS1,SDS2)
PRT ;Print ACRP Ad Hoc Report
RPRT0
RPRT ;Print formatted report
DAPP
RDET1
HIN ;Header initialization
PPAR ;Print parameters only
DPTL ;Detail patient list
DPTL1
DPTL3
DPTL2
RDET
DAPP0
DAPP1
EXIT
PFT ;Print as formatted text
DSV(SDPER) ;Encrypt detail sort values
CALC(SDI) ;Calculate % change

External References

Name Field # of Occurrence
NOW^%DTC HIN+1
KILL^%ZISS EXIT
^DIR PFT+2
PLIST^SCRPW22 RPAR+1
DISP0^SCRPW23 PRT+1, EXIT
PDF^SCRPW28 PRT+1
APFP^SCRPW29 DPTL1, DPTL2, DPTL3+2
DDPH^SCRPW29 DDXP+1, DDXP+2, DDXP0+3, DAPP, DAPP+1, DAPP0+3, DDXP1, DAPP1
DPHD^SCRPW29 DPTL+2, DPTL1, DPTL2, DPTL3
HD1^SCRPW29 RPRT+3, RPRT1+4
HD2^SCRPW29 RDET1+1, DPTL1, DPTL2, DPTL3, DDXP+1, DDXP0+3, DAPP, DAPP0+3, DDXP1, DAPP1
HDR^SCRPW29 RPAR+1, RPRT+2, RPRT1+4, RDET1+1, DPTL1, DPTL2, DPTL3, DDXP+1, DDXP0+3, DAPP
, DAPP0+3, DDXP1, DAPP1
KVA^VADPT EXIT

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: PFT+3
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: RPRT+1
Function Call: WRITE
  • Prompt: !!?(IOM-$L(SDX)\2),SDX
  • Line Location: RPRT+2
Function Call: WRITE
  • Prompt: !?(SDCOL),"========================================== ======== ======== ======== "
  • Line Location: RPRT1+5
Function Call: WRITE
  • Prompt: "======== ======== ======== ======== ======== ========"
  • Condition for execution: SDCOL=0
  • Line Location: RPRT1+5
Function Call: WRITE
  • Prompt: !?(SDCOL),$E(SDX,1,42)
  • Line Location: RPRT1+6
Function Call: WRITE
  • Prompt: ?(SDCOL+44+(10*SDI)),$S(SDX(SDI)="N/A":$J(SDX(SDI),8),1:$J(SDX(SDI),8,$S(SDI<6:0,SDX(SDI)'<100000:0,SDX(SDI)'<10000:1,1:2)))
  • Line Location: RPRT1+6
Function Call: WRITE
  • Prompt: !?(SDCOL+19),SDPNAM,?(SDCOL+51),$P($G(^DPT(DFN,0)),U,9)
  • Line Location: DPTL1+0
Function Call: WRITE
  • Prompt: !?(SDCOL+13),SDPNAM,?(SDCOL+45),$P($G(^DPT(DFN,0)),U,9)
  • Line Location: DPTL2+0
Function Call: WRITE
  • Prompt: ?(SDCOL+57),Y
  • Line Location: DPTL2+0
Function Call: WRITE
  • Prompt: !?(SDCOL),$E(SDPNAM,1,18),?(SDCOL+20),$P($G(^DPT(DFN,0)),U,9)
  • Line Location: DPTL3+2
Function Call: WRITE
  • Prompt: ?(SDCOL+32),$P(Y,":",1,2),?(SDCOL+52),$E(SDCL,1,28)
  • Line Location: DPTL3+2
Function Call: WRITE
  • Prompt: !!,"No diagnoses found for this detail item."
  • Line Location: DDXP0+0
Function Call: WRITE
  • Prompt: !?(SDCOL),"====================================",?(SDCOL+40),"==========",?(SDCOL+55),"==========",?(SDCOL+70),"==========",!?(SDCOL),"TOTAL:",?(SDCOL+40),$J(SDTCT(1),10),?(SDCOL+55),$J(SDTCT(2),10),?(SDCOL+70),$J(SDTCT(3),10)
  • Line Location: DDXP0+4
Function Call: WRITE
  • Prompt: !!
  • Line Location: DAPP+1
Function Call: WRITE
  • Prompt: !!,"No procedures found for this detail item."
  • Line Location: DAPP0+0
Function Call: WRITE
  • Prompt: !?(SDCOL+13),"======================================",?(SDCOL+56),"==========",!?(SDCOL+13),"TOTAL:",?(SDCOL+56),$J(SDTCT(1),10)
  • Line Location: DAPP0+3
Function Call: WRITE
  • Prompt: !?(SDCOL),SDS3,?(SDCOL+40),$J(SDICT(1),10),?(SDCOL+55),$J(SDICT(2),10),?(SDCOL+70),$J(SDICT(3),10)
  • Line Location: DDXP1+1
Function Call: WRITE
  • Prompt: !?(SDCOL+13),SDS3,?(SDCOL+56),$J(SDICT(1),10)
  • Line Location: DAPP1+1
Routine Call
  • DIR
  • Line Location:
    • PFT+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("RM" EXIT
^DD("DD" HIN+1, DPTL2, DPTL3+1
^DPT - [#2] DPTL1, DPTL2, DPTL3+2
^SC - [#44] DPTL3+1
^TMP("SCRPW" RPRT+2, RPRT+4, RPRT0, RPRT1+1, RPRT1+2, RDET, RDET1, DSV+1, DSV+2*, DSV+3*
, DPTL+3, DPTL1+1, DPTL2+1, DPTL3+1, DDXP0, DDXP0+2, DAPP0, DAPP0+2, DDXP1, DAPP1
, EXIT+5!

Label References

Name Line Occurrences
$$DSV DPTL+1
@( PFT+1
CALC RPRT1+3
DAPP DDXP0
DAPP0 DAPP
DAPP1 DAPP0+2
DDXP RDET1+2
DDXP0 DDXP+1
DDXP1 DDXP0+2
DPTL RDET1+2
DPTL1 DPTL+3
DPTL2 DPTL1+1
DPTL3 DPTL2+1
EXIT PFT+5
PFT PRT+1
RDET1 RDET
RPAR PPAR+1
RPRT0 RPRT+4
RPRT1 RPRT+5, RPRT0

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% HIN+1, EXIT+1!
%DT EXIT+1!
%Y EXIT+1!
C EXIT+1!
D0 EXIT+4!
DFN DPTL+3*, DPTL1, DPTL1+1, DPTL2, DPTL2+1, DPTL3+1, DPTL3+2, EXIT+1!
DIC EXIT+1!
DINUM EXIT+4!
DIR PFT+2~, EXIT+1!
DIR(0 PFT+2*
DTOUT EXIT+1!
DUOUT EXIT+1!
DX RPRT+1~*
DY RPRT+1~*
I EXIT+1!
II EXIT+1!
IOF RPRT+1
IOM HIN+1, PFT+1, RPAR+1, RPRT+2, DPTL+2, EXIT
IOSL PFT+3, RPAR+1, RPRT1+4, DPTL1, DPTL2, DPTL3, DDXP+1, DDXP0+3, DAPP, DAPP0+3
, DDXP1, DAPP1
IOST PRT+1, PFT+2, RPAR+1
S0 EXIT+4!
S1 EXIT+1!
S2 EXIT+1!
SD EXIT+1!
SDA EXIT+1!
SDACT EXIT+1!
SDAPFM EXIT+4!
SDATE EXIT+1!
SDBOT EXIT+1!
SDCL DPTL3+1*, DPTL3+2, EXIT+1!
SDCOL PFT+1*, RPRT1+2, RPRT1+3, RPRT1+5, RPRT1+6, DPTL+2*, DPTL1, DPTL2, DPTL3+2, DDXP0+4
, DAPP0+3, DDXP1+1, DAPP1+1, EXIT+1!
SDCT DDXP0+1*, DDXP0+2, DAPP0+1*, DAPP0+2, DDXP1+1*, DAPP1+1*, EXIT+1!
SDD EXIT+4!
SDDSC1 EXIT+3!
SDDSV DPTL+1~*, DPTL+3, DPTL1+1, DPTL2+1, DPTL3+1
SDDT DPTL2+1*, DPTL3+1, EXIT+1!
SDDV EXIT+1!
SDE EXIT+1!
SDEDT EXIT+1!
SDEF EXIT+1!
SDENC RDET1*, RDET1+1, EXIT+1!
SDEXE EXIT+1!
SDF EXIT+1!
SDF(1 RDET
SDF(2 PFT+1
SDF(3 RDET1+2, DDXP+2
SDF(4 DPTL1, DPTL2
SDF(5 DDXP0+2, DAPP0+2
SDFE EXIT+1!
SDFI EXIT+1!
SDFL EXIT+1!
SDFOUND EXIT+2!
SDH EXIT+2!
SDHIN HIN+1*, EXIT+4!
SDI RPRT1+3*, RPRT1+6*, CALC~, CALC+1, DPTL1*, DPTL2*, DPTL3+2*, DDXP1*, EXIT+2!
SDICT EXIT+2!
SDICT( DDXP1*
SDICT(1 DDXP1+1, DAPP1*, DAPP1+1
SDICT(2 DDXP1+1
SDICT(3 DDXP1+1
SDII EXIT+2!
SDIII EXIT+4!
SDIRB EXIT+2!
SDIRQ EXIT+2!
SDISP EXIT+2!
SDL EXIT+2!
SDLEV EXIT+2!
SDLINE HIN+1*, PPAR+1!, EXIT+2!
SDLP EXIT+2!
SDLPX EXIT+4!
SDLR EXIT+2!
SDNEW EXIT+4!
SDNUL EXIT+2!
SDO EXIT+2!
SDOCH EXIT+2!
SDOE DPTL2+1*, DPTL3+1, EXIT+2!
SDOE0 EXIT+2!
SDOECH EXIT+4!, EXIT+5!
SDORD RPRT+4, EXIT+5!
SDORDV RPRT+3*, RPRT+4*, RPRT0, EXIT+5!
SDOUT PRT+1*, PFT+1, PFT+2, RPAR+1, RPRT+2*, RPRT+4, RPRT+5, RPRT0, RPRT1+4, RPRT1+6
, RDET, RDET1+1, RDET1+2, DPTL+3, DPTL1, DPTL1+1, DPTL2, DPTL2+1, DPTL3, DDXP+1
, DDXP0+2, DDXP0+3, DAPP, DAPP0+2, DAPP0+3, DDXP1, DAPP1, EXIT+2!
SDP EXIT+2!
SDPAGE HIN+1*, PPAR+1!, RPRT+2*, EXIT+2!
SDPAR EXIT+2!
SDPAR("F" PRT+1
SDPAR("L" HIN+1
SDPAR("O" HIN+1
SDPAR("P" RPRT1, RDET1+1
SDPAR("PF" DPTL+2
SDPBDT HIN+1*, PPAR+1!, EXIT+2!
SDPEDT HIN+1*, PPAR+1!
SDPER DSV~, DSV+1, DSV+3, EXIT+2!
SDPFL EXIT+4!
SDPNAM DPTL+3*, DPTL1, DPTL1+1, DPTL2, DPTL2+1, DPTL3+1, DPTL3+2, EXIT+2!
SDPNOW HIN+1*, PPAR+1!, EXIT+3!
SDPTX EXIT+3!
SDPTX(1 RDET1+1*
SDPTX(2 RDET1+1*
SDQT DDXP0+1*, DDXP0+2*, DAPP0+1*, DAPP0+2*, EXIT+3!
SDR PFT+1*, EXIT+3!
SDR1 EXIT+3!
SDR2 EXIT+3!
SDREV EXIT+3!
SDRM EXIT+4!
SDRPT RPRT1~, RPRT1+1, RPRT1+2, RPRT1+5, EXIT+3!
SDS EXIT+3!
SDS1 RPRT+2*, RPRT0*, RPRT1~, RPRT1+1, RPRT1+2, RDET*, RDET1, RDET1+1, DPTL+1, DDXP0
, DDXP0+2, DAPP0, DAPP0+2, DDXP1, DAPP1, EXIT+3!
SDS2 RPRT0*, RPRT1~, RPRT1+1, RPRT1+2, RDET*, RDET1, RDET1+1, DPTL+1, DDXP0, DDXP0+2
, DAPP0, DAPP0+2, DDXP1, DAPP1, EXIT+3!
SDS3 DDXP0+2*, DAPP0+2*, DDXP1, DDXP1+1, DAPP1, DAPP1+1, EXIT+3!
SDS4 EXIT+5!
SDSC2 EXIT+3!
SDSEL EXIT+3!
SDSTOP EXIT+4!
SDT DPTL1+1*, DPTL2, DPTL2+1, DPTL3+1, EXIT+3!
SDTAG EXIT+3!
SDTCT DDXP0+1!, DAPP0+1!, EXIT+3!
SDTCT( DDXP1*
SDTCT(1 DDXP0+4, DAPP0+3, DAPP1*
SDTCT(2 DDXP0+4
SDTCT(3 DDXP0+4
SDTEMP EXIT+4!
SDTITL EXIT+3!
SDTITLX HIN+1*, PPAR+1!, EXIT+3!
SDTOP EXIT+3!
SDTOT EXIT+5!
SDTX EXIT+3!
SDTYP EXIT+3!
SDU EXIT+3!
SDUNI RDET1*, RDET1+1, EXIT+3!
SDV EXIT+4!
SDVIS RDET1*, RDET1+1, EXIT+4!
SDX RPRT+2*, RPRT1!*, RPRT1+6, DSV+1~*, DSV+2*, DSV+3, EXIT+4!
SDX( RPRT1+6, CALC+1*
SDX(0 RPRT1+1*
SDX(1 RPRT1+1*
SDX(2 RPRT1+1*
SDX(3 RPRT1+2*
SDX(4 RPRT1+2*
SDX(5 RPRT1+2*
SDX1 EXIT+4!
SDX2 EXIT+4!
SDXY RPRT+1, EXIT+4!
SDY EXIT+4!
SDYR EXIT+4!
SDZ EXIT+4!
T EXIT+4!
U PRT+1, HIN+1, RDET1+1, DSV+1, DSV+3, DPTL1, DPTL2, DPTL3+1, DPTL3+2, DDXP1
X EXIT*, EXIT+4!
X1 EXIT+4!
X2 EXIT+4!
Y HIN+1*, DPTL2*, DPTL3+1*, DPTL3+2, EXIT+4!
>> ZTQUEUED PPAR+1
ZTSAVE EXIT+4!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All