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 |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: APCLD714

Package: Patient Care Component Reports

Routine: APCLD714


Information

APCLD714 ; IHS/CMI/LAB -IHS -CUMULATIVE REPORT ;

Source Information

Source file <APCLD714.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
Patient Care Component Reports 3 ($$CMSFDX,$$PLDMDOO)^APCLD713  $$DI^APCLD716  ^APCLD71A  
VA Fileman 2 COMMA^%DTC  ^DIR  
Kernel 1 ($$FMDIFF,$$FMTE)^XLFDT  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Patient Care Component Reports 2 APCLD715  APCLD71P  

Entry Points

Name Comments DBIA/ICR reference
BPC ;
CUML ;EP
TOB ;
USR() ;EP - Return name of current user from ^VA(200.
EOP ;EP - End of page.
OW(APCLPD,BMI,D) ;EP overweight
PRINT ;
DURDM(P,R,EDATE) ;EP
TX ;
WTCNTL ;
CTR(X,Y) ;EP - Center X in a field Y wide.
BSC ;
D(D) ;EP
OB(APCLPD,BMI,D) ;EP obese
HEADER ;EP
C(X,X2,X3) ;
DMDUR ;
LOC() ;EP - Return location name from file 4 based on DUZ(2).
P(D,N) ;return %
PRINT1 ;
HEADER1 ;
EXIT ;
CALC(N,O) ;ENTRY POINT
TYPE ;
DI(D) ;EP

External References

Name Field # of Occurrence
COMMA^%DTC CALC+6, CALC+7, C+3
$$CMSFDX^APCLD713 DURDM+3
$$PLDMDOO^APCLD713 DURDM+5
$$DI^APCLD716 DURDM+11
^APCLD71A TX+13
^DIR EXIT+1, HEADER+2, EOP+5
$$FMDIFF^XLFDT DURDM+13
$$FMTE^XLFDT HEADER1+3, HEADER1+6

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,$P(APCLCUML(10),U),!,?7,"Female",?53,$$C($P(APCLCUML(10),U,3)),?65,$$P($P(APCLCUML(10),U,2),$P(APCLCUML(10),U,3))
  • Line Location: PRINT1+1
Function Call: WRITE
  • Prompt: !,?7,"Male",?53,$$C($P(APCLCUML(10),U,4)),?65,$$P($P(APCLCUML(10),U,2),$P(APCLCUML(10),U,4))
  • Line Location: PRINT1+2
Function Call: WRITE
  • Prompt: !!,"Age"
  • Line Location: PRINT1+4
Function Call: WRITE
  • Prompt: !?7,"<15 yrs",?53,$$C($P(V,U,3)),?65,$$P($P(V,U,2),$P(V,U,3))
  • Line Location: PRINT1+5
Function Call: WRITE
  • Prompt: !?7,"15-44 yrs",?53,$$C($P(V,U,4)),?65,$$P($P(V,U,2),$P(V,U,4))
  • Line Location: PRINT1+6
Function Call: WRITE
  • Prompt: !?7,"45-64 yrs",?53,$$C($P(V,U,5)),?65,$$P($P(V,U,2),$P(V,U,5))
  • Line Location: PRINT1+7
Function Call: WRITE
  • Prompt: !?7,"65 yrs and older",?53,$$C($P(V,U,6)),?65,$$P($P(V,U,2),$P(V,U,6))
  • Line Location: PRINT1+8
Function Call: WRITE
  • Prompt: !!,$P(V,U)
  • Line Location: TYPE+3
Function Call: WRITE
  • Prompt: !?7,"Type 1",?53,$$C($P(V,U,3)),?65,$$P($P(V,U,2),$P(V,U,3))
  • Line Location: TYPE+4
Function Call: WRITE
  • Prompt: !?7,"Type 2",?53,$$C($P(V,U,4)),?65,$$P($P(V,U,2),$P(V,U,4))
  • Line Location: TYPE+5
Function Call: WRITE
  • Prompt: !?7,"Unknown",?53,$$C($P(V,U,5)),?65,$$P($P(V,U,2),$P(V,U,5))
  • Line Location: TYPE+6
Function Call: WRITE
  • Prompt: !!,$P(V,U)
  • Line Location: DMDUR+2
Function Call: WRITE
  • Prompt: !?7,"Less than 10 years",?53,$$C($P(V,U,3)),?65,$$P($P(V,U,2),$P(V,U,3))
  • Line Location: DMDUR+3
Function Call: WRITE
  • Prompt: !?7,"10 years or more",?53,$$C($P(V,U,4)),?65,$$P($P(V,U,2),$P(V,U,4))
  • Line Location: DMDUR+4
Function Call: WRITE
  • Prompt: !?7,"Diagnosis date not recorded",?53,$$C($P(V,U,5)),?65,$$P($P(V,U,2),$P(V,U,5))
  • Line Location: DMDUR+5
Function Call: WRITE
  • Prompt: !!,$P(V,U)
  • Line Location: WTCNTL+2
Function Call: WRITE
  • Prompt: !?7,"Normal (BMI<25.0)",?53,$$C($P(V,U,6)),?65,$$P($P(V,U,2),$P(V,U,6))
  • Line Location: WTCNTL+3
Function Call: WRITE
  • Prompt: !?7,"Overweight (BMI 25.0-29.9)",?53,$$C($P(V,U,3)),?65,$$P($P(V,U,2),$P(V,U,3))
  • Line Location: WTCNTL+4
Function Call: WRITE
  • Prompt: !?7,"Obese (BMI 30.0 or above)",?53,$$C($P(V,U,4)),?65,$$P($P(V,U,2),$P(V,U,4))
  • Line Location: WTCNTL+5
Function Call: WRITE
  • Prompt: !?7,"Height or Weight missing",?53,$$C($P(V,U,5)),?65,$$P($P(V,U,2),$P(V,U,5))
  • Line Location: WTCNTL+6
Function Call: WRITE
  • Prompt: !!,$P(V,U)
  • Line Location: BSC+2
Function Call: WRITE
  • Prompt: !?7,"HbA1c <7.0",?53,$$C($P(V,U,3)),?65,$$P($P(V,U,2),$P(V,U,3))
  • Line Location: BSC+3
Function Call: WRITE
  • Prompt: !?7,"HbA1c 7.0-7.9",?53,$$C($P(V,U,4)),?65,$$P($P(V,U,2),$P(V,U,4))
  • Line Location: BSC+4
Function Call: WRITE
  • Prompt: !?7,"HbA1c 8.0-8.9",?53,$$C($P(V,U,5)),?65,$$P($P(V,U,2),$P(V,U,5))
  • Line Location: BSC+5
Function Call: WRITE
  • Prompt: !?7,"HbA1c 9.0-9.9",?53,$$C($P(V,U,6)),?65,$$P($P(V,U,2),$P(V,U,6))
  • Line Location: BSC+6
Function Call: WRITE
  • Prompt: !?7,"HbA1c 10.0-10.9",?53,$$C($P(V,U,7)),?65,$$P($P(V,U,2),$P(V,U,7))
  • Line Location: BSC+7
Function Call: WRITE
  • Prompt: !?7,"HbA1c 11.0 or higher",?53,$$C($P(V,U,8)),?65,$$P($P(V,U,2),$P(V,U,8))
  • Line Location: BSC+8
Function Call: WRITE
  • Prompt: !?7,"Undocumented",?53,$$C($P(V,U,9)),?65,$$P($P(V,U,2),$P(V,U,9))
  • Line Location: BSC+9
Function Call: WRITE
  • Prompt: !!,$P(V,U)
  • Line Location: BPC+2
Function Call: WRITE
  • Prompt: !?7,"<120/<70",?53,$$C($P(V,U,3)),?65,$$P($P(V,U,2),$P(V,U,3))
  • Line Location: BPC+3
Function Call: WRITE
  • Prompt: !?7,"120/70 - <130/<80",?53,$$C($P(V,U,4)),?65,$$P($P(V,U,2),$P(V,U,4))
  • Line Location: BPC+4
Function Call: WRITE
  • Prompt: !?7,"---------------------------"
  • Line Location: BPC+5
Function Call: WRITE
  • Prompt: !?7,"130/80 - <140/<90",?53,$$C($P(V,U,5)),?65,$$P($P(V,U,2),$P(V,U,5))
  • Line Location: BPC+6
Function Call: WRITE
  • Prompt: !?7,"140/90 - <160/<95",?53,$$C($P(V,U,6)),?65,$$P($P(V,U,2),$P(V,U,6))
  • Line Location: BPC+7
Function Call: WRITE
  • Prompt: !?7,"160/95 or higher",?53,$$C($P(V,U,7)),?65,$$P($P(V,U,2),$P(V,U,7))
  • Line Location: BPC+8
Function Call: WRITE
  • Prompt: !?7,"BP category Undetermined",?53,$$C($P(V,U,8)),?65,$$P($P(V,U,2),$P(V,U,8))
  • Line Location: BPC+9
Function Call: WRITE
  • Prompt: !!,$P(V,U)
  • Line Location: TOB+2
Function Call: WRITE
  • Prompt: !?7,"Current Tobacco User",?53,$$C($P(V,U,3)),?65,$$P($P(V,U,2),$P(V,U,3))
  • Line Location: TOB+3
Function Call: WRITE
  • Prompt: !?9,"Counseled - Yes",?53,$$C($P(V,U,4)),?65,$$P($P(V,U,3),$P(V,U,4))
  • Line Location: TOB+4
Function Call: WRITE
  • Prompt: !?9,"Counseled - No",?53,$$C($P(V,U,5)),?65,$$P($P(V,U,3),$P(V,U,5))
  • Line Location: TOB+5
Function Call: WRITE
  • Prompt: !?7,"Not a current tobacco user",?53,$$C($P(V,U,6)),?65,$$P($P(V,U,2),$P(V,U,6))
  • Line Location: TOB+6
Function Call: WRITE
  • Prompt: !?7,"Tobacco use not documented",?53,$$C($P(V,U,7)),?65,$$P($P(V,U,2),$P(V,U,7))
  • Line Location: TOB+7
Function Call: WRITE
  • Prompt: !!,$P(V,U)
  • Line Location: TX+2
Function Call: WRITE
  • Prompt: !?7,"Diet and Exercise Alone",?53,$$C($P(V,U,3)),?65,$$P($P(V,U,2),$P(V,U,3))
  • Line Location: TX+3
Function Call: WRITE
  • Prompt: !?7,"Insulin (monotherapy)",?53,$$C($P(V,U,4)),?65,$$P($P(V,U,2),$P(V,U,4))
  • Line Location: TX+4
Function Call: WRITE
  • Prompt: !?7,"Oral Med (monotherapy)"
  • Line Location: TX+5
Function Call: WRITE
  • Prompt: !?10,"Sulfonylurea",?53,$$C($P(V,U,5)),?65,$$P($P(V,U,2),$P(V,U,5))
  • Line Location: TX+6
Function Call: WRITE
  • Prompt: !?10,"Metformin",?53,$$C($P(V,U,6)),?65,$$P($P(V,U,2),$P(V,U,6))
  • Line Location: TX+7
Function Call: WRITE
  • Prompt: !?10,"Acarbose",?53,$$C($P(V,U,7)),?65,$$P($P(V,U,2),$P(V,U,7))
  • Line Location: TX+8
Function Call: WRITE
  • Prompt: !?10,"Glitazone",?53,$$C($P(V,U,8)),?65,$$P($P(V,U,2),$P(V,U,8))
  • Line Location: TX+9
Function Call: WRITE
  • Prompt: !?7,"Combination of Oral Meds",?53,$$C($P(V,U,9)),?65,$$P($P(V,U,2),$P(V,U,9))
  • Line Location: TX+10
Function Call: WRITE
  • Prompt: !?7,"Combination of Oral Meds+Insulin",?53,$$C($P(V,U,10)),?65,$$P($P(V,U,2),$P(V,U,10))
  • Line Location: TX+11
Function Call: WRITE
  • Prompt: !?7,"Unknown/Refused",?53,$$C($P(V,U,11)),?65,$$P($P(V,U,2),$P(V,U,11))
  • Line Location: TX+12
Function Call: WRITE
  • Prompt: !
  • Line Location: EXIT+1
Function Call: WRITE
  • Prompt: !
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: !,"ZZZZZZZ"
  • Line Location: HEADER1+2
Function Call: WRITE
  • Prompt: !?3,$P(^VA(200,DUZ,0),U,2),?35,$$FMTE^XLFDT(DT),?70,"Page ",APCLPG,!
  • Line Location: HEADER1+3
Function Call: WRITE
  • Prompt: !,$$CTR("*** HEALTH STATUS OF DIABETIC PATIENTS ***",80),!
  • Line Location: HEADER1+4
Function Call: WRITE
  • Prompt: $$CTR($P(^DIC(4,DUZ(2),0),U)),!
  • Line Location: HEADER1+5
Function Call: WRITE
  • Prompt: $$CTR(X,80),!
  • Line Location: HEADER1+6
Function Call: WRITE
  • Prompt: !,$TR($J("",80)," ","-")
  • Line Location: HEADER1+7
Function Call: WRITE
  • Prompt: !!,$P(APCLCUML(10),U,2)," patients were reviewed"
  • Line Location: HEADER1+8
Function Call: WRITE
  • Prompt: ?55," n",?63,"Percent"
  • Line Location: HEADER1+9
Routine Call
  • DIR
  • Line Location:
    • EXIT+1
    • HEADER+2
    • EOP+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(4 - [#4] HEADER1+5, LOC+1
^VA(200 - [#200] HEADER1+3, USR+1

Label References

Name Line Occurrences
$$C PRINT1+1, PRINT1+2, PRINT1+5, PRINT1+6, PRINT1+7, PRINT1+8, TYPE+4, TYPE+5, TYPE+6, DMDUR+3
, DMDUR+4, DMDUR+5, WTCNTL+3, WTCNTL+4, WTCNTL+5, WTCNTL+6, BSC+3, BSC+4, BSC+5, BSC+6
, BSC+7, BSC+8, BSC+9, BPC+3, BPC+4, BPC+6, BPC+7, BPC+8, BPC+9, TOB+3
, TOB+4, TOB+5, TOB+6, TOB+7, TX+3, TX+4, TX+6, TX+7, TX+8, TX+9
, TX+10, TX+11, TX+12
$$CTR HEADER1+4, HEADER1+5, HEADER1+6
$$P PRINT1+1, PRINT1+2, PRINT1+5, PRINT1+6, PRINT1+7, PRINT1+8, TYPE+4, TYPE+5, TYPE+6, DMDUR+3
, DMDUR+4, DMDUR+5, WTCNTL+3, WTCNTL+4, WTCNTL+5, WTCNTL+6, BSC+3, BSC+4, BSC+5, BSC+6
, BSC+7, BSC+8, BSC+9, BPC+3, BPC+4, BPC+6, BPC+7, BPC+8, BPC+9, TOB+3
, TOB+4, TOB+5, TOB+6, TOB+7, TX+3, TX+4, TX+6, TX+7, TX+8, TX+9
, TX+10, TX+11, TX+12
EXIT PRINT+5
HEADER PRINT+3, PRINT1+3, TYPE+1, DMDUR+1, WTCNTL+1, BSC+1, BPC+1, TOB+1, TX+1
HEADER1 HEADER+1
PRINT1 PRINT+4

Naked Globals

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

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> APCLADAT HEADER1+6
>> APCLBDAT HEADER1+6
>> APCLCUML CUML+1
>> APCLCUML(10 PRINT1+1, PRINT1+2, HEADER1+8
>> APCLCUML(20 PRINT1+4
>> APCLCUML(25 TYPE+2
>> APCLCUML(30 DMDUR+2
>> APCLCUML(40 WTCNTL+2
>> APCLCUML(50 BSC+2
>> APCLCUML(60 BPC+2
>> APCLCUML(80 TOB+2
>> APCLCUML(90 TX+2
>> APCLGUI HEADER1+2
>> APCLIOSL PRINT1+3, TYPE+1, DMDUR+1, WTCNTL+1, BSC+1, BPC+1, TOB+1, TX+1
APCLPD OB~, OW~
>> APCLPG HEADER+1, HEADER1+1*, HEADER1+2, HEADER1+3
>> APCLQUIT PRINT+2*, PRINT1+3, TYPE+1, DMDUR+1, WTCNTL+1, BSC+1, BPC+1, TOB+1, TX+1, HEADER+2*
BMI OB~, OB+1, OB+2, OW~, OW+1, OW+2
D D~, D+1, D+2, DI~, DI+1, DI+2, OB~, OW~, P~, P+1
, P+3
DATE DURDM+1~, DURDM+2*, DURDM+3*, DURDM+4, DURDM+5*, DURDM+6
DFOUT EOP+4!
DIR EXIT+1!, HEADER+2!, EOP+3~
DIR("A" EXIT+1*
DIR(0 EXIT+1*, HEADER+2*, EOP+5*
DIRUT EXIT+1*, EOP+4!
DLOUT EOP+4!
DT HEADER1+3
DTOUT HEADER+2, EOP+4!
DUOUT EXIT+1, EOP+4!
DUZ HEADER1+3, USR+1
DUZ(2 HEADER1+5, LOC+1
EARLY DURDM+1~, DURDM+2*, DURDM+4*, DURDM+6*, DURDM+7*, DURDM+8*, DURDM+9, DURDM+10, DURDM+11*, DURDM+13
EDATE DURDM~, DURDM+8, DURDM+13
IO EXIT+1, HEADER+2
IO("S" EOP+2
IO(0 EXIT+1, HEADER+2
IOF HEADER1+1
IOM CTR+1
IOST EXIT+1, HEADER+2, EOP+1
>> IOT EOP+2
N CALC~, CALC+4, CALC+6*, CALC+8, P~, P+2, P+3
O CALC~, CALC+4, CALC+7*, CALC+8
P DURDM~, DURDM+3, DURDM+5
R DURDM~, DURDM+3
U PRINT1+1, PRINT1+2, PRINT1+5, PRINT1+6, PRINT1+7, PRINT1+8, TYPE+3, TYPE+4, TYPE+5, TYPE+6
, DMDUR+2, DMDUR+3, DMDUR+4, DMDUR+5, WTCNTL+2, WTCNTL+3, WTCNTL+4, WTCNTL+5, WTCNTL+6, BSC+2
, BSC+3, BSC+4, BSC+5, BSC+6, BSC+7, BSC+8, BSC+9, BPC+2, BPC+3, BPC+4
, BPC+6, BPC+7, BPC+8, BPC+9, TOB+2, TOB+3, TOB+4, TOB+5, TOB+6, TOB+7
, TX+2, TX+3, TX+4, TX+6, TX+7, TX+8, TX+9, TX+10, TX+11, TX+12
, HEADER1+3, HEADER1+5, HEADER1+8, USR+1, LOC+1
>> V PRINT1+4*, PRINT1+5, PRINT1+6, PRINT1+7, PRINT1+8, TYPE+2*, TYPE+3, TYPE+4, TYPE+5, TYPE+6
, DMDUR+2*, DMDUR+3, DMDUR+4, DMDUR+5, WTCNTL+2*, WTCNTL+3, WTCNTL+4, WTCNTL+5, WTCNTL+6, BSC+2*
, BSC+3, BSC+4, BSC+5, BSC+6, BSC+7, BSC+8, BSC+9, BPC+2*, BPC+3, BPC+4
, BPC+6, BPC+7, BPC+8, BPC+9, TOB+2*, TOB+3, TOB+4, TOB+5, TOB+6, TOB+7
, TX+2*, TX+3, TX+4, TX+6, TX+7, TX+8, TX+9, TX+10, TX+11, TX+12
X CALC+5~, CALC+6*, CALC+7*, P+3~*, P+4, C~, C+4, HEADER1+6*, CTR~, CTR+1
X2 CALC+5~, CALC+6*, CALC+7*, C~, C+1*
X3 CALC+5~, CALC+6*, CALC+7*, C~, C+2*
Y HEADER+2, CTR~, CTR+1
Z CALC+3~, CALC+8*, CALC+9
>> ZTQUEUED EOP+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All