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

Package: Patient Care Component

Routine: APCDFCTP


Information

APCDFCTP ; IHS/CMI/LAB - print apc report by prov disc ;

Source Information

Source file <APCDFCTP.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
VA Fileman 2 DD^%DT  ^DIR  
Kernel 1 $$FMTE^XLFDT  

Entry Points

Name Comments DBIA/ICR reference
SORT ;
HEAD
HEAD1 ;
SUMMPAGE ;
WRITE ;
START ;
DONE ;
SORT1 ;

External References

Name Field # of Occurrence
DD^%DT START+2, WRITE+1
^DIR DONE+1, SUMMPAGE+1, HEAD+1
$$FMTE^XLFDT SUMMPAGE+3, HEAD1+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !?42,"------",?52,"-------",?65,"------",!
  • Line Location: START+9
Function Call: WRITE
  • Prompt: ?5,"Grand Total for ALL Operators:",?42,$J(APCDTOT,6),?52,$J(APCDTDES,7)
  • Line Location: START+10
Function Call: WRITE
  • Prompt: ?65,$J(APCDAVG,6,1)
  • Line Location: START+10
Function Call: WRITE
  • Prompt: !?42,"------",?52,"-------",?65,"------",!
  • Line Location: SORT+3
Function Call: WRITE
  • Prompt: ?5,"Totals for ",APCDPROV,?42,$J(APCDSUB,6),?52,$J(APCDDESU,7),?65,$J((APCDDESU/APCDSUB),6,1)
  • Line Location: SORT+4
Function Call: WRITE
  • Prompt: !,$S(APCDSRT]"":APCDSORT,1:"")
  • Line Location: SORT1+2
Function Call: WRITE
  • Prompt: ?25,APCDWDAT,?42,$J(^XTMP("APCDFCT",APCDJOB,APCDBT,APCDPROV,APCDSORT,APCDDATE),6),?52,$J(APCDVDES,7),?65,$J(APCDAVG,6),!
  • Line Location: WRITE+4
Function Call: WRITE
  • Prompt: !
  • Line Location: SUMMPAGE+1
Function Call: WRITE
  • Prompt: !?55,$$FMTE^XLFDT(DT),?70,"Page ",APCDPG
  • Line Location: SUMMPAGE+3
Function Call: WRITE
  • Prompt: !?20,"SUMMARY OF FORMS KEYED BY ALL OPERATORS"
  • Line Location: SUMMPAGE+4
Function Call: WRITE
  • Prompt: !?15,"VISIT POSTING DATES: ",APCDBDD," TO ",APCDEDD,!
  • Line Location: SUMMPAGE+5
Function Call: WRITE
  • Prompt: !?35,"No. of",?43,"Forms",?53,"% of",?65,"Avg # of"
  • Line Location: SUMMPAGE+6
Function Call: WRITE
  • Prompt: !?11,"Operator",?35,"Forms",?43,"per day",?53,"Workload",?65,"tran codes ent"
  • Line Location: SUMMPAGE+7
Function Call: WRITE
  • Prompt: !,APCD80S
  • Line Location: SUMMPAGE+8
Function Call: WRITE
  • Prompt: !,X,?32,$J(APCDFCT("FORMS",X),8),?40,$J((APCDFCT("FORMS",X)/APCDFCT("DAYS",X)),8,1),?51,$J(((APCDFCT("FORMS",X)/APCDTOT)*100),8,1),?67,APCDFCT("AVG DEC",X)
  • Line Location: SUMMPAGE+9
Function Call: WRITE
  • Prompt: !?35,"--------",!?32,$J(APCDTOT,8)
  • Line Location: SUMMPAGE+10
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD+1
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HEAD1+1
Function Call: WRITE
  • Prompt: !?55,$$FMTE^XLFDT(DT),?70,"Page ",APCDPG,!
  • Line Location: HEAD1+2
Function Call: WRITE
  • Prompt: ?((80-APCDLENG)/2),$P(^DIC(4,DUZ(2),0),U),!
  • Line Location: HEAD1+4
Function Call: WRITE
  • Prompt: ?((80-APCDLENG)/2),"NUMBER OF FORMS KEYED SUBTOTALED BY ",APCDSRT,!
  • Line Location: HEAD1+6
Function Call: WRITE
  • Prompt: ?29,"NUMBER OF FORMS KEYED",!
  • Line Location: HEAD1+7
Function Call: WRITE
  • Prompt: ?((80-APCDLENG)/2),"DATE ENTRY OPERATOR: ",APCDPROV,!
  • Line Location: HEAD1+9
Function Call: WRITE
  • Prompt: ?15,"VISIT POSTING DATES: ",APCDBDD," TO ",APCDEDD,!
  • Line Location: HEAD1+10
Function Call: WRITE
  • Prompt: !,APCDSRT,?25,"POSTING DATE",?40,"# FORMS",?50,"# TRANS",?63,"AVG # TRAN ENT",!
  • Line Location: HEAD1+11
Function Call: WRITE
  • Prompt: APCD80S,!
  • Line Location: HEAD1+12
Routine Call
  • DIR
  • Line Location:
    • DONE+1
    • SUMMPAGE+1
    • HEAD+1

Global Variables Directly Accessed

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

Label References

Name Line Occurrences
DONE START+5, START+7, START+8
HEAD START+5, START+6, START+8, SORT1+1, WRITE+2
HEAD1 HEAD
SORT START+6
SORT1 SORT+2
SUMMPAGE START+11
WRITE SORT1+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> APCD80S START+1*, SUMMPAGE+8, HEAD1+12
>> APCDAVG START+10*, WRITE+3*, WRITE+4
>> APCDBD START+2
>> APCDBDD START+2*, SUMMPAGE+5, HEAD1+10
APCDBT START+5, START+6, DONE+3!, SORT+2, SORT1+3, WRITE+3, WRITE+4, WRITE+5
>> APCDDATE SORT1+3*, WRITE+1, WRITE+3, WRITE+4, WRITE+5
>> APCDDESU SORT+1*, SORT+4, SORT+6, WRITE+5*
>> APCDED START+2
>> APCDEDD START+2*, SUMMPAGE+5, HEAD1+10
>> APCDFCT("AVG DEC" , SORT+6*, SUMMPAGE+9
>> APCDFCT("DAYS" SORT+1*, WRITE+6*, SUMMPAGE+9
>> APCDFCT("FORMS" SORT+5*, SUMMPAGE+9
APCDJOB START+5, START+6, DONE+3!, SORT+2, SORT1+3, WRITE+3, WRITE+4, WRITE+5
>> APCDLENG HEAD1+3*, HEAD1+4, HEAD1+5*, HEAD1+6, HEAD1+8*, HEAD1+9
>> APCDPG START+1*, SUMMPAGE+2*, SUMMPAGE+3, HEAD, HEAD1+1*, HEAD1+2
>> APCDPROV START+3*, START+5*, START+6*, SORT+1, SORT+2, SORT+4, SORT+5, SORT+6, SORT1+3, WRITE+3
, WRITE+4, WRITE+5, WRITE+6, HEAD1+8, HEAD1+9
APCDQUIT START+4!, START+6, START+7, START+8, SORT+2, SORT1+1, SORT1+3, WRITE+2, SUMMPAGE+1*, HEAD+1*
>> APCDSORT SORT+2*, SORT1+2, SORT1+3, WRITE+3, WRITE+4, WRITE+5
>> APCDSRT SORT1+2, HEAD1+5, HEAD1+6, HEAD1+7, HEAD1+11
>> APCDSUB SORT+1*, SORT+4, SORT+5, SORT+6, WRITE+5*
>> APCDTDES START+3*, START+10, WRITE+5*
>> APCDTOT START+3*, START+10, WRITE+5*, SUMMPAGE+9, SUMMPAGE+10
>> APCDVDES WRITE+3*, WRITE+4, WRITE+5
>> APCDWDAT WRITE+1*, WRITE+4
DIR DONE+1!, SUMMPAGE+1!, HEAD+1!
DIR(0 DONE+1*, SUMMPAGE+1*, HEAD+1*
DT SUMMPAGE+3, HEAD1+2
>> DTOUT SUMMPAGE+1, HEAD+1
DUZ(2 HEAD1+3, HEAD1+4
IO DONE+1, SUMMPAGE+1, HEAD+1
IO(0 DONE+1, SUMMPAGE+1, HEAD+1
IOF DONE+2, SUMMPAGE+2, HEAD1+1
IOSL START+8, SORT1+1, WRITE+2
IOST DONE+1, SUMMPAGE+1, HEAD+1
U HEAD1+3, HEAD1+4
>> X SUMMPAGE+9*
>> Y START+2*, WRITE+1*, SUMMPAGE+1, HEAD+1
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All