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 |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: BDMDD1T

Package: Diabetes Registry

Routine: BDMDD1T


Information

BDMDD1T ; IHS/CMI/LAB - 2016 DIABETES AUDIT ;

Source Information

Source file <BDMDD1T.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
Diabetes Registry 3 ($$LASTCPTT,$$LASTDXT)^BDMAPIU  $$DATE^BDMS9B1  ($$ICD,$$ICDDX)^BDMUTL  
IHS VA Utilities 1 ($$VAL,$$VALI)^XBDIQ1  
Patient Care Component Reports 1 $$START1^APCLDF  

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Diabetes Registry 4 BDMDA1T  BDMDD10  BDMDD11  BDMPD10  

Entry Points

Name Comments DBIA/ICR reference
LASTHF(P,C,BDATE,EDATE) ;EP - get last factor in category C for patient P
CPTSM(P,BDATE,EDATE) ;EP - did pat have smoking cpt?
DX(P,BDATE,EDATE) ;EP
TUHF(V) ;
TOBACCOS ;EP
TOBACCO(P,BDATE,EDATE) ;EP
DENT(P,BDATE,EDATE) ;EP

External References

Name Field # of Occurrence
$$START1^APCLDF DENT+3
$$LASTCPTT^BDMAPIU CPTSM+3
$$LASTDXT^BDMAPIU DX+2
$$DATE^BDMS9B1 DX+9, DX+10, DX+20, DX+21, LASTHF+18, LASTHF+30, DENT+3, DENT+13, CPTSM+6, CPTSM+7
$$ICD^BDMUTL DX+9, DX+17, DX+20, CPTSM+6
$$ICDDX^BDMUTL DX+20, DX+21
$$VAL^XBDIQ1 LASTHF+11, LASTHF+17, LASTHF+18, LASTHF+26, LASTHF+30
$$VALI^XBDIQ1 DX+7, CPTSM+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ATXAX - [#9002226] DX+17
^ATXAX("B" DX+11
^AUPNPROB - [#9000011] DX+13, DX+14, DX+15, DX+16, DX+20, DX+21
^AUPNPROB("AC" DX+12
^AUPNVDEN - [#9000010.05] DENT+9
^AUPNVDEN("AD" DENT+9
^AUPNVHF("AA" LASTHF+6, LASTHF+7, LASTHF+10, LASTHF+13, LASTHF+21, LASTHF+22, LASTHF+25, LASTHF+27
^AUPNVSIT - [#9000010] DENT+6, DENT+7, DENT+8, DENT+9
^AUTTADA - [#9999999.31] DENT+9
^AUTTHF("AC" LASTHF+5, LASTHF+20
^AUTTHF("B" TOBACCOS+5, LASTHF+1
^ICD9 - [#80] DX+18
^TMP($J DENT+1!, DENT+4, DENT+5, DENT+11!

Label References

Name Line Occurrences
$$CPTSM TOBACCO+13
$$DENT TOBACCO+10
$$DX TOBACCO+7
$$LASTHF TOBACCOS+3, TOBACCOS+4, TOBACCOS+5
$$TUHF LASTHF+17
TOBACCOS TOBACCO+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% TOBACCO+2~
A DENT+2~, DENT+3*
B DENT+2~, DENT+3*, DENT+9*
BDATE TOBACCO~, TOBACCO+3, TOBACCO+7, TOBACCO+10, TOBACCO+13, DX~, DX+2, DX+15, TOBACCOS+3, TOBACCOS+4
, TOBACCOS+5, LASTHF~, LASTHF+9, LASTHF+24, DENT~, DENT+3, CPTSM~, CPTSM+3
BDM TOBACCOS+1!
BDM1320 TOBACCO+2~, TOBACCO+10*, TOBACCO+11
BDMALL TOBACCO+2~
BDMG DX+1~, DX+2*, DX+3, DX+5, DX+6, DX+9, DX+10
BDMSBD TOBACCO+2~, TOBACCO+3*, TOBACCO+6*, TOBACCO+7, TOBACCO+8, TOBACCO+9*, TOBACCO+10, TOBACCO+11, TOBACCO+12*, TOBACCO+13
, TOBACCO+14
BDMSCPT TOBACCO+2~, TOBACCO+13*, TOBACCO+14
BDMSDX TOBACCO+2~, TOBACCO+7*, TOBACCO+8
BDMTOB TOBACCO+2~
BDMTOBC TOBACCO+2~, TOBACCOS+2*, TOBACCOS+4*, TOBACCOS+8, TOBACCOS+10
BDMTOBS TOBACCO+2~, TOBACCO+6, TOBACCO+8*, TOBACCO+9, TOBACCO+11*, TOBACCO+12, TOBACCO+14*, TOBACCO+15, TOBACCOS+2*, TOBACCOS+3*
, TOBACCOS+5*, TOBACCOS+7, TOBACCOS+8*, TOBACCOS+9, TOBACCOS+10*
BDMXPND TOBACCO+2~
C LASTHF~, LASTHF+1*, LASTHF+2, LASTHF+5, LASTHF+20
D TOBACCO+2~, TOBACCOS+3!, TOBACCOS+4!, TOBACCOS+5!, LASTHF+3~, LASTHF+4*, LASTHF+7*, LASTHF+8, LASTHF+9, LASTHF+10
, LASTHF+13, LASTHF+15*, LASTHF+16, LASTHF+17, LASTHF+18, LASTHF+19*, LASTHF+22*, LASTHF+23, LASTHF+24, LASTHF+25
, LASTHF+27, LASTHF+29*, LASTHF+30
E DENT+2~, DENT+3*
EDATE TOBACCO~, TOBACCO+7, TOBACCO+10, TOBACCO+13, DX~, DX+2, DX+14, TOBACCOS+3, TOBACCOS+4, TOBACCOS+5
, LASTHF~, LASTHF+8, LASTHF+23, DENT~, DENT+3, CPTSM~, CPTSM+3
F TOBACCO+2~, DX+1~, DX+6*, DX+7, LASTHF+3~, LASTHF+11*, LASTHF+12, LASTHF+26*, LASTHF+27
G DX+1~, DX+3, DX+4*, DX+9*, DX+10*, DX+12*, DX+20*, DX+21*, DX+23, DENT+2~
, DENT+5*, DENT+9*, DENT+12, DENT+13, CPTSM+1~, CPTSM+2*
H TOBACCOS+3!, TOBACCOS+4!, TOBACCOS+5!, LASTHF+3~, LASTHF+4*, LASTHF+5*, LASTHF+6, LASTHF+7, LASTHF+10, LASTHF+13
, LASTHF+19*, LASTHF+20*, LASTHF+21, LASTHF+22, LASTHF+25, LASTHF+27
I DX+1~, DX+5*, DX+7
O TOBACCOS+3!, TOBACCOS+4!, TOBACCOS+5!, LASTHF+3~, LASTHF+4!, LASTHF+19!
O( LASTHF+13*, LASTHF+17, LASTHF+18, LASTHF+27*, LASTHF+30
O(0 LASTHF+15, LASTHF+29
P TOBACCO~, TOBACCO+1, TOBACCO+7, TOBACCO+10, TOBACCO+13, DX~, DX+2, DX+12, TOBACCOS+3, TOBACCOS+4
, TOBACCOS+5, LASTHF~, LASTHF+6, LASTHF+7, LASTHF+10, LASTHF+13, LASTHF+21, LASTHF+22, LASTHF+25, LASTHF+27
, DENT~, DENT+3, CPTSM~, CPTSM+3
T DX+1~, DX+11*, DX+17
U TOBACCO+6, TOBACCO+8, TOBACCO+9, TOBACCO+11, TOBACCO+12, TOBACCO+14, DX+5, DX+6, DX+9, DX+10
, DX+13, DX+14, DX+15, DX+16, DX+17, DX+18, DX+20, DX+21, TOBACCOS+7, TOBACCOS+8
, LASTHF+18, DENT+5, DENT+7, DENT+8, DENT+9, DENT+13, CPTSM+5, CPTSM+6, CPTSM+7
V TUHF~, TUHF+1, TUHF+2, TUHF+3, TUHF+4, TUHF+5, TUHF+6, TUHF+7, DENT+5*, DENT+6
, DENT+7, DENT+8, DENT+9
X DX+1~, DX+12*, DX+13, DX+14, DX+15, DX+16, DX+20, DX+21, DENT+2~, DENT+5*
, CPTSM+1~, CPTSM+3*, CPTSM+4, CPTSM+5, CPTSM+6, CPTSM+7
Y DX+1~, DX+16*, DX+17, DX+18, DX+20, DX+21
Z DX+1~, DX+7*, DX+9, DX+18*, DX+20, LASTHF+3~, LASTHF+10*, LASTHF+11, LASTHF+16, LASTHF+17*
, LASTHF+18*, LASTHF+25*, LASTHF+26, DENT+2~, DENT+9*, CPTSM+1~, CPTSM+5*, CPTSM+6
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All