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

Package: Diabetes Registry

Routine: BDMD612


Information

BDMD612 ; IHS/CMI/LAB - 2006 DIABETES AUDIT ;

Source Information

Source file <BDMD612.m>

Call Graph

Call Graph Total: 9

Package Total Call Graph
Diabetes Registry 3 $$DATE^BDMD610  ($$CPT,$$RAD)^BDMD612  $$REFUSAL^BDMD617  
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 BDMD610  BDMD611  BDMD612  BDMD613  BDMD616  BDMD61B  

Entry Points

Name Comments DBIA/ICR reference
INSULIN(P,BDATE,EDATE) ;EP
SULF(P,BDATE,EDATE) ;EP
MET(P,BDATE,EDATE) ;EP
TROG(P,BDATE,EDATE) ;EP
REFMED(P,BDATE,EDATE) ;EP
EKG(P,EDATE,F) ;EP
SETN ;
LOINC(A,B) ;
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
TXNAME(V) ;EP
ACAR(P,BDATE,EDATE) ;EP

External References

Name Field # of Occurrence
^%DT EKG+2, REFMED+7, REFMED+8
$$START1^APCLDF TBTX+4, EKG+3, EKG+5, EKG+9, EKG+13, INSULIN+2, SULF+2, MET+2, ACAR+2, TROG+2
, DEPDX+28, 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^BDMD610 DEPSCR+6, DEPSCR+10, DEPSCR+19, BHSCR+2, BHSCR+6, BHSCR+13, BHSCR+20
$$CPT^BDMD612 EKG+19
$$RAD^BDMD612 EKG+23
$$REFUSAL^BDMD617 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+39, BHSCR+5
^AMHREC - [#9002011] DEPDX+35, DEPDX+36, BHSCR+2, BHSCR+20
^AMHREC("AE" DEPDX+34, BHSCR+1, BHSCR+19
^AMHREDU - [#9002011.05] BHSCR+9
^AMHREDU("AD" BHSCR+7, BHSCR+8
^AMHRPRO - [#9002011.01] DEPDX+37, BHSCR+3
^AMHRPRO("AD" DEPDX+37, BHSCR+3
^ATXAX - [#9002226] TBTX+9, REFMED+12, REFMED+13, REFMED+14, REFMED+15, REFMED+16, LOINC+3, LOINC+5
^ATXAX("B" TBTX+7, EKG+18, REFMED+1, REFMED+2, REFMED+3, REFMED+4, REFMED+5, DEPDX+5, DEPDX+15, PLTAX+3
^AUPNHF("AA" TBTX+9
^AUPNPREF - [#9000022] REFMED+19
^AUPNPREF("AA" REFMED+10, REFMED+18, REFMED+19
^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+7~*, REFMED+8*
A SETN+1~*, REFMED+11*, REFMED+12*, REFMED+13*, REFMED+14*, REFMED+15*, REFMED+16*, REFMED+17, LOINC~, LOINC+2
, LOINC+4, PLCODE~, PLCODE+2, PLCODE+3, PLTAX~, PLTAX+2, PLTAX+3
B REFMED+7*, REFMED+19, 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+7, INSULIN~, INSULIN+2
, SULF~, SULF+2, MET~, MET+2, ACAR~, ACAR+2, TROG~, TROG+2, DEPDX~, DEPDX+28
, DEPDX+34, 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~, DEPDX+1~, DEPDX+2!, DEPDX+30*, DEPDX+34
, DEPDX+37, DEPDX+40*, DEPDX+41*, DEPDX+42*, DEPDX+43*, DEPDX+44*, DEPDX+45*, DEPDX+46*, DEPDX+47*, DEPDX+48*
, DEPDX+49*, DEPDX+51, 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, DEPDX+30, DEPSCR+6, DEPSCR+10, DEPSCR+13
BDM(2 DEPDX+29
>> BDMC BHSCR+1*, BHSCR+2*, BHSCR+3, BHSCR+6*, BHSCR+8, BHSCR+13*, BHSCR+15, BHSCR+19*, BHSCR+20*, BHSCR+21
>> BDMP DEPDX+37*, DEPDX+38, DEPDX+39*, DEPDX+40, DEPDX+41, DEPDX+42, DEPDX+43, DEPDX+44, DEPDX+45, DEPDX+46
, DEPDX+47, DEPDX+48, DEPDX+49, BHSCR+3*, BHSCR+4, BHSCR+5*, BHSCR+6
>> BDMPD REFMED+10, REFMED+18, REFMED+19
>> BDMV DEPDX+27*, DEPDX+36
D CPT+8~, RAD+7~, REFMED+19*, DEPDX+34*, 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+8*, REFMED+19, INSULIN+1~
, INSULIN+2*, SULF+1~, SULF+2*, MET+1~, MET+2*, ACAR+1~, ACAR+2*, TROG+1~, TROG+2*, DEPDX+28*
, DEPDX+34*, 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+8, INSULIN~, INSULIN+2, SULF~, SULF+2
, MET~, MET+2, ACAR~, ACAR+2, TROG~, TROG+2, DEPDX~, DEPDX+28, DEPDX+34, 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+6*, REFMED+9*, REFMED+10, REFMED+18
, REFMED+19*, REFMED+20, DEPDX+3*, DEPDX+6, DEPDX+10*, DEPDX+12, DEPDX+13*, DEPDX+16, DEPDX+24*, DEPDX+25
, BHSCR+17~*, BHSCR+18
I REFMED+10*, REFMED+12, REFMED+13, REFMED+14, REFMED+15, REFMED+16, REFMED+18, REFMED+19, 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
, DEPDX~, DEPDX+6, DEPDX+16, DEPDX+28, DEPDX+34, 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+12, 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+13
>> T2 REFMED+3*, REFMED+14
>> T3 REFMED+4*, REFMED+15
>> T4 REFMED+5*, REFMED+16
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+19, DEPDX+7, DEPDX+10, DEPDX+17, DEPDX+18, DEPDX+24, DEPDX+36, DEPDX+37
, DEPDX+39, 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+34*, DEPDX+35
, DEPDX+36, DEPDX+37, 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+7*, REFMED+8*, REFMED+18*, REFMED+19, INSULIN+1~, INSULIN+2*
, SULF+1~, SULF+2*, MET+1~, MET+2*, ACAR+1~, ACAR+2*, TROG+1~, TROG+2*, DEPDX+1~, DEPDX+3*
, DEPDX+6*, DEPDX+7, DEPDX+13*, DEPDX+16*, DEPDX+17, DEPDX+28*, DEPDX+37*, 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+7, REFMED+8, REFMED+19*
, 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, DEPDX+27*
, DEPDX+28, 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