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

Package: Diabetes Registry

Routine: BDMD913


Information

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

Source Information

Source file <BDMD913.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
Patient Care Component Reports 3 ($$LASTFLU,$$LASTPNEU)^APCLAPI4  $$START1^APCLDF  $$CLINIC^APCLV  
Diabetes Registry 2 $$LASTHT^BDMD913  $$REFUSAL^BDMD917  
DRG Grouper 1 $$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  

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
Diabetes Registry 5 BDMD910  BDMD913  BDMD914  BDMD915  BDMD916  

Entry Points

Name Comments DBIA/ICR reference
PLDMDOO(P,F) ;EP
BI() ;
PNEU(P,EDATE,R,F) ;EP
INCHES ;
CMSFDX(P,R,T) ;EP - return date/dx of dm in register
BPS(P,BDATE,EDATE,F) ;EP ;
LASTFLUO ;
LASTFLUN ;
PLDMDXS(P) ;EP - get all DM dxs from problem list
LASTPNO ;
LASTHT(P,EDATE,F) ;PEP - return last ht and date
LASTPNN ;
FLU(P,BDATE,EDATE,R,F) ;EP
DATE(D) ;EP
LASTDMDX(P,D) ;EP - last pcc dm dx
FRSTDMDX(P,F) ;EP return date of first dm dx
LASTWT(P,EDATE,F) ;PEP - return last wt
HTNDX(P,EDATE) ;EP - is HTN on problem list

External References

Name Field # of Occurrence
^%DT PNEU+18, LASTHT+5, LASTWT+4
$$LASTFLU^APCLAPI4 FLU+5
$$LASTPNEU^APCLAPI4 PNEU+5
$$START1^APCLDF BPS+5, HTNDX+5, HTNDX+8, LASTHT+7, LASTWT+7, FRSTDMDX+5, LASTDMDX+4, LASTDMDX+6
$$CLINIC^APCLV BPS+7
$$ICD^ATXCHK PLDMDOO+7, PLDMDXS+7
$$DOB^AUPNPAT PNEU+8, PNEU+12, PNEU+15, HTNDX+8, LASTDMDX+4, LASTDMDX+6
$$LASTHT^BDMD913 INCHES+2
$$REFUSAL^BDMD917 FLU+9, FLU+12, FLU+15, FLU+18, PNEU+8, PNEU+12, PNEU+15
$$ICDDX^ICDCODE PLDMDXS+7
$$VAL^XBDIQ1 CMSFDX+6
$$FMADD^XLFDT FLU+4, LASTWT+5
$$FMTE^XLFDT FLU+6, FLU+10, FLU+13, FLU+14, FLU+16, FLU+17, FLU+19, FLU+20, FLU+31, PNEU+6
, PNEU+9, PNEU+10, PNEU+13, PNEU+14, PNEU+16, PNEU+17, PNEU+28, BPS+9, HTNDX+8, HTNDX+9
, LASTHT+11, LASTWT+10, LASTWT+12, CMSFDX+5, PLDMDOO+11, FRSTDMDX+6

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ACM(44 - [#9002244] CMSFDX+4, CMSFDX+5
^ATXAX("B" PLDMDOO+3, PLDMDXS+2
^AUPNPROB - [#9000011] PLDMDOO+6, PLDMDOO+8, PLDMDXS+5
^AUPNPROB("AC" PLDMDOO+5, PLDMDXS+4
^AUPNVIMM - [#9000010.11] LASTFLUN+2, LASTFLUN+5, LASTFLUO+2, LASTFLUO+4, LASTPNN+2, LASTPNN+5, LASTPNO+2, LASTPNO+4
^AUPNVIMM("AC" LASTFLUN+1, LASTFLUO+1, LASTPNN+1, LASTPNO+1
^AUPNVPOV - [#9000010.07] LASTWT+12
^AUPNVPOV("AD" LASTWT+10, LASTWT+11
^AUPNVSIT - [#9000010] LASTFLUN+6, LASTFLUO+5, LASTPNN+6, LASTPNO+5
^AUPNVSIT("AC" LASTHT+3
^AUTTIMM - [#9999999.14] LASTFLUN+3, LASTFLUN+4, LASTFLUO+3, LASTPNN+3, LASTPNN+4, LASTPNO+3
^AUTTIMM("C" FLU+9, FLU+12, FLU+15, FLU+18, FLU+21, PNEU+8, PNEU+12, PNEU+15, PNEU+19
^AUTTIMM(0 BI+1
^BICONT - [#9002084.81] FLU+24, FLU+25, PNEU+22, PNEU+23
^BIPC - [#9002084.11] FLU+22, FLU+26, FLU+28, FLU+29, PNEU+20, PNEU+24, PNEU+26
^BIPC("AC" FLU+21, PNEU+19
^DPT - [#2] HTNDX+2, LASTHT+6
^ICD9("BA" LASTWT+6

Label References

Name Line Occurrences
$$BI FLU+9, PNEU+8, PNEU+11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% FLU+1~, HTNDX+3~, HTNDX+5*, LASTHT+4~, LASTHT+7*, LASTWT+3~
%DT FLU+1~, PNEU+1~, PNEU+18*, LASTHT+5*, LASTWT+4*
B FLU+1~, PNEU+1~, LASTFLUN+7, LASTFLUO+6, LASTPNN+7, LASTPNO+6
BD FLU+1~
BDATE FLU~, FLU+4*, FLU+5, FLU+9, FLU+12, FLU+15, FLU+18, FLU+28, BPS~, BPS+5
, LASTHT+4~, LASTHT+6*, LASTHT+7, LASTWT+5*, LASTWT+7
BDM FLU+1~, PNEU+1~, BPS+2~, BPS+4!, HTNDX+3~, HTNDX+4!, HTNDX+7!, LASTWT+3~, LASTWT+7!, FRSTDMDX+3~
, LASTDMDX+2~, LASTDMDX+6!
BDM( BPS+6, BPS+7, BPS+9, LASTWT+8, LASTWT+9, LASTWT+10, LASTWT+12
BDM(1 HTNDX+6, HTNDX+9, FRSTDMDX+5, LASTDMDX+5, LASTDMDX+7
BDM(2 HTNDX+9
BDM(3 HTNDX+9
BDMARRY LASTHT+4~, LASTWT+3~
BDMARRY(1 LASTHT+7, LASTHT+11
>> BDMBP BPS+6*, BPS+9, BPS+10
BDMD LASTWT+3~, LASTWT+11*, LASTWT+12
BDML BPS+2~, BPS+6*, BPS+7, BPS+9
BDMLL BPS+2~, BPS+3*, BPS+6, BPS+8*, BPS+9, BPS+10
BDMN LASTWT+3~, LASTWT+8*, LASTWT+9, LASTWT+10, LASTWT+12
>> BDMPD INCHES+2
>> BDMRED INCHES+2
BDMV BPS+2~, BPS+3*, BPS+9*, BPS+10*, BPS+11
BDMV221 LASTWT+6~*, LASTWT+12
BDMW LASTWT+3~, LASTWT+7*, LASTWT+8, LASTWT+10*, LASTWT+11, LASTWT+12*, LASTWT+14
BDMX LASTWT+3~, LASTWT+7*
BDMZ LASTWT+3~, LASTWT+9*, LASTWT+10, LASTWT+11
C FLU+1~, PNEU+1~
D FLU+1~, FLU+26*, FLU+27, FLU+30, FLU+31, PNEU+1~, PNEU+24*, PNEU+25, PNEU+27, PNEU+28
, LASTFLUN+5*, LASTFLUN+6*, LASTFLUN+7, LASTFLUN+8, LASTFLUN+9, LASTFLUN+10, LASTFLUN+11, LASTFLUN+12, LASTFLUO+4*, LASTFLUO+5*
, LASTFLUO+6, LASTFLUO+7, LASTFLUO+8, LASTPNN+5*, LASTPNN+6*, LASTPNN+7, LASTPNN+8, LASTPNN+9, LASTPNN+10, LASTPNN+11
, LASTPNO+4*, LASTPNO+5*, LASTPNO+6, LASTPNO+7, LASTPNO+8, CMSFDX+4~*, CMSFDX+5*, CMSFDX+8, CMSFDX+11*, CMSFDX+12
, PLDMDOO+5~*, PLDMDOO+11*, PLDMDXS+4~*, PLDMDXS+7*, PLDMDXS+9, LASTDMDX~, LASTDMDX+4, LASTDMDX+6, DATE~, DATE+1
, DATE+2
D( PLDMDOO+8*
D(0 PLDMDOO+11
D1 CMSFDX+4~, CMSFDX+5*, CMSFDX+7*, CMSFDX+8, CMSFDX+11*, CMSFDX+12
E FLU+1~, PNEU+1~, PNEU+18*, LASTFLUN+8, LASTFLUO+7, LASTPNN+8, LASTPNO+7, BPS+2~, BPS+5*, HTNDX+3~
, HTNDX+5*, HTNDX+8*, LASTHT+4~, LASTHT+7*, LASTWT+3~, LASTWT+7*, FRSTDMDX+3~, FRSTDMDX+5*, LASTDMDX+2~, LASTDMDX+4*
, LASTDMDX+6*
EDATE FLU~, FLU+4, FLU+5, FLU+9, FLU+12, FLU+15, FLU+18, FLU+29, PNEU~, PNEU+5
, PNEU+8, PNEU+12, PNEU+15, PNEU+18, PNEU+26, BPS~, BPS+5, HTNDX~, HTNDX+8, LASTHT~
, LASTHT+5*, LASTHT+7, LASTWT~, LASTWT+4*, LASTWT+5, LASTWT+7
F FLU~, FLU+2*, FLU+6, PNEU~, PNEU+3*, PNEU+6, BPS~, BPS+1*, BPS+9, BPS+10
, LASTHT~, LASTHT+2*, LASTHT+9, LASTWT~, LASTWT+2*, LASTWT+14, PLDMDOO~, PLDMDOO+2*, PLDMDOO+11, FRSTDMDX~
, FRSTDMDX+2*, FRSTDMDX+6, INCHES+1~, INCHES+5*, INCHES+6
FI INCHES+1~, INCHES+6*, INCHES+7
G FLU+1~, FLU+9~*, FLU+10, FLU+11, FLU+12*, FLU+13, FLU+14, FLU+15*, FLU+16, FLU+17
, FLU+18*, FLU+19, FLU+20, FLU+21*, FLU+30*, FLU+31, PNEU+1~, PNEU+8*, PNEU+9, PNEU+10
, PNEU+12*, PNEU+13, PNEU+14, PNEU+15*, PNEU+16, PNEU+17, PNEU+19*, PNEU+27*, PNEU+28, CMSFDX+4~
, CMSFDX+10*, CMSFDX+11
G( CMSFDX+10, CMSFDX+11
G(0 CMSFDX+9
G(9999999 CMSFDX+8*
H LASTHT+4~, LASTHT+7*, LASTHT+8, LASTHT+9, LASTHT+10*, LASTHT+11, LASTWT+3~
I PLDMDOO+5~, PLDMDOO+6*, PLDMDOO+7, PLDMDXS+4~, PLDMDXS+5*, PLDMDXS+7
LFLU FLU+1~, FLU+5*, FLU+6
LPN PNEU+1~, PNEU+5*, PNEU+6
P FLU~, FLU+5, FLU+9, FLU+12, FLU+15, FLU+18, FLU+21, PNEU~, PNEU+5, PNEU+8
, PNEU+12, PNEU+15, PNEU+19, LASTFLUN+1, LASTFLUO+1, LASTPNN+1, LASTPNO+1, BPS~, BPS+5, HTNDX~
, HTNDX+1, HTNDX+2, HTNDX+5, HTNDX+8, LASTHT~, LASTHT+1, LASTHT+3, LASTHT+6, LASTHT+7, LASTWT~
, LASTWT+1, LASTWT+7, CMSFDX~, CMSFDX+1, CMSFDX+4, PLDMDOO~, PLDMDOO+1, PLDMDOO+5, PLDMDXS~, PLDMDXS+1
, PLDMDXS+4, FRSTDMDX~, FRSTDMDX+1, FRSTDMDX+5, LASTDMDX~, LASTDMDX+1, LASTDMDX+4, LASTDMDX+6
R FLU~, FLU+3*, FLU+8, FLU+22*, FLU+23, FLU+24, FLU+25, PNEU~, PNEU+4*, PNEU+7
, PNEU+20*, PNEU+21, PNEU+22, PNEU+23, CMSFDX~, CMSFDX+2, CMSFDX+4
T FLU+1~, PNEU+1~, CMSFDX~, CMSFDX+3, CMSFDX+12, PLDMDOO+3~*, PLDMDOO+4, PLDMDOO+7, PLDMDXS+2~*, PLDMDXS+3
, PLDMDXS+7
TFLU FLU+1~
TFLU(9999999 LASTFLUN+9*, LASTFLUN+10*, LASTFLUN+11*, LASTFLUN+12*, LASTFLUO+8*
TPN PNEU+1~, PNEU+2!
TPN(9999999 LASTPNN+9*, LASTPNN+10*, LASTPNN+11*, LASTPNO+8*
U FLU+10, FLU+13, FLU+14, FLU+16, FLU+17, FLU+19, FLU+20, FLU+22, FLU+25, FLU+26
, FLU+28, FLU+29, FLU+30, FLU+31, PNEU+9, PNEU+10, PNEU+13, PNEU+14, PNEU+16, PNEU+17
, PNEU+20, PNEU+23, PNEU+24, PNEU+26, PNEU+27, PNEU+28, LASTFLUN+2, LASTFLUN+4, LASTFLUN+5, LASTFLUN+6
, LASTFLUO+2, LASTFLUO+3, LASTFLUO+4, LASTFLUO+5, LASTPNN+2, LASTPNN+4, LASTPNN+5, LASTPNN+6, LASTPNO+2, LASTPNO+3
, LASTPNO+4, LASTPNO+5, BPS+6, BPS+7, BPS+9, HTNDX+9, LASTHT+6, LASTHT+7, LASTHT+11, LASTWT+9
, LASTWT+10, LASTWT+12, CMSFDX+4, CMSFDX+5, CMSFDX+11, PLDMDOO+6, PLDMDOO+8, PLDMDXS+5, PLDMDXS+7, FRSTDMDX+5
W LASTHT+4~, LASTWT+3~
X FLU+1~, FLU+21*, FLU+22, FLU+26, FLU+28, FLU+29, PNEU+1~, PNEU+18*, PNEU+19*, PNEU+20
, PNEU+24, PNEU+26, LASTFLUN+1*, LASTFLUN+2, LASTFLUN+5, LASTFLUO+1*, LASTFLUO+2, LASTFLUO+4, LASTPNN+1*, LASTPNN+2
, LASTPNN+5, LASTPNO+1*, LASTPNO+2, LASTPNO+4, BPS+2~, BPS+5*, HTNDX+3~, HTNDX+8*, LASTHT+5*, LASTHT+7~
, LASTWT+3~, LASTWT+4*, CMSFDX+4~*, CMSFDX+5, CMSFDX+6, PLDMDOO+5~*, PLDMDOO+6, PLDMDOO+8, PLDMDXS+4~*, PLDMDXS+5
, FRSTDMDX+3~, FRSTDMDX+5*, LASTDMDX+2~, LASTDMDX+4*, LASTDMDX+6*, INCHES+2*, INCHES+3, INCHES+4*, INCHES+5, INCHES+7*
, INCHES+8*
Y FLU+1~, FLU+21*, PNEU+1~, PNEU+18, PNEU+19*, LASTFLUN+2*, LASTFLUN+3, LASTFLUN+4*, LASTFLUN+9, LASTFLUN+10
, LASTFLUN+11, LASTFLUN+12, LASTFLUO+2*, LASTFLUO+3*, LASTFLUO+8, LASTPNN+2*, LASTPNN+3, LASTPNN+4*, LASTPNN+9, LASTPNN+10
, LASTPNN+11, LASTPNO+2*, LASTPNO+3*, LASTPNO+8, HTNDX+9*, LASTHT+5, LASTWT+4, CMSFDX+4~*, CMSFDX+6*, CMSFDX+8
, CMSFDX+10*, CMSFDX+11*, CMSFDX+12, FRSTDMDX+3~, FRSTDMDX+4*, FRSTDMDX+5*, FRSTDMDX+6, LASTDMDX+2~, LASTDMDX+3*, LASTDMDX+4
, LASTDMDX+6
Z FLU+1~, FLU+21*, PNEU+1~, PNEU+19*, INCHES+1~, INCHES+2*, INCHES+7
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All