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

Package: Patient Care Component Reports

Routine: APCLEL3


Information

APCLEL3 ; IHS/CMI/LAB - patients with elder care assessment ;

Source Information

Source file <APCLEL3.m>

Call Graph

Call Graph Total: 10

Package Total Call Graph
IHS VA Utilities 4 ^XBDBQUE  $$VALI^XBDIQ1  ^XBFMK  EN^XBVK  
Patient Care Component Reports 3 $$START1^APCLDF  XTMP^APCLOSUT  ($$DEMO,DEMOCHK)^APCLUTL  
IHS Patient 1 ($$DOD,KILL)^AUPNPAT  
Kernel 1 ($$FMADD,$$FMTE)^XLFDT  
VA Fileman 1 ^DIR  

Entry Points

Name Comments DBIA/ICR reference
LOC() ;EP - Return location name from file 4 based on DUZ(2).
HEAD
ZIS ;call to XBDBQUE
HEAD1 ;
INFORM ;
DEMO ;
PRINT ;EP - called from xbdbque
TALLY ;
FA(P,B,E) ;
START ;
USR() ;EP - Return name of current user from ^VA(200.
EOP ;EP - End of page.
EXIT ;clean up and exit
NUMV(P,E) ;
CTR(X,Y) ;EP - Center X in a field Y wide.
DATE ;get visit date range for functional assessment
DONE ;
PROC ;EP - called from XBDBQUE

External References

Name Field # of Occurrence
$$START1^APCLDF NUMV+7
XTMP^APCLOSUT PROC+3
$$DEMO^APCLUTL PROC+11
DEMOCHK^APCLUTL DEMO+1
$$DOD^AUPNPAT PROC+10
KILL^AUPNPAT EXIT+3
^DIR DATE+3, DATE+5, DONE+1, HEAD+1, EOP+5
^XBDBQUE DEMO+4
$$VALI^XBDIQ1 PROC+17, PROC+18
^XBFMK EXIT+2
EN^XBVK EXIT+1
$$FMADD^XLFDT NUMV+4
$$FMTE^XLFDT NUMV+7, HEAD1+6

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$$CTR($$LOC)
  • Line Location: INFORM+2
Function Call: WRITE
  • Prompt: !,$$CTR($$USR)
  • Line Location: INFORM+3
Function Call: WRITE
  • Prompt: !!,"This report will tally all items from the elder care PCC form.",!
  • Line Location: INFORM+4
Function Call: WRITE
  • Prompt: !
  • Line Location: DATE+2
Function Call: WRITE
  • Prompt: !!,$C(7),"Sorry, Ending Date MUST not be earlier than Beginning Date."
  • Line Location: DATE+8
Function Call: WRITE
  • Prompt: !!,"NO DATA TO REPORT"
  • Line Location: PRINT+4
Function Call: WRITE
  • Prompt: !!,"Total Number of Patients: ",APCLPTOT
  • Line Location: TALLY+2
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD+1
Function Call: WRITE
  • Prompt: !?13,"********** CONFIDENTIAL PATIENT INFORMATION **********"
  • Line Location: HEAD1+2
Function Call: WRITE
  • Prompt: !,$P(^VA(200,DUZ,0),U,2),?72,"Page ",APCLPG,!
  • Line Location: HEAD1+3
Function Call: WRITE
  • Prompt: ?(80-$L($P(^DIC(4,DUZ(2),0),U))/2),$P(^DIC(4,DUZ(2),0),U),!
  • Line Location: HEAD1+4
Function Call: WRITE
  • Prompt: $$CTR("TALLY OF ELDER CARE DATA ITEMS",80),!
  • Line Location: HEAD1+5
Function Call: WRITE
  • Prompt: $$CTR(X,80)
  • Line Location: HEAD1+6
Function Call: WRITE
  • Prompt: !,APCL80D
  • Line Location: HEAD1+7
Routine Call
  • DIR
  • Line Location:
    • DATE+3
    • DATE+5
    • DONE+1
    • HEAD+1
    • EOP+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNPAT - [#9000001] PROC+9
^AUPNVELD - [#9000010.35] FA+5
^AUPNVELD("AC" FA+2, FA+4
^AUPNVSIT - [#9000010] FA+5
^DD(9000010.35 TALLY+5
^DIC(4 - [#4] HEAD1+4, LOC+1
^VA(200 - [#200] HEAD1+3, USR+1
^XTMP("APCLEL3" PROC+2!, PROC+4*, PROC+5*, PROC+17*, PROC+18*, PRINT+4, TALLY+3, TALLY+6, DONE+3!

Label References

Name Line Occurrences
$$CTR INFORM+2, INFORM+3, HEAD1+5, HEAD1+6
$$FA PROC+13
$$LOC INFORM+2
$$USR INFORM+3
DATE DATE+7, DEMO+2
DONE PRINT+4, PRINT+6
EXIT INFORM+5, DATE+3, DATE+5, DEMO+5
HEAD PRINT+4, TALLY+1, TALLY+4
HEAD1 HEAD
TALLY PRINT+5

Naked Globals

Name Field # of Occurrence
^(0 USR+1, LOC+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APCL NUMV+5~, NUMV+10!
APCL( NUMV+9
>> APCL80D PRINT+2*, HEAD1+7
>> APCLA TALLY+3*, TALLY+5, TALLY+6
>> APCLBD DATE+1*, DATE+3*, DATE+7, PROC+13, HEAD1+6
APCLBTH PROC+1*, PROC+2, PROC+4, PROC+5, PROC+17, PROC+18, PRINT+4, TALLY+3, TALLY+6, DONE+3!
>> APCLDA PROC+17*, PROC+18*
>> APCLDEMO DEMO+1, DEMO+2, PROC+11
>> APCLED DATE+1*, DATE+5*, DATE+7, PROC+13, HEAD1+6
APCLJOB PROC+1*, PROC+2, PROC+4, PROC+5, PROC+17, PROC+18, PRINT+4, TALLY+3, TALLY+6, DONE+3!
>> APCLPG PRINT+3*, HEAD, HEAD1+1*, HEAD1+3
>> APCLPTOT PROC+1*, PROC+15*, TALLY+2
APCLQ PRINT+1!, TALLY+3, TALLY+4, HEAD+1*
>> APCLX PROC+17*, PROC+18*
B FA~, FA+6, NUMV+3~, NUMV+4*, NUMV+7
D FA+3~, FA+5*, FA+6, FA+7, FA+8
>> DFN PROC+9*, PROC+10, PROC+11, PROC+13
DFOUT EOP+4!
DIR DATE+2!, DATE+3!, DATE+4!, DATE+5!, DONE+1!, HEAD+1!, EOP+3~
DIR("A" DATE+2*, DATE+4*, DONE+1*
DIR(0 DATE+2*, DATE+4*, DONE+1*, HEAD+1*, EOP+5*
DIRUT DONE+1*, EOP+4!
DLOUT EOP+4!
DTOUT HEAD+1, EOP+4!
DUOUT DONE+1, EOP+4!
DUZ HEAD1+3, USR+1
DUZ(2 HEAD1+4, LOC+1
E FA~, FA+7, NUMV~, NUMV+4, NUMV+7
G FA+3~, FA+4!*
G( FA+11
G(0 FA+10
G(9999999 FA+8*
IO DONE+1, HEAD+1
IO("S" EOP+2
IO(0 DONE+1, HEAD+1
IOF INFORM+1, DONE+2, HEAD1+1
IOM CTR+1
IOSL TALLY+4
IOST DONE+1, HEAD+1, EOP+1
>> IOT EOP+2
J NUMV+5~, NUMV+7*
P PROC+17*, PROC+18*, FA~, FA+1, FA+2, FA+4, NUMV~, NUMV+1, NUMV+7
>> T TALLY+7*, TALLY+8, TALLY+9, TALLY+10, TALLY+11
U PROC+17, PROC+18, FA+5, TALLY+5, TALLY+7, TALLY+8, TALLY+9, TALLY+10, TALLY+11, HEAD1+3
, HEAD1+4, USR+1, LOC+1
>> V PROC+17*, PROC+18*, FA+5*, TALLY+6*, TALLY+7, TALLY+8, TALLY+9, TALLY+10, TALLY+11
X PROC+4*, PROC+5*, PROC+13*, PROC+14, PROC+17, PROC+18, FA+3~, FA+4*, FA+5, FA+8
, FA+11*, NUMV+5~, NUMV+7*, NUMV+8*, NUMV+9*, HEAD1+6*, CTR~, CTR+1
>> XBNS DEMO+3*
>> XBRC DEMO+3*
>> XBRP DEMO+3*
>> XBRX DEMO+3*
Y DATE+3, DATE+5, FA+3~, NUMV+5~, NUMV+6*, NUMV+7, NUMV+8*, NUMV+9*, NUMV+11, HEAD+1
, CTR~, CTR+1
>> ZTQUEUED EOP+2
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All