BDMD112 ; IHS/CMI/LAB - 2011 DIABETES AUDIT ;
Source file <BDMD112.m>
Package | Total | Call Graph |
---|---|---|
Diabetes Registry | 4 | $$DATE^BDMD110 ($$CPT,$$RAD)^BDMD112 $$REFUSAL^BDMD117 $$DATE^BDMS9B1 |
Patient Care Component Reports | 2 | ($$LASTBHDT,$$LASTBHDX,$$LASTBHED,$$LASTBHME,$$LASTDXT,$$LASTITEM)^APCLAPIU $$START1^APCLDF |
DRG Grouper | 1 | ($$CODEN,$$ICDDX)^ICDCODE |
IHS Patient | 1 | $$DOB^AUPNPAT |
IHS VA Utilities | 1 | $$VAL^XBDIQ1 |
Kernel | 1 | ($$FMADD,$$FMTE)^XLFDT |
Taxonomy | 1 | $$ICD^ATXCHK |
VA Fileman | 1 | ^%DT |
Name | Comments | DBIA/ICR reference |
---|---|---|
SULF(P,BDATE,EDATE) | ;EP
|
|
MET(P,BDATE,EDATE) | ;EP
|
|
PLTAX(P,A) | ;EP - is DX on problem list 1 or 0
|
|
RAD(P,BDATE,EDATE,T,F) | ;EP return if a v rad entry in date range
|
|
DEPDX(P,BDATE,EDATE) | ;EP
|
|
LASTDEP(P,BD,ED,F) | ;
|
|
INSULIN(P,BDATE,EDATE) | ;EP
|
|
LASTDEPS(BDMLPDFN,BDMLBD,BDMLED,BDMLFORM) | ;PEP - return last depression screen
; |
|
SETN | ;
|
|
TBTX(P) | ;EP
|
|
CPT(P,BDATE,EDATE,T,F) | ;EP return ien of CPT entry if patient had this CPT
|
|
EKG(P,EDATE,F) | ;EP
|
|
DPP4(P,BDATE,EDATE) | ;EP cmi/maw 12/18/2011 DM2011
|
|
INCR(P,BDATE,EDATE) | ;EP cmi/maw 12/18/2007 DM2011
|
|
E | ;
|
|
REFMED(P,BDATE,EDATE) | ;EP
|
|
GLP1(P,BDATE,EDATE) | ;EP
|
|
TROG(P,BDATE,EDATE) | ;EP
|
|
ACAR(P,BDATE,EDATE) | ;EP
|
|
SULFLIKE(P,BDATE,EDATE) | ;EP
|
|
VE(Y,F,T) | ;EP
|
|
PLCODE(P,A) | ;EP
|
|
LOINC(A,B) | ;
|
|
DEPSCR(P,BDATE,EDATE,F,R) | ;EP
|
|
BROM(P,BDATE,EDATE) | ;EP
|
|
AMYLIN(P,BDATE,EDATE) | ;EP
|
Name | Field # of Occurrence |
---|---|
^%DT | EKG+2, REFMED+12, REFMED+13 |
$$LASTBHDT^APCLAPIU | LASTDEPS+25 |
$$LASTBHDX^APCLAPIU | LASTDEPS+18, LASTDEPS+27, LASTDEPS+29 |
$$LASTBHED^APCLAPIU | LASTDEPS+20 |
$$LASTBHME^APCLAPIU | LASTDEPS+31, LASTDEPS+33 |
$$LASTDXT^APCLAPIU | LASTDEPS+23 |
$$LASTITEM^APCLAPIU | LASTDEPS+9, LASTDEPS+11, LASTDEPS+13, LASTDEPS+16 |
$$START1^APCLDF | TBTX+4, EKG+3, EKG+5, EKG+9, EKG+13, EKG+17, EKG+21, INSULIN+2, SULF+2, SULFLIKE+2 , MET+2, ACAR+2, TROG+2, INCR+2, DPP4+2, AMYLIN+2, GLP1+2, BROM+2, DEPDX+29, LASTDEP+3 |
$$ICD^ATXCHK | CPT+15, RAD+17, DEPDX+9, DEPDX+22, DEPDX+45, PLCODE+5, PLTAX+5 |
$$DOB^AUPNPAT | EKG+3, EKG+5, EKG+9, EKG+13, EKG+17, EKG+21, EKG+27, EKG+31, LASTDEPS+2 |
$$DATE^BDMD110 | DEPSCR+11 |
$$CPT^BDMD112 | EKG+27 |
$$RAD^BDMD112 | EKG+31 |
$$REFUSAL^BDMD117 | DEPSCR+8 |
$$DATE^BDMS9B1 | DEPSCR+5, DEPSCR+6 |
$$CODEN^ICDCODE | DEPDX+20, PLCODE+3 |
$$ICDDX^ICDCODE | DEPDX+10, DEPDX+24, DEPDX+44 |
$$VAL^XBDIQ1 | LASTDEP+14, VE+1 |
$$FMADD^XLFDT | CPT+6, RAD+5 |
$$FMTE^XLFDT | CPT+23, RAD+26, EKG+35 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AMHPPROB - [#9002011.51] | DEPDX+17, DEPDX+23 |
^AMHPPROB("AC" | DEPDX+16 |
^AMHPROB - [#9002012.2] | DEPDX+18, DEPDX+38, DEPDX+43 |
^AMHREC - [#9002011] | DEPDX+34, DEPDX+35, DEPSCR+11, LASTDEP+8 |
^AMHREC("AE" | DEPDX+33, DEPSCR+10, LASTDEP+7 |
^AMHRPRO - [#9002011.01] | DEPDX+36 |
^AMHRPRO("AD" | DEPDX+36 |
^ATXAX - [#9002226] | TBTX+9, REFMED+17, REFMED+18, REFMED+19, REFMED+20, REFMED+21, REFMED+22, REFMED+23, REFMED+24, REFMED+25 , LOINC+3, LOINC+5 |
^ATXAX("B" | TBTX+7, EKG+26, REFMED+2, REFMED+3, REFMED+4, REFMED+5, REFMED+6, REFMED+7, REFMED+8, REFMED+9 , REFMED+10, DEPDX+5, DEPDX+15, DEPDX+45, PLTAX+3 |
^AUPNHF("AA" | TBTX+9 |
^AUPNPREF - [#9000022] | REFMED+28 |
^AUPNPREF("AA" | REFMED+15, REFMED+27, REFMED+28 |
^AUPNPROB - [#9000011] | DEPDX+7, DEPDX+8, 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 |
^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("C" | LASTDEPS+15 |
^AUTTEXAM("B" | DEPSCR+8 |
^AUTTHF - [#9999999.64] | TBTX+9 |
^LAB(95.3 - [#95.3] | LOINC+2, LOINC+4 |
^RAMIS(71 - [#71] | RAD+15, RAD+16 |
Name | Line Occurrences |
---|---|
$$LASTDEP | LASTDEPS+7 |
$$LASTDEPS | DEPSCR+4 |
$$VE | LASTDEP+4 |
E | LASTDEPS+8, LASTDEPS+10, LASTDEPS+12, LASTDEPS+14, LASTDEPS+17, LASTDEPS+19, LASTDEPS+21, LASTDEPS+24, LASTDEPS+26, LASTDEPS+28 , LASTDEPS+30, LASTDEPS+32, LASTDEPS+34 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | EKG+3~*, EKG+5*, EKG+9*, EKG+13*, EKG+17*, EKG+21*, LOINC+1~, LOINC+2*, LOINC+3, LOINC+4* , LOINC+5, LASTDEP+1~, LASTDEP+3* |
%DT | EKG+2*, REFMED+12~*, REFMED+13* |
A | SETN+1~*, REFMED+1~, REFMED+16*, REFMED+17*, REFMED+18*, REFMED+19*, REFMED+20*, REFMED+21*, REFMED+22*, REFMED+23* , REFMED+24*, REFMED+25*, REFMED+26, LOINC~, LOINC+2, LOINC+4, PLCODE~, PLCODE+2, PLCODE+3, PLTAX~ , PLTAX+2, PLTAX+3 |
B | REFMED+1~, REFMED+12*, REFMED+28, LOINC~, LOINC+3, LOINC+5 |
BD | CPT+8~, CPT+9*, CPT+10, RAD+7~, RAD+8*, RAD+9, LASTDEP~, LASTDEP+3, LASTDEP+7 |
BDATE | CPT~, CPT+6*, CPT+9, RAD~, RAD+5*, RAD+8, REFMED~, REFMED+12, INSULIN~, INSULIN+2 , SULF~, SULF+2, SULFLIKE~, SULFLIKE+2, MET~, MET+2, ACAR~, ACAR+2, TROG~, TROG+2 , INCR~, INCR+2, DPP4~, DPP4+2, AMYLIN~, AMYLIN+2, GLP1~, GLP1+2, BROM~, BROM+2 , DEPDX~, DEPDX+29, DEPDX+33, DEPSCR~, DEPSCR+4, DEPSCR+8, DEPSCR+10 |
BDM | TBTX+2~, TBTX+3!, EKG+3~, EKG+4, EKG+5!, EKG+9!, EKG+13!, EKG+17!, EKG+21!, EKG+27! , EKG+28!, EKG+31!, EKG+32!, INSULIN+1~, SULF+1~, SULFLIKE+1~, MET+1~, ACAR+1~, TROG+1~, INCR+1~ , DPP4+1~, AMYLIN+1~, GLP1+1~, BROM+1~, DEPDX+1~, DEPDX+2!, DEPDX+31*, DEPDX+33, DEPDX+36, DEPDX+39* , DEPDX+40*, DEPDX+41*, DEPDX+42*, DEPDX+45*, DEPDX+47 |
BDM( | SETN+1 |
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+18, EKG+19, EKG+20, EKG+22, EKG+23, EKG+24, EKG+27*, EKG+28, EKG+29 , EKG+30, EKG+31*, EKG+32, EKG+33, EKG+34, INSULIN+3, SULF+3, SULFLIKE+3, MET+3, ACAR+3 , TROG+3, INCR+3, DPP4+3, AMYLIN+3, GLP1+3, BROM+3, DEPDX+31 |
BDM(2 | DEPDX+30 |
BDMC | DEPSCR+1~, DEPSCR+4*, DEPSCR+5, DEPSCR+6, DEPSCR+10*, DEPSCR+11*, DEPSCR+12 |
BDMLBD | LASTDEPS~, LASTDEPS+2*, LASTDEPS+7, LASTDEPS+9, LASTDEPS+11, LASTDEPS+13, LASTDEPS+16, LASTDEPS+18, LASTDEPS+20, LASTDEPS+23 , LASTDEPS+25, LASTDEPS+27, LASTDEPS+29, LASTDEPS+31, LASTDEPS+33 |
BDMLC | LASTDEP+2~, LASTDEP+6*, LASTDEP+7 |
BDMLED | LASTDEPS~, LASTDEPS+3*, LASTDEPS+7, LASTDEPS+9, LASTDEPS+11, LASTDEPS+13, LASTDEPS+16, LASTDEPS+18, LASTDEPS+20, LASTDEPS+23 , LASTDEPS+25, LASTDEPS+27, LASTDEPS+29, LASTDEPS+31, LASTDEPS+33 |
BDMLFORM | LASTDEPS~, LASTDEPS+4*, LASTDEPS+35 |
BDMLG | LASTDEP+2~ |
BDMLG(1 | LASTDEP+4 |
BDMLLAST | E+1*, LASTDEPS+5~, LASTDEPS+6*, LASTDEPS+9, LASTDEPS+11, LASTDEPS+13, LASTDEPS+16, LASTDEPS+18, LASTDEPS+20, LASTDEPS+23 , LASTDEPS+25, LASTDEPS+27, LASTDEPS+29, LASTDEPS+31, LASTDEPS+33, LASTDEPS+35, LASTDEPS+36 |
BDMLPDFN | LASTDEPS~, LASTDEPS+2, LASTDEPS+7, LASTDEPS+9, LASTDEPS+11, LASTDEPS+13, LASTDEPS+16, LASTDEPS+18, LASTDEPS+20, LASTDEPS+23 , LASTDEPS+25, LASTDEPS+27, LASTDEPS+29, LASTDEPS+31, LASTDEPS+33 |
BDMLV | LASTDEP+2~, LASTDEP+6* |
BDMLVAL | E+1, LASTDEPS+5~, LASTDEPS+7*, LASTDEPS+9*, LASTDEPS+11*, LASTDEPS+13*, LASTDEPS+16*, LASTDEPS+18*, LASTDEPS+20*, LASTDEPS+23* , LASTDEPS+25*, LASTDEPS+27*, LASTDEPS+29*, LASTDEPS+31*, LASTDEPS+33* |
BDMLX | LASTDEPS+5~, LASTDEPS+15*, LASTDEPS+16, LASTDEP+2~ |
BDMLX( | LASTDEP+13, LASTDEP+14*, LASTDEP+15 |
BDMLX(0 | LASTDEP+15 |
BDMLX(9999999 | LASTDEP+4* |
BDMP | DEPDX+1~, DEPDX+36*, DEPDX+37, DEPDX+38, DEPDX+43 |
BDMP1 | DEPDX+1~, DEPDX+38*, DEPDX+39, DEPDX+40, DEPDX+41, DEPDX+42 |
>> BDMPD | REFMED+15, REFMED+27, REFMED+28 |
>> BDMV | DEPDX+28*, DEPDX+35 |
D | CPT+8~, RAD+7~, REFMED+28*, DEPDX+1~, DEPDX+33*, DEPSCR+10*, DEPSCR+11, LASTDEP+1~, LASTDEP+7*, LASTDEP+12 , LASTDEP+13, LASTDEP+14 |
DT | LASTDEPS+3 |
E | TBTX+2~, TBTX+4*, TBTX+5, EKG+3~*, EKG+5*, EKG+9*, EKG+13*, EKG+17*, EKG+21*, REFMED+1~ , REFMED+13*, REFMED+28, INSULIN+1~, INSULIN+2*, SULF+1~, SULF+2*, SULFLIKE+1~, SULFLIKE+2*, MET+1~, MET+2* , ACAR+1~, ACAR+2*, TROG+1~, TROG+2*, INCR+1~, INCR+2*, DPP4+1~, DPP4+2*, AMYLIN+1~, AMYLIN+2* , GLP1+1~, GLP1+2*, BROM+1~, BROM+2*, DEPDX+29*, DEPDX+33*, DEPSCR+10*, LASTDEP+1~, LASTDEP+3*, LASTDEP+7* |
ED | CPT+8~, CPT+9*, CPT+10*, CPT+11, RAD+7~, RAD+8*, RAD+9*, RAD+10, EKG+2*, EKG+27 , EKG+31, LASTDEP~, LASTDEP+3, LASTDEP+7 |
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, EKG+17, EKG+21, REFMED~, REFMED+13, INSULIN~, INSULIN+2 , SULF~, SULF+2, SULFLIKE~, SULFLIKE+2, MET~, MET+2, ACAR~, ACAR+2, TROG~, TROG+2 , INCR~, INCR+2, DPP4~, DPP4+2, AMYLIN~, AMYLIN+2, GLP1~, GLP1+2, BROM~, BROM+2 , DEPDX~, DEPDX+29, DEPDX+33, DEPSCR~, DEPSCR+4, DEPSCR+8, DEPSCR+10 |
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+35, DEPSCR~, DEPSCR+3*, DEPSCR+5, LASTDEP~, LASTDEP+15 , VE~ |
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+1~, REFMED+11*, REFMED+14*, REFMED+15 , REFMED+27, REFMED+28*, REFMED+29, DEPDX+1~, DEPDX+3*, DEPDX+6, DEPDX+10*, DEPDX+12, DEPDX+13*, DEPDX+16 , DEPDX+24*, DEPDX+26, DEPSCR+8~*, DEPSCR+9, LASTDEP+1~, LASTDEP+12*, LASTDEP+14, LASTDEP+15* |
I | REFMED+1~, REFMED+15*, REFMED+17, REFMED+18, REFMED+19, REFMED+20, REFMED+21, REFMED+22, REFMED+23, REFMED+24 , REFMED+25, REFMED+27, REFMED+28, DEPDX+1~, DEPDX+3*, DEPDX+7*, DEPDX+9, 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 |
J | DEPDX+1~, DEPDX+43*, DEPDX+44*, DEPDX+45 |
LEKG | EKG+3~*, EKG+4*, EKG+7, EKG+8*, EKG+11, EKG+12*, EKG+15, EKG+16*, EKG+19, EKG+20* , EKG+23, EKG+24*, EKG+29, EKG+30*, EKG+33, EKG+34*, EKG+35 |
>> 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+17, EKG+21, EKG+27 , EKG+31, REFMED~, INSULIN~, INSULIN+2, SULF~, SULF+2, SULFLIKE~, SULFLIKE+2, MET~, MET+2 , ACAR~, ACAR+2, TROG~, TROG+2, INCR~, INCR+2, DPP4~, DPP4+2, AMYLIN~, AMYLIN+2 , GLP1~, GLP1+2, BROM~, BROM+2, DEPDX~, DEPDX+6, DEPDX+16, DEPDX+29, DEPDX+33, DEPSCR~ , DEPSCR+2, DEPSCR+4, DEPSCR+8, DEPSCR+10, PLCODE~, PLCODE+1, PLCODE+5, PLTAX~, PLTAX+1, PLTAX+5 , LASTDEP~, LASTDEP+3, LASTDEP+7 |
R | DEPSCR~, DEPSCR+5, DEPSCR+9 |
T | TBTX+7~*, TBTX+8, TBTX+9, CPT~, CPT+3, CPT+15, RAD~, RAD+2, RAD+17, EKG+26* , EKG+27, EKG+31, REFMED+1~, REFMED+2*, REFMED+17, DEPDX+1~, DEPDX+5*, DEPDX+9, DEPDX+15*, DEPDX+22 , PLCODE+3~*, PLCODE+4, PLCODE+5, PLTAX+3~*, PLTAX+4, PLTAX+5, VE~ |
T1 | REFMED+1~, REFMED+3*, REFMED+18 |
T2 | REFMED+1~, REFMED+4*, REFMED+19 |
T3 | REFMED+1~, REFMED+5*, REFMED+20 |
T4 | REFMED+1~, REFMED+6*, REFMED+21 |
T5 | REFMED+1~, REFMED+7*, REFMED+22 |
T6 | REFMED+1~, REFMED+8*, REFMED+23 |
T7 | REFMED+1~, REFMED+9*, REFMED+24 |
T8 | REFMED+1~, REFMED+10*, REFMED+25 |
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+19, EKG+20 , EKG+23, EKG+24, EKG+29, EKG+30, EKG+33, EKG+34, REFMED+28, DEPDX+7, DEPDX+8, DEPDX+10 , DEPDX+17, DEPDX+18, DEPDX+23, DEPDX+24, DEPDX+35, DEPDX+36, DEPDX+38, DEPDX+43, DEPDX+44, DEPSCR+5 , DEPSCR+6, DEPSCR+9, DEPSCR+11, LOINC+2, LOINC+4, PLCODE+5, PLTAX+5, E+1, LASTDEPS+9, LASTDEPS+11 , LASTDEPS+13, LASTDEPS+16, LASTDEPS+18, LASTDEPS+20, LASTDEPS+23, LASTDEPS+25, LASTDEPS+27, LASTDEPS+29, LASTDEPS+31, LASTDEPS+33 , LASTDEPS+35, LASTDEP+4, LASTDEP+8, LASTDEP+15, VE+1 |
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*, DEPDX+33*, DEPDX+34, DEPDX+35, DEPDX+36, DEPSCR+10*, DEPSCR+11 , LASTDEP+1~, LASTDEP+7*, LASTDEP+8, LASTDEP+14 |
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+1~, REFMED+12*, REFMED+13*, REFMED+27*, REFMED+28, INSULIN+1~ , INSULIN+2*, SULF+1~, SULF+2*, SULFLIKE+1~, SULFLIKE+2*, MET+1~, MET+2*, ACAR+1~, ACAR+2*, TROG+1~ , TROG+2*, INCR+1~, INCR+2*, DPP4+1~, DPP4+2*, AMYLIN+1~, AMYLIN+2*, GLP1+1~, GLP1+2*, BROM+1~ , BROM+2*, DEPDX+1~, DEPDX+3*, DEPDX+6*, DEPDX+7, DEPDX+8, DEPDX+13*, DEPDX+16*, DEPDX+17, DEPDX+23 , DEPDX+29*, DEPDX+36*, DEPSCR+1~, PLCODE+5~*, PLTAX+5~*, LASTDEP+1~, LASTDEP+8*, LASTDEP+9, LASTDEP+10, LASTDEP+11 |
Y | TBTX+7~, CPT+8~, RAD+7~, RAD+15*, RAD+16*, RAD+17, EKG+2, REFMED+1~, REFMED+12, REFMED+13 , REFMED+28*, DEPDX+28*, DEPDX+29, PLCODE+5~*, PLTAX+5~*, VE~, VE+1 |
Z | REFMED+1~ |