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

Package: Diabetes Registry

Routine: BDMD812


Information

BDMD812 ; IHS/CMI/LAB - 2008 DIABETES AUDIT ;

Source Information

Source file <BDMD812.m>

Call Graph

Call Graph Total: 9

Package Total Call Graph
Diabetes Registry 3 $$DATE^BDMD810  ($$CPT,$$RAD)^BDMD812  $$REFUSAL^BDMD817  
DRG Grouper 1 ($$CODEN,$$ICDDX)^ICDCODE  
IHS Patient 1 $$DOB^AUPNPAT  
Kernel 1 ($$FMADD,$$FMTE)^XLFDT  
Patient Care Component Reports 1 $$START1^APCLDF  
Taxonomy 1 $$ICD^ATXCHK  
VA Fileman 1 ^%DT  

Caller Graph

Caller Graph Total: 6

Package Total Caller Graph
Diabetes Registry 6 BDMD810  BDMD811  BDMD812  BDMD813  BDMD816  BDMD81B  

Entry Points

Name Comments DBIA/ICR reference
INSULIN(P,BDATE,EDATE) ;EP
SULF(P,BDATE,EDATE) ;EP
MET(P,BDATE,EDATE) ;EP
LOINC(A,B) ;
TROG(P,BDATE,EDATE) ;EP
REFMED(P,BDATE,EDATE) ;EP
EKG(P,EDATE,F) ;EP
SETN ;
DPP4(P,BDATE,EDATE) ;EP cmi/maw 12/18/2008 DM2008
TXNAMES(Y) ;
DEPDX(P,BDATE,EDATE) ;EP
PLTAX(P,A) ;EP - is DX on problem list 1 or 0
BHSCR ;
TBTX(P) ;EP
CPT(P,BDATE,EDATE,T,F) ;EP return ien of CPT entry if patient had this CPT
DEPSCR(P,BDATE,EDATE) ;EP
RAD(P,BDATE,EDATE,T,F) ;EP return if a v rad entry in date range
PLCODE(P,A) ;EP
INCR(P,BDATE,EDATE) ;EP cmi/maw 12/18/2007 DM2008
ACAR(P,BDATE,EDATE) ;EP
TXNAME(V) ;EP

External References

Name Field # of Occurrence
^%DT EKG+2, REFMED+9, REFMED+10
$$START1^APCLDF TBTX+4, EKG+3, EKG+5, EKG+9, EKG+13, INSULIN+2, SULF+2, MET+2, ACAR+2, TROG+2
, INCR+2, DPP4+2, DEPDX+29, DEPSCR+5, DEPSCR+9, DEPSCR+12
$$ICD^ATXCHK CPT+15, RAD+17, DEPDX+8, DEPDX+22, PLCODE+5, PLTAX+5
$$DOB^AUPNPAT EKG+3, EKG+5, EKG+9, EKG+13, EKG+19, EKG+23
$$DATE^BDMD810 DEPSCR+6, DEPSCR+10, DEPSCR+19, BHSCR+2, BHSCR+6, BHSCR+13, BHSCR+20
$$CPT^BDMD812 EKG+19
$$RAD^BDMD812 EKG+23
$$REFUSAL^BDMD817 BHSCR+17
$$CODEN^ICDCODE DEPDX+20, PLCODE+3
$$ICDDX^ICDCODE DEPDX+10, DEPDX+24
$$FMADD^XLFDT CPT+6, RAD+5
$$FMTE^XLFDT CPT+23, RAD+26, EKG+27

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHPPROB - [#9002011.51] DEPDX+17
^AMHPPROB("AC" DEPDX+16
^AMHPROB - [#9002012.2] DEPDX+18, DEPDX+40, BHSCR+5
^AMHREC - [#9002011] DEPDX+36, DEPDX+37, BHSCR+2, BHSCR+20
^AMHREC("AE" DEPDX+35, BHSCR+1, BHSCR+19
^AMHREDU - [#9002011.05] BHSCR+9
^AMHREDU("AD" BHSCR+7, BHSCR+8
^AMHRPRO - [#9002011.01] DEPDX+38, BHSCR+3
^AMHRPRO("AD" DEPDX+38, BHSCR+3
^ATXAX - [#9002226] TBTX+9, REFMED+14, REFMED+15, REFMED+16, REFMED+17, REFMED+18, REFMED+19, REFMED+20, LOINC+3, LOINC+5
^ATXAX("B" TBTX+7, EKG+18, REFMED+1, REFMED+2, REFMED+3, REFMED+4, REFMED+5, REFMED+6, REFMED+7, DEPDX+5
, DEPDX+15, PLTAX+3
^AUPNHF("AA" TBTX+9
^AUPNPREF - [#9000022] REFMED+23
^AUPNPREF("AA" REFMED+12, REFMED+22, REFMED+23
^AUPNPROB - [#9000011] DEPDX+7, PLCODE+5, PLTAX+5
^AUPNPROB("AC" DEPDX+6, PLCODE+5, PLTAX+5
^AUPNVCPT - [#9000010.18] CPT+15, CPT+22, CPT+23
^AUPNVCPT("AD" CPT+13, CPT+14
^AUPNVLAB - [#9000010.09] SETN+1
^AUPNVPED - [#9000010.16] DEPSCR+15
^AUPNVRAD - [#9000010.22] RAD+14, RAD+15, RAD+25, RAD+26
^AUPNVRAD("AD" RAD+12, RAD+13
^AUPNVSIT - [#9000010] CPT+12, CPT+22, CPT+23, RAD+11, RAD+25, RAD+26
^AUPNVSIT("AA" CPT+10, CPT+11, RAD+9, RAD+10
^AUTTEDT - [#9999999.09] DEPSCR+17, DEPSCR+18, BHSCR+11, BHSCR+12
^AUTTEXAM("B" BHSCR+17
^AUTTHF - [#9999999.64] TBTX+9
^LAB(95.3 - [#95.3] LOINC+2, LOINC+4
^RAMIS(71 - [#71] RAD+15, RAD+16

Label References

Name Line Occurrences
$$TXNAMES TXNAME+2
BHSCR DEPSCR+13

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% EKG+3~*, EKG+5*, EKG+9*, EKG+13*, DEPSCR+14*, LOINC+1~, LOINC+2*, LOINC+3, LOINC+4*, LOINC+5
%DT EKG+2*, REFMED+9~*, REFMED+10*
A SETN+1~*, REFMED+13*, REFMED+14*, REFMED+15*, REFMED+16*, REFMED+17*, REFMED+18*, REFMED+19*, REFMED+20*, REFMED+21
, LOINC~, LOINC+2, LOINC+4, PLCODE~, PLCODE+2, PLCODE+3, PLTAX~, PLTAX+2, PLTAX+3
B REFMED+9*, REFMED+23, LOINC~, LOINC+3, LOINC+5
BD CPT+8~, CPT+9*, CPT+10, RAD+7~, RAD+8*, RAD+9
BDATE CPT~, CPT+6*, CPT+9, RAD~, RAD+5*, RAD+8, REFMED~, REFMED+9, INSULIN~, INSULIN+2
, SULF~, SULF+2, MET~, MET+2, ACAR~, ACAR+2, TROG~, TROG+2, INCR~, INCR+2
, DPP4~, DPP4+2, DEPDX~, DEPDX+29, DEPDX+35, DEPSCR~, DEPSCR+5, DEPSCR+9, DEPSCR+12, BHSCR+1
, BHSCR+17, BHSCR+19
BDM TBTX+2~, TBTX+3!, EKG+3~, EKG+4, EKG+5!, EKG+9!, EKG+13!, EKG+19!, EKG+20!, EKG+23!
, EKG+24!, INSULIN+1~, SULF+1~, MET+1~, ACAR+1~, TROG+1~, INCR+1~, DPP4+1~, DEPDX+1~, DEPDX+2!
, DEPDX+31*, DEPDX+35, DEPDX+38, DEPDX+41*, DEPDX+42*, DEPDX+43*, DEPDX+44*, DEPDX+45*, DEPDX+46*, DEPDX+47*
, DEPDX+48*, DEPDX+49*, DEPDX+50*, DEPDX+52, DEPSCR+3!, DEPSCR+20!
BDM( SETN+1, DEPSCR+14, DEPSCR+15, DEPSCR+19
BDM(1 TBTX+6, EKG+4, EKG+6, EKG+7, EKG+8, EKG+10, EKG+11, EKG+12, EKG+14, EKG+15
, EKG+16, EKG+19*, EKG+20, EKG+21, EKG+22, EKG+23*, EKG+24, EKG+25, EKG+26, INSULIN+3
, SULF+3, MET+3, ACAR+3, TROG+3, INCR+3, DPP4+3, DEPDX+31, DEPSCR+6, DEPSCR+10, DEPSCR+13
BDM(2 DEPDX+30
>> BDMC BHSCR+1*, BHSCR+2*, BHSCR+3, BHSCR+6*, BHSCR+8, BHSCR+13*, BHSCR+15, BHSCR+19*, BHSCR+20*, BHSCR+21
>> BDMP DEPDX+38*, DEPDX+39, DEPDX+40*, DEPDX+41, DEPDX+42, DEPDX+43, DEPDX+44, DEPDX+45, DEPDX+46, DEPDX+47
, DEPDX+48, DEPDX+49, DEPDX+50, BHSCR+3*, BHSCR+4, BHSCR+5*, BHSCR+6
>> BDMPD REFMED+12, REFMED+22, REFMED+23
>> BDMV DEPDX+28*, DEPDX+37
D CPT+8~, RAD+7~, REFMED+23*, DEPDX+35*, DEPSCR+14*, DEPSCR+19*, DEPSCR+21, BHSCR+1*, BHSCR+2, BHSCR+6
, BHSCR+13, BHSCR+19*, BHSCR+20
E TBTX+2~, TBTX+4*, TBTX+5, EKG+3~*, EKG+5*, EKG+9*, EKG+13*, REFMED+10*, REFMED+23, INSULIN+1~
, INSULIN+2*, SULF+1~, SULF+2*, MET+1~, MET+2*, ACAR+1~, ACAR+2*, TROG+1~, TROG+2*, INCR+1~
, INCR+2*, DPP4+1~, DPP4+2*, DEPDX+29*, DEPDX+35*, DEPSCR+5*, DEPSCR+9*, DEPSCR+12*, DEPSCR+14*, BHSCR+1*
, BHSCR+19*
ED CPT+8~, CPT+9*, CPT+10*, CPT+11, RAD+7~, RAD+8*, RAD+9*, RAD+10, EKG+2*, EKG+19
, EKG+23
EDATE CPT~, CPT+5, CPT+6, CPT+9, RAD~, RAD+4, RAD+5, RAD+8, EKG~, EKG+2
, EKG+3, EKG+5, EKG+9, EKG+13, REFMED~, REFMED+10, INSULIN~, INSULIN+2, SULF~, SULF+2
, MET~, MET+2, ACAR~, ACAR+2, TROG~, TROG+2, INCR~, INCR+2, DPP4~, DPP4+2
, DEPDX~, DEPDX+29, DEPDX+35, DEPSCR~, DEPSCR+5, DEPSCR+9, DEPSCR+12, BHSCR+1, BHSCR+17, BHSCR+19
F CPT~, CPT+4*, CPT+20, CPT+21, CPT+22, CPT+23, RAD~, RAD+3*, RAD+23, RAD+24
, RAD+25, RAD+26, EKG~, EKG+1*, EKG+27
G SETN+1~*, SETN+2, TBTX+9~*, TBTX+10, CPT+8~, CPT+9*, CPT+10, CPT+11, CPT+14, CPT+15*
, CPT+19, CPT+20, CPT+21, CPT+22, CPT+23, RAD+7~, RAD+8*, RAD+9, RAD+10, RAD+13
, RAD+18*, RAD+22, RAD+23, RAD+24, RAD+25, RAD+26, REFMED+8*, REFMED+11*, REFMED+12, REFMED+22
, REFMED+23*, REFMED+24, DEPDX+3*, DEPDX+6, DEPDX+10*, DEPDX+12, DEPDX+13*, DEPDX+16, DEPDX+24*, DEPDX+26
, BHSCR+17~*, BHSCR+18
I REFMED+12*, REFMED+14, REFMED+15, REFMED+16, REFMED+17, REFMED+18, REFMED+19, REFMED+20, REFMED+22, REFMED+23
, DEPDX+3*, DEPDX+7*, DEPDX+8, DEPDX+10, DEPDX+13*, DEPDX+17*, DEPDX+18*, DEPDX+19, DEPDX+20*, DEPDX+21
, DEPDX+22, DEPDX+24, PLCODE+5~*, PLCODE+6, PLTAX+5~*, PLTAX+6
LEKG EKG+3~*, EKG+4*, EKG+7, EKG+8*, EKG+11, EKG+12*, EKG+15, EKG+16*, EKG+21, EKG+22*
, EKG+25, EKG+26*, EKG+27
>> N SETN+1*, SETN+2*
P TBTX~, TBTX+1, TBTX+4, TBTX+9, CPT~, CPT+2, CPT+10, CPT+11, RAD~, RAD+1
, RAD+9, RAD+10, EKG~, EKG+3, EKG+5, EKG+9, EKG+13, EKG+19, EKG+23, REFMED~
, INSULIN~, INSULIN+2, SULF~, SULF+2, MET~, MET+2, ACAR~, ACAR+2, TROG~, TROG+2
, INCR~, INCR+2, DPP4~, DPP4+2, DEPDX~, DEPDX+6, DEPDX+16, DEPDX+29, DEPDX+35, DEPSCR~
, DEPSCR+2, DEPSCR+5, DEPSCR+9, DEPSCR+12, BHSCR+1, BHSCR+17, BHSCR+19, PLCODE~, PLCODE+1, PLCODE+5
, PLTAX~, PLTAX+1, PLTAX+5
T TBTX+7~*, TBTX+8, TBTX+9, CPT~, CPT+3, CPT+15, RAD~, RAD+2, RAD+17, EKG+18*
, EKG+19, EKG+23, REFMED+1*, REFMED+14, DEPDX+5*, DEPDX+8, DEPDX+15*, DEPDX+22, DEPSCR+14*, DEPSCR+15*
, DEPSCR+16, DEPSCR+17, DEPSCR+18*, DEPSCR+19, BHSCR+9*, BHSCR+10, BHSCR+11, BHSCR+12*, BHSCR+13, PLCODE+3~*
, PLCODE+4, PLCODE+5, PLTAX+3~*, PLTAX+4, PLTAX+5
>> T1 REFMED+2*, REFMED+15
>> T2 REFMED+3*, REFMED+16
>> T3 REFMED+4*, REFMED+17
>> T4 REFMED+5*, REFMED+18
>> T5 REFMED+6*, REFMED+19
>> T6 REFMED+7*, REFMED+20
U SETN+1, TBTX+6, TBTX+9, TBTX+10, CPT+15, CPT+22, CPT+23, RAD+15, RAD+16, RAD+25
, RAD+26, EKG+4, EKG+7, EKG+8, EKG+11, EKG+12, EKG+15, EKG+16, EKG+21, EKG+22
, EKG+25, EKG+26, REFMED+23, DEPDX+7, DEPDX+10, DEPDX+17, DEPDX+18, DEPDX+24, DEPDX+37, DEPDX+38
, DEPDX+40, DEPSCR+6, DEPSCR+10, DEPSCR+15, DEPSCR+18, DEPSCR+19, DEPSCR+21, BHSCR+2, BHSCR+3, BHSCR+5
, BHSCR+9, BHSCR+12, BHSCR+20, LOINC+2, LOINC+4, PLCODE+5, PLTAX+5
V CPT+8~, CPT+11*, CPT+12, CPT+13, CPT+14, CPT+22*, CPT+23*, RAD+7~, RAD+10*, RAD+11
, RAD+12, RAD+13, RAD+25*, RAD+26*, TXNAME~, TXNAME+1, TXNAME+2*, TXNAME+3, DEPDX+35*, DEPDX+36
, DEPDX+37, DEPDX+38, BHSCR+1*, BHSCR+2, BHSCR+3, BHSCR+7, BHSCR+8, BHSCR+19*, BHSCR+20
X TBTX+2~, TBTX+4*, TBTX+9*, CPT+1~, CPT+8~, CPT+14*, CPT+15, RAD+7~, RAD+13*, RAD+14
, RAD+15, RAD+18, EKG+2*, EKG+3~, REFMED+9*, REFMED+10*, REFMED+22*, REFMED+23, INSULIN+1~, INSULIN+2*
, SULF+1~, SULF+2*, MET+1~, MET+2*, ACAR+1~, ACAR+2*, TROG+1~, TROG+2*, INCR+1~, INCR+2*
, DPP4+1~, DPP4+2*, DEPDX+1~, DEPDX+3*, DEPDX+6*, DEPDX+7, DEPDX+13*, DEPDX+16*, DEPDX+17, DEPDX+29*
, DEPDX+38*, DEPSCR+1~, DEPSCR+5*, DEPSCR+9*, DEPSCR+12*, DEPSCR+14*, DEPSCR+15, DEPSCR+19, BHSCR+3*, PLCODE+5~*
, PLTAX+5~*
Y TBTX+7~, CPT+8~, RAD+7~, RAD+15*, RAD+16*, RAD+17, EKG+2, REFMED+9, REFMED+10, REFMED+23*
, TXNAMES~, TXNAMES+1, TXNAMES+2, TXNAMES+3, TXNAMES+4, TXNAMES+5, TXNAMES+6, TXNAMES+7, TXNAMES+8, TXNAMES+9
, TXNAMES+10, TXNAMES+11, TXNAMES+12, TXNAMES+13, TXNAMES+14, TXNAMES+15, TXNAMES+16, TXNAMES+17, TXNAMES+18, TXNAMES+19
, TXNAMES+20, TXNAMES+21, TXNAMES+22, TXNAMES+23, TXNAMES+24, TXNAMES+25, TXNAMES+26, TXNAMES+27, TXNAMES+28, TXNAMES+29
, TXNAMES+30, TXNAMES+31, TXNAMES+32, TXNAMES+33, TXNAMES+34, TXNAMES+35, TXNAMES+36, TXNAMES+37, TXNAMES+38, TXNAMES+39
, TXNAMES+40, TXNAMES+41, TXNAMES+42, TXNAMES+43, TXNAMES+44, TXNAMES+45, TXNAMES+46, TXNAMES+47, TXNAMES+48, TXNAMES+49
, TXNAMES+50, TXNAMES+51, TXNAMES+52, TXNAMES+53, TXNAMES+54, TXNAMES+55, TXNAMES+56, TXNAMES+57, TXNAMES+58, TXNAMES+59
, DEPDX+28*, DEPDX+29, DEPSCR+4*, DEPSCR+5, DEPSCR+8*, DEPSCR+9, DEPSCR+11*, DEPSCR+12, BHSCR+8*, BHSCR+9
, PLCODE+5~*, PLTAX+5~*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All