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

Package: Patient Care Component Reports

Routine: APCLEL2


Information

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

Source Information

Source file <APCLEL2.m>

Call Graph

Call Graph Total: 9

Package Total Call Graph
IHS VA Utilities 3 ^XBDBQUE  ^XBFMK  EN^XBVK  
Patient Care Component Reports 3 $$START1^APCLDF  XTMP^APCLOSUT  $$DEMO^APCLUTL  
IHS Patient 1 ($$AGE,$$DOB,$$DOD,$$HRN,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
PRINT ;EP - called from xbdbque
INFORM ;
LIST ;
AGE ;what age range of patients
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) ;
HEAD1 ;
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+12
$$AGE^AUPNPAT PROC+13, LIST+7
$$DOB^AUPNPAT LIST+7
$$DOD^AUPNPAT PROC+11
$$HRN^AUPNPAT LIST+7
KILL^AUPNPAT EXIT+3
^DIR DATE+3, DATE+5, AGE+3, DONE+1, HEAD+1, EOP+5
^XBDBQUE ZIS+2
^XBFMK EXIT+2
EN^XBVK EXIT+1
$$FMADD^XLFDT NUMV+4
$$FMTE^XLFDT NUMV+7, LIST+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 by age, all patients who have had their change",!,"in functional status documented in the date range your specify."
  • Line Location: INFORM+4
Function Call: WRITE
  • Prompt: !,"In addition, a list of patients who have had a decline in functional",!,"status will be listed.",!
  • Line Location: INFORM+5
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: !,"Please enter the age range of patients you are interested in."
  • Line Location: AGE+1
Function Call: WRITE
  • Prompt: !
  • Line Location: AGE+2
Function Call: WRITE
  • Prompt: !!,"No age range entered."
  • Line Location: AGE+5
Function Call: WRITE
  • Prompt: !!,$C(7),$C(7),"Enter a numeric range in the format nnn-nnn. e.g. 0-5, 0-99, 5-20."
  • Line Location: AGE+6
Function Call: WRITE
  • Prompt: !,"Enter an age range, maximum age 130",!
  • Line Location: AGE+7
Function Call: WRITE
  • Prompt: !!,"NO PATIENTS TO REPORT"
  • Line Location: PRINT+4
Function Call: WRITE
  • Prompt: ?J,"-"
  • Line Location: TALLY+7
Function Call: WRITE
  • Prompt: ?8,$J($P(APCLF,U),6),?21,$J($P(APCLF,U,2),6)
  • Line Location: TALLY+8
Function Call: WRITE
  • Prompt: ?28,V
  • Line Location: TALLY+8
Function Call: WRITE
  • Prompt: ?39,$J($P(APCLF,U,3),6)
  • Line Location: TALLY+9
Function Call: WRITE
  • Prompt: ?47,V
  • Line Location: TALLY+9
Function Call: WRITE
  • Prompt: ?57,$J($P(APCLF,U,4),6)
  • Line Location: TALLY+10
Function Call: WRITE
  • Prompt: ?65,V
  • Line Location: TALLY+10
Function Call: WRITE
  • Prompt: !!,"TOTAL"
  • Line Location: TALLY+13
Function Call: WRITE
  • Prompt: ?J,"-"
  • Line Location: TALLY+14
Function Call: WRITE
  • Prompt: ?8,$J($P(APCLTF,U),6),?21,$J($P(APCLTF,U,2),6)
  • Line Location: TALLY+15
Function Call: WRITE
  • Prompt: ?28,V
  • Line Location: TALLY+15
Function Call: WRITE
  • Prompt: ?39,$J($P(APCLTF,U,3),6)
  • Line Location: TALLY+16
Function Call: WRITE
  • Prompt: ?47,V
  • Line Location: TALLY+16
Function Call: WRITE
  • Prompt: ?57,$J($P(APCLTF,U,4),6)
  • Line Location: TALLY+17
Function Call: WRITE
  • Prompt: ?65,V
  • Line Location: TALLY+17
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("PATIENTS WITH CHANGE IN FUNCTIONAL ASSESSMENT DOCUMENTED",80),!
  • Line Location: HEAD1+5
Function Call: WRITE
  • Prompt: $$CTR(X,80)
  • Line Location: HEAD1+6
Function Call: WRITE
  • Prompt: !,$$CTR(X,80)
  • Line Location: HEAD1+7
Function Call: WRITE
  • Prompt: !,APCL80D
  • Line Location: HEAD1+8
Function Call: WRITE
  • Prompt: !,?9,"# OF",?24,"IMPROVED",?44,"SAME",?60,"DECLINED",!,"AGE",?8,"PATIENTS",?24,"#",?31,"%",?42,"#",?50,"%",?60,"#",?68,"%",!,?22,"------------",?40,"-------------",?58,"-------------"
  • Line Location: HEAD1+9
Function Call: WRITE
  • Prompt: !?64,"LAST FUNCTIONAL",!,"PATIENT NAME",?28,"HRN",?36,"SEX",?41,"DOB",?59,"AGE",?64,"ASSESSMENT",!,APCL80D
  • Line Location: HEAD1+10
Routine Call
  • DIR
  • Line Location:
    • DATE+3
    • DATE+5
    • AGE+3
    • DONE+1
    • HEAD+1
    • EOP+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNPAT - [#9000001] PROC+10
^AUPNVELD - [#9000010.35] FA+5, FA+8
^AUPNVELD("AC" FA+2, FA+4
^AUPNVSIT - [#9000010] FA+5
^DIC(4 - [#4] HEAD1+4, LOC+1
^DPT - [#2] PROC+18, LIST+7
^VA(200 - [#200] HEAD1+3, USR+1
^XTMP("APCLEL2" PROC+2!, PROC+5*, PROC+18*, PROC+19*, PROC+20*, PROC+21*, PROC+22*, PRINT+4, TALLY+3, TALLY+6
, LIST+3, LIST+4, LIST+5, LIST+7, DONE+3!

Label References

Name Line Occurrences
$$CTR INFORM+2, INFORM+3, HEAD1+5, HEAD1+6, HEAD1+7
$$FA PROC+16
$$LOC INFORM+2
$$USR INFORM+3
AGE AGE+6, AGE+7
DATE DATE+7, AGE+4, AGE+5
DONE PRINT+4, PRINT+6, PRINT+8
EXIT INFORM+6, DATE+3, DATE+5, ZIS+3
HEAD PRINT+4, TALLY+2, TALLY+4, TALLY+12, LIST+2, LIST+6
HEAD1 HEAD
LIST PRINT+7
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
>> AGE PROC+13*, PROC+14, PROC+18, PROC+19, PROC+20, PROC+21, PROC+22
APCL NUMV+5~, NUMV+10!
APCL( NUMV+9
>> APCL80D PRINT+2*, HEAD1+8, HEAD1+10
>> APCLA TALLY+3*, TALLY+5, TALLY+6, LIST+3*, LIST+4, LIST+5, LIST+7
>> APCLAGET AGE+8*, PROC+4, PROC+14
>> APCLBD DATE+1*, DATE+3*, DATE+7, PROC+13, PROC+16, LIST+7, HEAD1+6
APCLBTH PROC+1*, PROC+2, PROC+5, PROC+18, PROC+19, PROC+20, PROC+21, PROC+22, PRINT+4, TALLY+3
, TALLY+6, LIST+3, LIST+4, LIST+5, LIST+7, DONE+3!
>> APCLDEMO PROC+12
>> APCLED DATE+1*, DATE+5*, DATE+7, PROC+16, HEAD1+6
>> APCLF TALLY+6*, TALLY+7, TALLY+8, TALLY+9, TALLY+10
APCLJOB PROC+1*, PROC+2, PROC+5, PROC+18, PROC+19, PROC+20, PROC+21, PROC+22, PRINT+4, TALLY+3
, TALLY+6, LIST+3, LIST+4, LIST+5, LIST+7, DONE+3!
>> APCLPG PRINT+3*, HEAD, HEAD1+1*, HEAD1+3
APCLQ PRINT+1!, PRINT+6, TALLY+2, TALLY+3, TALLY+4, TALLY+11, TALLY+12, LIST+2, LIST+3, LIST+4
, LIST+5, LIST+6, HEAD+1*
>> APCLS LIST+4*, LIST+5, LIST+7
>> APCLTF TALLY+1*, TALLY+6*, TALLY+14, TALLY+15, TALLY+16, TALLY+17
>> APCLTM TALLY+1*
>> APCLTR PRINT+4*, TALLY+1*, LIST+1*, HEAD1+7, HEAD1+9, HEAD1+10
B FA~, FA+6, NUMV+3~, NUMV+4*, NUMV+7
D FA+3~, FA+5*, FA+6, FA+7, FA+8
>> DFN PROC+10*, PROC+11, PROC+12, PROC+13, PROC+16, PROC+18, LIST+5*, LIST+7
DFOUT EOP+4!
DIR DATE+2!, DATE+3!, DATE+4!, DATE+5!, AGE+3!, DONE+1!, HEAD+1!, EOP+3~
DIR("A" DATE+2*, DATE+4*, AGE+3*, DONE+1*
DIR(0 DATE+2*, DATE+4*, AGE+3*, DONE+1*, HEAD+1*, EOP+5*
DIRUT AGE+4, DONE+1*, EOP+4!
DLOUT EOP+4!
DTOUT HEAD+1, EOP+4!
DUOUT DONE+1, EOP+4!
DUZ HEAD1+3, USR+1
DUZ(2 LIST+7, 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*
>> I PROC+4*, PROC+5
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, TALLY+12, LIST+6
IOST DONE+1, HEAD+1, EOP+1
>> IOT EOP+2
J PROC+4*, PROC+5, NUMV+5~, NUMV+7*, TALLY+7*, TALLY+14*
P FA~, FA+1, FA+2, FA+4, NUMV~, NUMV+1, NUMV+7
U PROC+18, PROC+19, PROC+20, PROC+21, PROC+22, FA+5, FA+8, TALLY+6, TALLY+7, TALLY+8
, TALLY+9, TALLY+10, TALLY+14, TALLY+15, TALLY+16, TALLY+17, LIST+7, HEAD1+3, HEAD1+4, USR+1
, LOC+1
>> V FA+5*, TALLY+8*, TALLY+9*, TALLY+10*, TALLY+15*, TALLY+16*, TALLY+17*
X PROC+5*, PROC+16*, PROC+17, PROC+18, PROC+20, PROC+21, PROC+22, FA+3~, FA+4*, FA+5
, FA+8, FA+11*, NUMV+5~, NUMV+7*, NUMV+8*, NUMV+9*, HEAD1+6*, HEAD1+7*, CTR~, CTR+1
>> XBNS ZIS+1*
>> XBRC ZIS+1*
>> XBRP ZIS+1*
>> XBRX ZIS+1*
Y DATE+3, DATE+5, AGE+5, AGE+6, AGE+7, AGE+8, 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