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

Package: Diabetes Registry

Routine: BDMD916


Information

BDMD916 ; IHS/CMI/LAB - 2009 DIABETES AUDIT ;

Source Information

Source file <BDMD916.m>

Call Graph

Call Graph Total: 13

Package Total Call Graph
Diabetes Registry 5 ($$ACAR,$$AMYLIN,$$DPP4,$$INCR,$$INSULIN,$$MET,$$REFMED,$$SULF,$$TBTX,$$TROG)^BDMD912  ($$BPS,$$CMSFDX,$$LASTDMDX,$$PLDMDOO,$$PLDMDXS)^BDMD913  $$REFUSAL^BDMD917  ($$LASTNP,$$PPD)^BDMD918  $$LASTHF^BDMD919  
Kernel 2 ($$FMDIFF,$$FMTE)^XLFDT  $$UP^XLFSTR  
DRG Grouper 1 $$ICDDX^ICDCODE  
IHS Patient 1 $$DOB^AUPNPAT  
IHS VA Utilities 1 $$VAL^XBDIQ1  
Patient Care Component Reports 1 $$START1^APCLDF  
Taxonomy 1 $$ICD^ATXCHK  
VA Fileman 1 ^%DT  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Diabetes Registry 3 BDMD910  BDMD914  BDMD915  

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
LIPIDA ;
LIPIDN ;
1 ;;PPD +, treatment complete
SELF(P,BDATE,EDATE) ;EP
3 ;;PPD -, placed on or after date of DM dx
2 ;;PPD +, not treated/treatment incomplete or unknown treatment
5 ;;PPD Status unknown
4 ;;PPD -, placed before date of DM dx
7 ;;PPD Refused
6 ;;PPD -, date of DX or PPD date unknown
SYSMEAN(P,BDATE,EDATE) ;EP
ASAPOV ;
LIPID(P,BDATE,EDATE) ;EP
BI() ;
AR ;NOW CHECK FOR ADVERSE REACTION/ALLERGY
ANTI ;
SDM(P,BDATE,EDATE) ;EP
ASAALLEG(P,BDMD,BDMY) ;does patient have an aspirin allergy
DODX(P,R,F) ;EP - date of dx for epi file
ACE(P,BDATE,EDATE) ;EP
PPDDATE(P,EDATE) ;EP
DI(D) ;EP

External References

Name Field # of Occurrence
^%DT LIPIDA+2, ACE+5, ACE+7, SELF+2, SELF+3, SDM+2, SDM+3, AR+1
$$START1^APCLDF LIPID+2, LIPID+5, ACE+2, SELF+6, SDM+8, ASPIRIN+3, ASPIRIN+5, ASAPOV+1, ASAPOV+8
$$ICD^ATXCHK ASAPOV+20
$$DOB^AUPNPAT ASAPOV+1, ASAPOV+8
$$ACAR^BDMD912 THERAPY+10
$$AMYLIN^BDMD912 THERAPY+18
$$DPP4^BDMD912 THERAPY+16
$$INCR^BDMD912 THERAPY+14
$$INSULIN^BDMD912 THERAPY+4
$$MET^BDMD912 THERAPY+8
$$REFMED^BDMD912 THERAPY+21
$$SULF^BDMD912 THERAPY+6
$$TBTX^BDMD912 TBCODE+4, TBCODE+9
$$TROG^BDMD912 THERAPY+12
$$BPS^BDMD913 SYSMEAN+1, DIAMEAN+1
$$CMSFDX^BDMD913 TYPE+3, DODX+4
$$LASTDMDX^BDMD913 TYPE+14
$$PLDMDOO^BDMD913 DODX+6
$$PLDMDXS^BDMD913 TYPE+9
$$REFUSAL^BDMD917 LIPID+14, LIPIDN+3, ACE+15, ASPIRIN+12, ANTI+3
$$LASTNP^BDMD918 PPDDATE+1
$$PPD^BDMD918 TBCODE+7, TBCODE+14
$$LASTHF^BDMD919 SELF+4, SDM+4
$$ICDDX^ICDCODE ASAPOV+6, ASAPOV+17
$$VAL^XBDIQ1 ASAPOV+3, ASAPOV+10, ASAPOV+18
$$FMDIFF^XLFDT DURDM+6
$$FMTE^XLFDT ACE+3, ACE+11, ASAPOV+1, ASAPOV+4, ASAPOV+6, ASAPOV+8, ASAPOV+11, ASAPOV+20, ASAPOV+26
$$UP^XLFSTR LIPIDA+6, ASAPOV+3, ASAPOV+10, ASAPOV+18, ASAPOV+25

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ATXAX - [#9002226] LIPID+14, LIPIDN+3, ACE+15, SDM+11, ASPIRIN+12, ANTI+3
^ATXAX("B" LIPID+12, LIPIDN+1, ACE+13, SDM+6, ASPIRIN+10, ANTI+1, ASAPOV+14
^AUPNPROB - [#9000011] ASAPOV+17, ASAPOV+19, ASAPOV+20
^AUPNPROB("AC" ASAPOV+15
^AUPNVMED - [#9000010.14] ACE+10
^AUPNVMED("AA" ACE+9, ACE+10
^AUPNVPOV - [#9000010.07] ASAPOV+6
^AUPNVPRV - [#9000010.06] SDM+11
^AUPNVPRV("AD" SDM+11
^AUPNVSIT - [#9000010] ACE+10
^AUTTIMM(0 BI+1
^GMR(120.8 - [#120.8] LIPIDA+3, LIPIDA+4, LIPIDA+6, LIPIDA+7, ASAPOV+23, ASAPOV+24, ASAPOV+25, ASAPOV+26, ASAPOV+28, ASAPOV+30
, ASAPOV+32, ASAPOV+34
^PS(50.605 - [#50.605] LIPIDA+5, ASAPOV+27, ASAPOV+29, ASAPOV+31, ASAPOV+33
^PSDRUG - [#50] ACE+10, ACE+11

Label References

Name Line Occurrences
$$D DODX+9
$$DI DODX+9
$$DODX TBCODE+13, TBCODE+14, DURDM+2
ANTI ASPIRIN+11
AR ANTI+2
ASAALLEG AR+2
LIPIDA LIPIDN+2
LIPIDN LIPID+13

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% ACE+6~, ACE+8*, ACE+9, ACE+10*, ACE+11, SDM+8*
%DT LIPIDA+2*, ACE+1~, ACE+5~!*, ACE+7!*, SELF+1~, SELF+2*, SELF+3*, SDM+1~, SDM+2*, SDM+3*
, AR+1*, THERAPY+2~
A ASPIRIN+1~, ASPIRIN+2*, ASPIRIN+4*, ASPIRIN+7
>> B LIPIDA+2*, LIPIDA+4, ASPIRIN+2*
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+14, THERAPY+16, THERAPY+18, THERAPY+21, ASAALLEG+2~
BDATE SYSMEAN~, SYSMEAN+1, DIAMEAN~, DIAMEAN+1, LIPID~, LIPID+2, LIPID+5, LIPID+14, LIPIDN+3, ACE~
, ACE+2, ACE+5, ACE+15, SELF~, SELF+3, SELF+6, SDM~, SDM+3, SDM+8, ASPIRIN~
, ASPIRIN+3, ASPIRIN+5, ASPIRIN+12, ANTI+3
BDM LIPID+1~, LIPID+4!, ACE+1~, SELF+1~, SDM+1~, ASPIRIN+1~, ASPIRIN+5!
BDM( SDM+10
BDM(1 LIPID+3, LIPID+6, ACE+3, SELF+7, ASPIRIN+4, ASPIRIN+6
BDMC ASAALLEG+2~, ASAALLEG+4*, ASAPOV+4*, ASAPOV+6*, ASAPOV+11*, ASAPOV+20*, ASAPOV+26*
BDMD ASAALLEG~, ASAPOV+1, ASAPOV+8, ASAPOV+19, ASAPOV+24
BDMG ASAALLEG+2~, ASAPOV+1!, ASAPOV+8!
BDMG( ASAPOV+2, ASAPOV+4, ASAPOV+6, ASAPOV+9, ASAPOV+11
BDMI TBCODE+1~
BDMJ TBCODE+1~, TBCODE+2*, TBCODE+8, TBCODE+9*, TBCODE+10*, TBCODE+12*, TBCODE+13*, TBCODE+14*, TBCODE+16*, TBCODE+17*
, TBCODE+18
BDMR TBCODE+1~, TBCODE+7*, TBCODE+8, TBCODE+12, TBCODE+16, TBCODE+17
>> BDMSAAL AR+2
>> BDMSAAL(1 AR+3
BDMY ASAALLEG~, ASAALLEG+4!
BDMY( ASAPOV+4*, ASAPOV+6*, ASAPOV+11*, ASAPOV+20*, ASAPOV+26*
C SYSMEAN+3~*, SYSMEAN+4, SYSMEAN+5*, SYSMEAN+6, DIAMEAN+3~*, DIAMEAN+4, DIAMEAN+5*, DIAMEAN+6, LIPIDA+5*, LIPIDA+7
, TYPE+9~, TYPE+10*, TYPE+12*, ASAPOV+27*, ASAPOV+28, ASAPOV+29*, ASAPOV+30, ASAPOV+31*, ASAPOV+32, ASAPOV+33*
, ASAPOV+34
D TBCODE+14*, ACE+5~*, ACE+9, D~, D+1, D+2, DI~, DI+1, DI+2
DATE DODX+2~, DODX+3*, DODX+4*, DODX+5, DODX+6*, DODX+7
E TBCODE+14*, LIPID+1~, LIPID+2*, LIPID+5*, ACE+1~, ACE+2*, ACE+7*, ACE+9, SELF+1~, SELF+4*
, SELF+5, SELF+6*, SDM+1~, SDM+4*, SDM+5, SDM+8*, ASPIRIN+1~, ASPIRIN+3*, ASPIRIN+5*, AR+1*
, AR+2, ASAPOV+1*, ASAPOV+8*
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, ASAALLEG+2~
EDATE TBCODE~, TBCODE+7, TBCODE+14, SYSMEAN~, SYSMEAN+1, DIAMEAN~, DIAMEAN+1, PPDDATE~, PPDDATE+1, LIPID~
, LIPID+2, LIPID+5, LIPID+14, LIPIDN+3, LIPIDA+2, ACE~, ACE+2, ACE+7, ACE+15, SELF~
, SELF+2, SELF+6, SDM~, SDM+2, SDM+8, ASPIRIN~, ASPIRIN+3, ASPIRIN+5, ASPIRIN+12, ANTI+3
, AR+1, THERAPY~, THERAPY+4, THERAPY+6, THERAPY+8, THERAPY+10, THERAPY+12, THERAPY+14, THERAPY+16, THERAPY+18
, THERAPY+21, TYPE~, TYPE+14, DURDM~, DURDM+5, DURDM+6
F DODX~, DODX+1*, DODX+9
G LIPID+1~, LIPID+2*, LIPID+11*, LIPID+14*, LIPID+15, LIPIDN+3*, LIPIDN+4, LIPIDA+3*, LIPIDA+7*, LIPIDA+8
, ACE+1~, ACE+10*, ACE+15*, ACE+16, ACE+17, SDM+10~*, SDM+11*, SDM+13, ASPIRIN+1~, ASPIRIN+2*
, ASPIRIN+9*, ASPIRIN+12*, ASPIRIN+13, ASPIRIN+14, ANTI+3*, ANTI+4, ASAPOV+28*, ASAPOV+30*, ASAPOV+32*, ASAPOV+34*
I ACE+6~, ACE+9*, ACE+10, TYPE+9~, TYPE+10*, TYPE+12*, ASAPOV+17*, ASAPOV+20
N LIPIDA+6*, ASPIRIN+1~, ASPIRIN+2*, ASPIRIN+6*, ASPIRIN+7, ASAALLEG+2~, ASAPOV+3*, ASAPOV+4, ASAPOV+6, ASAPOV+10*
, ASAPOV+11, ASAPOV+18*, ASAPOV+20, ASAPOV+25*, ASAPOV+26
O LIPID+1~, LIPID+2*, LIPID+3*, LIPID+7, LIPID+9
P TBCODE~, TBCODE+4, TBCODE+7, TBCODE+9, TBCODE+13, TBCODE+14, SYSMEAN~, SYSMEAN+1, DIAMEAN~, DIAMEAN+1
, PPDDATE~, PPDDATE+1, LIPID~, LIPID+2, LIPID+5, LIPID+14, LIPIDN+3, LIPIDA+3, ACE~, ACE+2
, ACE+9, ACE+10, ACE+15, SELF~, SELF+4, SELF+6, SDM~, SDM+4, SDM+8, SDM+10~
, SDM+11*, ASPIRIN~, ASPIRIN+3, ASPIRIN+5, ASPIRIN+12, ANTI+3, AR+2, THERAPY~, THERAPY+1, THERAPY+4
, THERAPY+6, THERAPY+8, THERAPY+10, THERAPY+12, THERAPY+14, THERAPY+16, THERAPY+18, THERAPY+21, TYPE~, TYPE+1
, TYPE+3, TYPE+9, TYPE+14, DURDM~, DURDM+1, DURDM+2, DODX~, DODX+4, DODX+6, ASAALLEG~
, ASAPOV+1, ASAPOV+8, ASAPOV+15, ASAPOV+23
P1 SDM+10~, SDM+11*
R TBCODE~, TBCODE+13, TBCODE+14, 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+15*, THERAPY+17*, THERAPY+19*
, THERAPY+20, THERAPY+22
T LIPID+12~*, LIPID+13, LIPID+14, LIPIDN+1~*, LIPIDN+2, LIPIDN+3, ACE+13~*, ACE+14, ACE+15, SELF+1~
, SDM+1~, SDM+6*, SDM+7, SDM+11, ASPIRIN+10~*, ASPIRIN+11, ASPIRIN+12, ANTI+1~*, ANTI+2, ANTI+3
, ASAPOV+14*, ASAPOV+20
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, LIPIDN+3, LIPIDA+4, LIPIDA+6, ACE+3, ACE+10, ACE+11, ACE+15, ACE+16, SDM+10
, SDM+11, ASPIRIN+12, ASPIRIN+13, ANTI+3, ASAPOV+2, ASAPOV+4, ASAPOV+6, ASAPOV+9, ASAPOV+11, ASAPOV+17
, ASAPOV+19, ASAPOV+20, ASAPOV+24, ASAPOV+25, ASAPOV+26
V ACE+6~, ACE+10*, SDM+10~*, SDM+11
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*, LIPIDN+3*, LIPIDA+2*
, LIPIDA+3*, LIPIDA+4, LIPIDA+6, LIPIDA+7, ACE+1~, ACE+2*, ACE+5*, ACE+7*, ACE+15*, SELF+1~
, SELF+2*, SELF+3*, SELF+6*, SDM+1~, SDM+2*, SDM+3*, SDM+10~*, ASPIRIN+1~, ASPIRIN+3*, ASPIRIN+5*
, ASPIRIN+12*, ANTI+3*, AR+1*, THERAPY+2~, THERAPY+4*, THERAPY+5, THERAPY+6*, THERAPY+7, THERAPY+8*, THERAPY+9
, THERAPY+10*, THERAPY+11, THERAPY+12*, THERAPY+13, THERAPY+14*, THERAPY+15, THERAPY+16*, THERAPY+17, THERAPY+18*, THERAPY+19
, THERAPY+21*, THERAPY+22, TYPE+9~*, TYPE+10, TYPE+12, TYPE+14*, TYPE+15, TYPE+16, ASAALLEG+2~, ASAPOV+1*
, ASAPOV+2*, ASAPOV+4, ASAPOV+6, ASAPOV+8*, ASAPOV+9*, ASAPOV+11, ASAPOV+15*, ASAPOV+17, ASAPOV+18, ASAPOV+19
, ASAPOV+20, ASAPOV+23*, ASAPOV+24, ASAPOV+25, ASAPOV+26, ASAPOV+28, ASAPOV+30, ASAPOV+32, ASAPOV+34
Y SYSMEAN+3~*, SYSMEAN+5*, DIAMEAN+3~*, DIAMEAN+5*, LIPIDA+2, ACE+1~, ACE+5, ACE+7, SELF+1~, SELF+2
, SELF+3, SDM+1~, SDM+2, SDM+3, AR+1, THERAPY+2~, DURDM+2~*, DURDM+3, DURDM+4, DURDM+5
, DURDM+6, ASAALLEG+2~, ASAPOV+1*, ASAPOV+2*, ASAPOV+3, ASAPOV+6, ASAPOV+8*, ASAPOV+9*, ASAPOV+10, ASAPOV+17*
, ASAPOV+20
Z ASAALLEG+2~, ASAPOV+6*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All