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

Package: Diabetes Registry

Routine: BDMP414


Information

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

Source Information

Source file <BDMP414.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
Diabetes Registry 2 ($$CMSFDX,$$PLDMDOO)^BDMP413  ^BDMP41A  
VA Fileman 2 COMMA^%DTC  ^DIR  
IHS Patient 1 $$AGE^AUPNPAT  
Kernel 1 ($$FMDIFF,$$FMTE)^XLFDT  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Diabetes Registry 2 BDMP415  BDMP41P  

Entry Points

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

External References

Name Field # of Occurrence
COMMA^%DTC CALC+6, CALC+7, C+3
$$AGE^AUPNPAT OB+4, OW+4
$$CMSFDX^BDMP413 DURDM+3
$$PLDMDOO^BDMP413 DURDM+5
^BDMP41A TX+8
^DIR EXIT+1, HEADER+2, EOP+5
$$FMDIFF^XLFDT DURDM+4, DURDM+6
$$FMTE^XLFDT HEADER1+3, HEADER1+6

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,$P(BDMCUML(10),U),!,?7,"Female",?53,$$C($P(BDMCUML(10),U,3)),?65,$$P($P(BDMCUML(10),U,2),$P(BDMCUML(10),U,3))
  • Line Location: PRINT1+1
Function Call: WRITE
  • Prompt: !,?7,"Male",?53,$$C($P(BDMCUML(10),U,4)),?65,$$P($P(BDMCUML(10),U,2),$P(BDMCUML(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),?53,$$C($P(V,U,3)),?65,$$P($P(V,U,2),$P(V,U,3))
  • Line Location: TYPE+3
Function Call: WRITE
  • Prompt: !!,$P(V,U),?53,$$C($P(V,U,3)),?65,$$P($P(V,U,2),$P(V,U,3))
  • Line Location: TYPE+5
Function Call: WRITE
  • Prompt: !!,$P(V,U),?53,$$C($P(V,U,3)),?65,$$P($P(V,U,2),$P(V,U,3))
  • Line Location: TYPE+7
Function Call: WRITE
  • Prompt: !!,$P(V,U),?53,$$C($P(V,U,3)),?65,$$P($P(V,U,2),$P(V,U,3))
  • Line Location: TYPE+9
Function Call: WRITE
  • Prompt: !!,$P(V,U)
  • Line Location: WTCNTL+2
Function Call: WRITE
  • Prompt: !?7,"Overweight or Obese (BMI>85%ile)",?53,$$C($P(V,U,3)),?65,$$P($P(V,U,2),$P(V,U,3))
  • Line Location: WTCNTL+3
Function Call: WRITE
  • Prompt: !?7,"Obese (BMI>95%ile)",?53,$$C($P(V,U,4)),?65,$$P($P(V,U,2),$P(V,U,4))
  • Line Location: WTCNTL+4
Function Call: WRITE
  • Prompt: !?7,"BMI could not be calculated",?53,$$C($P(V,U,5)),?65,$$P($P(V,U,2),$P(V,U,5))
  • Line Location: WTCNTL+5
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,"131/81 - <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,"Unknown/Refused/None",?53,$$C($P(V,U,3)),?65,$$P($P(V,U,2),$P(V,U,3))
  • Line Location: TX+3
Function Call: WRITE
  • Prompt: !?10,"Metformin",?53,$$C($P(V,U,4)),?65,$$P($P(V,U,2),$P(V,U,4))
  • Line Location: TX+4
Function Call: WRITE
  • Prompt: !?10,"Acarbose",?53,$$C($P(V,U,5)),?65,$$P($P(V,U,2),$P(V,U,5))
  • Line Location: TX+5
Function Call: WRITE
  • Prompt: !?10,"Glitazone",?53,$$C($P(V,U,6)),?65,$$P($P(V,U,2),$P(V,U,6))
  • Line Location: TX+6
Function Call: WRITE
  • Prompt: !?10,"Sulfonylurea",?53,$$C($P(V,U,7)),?65,$$P($P(V,U,2),$P(V,U,7))
  • Line Location: TX+7
Function Call: WRITE
  • Prompt: !
  • Line Location: EXIT+1
Function Call: WRITE
  • Prompt: !
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: !,"ZZZZZZZ"
  • Line Location: HEADER1+1
Function Call: WRITE
  • Prompt: !?3,$P(^VA(200,DUZ,0),U,2),?35,$$FMTE^XLFDT(DT),?70,"Page ",BDMPG,!
  • Line Location: HEADER1+3
Function Call: WRITE
  • Prompt: !,$$CTR("*** HEALTH STATUS OF PREDIABETIC/METABOLIC SYNDROME PATIENTS ***",80),!
  • Line Location: HEADER1+4
Function Call: WRITE
  • Prompt: $$CTR($P(^DIC(4,$S($G(BDMDUZ2):BDMDUZ2,1: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(BDMCUML(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)
^BDMBMI( OB+7, OB+8, OW+7, OW+8
^BDMBMI("H" OB+5, OW+5
^DIC(4 - [#4] HEADER1+5, LOC+1
^DPT - [#2] OB+2, OW+2
^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+3, TYPE+5, TYPE+7, TYPE+9
, WTCNTL+3, WTCNTL+4, WTCNTL+5, 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+5, TX+6, TX+7
$$CTR HEADER1+4, HEADER1+5, HEADER1+6
$$P PRINT1+1, PRINT1+2, PRINT1+5, PRINT1+6, PRINT1+7, PRINT1+8, TYPE+3, TYPE+5, TYPE+7, TYPE+9
, WTCNTL+3, WTCNTL+4, WTCNTL+5, 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+5, TX+6, TX+7
EXIT PRINT+5
HEADER PRINT+3, PRINT1+3, TYPE+1, WTCNTL+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
A OB+4~*, OB+5, OW+4~*, OW+5
>> BDMADAT HEADER1+6
>> BDMBDAT HEADER1+6
>> BDMCUML CUML+1
>> BDMCUML(10 PRINT1+1, PRINT1+2, HEADER1+8
>> BDMCUML(20 PRINT1+4
>> BDMCUML(25 TYPE+2
>> BDMCUML(30 TYPE+4
>> BDMCUML(31 TYPE+6
>> BDMCUML(32 TYPE+8
>> BDMCUML(40 WTCNTL+2
>> BDMCUML(60 BPC+2
>> BDMCUML(80 TOB+2
>> BDMCUML(90 TX+2
>> BDMDUZ2 HEADER1+5
>> BDMGUI HEADER1+1
>> BDMIOSL PRINT1+3, TYPE+1, WTCNTL+1, BPC+1, TOB+1, TX+1
BDMPD OB~, OB+2, OB+4, OW~, OW+2, OW+4
>> BDMPG PRINT+1*, HEADER+1, HEADER1+2*, HEADER1+3
>> BDMQUIT PRINT+2*, PRINT1+3, TYPE+1, WTCNTL+1, BPC+1, TOB+1, TX+1, HEADER+2*
BMI OB~, OB+1, OB+7, OB+8, OW~, OW+1, OW+7, OW+8
D D~, D+1, D+2, OB~, OB+4, OW~, OW+4, 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
EDATE DURDM~, DURDM+4, DURDM+6
IO EXIT+1, HEADER+2
IO("S" EOP+2
IO(0 EXIT+1, HEADER+2
IOF HEADER1+2
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, OB+5~*, OB+6, OB+7, OB+8, OW+5~*, OW+6, OW+7, OW+8
S OB+2~*, OB+3, OB+5, OW+2~*, OW+3, OW+5
U OB+2, OB+7, OB+8, OW+2, OW+7, OW+8, PRINT1+1, PRINT1+2, PRINT1+5, PRINT1+6
, PRINT1+7, PRINT1+8, TYPE+3, TYPE+5, TYPE+7, TYPE+9, WTCNTL+2, WTCNTL+3, WTCNTL+4, WTCNTL+5
, 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+5, TX+6, TX+7, 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*
, TYPE+7, TYPE+8*, TYPE+9, WTCNTL+2*, WTCNTL+3, WTCNTL+4, WTCNTL+5, 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+5, TX+6, TX+7
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