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 |  Marked Items |  All
Print Page as PDF
Routine: ACDRR2P

Package: Alcohol Chemical Dependency

Routine: ACDRR2P


Information

ACDRR2P ;IHS/ADC/EDE/KML - PRINT REPORT;

Source Information

Source file <ACDRR2P.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
Alcohol Chemical Dependency 2 ($$CTR,$$LJRF,$$USR)^ACD  PAUSE^ACDDEU  
Kernel 2 $$FMTE^XLFDT  $$REPEAT^XLFSTR  

Entry Points

Name Comments DBIA/ICR reference
START ;
VTPREV ;;PREVENTION
EOJ ;
SUBHDR ; WRITE SUB HEADER
EOP ; END OF PAGE
VTINTV ;;INTERVENTION
VTFU ;;FOLLOWUP
PRTVT(VT) ; RETURN PRINTABLE VISIT TYPE
PROVIDER ; WRITE ONE PROVIDERS INFO
VTRE ;;REOPEN
INIT ;
BODY ; WRITE BODY OF REPORT
VTTD ;;TRANSFER/DISCHARGE/CLOSE
PAUSE ; PAUSE FOR USER
F ;Form feed
VTIR ;;INFO/REFERRAL
HEADER ; WRITE HEADER
VTCS ;;CLIENT SERVICE
PROVS ; PROVIDER REPORTS
VTIN ;;INITIAL
TOTALS ; TOTALS REPORT
VTOT ;;CRISIS BRIEF

External References

Name Field # of Occurrence
$$CTR^ACD HEADER+2
$$LJRF^ACD TOTALS+3, TOTALS+13, TOTALS+24, TOTALS+35, PROVIDER+7, PROVIDER+9, PROVIDER+11, PROVIDER+23, PROVIDER+37, PROVIDER+51
$$USR^ACD HEADER+3
PAUSE^ACDDEU PAUSE+1
$$FMTE^XLFDT HEADER+3, HEADER+4
$$REPEAT^XLFSTR HEADER+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: INIT+2
Function Call: WRITE
  • Prompt: !
  • Line Location: TOTALS+2
Function Call: WRITE
  • Prompt: $$LJRF^ACD("TOTAL PATIENTS SEEN",37,".")," ",X,!
  • Line Location: TOTALS+3
Function Call: WRITE
  • Prompt: " (INFO/REFERRALS,CRISIS BRIEFS & INTERVENTIONS EXCLUDED)",!
  • Line Location: TOTALS+4
Function Call: WRITE
  • Prompt: ?2,$$LJRF^ACD(X,35,".")," ",Z,!
  • Line Location: TOTALS+13
Function Call: WRITE
  • Prompt: ?2,$$LJRF^ACD(X,35,".")," ",Z,!
  • Line Location: TOTALS+24
Function Call: WRITE
  • Prompt: ?2,$$LJRF^ACD(X,35,".")," ",Z,!
  • Line Location: TOTALS+35
Function Call: WRITE
  • Prompt: "PROVIDER: ",ACDPROV,!
  • Line Location: PROVIDER+4
Function Call: WRITE
  • Prompt: ?2,$$LJRF^ACD("PRIMARY PROVIDER PATIENT COUNT",35,".")," ",Z,!
  • Line Location: PROVIDER+7
Function Call: WRITE
  • Prompt: ?2,$$LJRF^ACD("TOTAL HOURS",35,".")," ",Z,!
  • Line Location: PROVIDER+9
Function Call: WRITE
  • Prompt: ?2,$$LJRF^ACD("HOURS NOT RECORDED VISIT COUNT",35,".")," ",Z,!
  • Line Location: PROVIDER+11
Function Call: WRITE
  • Prompt: ?2,$$LJRF^ACD(ACDTC,35,".")," ",H,?48,$S(C:$J(H/C,5,2),1:" 0"),?61,C,?71,Z,!
  • Line Location: PROVIDER+23
Function Call: WRITE
  • Prompt: ?2,$$LJRF^ACD(X,35,".")," ",H,?48,$S(C:$J(H/C,5,2),1:" 0"),?61,C,?71,Z,!
  • Line Location: PROVIDER+37
Function Call: WRITE
  • Prompt: ?2,$$LJRF^ACD(X,35,".")," ",H,?48,$S(C:$J(H/C,5,2),1:" 0"),?61,C,?71,Z,!
  • Line Location: PROVIDER+51
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: EOP+4
Function Call: WRITE
  • Prompt: !,$$CTR^ACD("CDMIS PROVIDER WORKLOAD REPORT",80),!!
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: "Run at ",ACDSITE," for ",$$USR^ACD()," on ",$$FMTE^XLFDT(DT),!
  • Line Location: HEADER+3
Function Call: WRITE
  • Prompt: "for date range ",$$FMTE^XLFDT(ACDDTLO)," through ",$$FMTE^XLFDT(ACDDTHI),?72,"Page ",$J(ACDPAGE,3),!
  • Line Location: HEADER+4
Function Call: WRITE
  • Prompt: $$REPEAT^XLFSTR("=",80),!
  • Line Location: HEADER+5
Function Call: WRITE
  • Prompt: !
  • Line Location: SUBHDR+3
Function Call: WRITE
  • Prompt: !!
  • Line Location: SUBHDR+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ACDPREV(9002170.9 - [#9002170.9] TOTALS+34, PROVIDER+49
^ACDSERV( TOTALS+23, PROVIDER+35
^TMP("ACDRR2" TOTALS+1, TOTALS+10, TOTALS+21, TOTALS+32, PROVS+3, PROVIDER+6, PROVIDER+8, PROVIDER+10, PROVIDER+17, PROVIDER+19
, PROVIDER+20, PROVIDER+21, PROVIDER+31, PROVIDER+33, PROVIDER+34, PROVIDER+45, PROVIDER+47, PROVIDER+48, EOJ+2!

Label References

Name Line Occurrences
$$PRTVT TOTALS+12, PROVIDER+22
BODY START+2
EOJ START+3
EOP PROVIDER+2, F+2, SUBHDR+2
F TOTALS+11, TOTALS+22, TOTALS+33, PROVIDER+18, PROVIDER+32, PROVIDER+46
HEADER INIT+4, EOP+5
INIT START+1
PAUSE EOP+2
PROVIDER PROVS+3
PROVS BODY+5
SUBHDR TOTALS+7, TOTALS+18, TOTALS+29, PROVIDER+14, PROVIDER+28, PROVIDER+42, HEADER+6
TOTALS BODY+3

Naked Globals

Name Field # of Occurrence
^( TOTALS+10, TOTALS+21, TOTALS+32

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> ACDBT TOTALS+1, TOTALS+10, TOTALS+21, TOTALS+32, PROVS+3, PROVIDER+6, PROVIDER+8, PROVIDER+10, PROVIDER+17, PROVIDER+19
, PROVIDER+20, PROVIDER+21, PROVIDER+31, PROVIDER+33, PROVIDER+34, PROVIDER+45, PROVIDER+47, PROVIDER+48, EOJ+2
>> ACDCS PROVIDER+30*, PROVIDER+31*, PROVIDER+33, PROVIDER+34, PROVIDER+35
>> ACDDTHI HEADER+4
>> ACDDTLO HEADER+4
>> ACDJOB TOTALS+1, TOTALS+10, TOTALS+21, TOTALS+32, PROVS+3, PROVIDER+6, PROVIDER+8, PROVIDER+10, PROVIDER+17, PROVIDER+19
, PROVIDER+20, PROVIDER+21, PROVIDER+31, PROVIDER+33, PROVIDER+34, PROVIDER+45, PROVIDER+47, PROVIDER+48, EOJ+2
>> ACDPAGE INIT+3*, HEADER+1*, HEADER+4
>> ACDPREV PROVIDER+44*, PROVIDER+45*, PROVIDER+47, PROVIDER+48, PROVIDER+49
>> ACDPROV PROVS+2*, PROVS+3*, PROVIDER+4, PROVIDER+6, PROVIDER+8, PROVIDER+10, PROVIDER+17, PROVIDER+19, PROVIDER+20, PROVIDER+21
, PROVIDER+31, PROVIDER+33, PROVIDER+34, PROVIDER+45, PROVIDER+47, PROVIDER+48
>> ACDQ BODY+2*, BODY+4, BODY+6, TOTALS+8, TOTALS+10, TOTALS+11, TOTALS+15, TOTALS+19, TOTALS+21, TOTALS+22
, TOTALS+26, TOTALS+30, TOTALS+32, TOTALS+33, TOTALS+37, PROVS+3, PROVS+4, PROVIDER+3, PROVIDER+15, PROVIDER+16
, PROVIDER+18, PROVIDER+25, PROVIDER+29, PROVIDER+31, PROVIDER+32, PROVIDER+39, PROVIDER+43, PROVIDER+45, PROVIDER+46, PROVIDER+53
, EOP+1*, EOP+3, PAUSE+1*
>> ACDSHDR INIT+3*, TOTALS+6*, TOTALS+17*, TOTALS+28*, PROVIDER+1*, PROVIDER+13*, PROVIDER+27*, PROVIDER+41*, SUBHDR+1, SUBHDR+4
>> ACDSITE HEADER+3
>> ACDTC PROVIDER+16*, PROVIDER+17, PROVIDER+19, PROVIDER+20, PROVIDER+21, PROVIDER+22*, PROVIDER+23
>> ACDVT TOTALS+9*, TOTALS+10*, TOTALS+12
C BODY+1~, PROVIDER+20*, PROVIDER+23, PROVIDER+34*, PROVIDER+37, PROVIDER+48*, PROVIDER+51
>> DIRUT PAUSE+1
DT HEADER+3
H BODY+1~, PROVIDER+19*, PROVIDER+23, PROVIDER+33*, PROVIDER+37, PROVIDER+47*, PROVIDER+51
IO INIT+1, EOJ+1
IO("S" INIT+2, PAUSE+1
IO(0 EOJ+1
IOF INIT+2, EOP+4, EOJ+1
IOSL F+2, SUBHDR+2
IOST INIT+2, PAUSE+1
U TOTALS+23, TOTALS+34, PROVIDER+35, PROVIDER+49
V F+1~
VT PRTVT~, PRTVT+4
W F+1~
X TOTALS+1*, TOTALS+3, TOTALS+12*, TOTALS+13, TOTALS+23*, TOTALS+24, TOTALS+34*, TOTALS+35, PROVIDER+35*, PROVIDER+37
, PROVIDER+49*, PROVIDER+51, F+1~, PRTVT+1~, PRTVT+2*, PRTVT+3*, PRTVT+4, PRTVT+5
Y TOTALS+20*, TOTALS+21*, TOTALS+23, TOTALS+31*, TOTALS+32*, TOTALS+34, F+1~
Z BODY+1~, TOTALS+10*, TOTALS+13, TOTALS+21*, TOTALS+24, TOTALS+32*, TOTALS+35, PROVIDER+6*, PROVIDER+7, PROVIDER+8*
, PROVIDER+9, PROVIDER+10*, PROVIDER+11, PROVIDER+21*, PROVIDER+23, PROVIDER+36*, PROVIDER+37, PROVIDER+50*, PROVIDER+51, F+1~
>> ZTQUEUED INIT+2, PAUSE+1

Marked Items

Name Field # of Occurrence
$T(@(3) PRTVT+2
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All