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

Package: Patient Care Component Reports

Routine: APCLCAWP


Information

APCLCAWP ; IHS/CMI/LAB -print tally of walkin and appt clinic visits ;

Source Information

Source file <APCLCAWP.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA Fileman 3 DD^%DT  NOW^%DTC  ^DIR  
Patient Care Component Reports 1 DONE^APCLOSUT  

Entry Points

Name Comments DBIA/ICR reference
SORT ;
HEAD
HEAD1 ;
P ;
START ;
DONE ;

External References

Name Field # of Occurrence
DD^%DT START+2, START+3
NOW^%DTC START+2
DONE^APCLOSUT DONE+1
^DIR HEAD+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !?18,"Totals: ",?30,$J(APCLGTOT,6),?38,$J(APCLGTAP,6),?45,$J(((APCLGTAP/APCLGTOT)*100),5,1),?52,$J(APCLGTWI,6),?59,$J(((APCLGTWI/APCLGTOT)*100),5,1),?65,$J(APCLGTUN,6),?72,$J(((APCLGTUN/APCLGTOT)*100),5,1),!!
  • Line Location: START+9
Function Call: WRITE
  • Prompt: !,$P(^DIC(4,APCLVLOC,0),U),!
  • Line Location: SORT+2
Function Call: WRITE
  • Prompt: !?15,"Sub total: ",?30,$J(APCLLTOT,6),?38,$J(APCLAPLT,6),?45,$J(((APCLAPLT/APCLLTOT)*100),5,1),?52,$J(APCLWILT,6),?59,$J(((APCLWILT/APCLLTOT)*100),5,1),?65,$J(APCLUNLT,6),?72,$J(((APCLUNLT/APCLLTOT)*100),5,1),!!
  • Line Location: SORT+5
Function Call: WRITE
  • Prompt: !?2,$E(APCLPRNT,1,20),?23,APCLSRT2,?30,$J(APCLCLNT,6),?38,$J(APCLAPPT,6),?45,$J(((APCLAPPT/APCLCLNT)*100),5,1),?52,$J(APCLWIT,6),?59,$J(((APCLWIT/APCLCLNT)*100),5,1),?65,$J(APCLUNST,6),?72,$J(((APCLUNST/APCLCLNT)*100),5,1)
  • Line Location: P+7
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD+1
Function Call: WRITE
  • Prompt: !?58,APCLDT,?72,"Page ",APCLPG,!
  • Line Location: HEAD1+2
Function Call: WRITE
  • Prompt: ?10,"TALLY OF CLINIC VISITS: WALK-IN, APPOINTMENT, UNSPECIFIED",!
  • Line Location: HEAD1+3
Function Call: WRITE
  • Prompt: ?((80-APCLLENG)/2),"LOCATION OF VISITS: ",APCLLOCT,!
  • Line Location: HEAD1+6
Function Call: WRITE
  • Prompt: ?((80-APCLLENG)/2),"CLINIC: ",APCLCLNT,!
  • Line Location: HEAD1+9
Function Call: WRITE
  • Prompt: ?18,"VISIT DATES: ",APCLBDD," TO ",APCLEDD,!
  • Line Location: HEAD1+10
Function Call: WRITE
  • Prompt: !,"LOCATION OF VISIT"
  • Line Location: HEAD1+11
Function Call: WRITE
  • Prompt: !?22,"CLINIC",?30,"TOTAL",?39,"APPOINTMENTS",?53," WALK-INS",?66,"UNSPECIFIED"
  • Line Location: HEAD1+12
Function Call: WRITE
  • Prompt: !?5,"CLINIC",?22,"CODE",?29,"# VISITS",?42,"# %",?56,"# %",?69,"# %",!
  • Line Location: HEAD1+13
Function Call: WRITE
  • Prompt: APCL80S,!
  • Line Location: HEAD1+14
Routine Call
  • DIR
  • Line Location:
    • HEAD+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(4 - [#4] SORT+2
^XTMP("APCLCAW" START+6, DONE+2!, SORT+3, P+3, P+4, P+5, P+6

Label References

Name Line Occurrences
DONE START+7, START+8
HEAD START+4, START+8, SORT+1, P+2
HEAD1 HEAD
P SORT+3
SORT START+6

Naked Globals

Name Field # of Occurrence
^("A" P+6
^("U" P+4
^("W" P+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> APCL80S START+1*, HEAD1+14
>> APCLAPLT START+6*, SORT+5, SORT+6, P+8*
>> APCLAPPT P+1*, P+6*, P+7, P+8
>> APCLBD START+3
>> APCLBDD START+3*, HEAD1+10
>> APCLBT START+6, DONE+2, SORT+3, P+3, P+4, P+5, P+6
>> APCLCLN HEAD1+7
>> APCLCLNT P+1*, P+4*, P+5*, P+6*, P+7, P+8, HEAD1+7*, HEAD1+8, HEAD1+9
>> APCLDT START+2*, HEAD1+2
>> APCLED START+3
>> APCLEDD START+3*, HEAD1+10
>> APCLGTAP START+6*, START+9, SORT+6*
>> APCLGTOT START+6*, START+9, SORT+6*
>> APCLGTUN START+6*, START+9, SORT+6*
>> APCLGTWI START+6*, START+9, SORT+6*
>> APCLJOB START+6, DONE+2, SORT+3, P+3, P+4, P+5, P+6
>> APCLLENG HEAD1+5*, HEAD1+6, HEAD1+8*, HEAD1+9
>> APCLLOC HEAD1+4
>> APCLLOCT HEAD1+4*, HEAD1+5, HEAD1+6
>> APCLLTOT START+6*, SORT+5, SORT+6, P+8*
>> APCLPG START+4*, HEAD, HEAD1+1*, HEAD1+2
>> APCLPRNT P+3*, P+7
APCLQUIT START+5!, START+6, START+7, START+8, SORT+1, SORT+3, SORT+4, P+2, HEAD+1*
>> APCLSORT SORT+3*, P+3, P+4, P+5, P+6
>> APCLSRT2 P+3*, P+4, P+5, P+6, P+7
>> APCLTOT START+4*
>> APCLUNLT START+6*, SORT+5, SORT+6, P+8*
>> APCLUNST P+1*, P+4*, P+7, P+8
>> APCLVLOC START+4*, START+6*, SORT+2, SORT+3, P+3, P+4, P+5, P+6
>> APCLWILT START+6*, SORT+5, SORT+6, P+8*
>> APCLWIT P+1*, P+5*, P+7, P+8
DIR HEAD+1!
DIR(0 HEAD+1*
>> DTOUT HEAD+1
IO HEAD+1
IO(0 HEAD+1
IOF HEAD1+1
IOSL START+8, SORT+1, P+2
IOST HEAD+1
U SORT+2
>> X START+2
>> Y START+2*, START+3*, HEAD+1
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All