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

Package: Patient Care Component Reports

Routine: APCLADAP


Information

APCLADAP ; IHS/CMI/LAB - PRINT CLINIC VISITS ;

Source Information

Source file <APCLADAP.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
IHS VA Utilities 2 $$VAL^XBDIQ1  $$PROVCLSC^XBFUNC1  
VA Fileman 2 EN^DIQ1  ^DIR  
Kernel 1 $$FMTE^XLFDT  
Patient Care Component Reports 1 DONE^APCLOSUT  

Entry Points

Name Comments DBIA/ICR reference
POV
HEAD ;
SET ;
END ;
HD1
SET41
TIME
ADA
TOTALS ;print totals
SET4 ;
SET5 ;
INIT ;initialize variables
PRV
SET2 ;
SET3
PAGE ;form feed to new page
PRNT ;
FINAL ;print grand totals

External References

Name Field # of Occurrence
DONE^APCLOSUT END+1
EN^DIQ1 SET41
^DIR TOTALS+7, PAGE+2
$$VAL^XBDIQ1 POV+3
$$PROVCLSC^XBFUNC1 PRV+5
$$FMTE^XLFDT HD1+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"No visits to report."
  • Line Location: INIT+2
Function Call: WRITE
  • Prompt: !,$E(APCLNAME,1,13),?15,$J(APCLHRCN,6),?23,$J(APCLAGE,2)
  • Line Location: SET41+3
Function Call: WRITE
  • Prompt: !
  • Line Location: PRNT+2
Function Call: WRITE
  • Prompt: ?26,$E(APCLVDT,4,5),"/",$E(APCLVDT,6,7),"/",$E(APCLVDT,2,3)_" "_$E($P(APCLVDT,".",2)_"0000",1,4)
  • Line Location: PRNT+4
Function Call: WRITE
  • Prompt: ?41,APCLCLS
  • Line Location: PRV+6
Function Call: WRITE
  • Prompt: !
  • Line Location: ADA+5
Function Call: WRITE
  • Prompt: !
  • Line Location: ADA+5
Function Call: WRITE
  • Prompt: ?45,APCLADA,?53,$S($D(APCLNARR(APCLPOVC)):APCLNARR(APCLPOVC),1:"")
  • Line Location: ADA+7
Function Call: WRITE
  • Prompt: !!?39,"TOTAL PATIENTS: ",APCLPGRD
  • Line Location: FINAL+3
Function Call: WRITE
  • Prompt: !!?41,"TOTAL VISITS: ",APCLVGRA
  • Line Location: FINAL+4
Function Call: WRITE
  • Prompt: !!?28,"TOTAL PATIENTS FOR CLINIC: ",APCLPTOT
  • Line Location: TOTALS+2
Function Call: WRITE
  • Prompt: !!?30,"TOTAL VISITS FOR CLINIC: ",APCLVTOT
  • Line Location: TOTALS+3
Function Call: WRITE
  • Prompt: !
  • Line Location: TOTALS+7
Function Call: WRITE
  • Prompt: !!,$P(^VA(200,DUZ,0),"^",2),?(80-$L(X)/2),X,?72,"Page ",APCLPAGE
  • Line Location: HEAD+3
Function Call: WRITE
  • Prompt: !,Y
  • Line Location: HEAD+4
Function Call: WRITE
  • Prompt: ?(80-$L(X)/2),X
  • Line Location: HEAD+7
Function Call: WRITE
  • Prompt: !,Y
  • Line Location: HD1+0
Function Call: WRITE
  • Prompt: ?23,"for ",$$FMTE^XLFDT(APCLBD)," to ",$$FMTE^XLFDT(APCLED)
  • Line Location: HD1+4
Function Call: WRITE
  • Prompt: !!,"NAME",?16,"HRCN",?22,"AGE",?27,"VISIT DATE",?41,"PRV",?46,"ADA",?53,"PROV NARRATIVE",!
  • Line Location: HD1+6
Function Call: WRITE
  • Prompt: !
  • Line Location: PAGE+2
Routine Call
  • DIR
  • Line Location:
    • TOTALS+7
    • PAGE+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNPAT - [#9000001] SET4+4, SET4+5
^AUPNVDEN - [#9000010.05] ADA+2
^AUPNVDEN("AD" ADA
^AUPNVPOV - [#9000010.07] POV+2
^AUPNVPOV("AD" POV
^AUPNVPRV - [#9000010.06] PRV+2, PRV+3
^AUPNVPRV("AD" PRV
^AUTTADA - [#9999999.31] ADA+4
^DD("DD" HD1
^DD(9000010.06 PRV+4, PRV+5
^DIC(4 - [#4] HEAD+2
^DIC(40.7 - [#40.7] HEAD+7
^DIC(6 - [#6] PRV+4
^DIC(7 - [#7] PRV+4
^UTILITY("DIQ1" SET41!, SET41+1!
^VA(200 - [#200] HEAD+3
^XTMP("APCLADA" INIT+2, SET+2, END+2!, SET2+2, SET3, SET41+6, SET5+1

Label References

Name Line Occurrences
ADA POV+1, ADA+2, ADA+8
END INIT+2, SET+3, FINAL+1
FINAL SET+4
HD1 HEAD+5, HEAD+6
HEAD INIT+2, SET2+1, FINAL+2, PAGE+1, PAGE+3
PAGE SET41+2, PRNT+2, ADA+5, TOTALS+1
POV PRV+1, POV+2, POV+7
PRNT SET5+1
PRV PRV+2
SET2 SET+2
SET3 SET2+2
SET4 SET3
SET41 SET4+4
SET5 SET41+6
TIME HEAD+4
TOTALS SET2+4

Naked Globals

Name Field # of Occurrence
^(0 PRV+2, POV+2, ADA+2, HEAD+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%A TIME+1*, TIME+2, TIME+3!
%B TIME+1*, TIME+3!
%C TIME+2*, TIME+3!
>> APCLADA ADA+3*, ADA+4*, ADA+7
>> APCLAGE SET41+1*, SET41+3
>> APCLBD HD1+4
>> APCLBT INIT+2, SET+2, END+2, SET2+2, SET3, SET41+6, SET5+1
>> APCLCL FINAL+1
>> APCLCLS PRV+4*, PRV+5*, PRV+6
>> APCLCLX SET+1*, SET+2*, SET2+2, SET3, SET41+6, SET5+1, HEAD+5, HEAD+6, HEAD+7
>> APCLDFN SET2+2*, SET3*, SET4+4, SET4+5, SET41, SET41+1, SET41+6, SET5+1
>> APCLED HD1+4
>> APCLFPV PRNT+3*, ADA+5, ADA+6*
>> APCLFVS SET4+1*, PRNT+2, PRNT+3*
>> APCLHRCN SET4+4*, SET4+5*, SET41+3
>> APCLJOB INIT+2, SET+2, END+2, SET2+2, SET3, SET41+6, SET5+1
>> APCLLOC SET4+4
>> APCLNAME SET2+1*, SET2+2*, SET3, SET41+3, SET41+6, SET5+1
>> APCLNAR POV+3*, POV+6
APCLNARR PRV+1!, PRV+9!
APCLNARR( POV+6*, ADA+7
>> APCLPAGE INIT+1*, HEAD+2*, HEAD+3
>> APCLPGRD INIT+3*, FINAL+3, TOTALS+4*
>> APCLPOVC PRNT+3*, PRV+1*, PRV+9*, POV+1*, POV+5*, POV+6, ADA+7*
>> APCLPRV PRNT+7*, PRV*, PRV+1, PRV+2, PRV+3
>> APCLPTOT SET2+1*, SET4+3*, TOTALS+2, TOTALS+4
>> APCLPV PRV+1*, PRV+9*, POV*, POV+1, POV+2, POV+3
>> APCLSTOP INIT+1*, SET+2, SET+3, SET2+2, SET2+3, SET3, SET41+2, SET5+1, PRNT+2, ADA+5
, TOTALS+7*, PAGE+2*, PAGE+3
>> APCLSTR POV+2*, ADA+2*, ADA+3
>> APCLVDEN POV+1*, ADA*, ADA+1, ADA+2
>> APCLVDFN SET41+6*, SET5+1*, PRV, POV, ADA
>> APCLVDT SET4+1*, SET41+6*, SET5+1, PRNT+4
>> APCLVGRA INIT+3*, FINAL+4, TOTALS+4*
>> APCLVTOT SET2+1*, PRNT+1*, TOTALS+3, TOTALS+4
>> DA SET41*
>> DIC SET41*
DIR TOTALS+7!, PAGE+2!
DIR(0 TOTALS+7*, PAGE+2*
>> DIRUT TOTALS+7
>> DR SET41*
DT HD1
>> DTOUT PAGE+2
DUZ HEAD+3
DUZ(2 SET4+5, HEAD+2
IO TOTALS+7, PAGE+2
IO(0 TOTALS+7, PAGE+2
IOF HEAD+1
IOSL SET41+2, PRNT+2, ADA+5, TOTALS+1
IOST TOTALS+5, TOTALS+7, PAGE+1, PAGE+2
U SET2+3, SET4+4, SET4+5, PRV+4, PRV+5
>> X PRV+3*, PRV+4*, PRV+5, HEAD+2*, HEAD+3, HEAD+4*, HEAD+5*, HEAD+6*, HEAD+7*, TIME
, TIME+1
>> Y HEAD+4, HD1*, PAGE+2, TIME*, TIME+3*
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All