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

Package: Diabetes Registry

Routine: BDMD516


Information

BDMD516 ; IHS/CMI/LAB - 2005 DIABETES AUDIT ;

Source Information

Source file <BDMD516.m>

Call Graph

Call Graph Total: 10

Package Total Call Graph
Diabetes Registry 5 ($$ACAR,$$INSULIN,$$MET,$$REFMED,$$SULF,$$TBTX,$$TROG)^BDMD512  ($$BPS,$$CMSFDX,$$LASTDMDX,$$PLDMDOO,$$PLDMDXS)^BDMD513  $$REFUSAL^BDMD517  ($$LASTNP,$$PPD)^BDMD518  $$LASTHF^BDMD519  
DRG Grouper 1 $$ICDDX^ICDCODE  
IHS Patient 1 $$DOB^AUPNPAT  
Kernel 1 ($$FMADD,$$FMDIFF,$$FMTE)^XLFDT  
Patient Care Component Reports 1 $$START1^APCLDF  
VA Fileman 1 ^%DT  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Diabetes Registry 2 BDMD510  BDMD515  

Entry Points

Name Comments DBIA/ICR reference
DIAMEAN(P,BDATE,EDATE) ;EP
THERAPY(P,BD,EDATE) ;EP - therapy code for epi
ASPIRIN(P,BDATE,EDATE) ;EP
D(D) ;
TYPE(P,R,EDATE) ;EP return type 1 or 2 for epi file
DURDM(P,R,EDATE) ;EP
TBCODE(P,EDATE,R) ;EP
1 ;;PPD +, treatment complete
SELF(P,BDATE,EDATE) ;EP
3 ;;PPD -, up-to-date (placed after dm dx)
2 ;;PPD +, not treated/treatment incomplete or unknown treatment
5 ;;PPD Status unknown
4 ;;PPD -, before DM dx or date unknown
SYSMEAN(P,BDATE,EDATE) ;EP
DENT(P,BDATE,EDATE) ;EP
LIPID(P,BDATE,EDATE) ;EP
BI() ;
DODX(P,R,F) ;EP - date of dx for epi file
SDM(P,BDATE,EDATE) ;EP
TOBACCO(P,EDATE) ;EP
TOBACCO3 ;lookup in health status
TOBACCO2 ;check pov file for TOBACCO USE DOC
TOBACCO1 ;check problem file for tobacco use
TOBACCO0 ;check for tobacco documented in health factors
ACE(P,BDATE,EDATE) ;EP
PPDDATE(P,EDATE) ;EP

External References

Name Field # of Occurrence
^%DT ACE+5, SELF+2, SELF+3, SDM+2, SDM+3, TOBACCO2+2
$$START1^APCLDF LIPID+2, LIPID+5, ACE+2, SELF+6, SDM+8, ASPIRIN+3, ASPIRIN+5, TOBACCO0+1, TOBACCO1+1, TOBACCO2+4
, DENT+2
$$DOB^AUPNPAT TOBACCO0+1
$$ACAR^BDMD512 THERAPY+10
$$INSULIN^BDMD512 THERAPY+4
$$MET^BDMD512 THERAPY+8
$$REFMED^BDMD512 THERAPY+15
$$SULF^BDMD512 THERAPY+6
$$TBTX^BDMD512 TBCODE+4, TBCODE+8
$$TROG^BDMD512 THERAPY+12
$$BPS^BDMD513 SYSMEAN+1, DIAMEAN+1
$$CMSFDX^BDMD513 TYPE+3, DODX+4
$$LASTDMDX^BDMD513 TYPE+14
$$PLDMDOO^BDMD513 DODX+6
$$PLDMDXS^BDMD513 TYPE+9
$$REFUSAL^BDMD517 LIPID+14, LIPID+19, ACE+14, ASPIRIN+14, ASPIRIN+19
$$LASTNP^BDMD518 PPDDATE+1
$$PPD^BDMD518 TBCODE+7, TBCODE+11, TBCODE+13
$$LASTHF^BDMD519 SELF+4, SDM+4
$$ICDDX^ICDCODE TOBACCO1+3
$$FMADD^XLFDT TOBACCO2+3
$$FMDIFF^XLFDT DURDM+5
$$FMTE^XLFDT TOBACCO2+3, DENT+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ATXAX - [#9002226] LIPID+14, LIPID+19, ACE+14, SDM+11, ASPIRIN+14, ASPIRIN+19, TOBACCO3+3
^ATXAX("B" LIPID+12, LIPID+17, ACE+12, SDM+6, ASPIRIN+12, ASPIRIN+17, TOBACCO3+1
^AUPNHF("AA" TOBACCO3+3
^AUPNPROB - [#9000011] TOBACCO1+3, TOBACCO1+4
^AUPNVDEN - [#9000010.05] DENT+8
^AUPNVDEN("AD" DENT+8
^AUPNVMED - [#9000010.14] ACE+9
^AUPNVMED("AA" ACE+8, ACE+9
^AUPNVPOV - [#9000010.07] TOBACCO2+5, TOBACCO2+6
^AUPNVPRV - [#9000010.06] SDM+11
^AUPNVPRV("AD" SDM+11
^AUPNVSIT - [#9000010] ACE+9, DENT+5, DENT+6, DENT+7
^AUTNPOV - [#9999999.27] TOBACCO1+3, TOBACCO1+4, TOBACCO2+5, TOBACCO2+6
^AUTTADA - [#9999999.31] DENT+8
^AUTTHF - [#9999999.64] TOBACCO3+7
^AUTTIMM(0 BI+1
^PSDRUG - [#50] ACE+9
^TMP($J DENT+1!, DENT+3, DENT+4

Label References

Name Line Occurrences
$$D DODX+9
$$DENT TOBACCO+11
$$DODX TBCODE+12, TBCODE+13, DURDM+2
TOBACCO0 TOBACCO+3
TOBACCO1 TOBACCO+7
TOBACCO2 TOBACCO+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% ACE+6~, ACE+7*, ACE+8, ACE+9*, ACE+10, SDM+8*, TOBACCO3+1*, TOBACCO3+2, TOBACCO3+3
%DT ACE+1~, ACE+5~!*, SELF+1~, SELF+2*, SELF+3*, SDM+1~, SDM+2*, SDM+3*, TOBACCO2+1~, TOBACCO2+2*
, THERAPY+2~
A ASPIRIN+1~, ASPIRIN+2*, ASPIRIN+4*, ASPIRIN+7, ASPIRIN+8, DENT+2*
>> B ASPIRIN+2*, DENT+2*, DENT+8*
BD ACE+1~, SELF+1~, SELF+3*, SELF+4, SDM+1~, SDM+3*, SDM+4, THERAPY~, THERAPY+4, THERAPY+6
, THERAPY+8, THERAPY+10, THERAPY+12, THERAPY+15
BDATE SYSMEAN~, SYSMEAN+1, DIAMEAN~, DIAMEAN+1, LIPID~, LIPID+2, LIPID+5, LIPID+14, LIPID+19, ACE~
, ACE+2, ACE+5, ACE+14, SELF~, SELF+3, SELF+6, SDM~, SDM+3, SDM+8, ASPIRIN~
, ASPIRIN+3, ASPIRIN+5, ASPIRIN+14, ASPIRIN+19, TOBACCO2+3~*, TOBACCO2+4, DENT~, DENT+2
BDM LIPID+1~, LIPID+4!, ACE+1~, SELF+1~, SDM+1~, ASPIRIN+1~, ASPIRIN+5!, TOBACCO+2~, TOBACCO0+1!, TOBACCO1+1!
, TOBACCO2+4!
BDM( SDM+10
BDM(1 LIPID+3, LIPID+6, ACE+3, SELF+7, ASPIRIN+4, ASPIRIN+6, TOBACCO0+1, TOBACCO0+2, TOBACCO1+1, TOBACCO1+3
, TOBACCO1+4, TOBACCO2+4, TOBACCO2+5, TOBACCO2+6
BDMI TBCODE+1~
BDMJ TBCODE+1~, TBCODE+2*, TBCODE+7, TBCODE+8*, TBCODE+9*, TBCODE+11*, TBCODE+12*, TBCODE+13*, TBCODE+15*, TBCODE+16
>> BDMRBD TOBACCO+11
>> BDMRED TOBACCO+11
BDMTOB TOBACCO+2~, TOBACCO+4, TOBACCO+8, TOBACCO+10, TOBACCO0+2*, TOBACCO0+3*, TOBACCO3+8*, TOBACCO3+9*, TOBACCO3+10*, TOBACCO1+3*
, TOBACCO1+4*, TOBACCO2+5*, TOBACCO2+6*
C SYSMEAN+3~*, SYSMEAN+4, SYSMEAN+5*, SYSMEAN+6, DIAMEAN+3~*, DIAMEAN+4, DIAMEAN+5*, DIAMEAN+6, TYPE+9~, TYPE+10*
, TYPE+12*
D TBCODE+13*, ACE+5~*, ACE+8, TOBACCO3+3*, TOBACCO2+1~, TOBACCO2+2*, TOBACCO2+3, D~, D+1, D+2
DATE DODX+2~, DODX+3*, DODX+4*, DODX+5, DODX+6*, DODX+7
E TBCODE+13*, LIPID+1~, LIPID+2*, LIPID+5*, ACE+1~, ACE+2*, SELF+1~, SELF+4*, SELF+5, SELF+6*
, SDM+1~, SDM+4*, SDM+5, SDM+8*, ASPIRIN+1~, ASPIRIN+3*, ASPIRIN+5*, TOBACCO+2~, TOBACCO0+1*, TOBACCO1+1*
, TOBACCO2+4*, DENT+2*
EARLY DODX+2~, DODX+3*, DODX+5*, DODX+7*, DODX+8*, DODX+9
ED SELF+1~, SELF+2*, SELF+4, SDM+1~, SDM+2*, SDM+4
EDATE TBCODE~, TBCODE+7, TBCODE+11, TBCODE+13, SYSMEAN~, SYSMEAN+1, DIAMEAN~, DIAMEAN+1, PPDDATE~, PPDDATE+1
, LIPID~, LIPID+2, LIPID+5, LIPID+14, LIPID+19, ACE~, ACE+2, ACE+14, SELF~, SELF+2
, SELF+6, SDM~, SDM+2, SDM+8, ASPIRIN~, ASPIRIN+3, ASPIRIN+5, ASPIRIN+14, ASPIRIN+19, TOBACCO~
, TOBACCO0+1, TOBACCO2+2, TOBACCO2+4, DENT~, DENT+2, THERAPY~, THERAPY+4, THERAPY+6, THERAPY+8, THERAPY+10
, THERAPY+12, THERAPY+15, TYPE~, TYPE+14, DURDM~, DURDM+4, DURDM+5
F DODX~, DODX+1*, DODX+9
G LIPID+1~, LIPID+2*, LIPID+11*, LIPID+14*, LIPID+15, LIPID+16, LIPID+19*, LIPID+20, LIPID+21, ACE+1~
, ACE+9*, ACE+14*, ACE+15, ACE+16, SDM+10~*, SDM+11*, SDM+13, ASPIRIN+1~, ASPIRIN+2*, ASPIRIN+11*
, ASPIRIN+14*, ASPIRIN+15, ASPIRIN+16, ASPIRIN+19*, ASPIRIN+20, ASPIRIN+21, DENT+4*, DENT+8*, DENT+10
I ACE+6~, ACE+8*, ACE+9, TYPE+9~, TYPE+10*, TYPE+12*
N ASPIRIN+1~, ASPIRIN+2*, ASPIRIN+6*, ASPIRIN+7, ASPIRIN+9
O LIPID+1~, LIPID+2*, LIPID+3*, LIPID+7, LIPID+9
P TBCODE~, TBCODE+4, TBCODE+7, TBCODE+8, TBCODE+11, TBCODE+12, TBCODE+13, SYSMEAN~, SYSMEAN+1, DIAMEAN~
, DIAMEAN+1, PPDDATE~, PPDDATE+1, LIPID~, LIPID+2, LIPID+5, LIPID+14, LIPID+19, ACE~, ACE+2
, ACE+8, ACE+9, ACE+14, SELF~, SELF+4, SELF+6, SDM~, SDM+4, SDM+8, SDM+10~
, SDM+11*, ASPIRIN~, ASPIRIN+3, ASPIRIN+5, ASPIRIN+14, ASPIRIN+19, TOBACCO~, TOBACCO+1, TOBACCO+11, TOBACCO0+1
, TOBACCO3+3, TOBACCO1+1, TOBACCO2+4, DENT~, DENT+2, THERAPY~, THERAPY+1, THERAPY+4, THERAPY+6, THERAPY+8
, THERAPY+10, THERAPY+12, THERAPY+15, TYPE~, TYPE+1, TYPE+3, TYPE+9, TYPE+14, DURDM~, DURDM+1
, DURDM+2, DODX~, DODX+4, DODX+6
P1 SDM+10~, SDM+11*
R TBCODE~, TBCODE+12, TBCODE+13, TYPE~, TYPE+3, DURDM~, DURDM+2, DODX~, DODX+4
S LIPID+1~, LIPID+2*, LIPID+6*, LIPID+7, LIPID+8
STR THERAPY+2~, THERAPY+3*, THERAPY+5*, THERAPY+7*, THERAPY+9*, THERAPY+11*, THERAPY+13*, THERAPY+14
T LIPID+12~*, LIPID+13, LIPID+14, LIPID+17~*, LIPID+18, LIPID+19, ACE+12~*, ACE+13, ACE+14, SELF+1~
, SDM+1~, SDM+6*, SDM+7, SDM+11, ASPIRIN+12~*, ASPIRIN+13, ASPIRIN+14, ASPIRIN+17~*, ASPIRIN+18, ASPIRIN+19
TNAME THERAPY+2~, THERAPY+3*
TYPE TYPE+2~*, TYPE+3*, TYPE+4, TYPE+5, TYPE+6, TYPE+7, TYPE+8, TYPE+9*, TYPE+10*, TYPE+11
, TYPE+12*, TYPE+13
U LIPID+14, LIPID+15, LIPID+19, LIPID+20, ACE+9, ACE+14, ACE+15, SDM+10, SDM+11, ASPIRIN+14
, ASPIRIN+15, ASPIRIN+19, ASPIRIN+20, TOBACCO0+2, TOBACCO3+7, TOBACCO1+3, TOBACCO1+4, TOBACCO2+5, TOBACCO2+6, DENT+4
, DENT+6, DENT+7, DENT+8
V ACE+6~, ACE+9*, SDM+10~*, SDM+11, DENT+4*, DENT+5, DENT+6, DENT+7, DENT+8
X TBCODE+1~, TBCODE+4*, TBCODE+5, TBCODE+6, SYSMEAN+1~*, SYSMEAN+2, SYSMEAN+3, SYSMEAN+5, DIAMEAN+1~*, DIAMEAN+2
, DIAMEAN+3, DIAMEAN+5, PPDDATE+1~*, PPDDATE+2, LIPID+1~, LIPID+2*, LIPID+5*, LIPID+14*, LIPID+19*, ACE+1~
, ACE+2*, ACE+5*, ACE+14*, SELF+1~, SELF+2*, SELF+3*, SELF+6*, SDM+1~, SDM+2*, SDM+3*
, SDM+10~*, ASPIRIN+1~, ASPIRIN+3*, ASPIRIN+5*, ASPIRIN+14*, ASPIRIN+19*, TOBACCO+2~, TOBACCO+11*, TOBACCO+12, TOBACCO0+1*
, TOBACCO3+3*, TOBACCO3+5*, TOBACCO3+6, TOBACCO1+1*, TOBACCO2+2*, TOBACCO2+4*, DENT+4*, THERAPY+2~, THERAPY+4*, THERAPY+5
, THERAPY+6*, THERAPY+7, THERAPY+8*, THERAPY+9, THERAPY+10*, THERAPY+11, THERAPY+12*, THERAPY+13, THERAPY+15*, THERAPY+16
, TYPE+9~*, TYPE+10, TYPE+12, TYPE+14*, TYPE+15, TYPE+16
Y SYSMEAN+3~*, SYSMEAN+5*, DIAMEAN+3~*, DIAMEAN+5*, ACE+1~, ACE+5, SELF+1~, SELF+2, SELF+3, SDM+1~
, SDM+2, SDM+3, TOBACCO3+3!, TOBACCO3+4, TOBACCO3+6*, TOBACCO3+7*, TOBACCO3+8, TOBACCO3+9, TOBACCO2+2, THERAPY+2~
, DURDM+2~*, DURDM+3, DURDM+4, DURDM+5
Y( TOBACCO3+6
Y(0 TOBACCO3+5
Y(9999999 TOBACCO3+3*
>> Z DENT+8*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All