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

Package: Patient Care Component Reports

Routine: APCLD816


Information

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

Source Information

Source file <APCLD816.m>

Call Graph

Call Graph Total: 13

Package Total Call Graph
Patient Care Component Reports 6 ($$ACAR,$$DPP4,$$INCR,$$INSULIN,$$MET,$$REFMED,$$SULF,$$TBTX,$$TROG)^APCLD812  ($$BPS,$$CMSFDX,$$LASTDMDX,$$PLDMDOO,$$PLDMDXS)^APCLD813  $$REFUSAL^APCLD817  ($$LASTNP,$$PPD)^APCLD818  $$LASTHF^APCLD819  $$START1^APCLDF  
Kernel 2 ($$FMADD,$$FMDIFF,$$FMTE)^XLFDT  $$UP^XLFSTR  
DRG Grouper 1 $$ICDDX^ICDCODE  
IHS Patient 1 $$DOB^AUPNPAT  
IHS VA Utilities 1 $$VAL^XBDIQ1  
Taxonomy 1 $$ICD^ATXCHK  
VA Fileman 1 ^%DT  

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Patient Care Component Reports 4 APCLD810  APCLD811  APCLD814  APCLD815  

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
ASAALLEG(P,APCLD,APCLY) ;does patient have an aspirin allergy
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 ;
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
DENT(P,BDATE,EDATE) ;EP
ASAPOV ;
LIPID(P,BDATE,EDATE) ;EP
BI() ;
DODX(P,R,F) ;EP - date of dx for epi file
SDM(P,BDATE,EDATE) ;EP
TOBACCO(P,EDATE) ;EP
TOBACCO3 ;lookup in health status
TOBACCO2 ;check pov file for TOBACCO USE DOC
TOBACCO1 ;check problem file for tobacco use
TOBACCO0 ;check for tobacco documented in health factors
ACE(P,BDATE,EDATE) ;EP
PPDDATE(P,EDATE) ;EP
DI(D) ;EP

External References

Name Field # of Occurrence
^%DT LIPIDA+2, ACE+5, SELF+2, SELF+3, SDM+2, SDM+3, ASPIRIN+23, TOBACCO2+2
$$ACAR^APCLD812 THERAPY+10
$$DPP4^APCLD812 THERAPY+16
$$INCR^APCLD812 THERAPY+14
$$INSULIN^APCLD812 THERAPY+4
$$MET^APCLD812 THERAPY+8
$$REFMED^APCLD812 THERAPY+19
$$SULF^APCLD812 THERAPY+6
$$TBTX^APCLD812 TBCODE+4, TBCODE+9
$$TROG^APCLD812 THERAPY+12
$$BPS^APCLD813 SYSMEAN+1, DIAMEAN+1
$$CMSFDX^APCLD813 TYPE+3, DODX+4
$$LASTDMDX^APCLD813 TYPE+14
$$PLDMDOO^APCLD813 DODX+6
$$PLDMDXS^APCLD813 TYPE+9
$$REFUSAL^APCLD817 LIPID+14, LIPID+18, ACE+14, ASPIRIN+14, ASPIRIN+19
$$LASTNP^APCLD818 PPDDATE+1
$$PPD^APCLD818 TBCODE+7, TBCODE+14
$$LASTHF^APCLD819 SELF+4, SDM+4
$$START1^APCLDF LIPID+2, LIPID+5, ACE+2, SELF+6, SDM+8, ASPIRIN+3, ASPIRIN+5, TOBACCO0+1, TOBACCO1+1, TOBACCO2+4
, DENT+2, ASAPOV+1, ASAPOV+8
$$ICD^ATXCHK ASAPOV+20
$$DOB^AUPNPAT TOBACCO0+1, ASAPOV+1, ASAPOV+8
$$ICDDX^ICDCODE TOBACCO1+3, ASAPOV+6, ASAPOV+17
$$VAL^XBDIQ1 ASAPOV+3, ASAPOV+10, ASAPOV+18
$$FMADD^XLFDT TOBACCO2+3, ASAALLEG+5
$$FMDIFF^XLFDT DURDM+7
$$FMTE^XLFDT TOBACCO2+3, DENT+2, 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, LIPID+18, ACE+14, SDM+11, ASPIRIN+14, ASPIRIN+19, TOBACCO3+3
^ATXAX("B" LIPID+12, LIPID+16, ACE+12, SDM+6, ASPIRIN+12, ASPIRIN+17, TOBACCO3+1, ASAPOV+14
^AUPNHF("AA" TOBACCO3+3
^AUPNPROB - [#9000011] TOBACCO1+3, TOBACCO1+4, ASAPOV+17, ASAPOV+19, ASAPOV+20
^AUPNPROB("AC" ASAPOV+15
^AUPNVDEN - [#9000010.05] DENT+8
^AUPNVDEN("AD" DENT+8
^AUPNVMED - [#9000010.14] ACE+9
^AUPNVMED("AA" ACE+8, ACE+9
^AUPNVPOV - [#9000010.07] TOBACCO2+5, TOBACCO2+6, ASAPOV+6
^AUPNVPRV - [#9000010.06] SDM+11
^AUPNVPRV("AD" SDM+11
^AUPNVSIT - [#9000010] ACE+9, DENT+5, DENT+6, DENT+7
^AUTNPOV - [#9999999.27] TOBACCO1+3, TOBACCO1+4, TOBACCO2+5, TOBACCO2+6
^AUTTADA - [#9999999.31] DENT+8
^AUTTHF - [#9999999.64] TOBACCO3+7
^AUTTIMM(0 BI+1
^GMR(120.8 - [#120.8] LIPIDA+3, LIPIDA+4, LIPIDA+6, LIPIDA+8, 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+9
^TMP($J DENT+1!, DENT+3, DENT+4

Label References

Name Line Occurrences
$$D DODX+9
$$DENT TOBACCO+12
$$DI DODX+9
$$DODX TBCODE+13, TBCODE+14, DURDM+2
ASAALLEG ASPIRIN+24
LIPIDA LIPID+17
TOBACCO0 TOBACCO+4
TOBACCO1 TOBACCO+8
TOBACCO2 TOBACCO+10

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% ACE+6~, ACE+7*, ACE+8, ACE+9*, ACE+10, SDM+8*, TOBACCO3+1*, TOBACCO3+2, TOBACCO3+3
%DT LIPIDA+2*, ACE+1~, ACE+5~!*, SELF+1~, SELF+2*, SELF+3*, SDM+1~, SDM+2*, SDM+3*, ASPIRIN+23*
, TOBACCO2+1~, TOBACCO2+2*, THERAPY+2~
A ASPIRIN+1~, ASPIRIN+2*, ASPIRIN+4*, ASPIRIN+8, DENT+2*
APCL LIPID+1~, LIPID+4!, ACE+1~, SELF+1~, SDM+1~, ASPIRIN+1~, ASPIRIN+5!, TOBACCO+3~, TOBACCO0+1!, TOBACCO1+1!
, TOBACCO2+4!
APCL( SDM+10
APCL(1 LIPID+3, LIPID+6, ACE+3, SELF+7, ASPIRIN+4, ASPIRIN+6, TOBACCO0+1, TOBACCO0+2, TOBACCO1+1, TOBACCO1+3
, TOBACCO1+4, TOBACCO2+4, TOBACCO2+5, TOBACCO2+6
APCLC ASAALLEG+2~, ASAALLEG+4*, ASAPOV+4*, ASAPOV+6*, ASAPOV+11*, ASAPOV+20*, ASAPOV+26*
APCLD ASAALLEG~, ASAALLEG+5, ASAPOV+1, ASAPOV+8, ASAPOV+19, ASAPOV+24
APCLG ASAALLEG+2~, ASAPOV+1!, ASAPOV+8!
APCLG( ASAPOV+2, ASAPOV+4, ASAPOV+6, ASAPOV+9, ASAPOV+11
APCLI TBCODE+1~
APCLJ TBCODE+1~, TBCODE+2*, TBCODE+8, TBCODE+9*, TBCODE+10*, TBCODE+12*, TBCODE+13*, TBCODE+14*, TBCODE+16*, TBCODE+17*
, TBCODE+18
APCLR TBCODE+1~, TBCODE+7*, TBCODE+8, TBCODE+12, TBCODE+16, TBCODE+17
>> APCLRBD TOBACCO+12
>> APCLRED TOBACCO+12
>> APCLSAAL ASPIRIN+24
>> APCLSAAL(1 ASPIRIN+25
APCLTOB TOBACCO+3~, TOBACCO+5, TOBACCO+9, TOBACCO+11, TOBACCO0+2*, TOBACCO0+3*, TOBACCO3+8*, TOBACCO3+9*, TOBACCO3+10*, TOBACCO1+3*
, TOBACCO1+4*, TOBACCO2+5*, TOBACCO2+6*
APCLY ASAALLEG~, ASAALLEG+4!
APCLY( ASAPOV+4*, ASAPOV+6*, ASAPOV+11*, ASAPOV+20*, ASAPOV+26*
B LIPIDA+2*, LIPIDA+4, ASPIRIN+2*, ASPIRIN+23*, TOBACCO+2~, DENT+2*, DENT+8*
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+19, ASAALLEG+2~
BDATE SYSMEAN~, SYSMEAN+1, DIAMEAN~, DIAMEAN+1, LIPID~, LIPID+2, LIPID+5, LIPID+14, LIPID+18, ACE~
, ACE+2, ACE+5, ACE+14, SELF~, SELF+3, SELF+6, SDM~, SDM+3, SDM+8, ASPIRIN~
, ASPIRIN+3, ASPIRIN+5, ASPIRIN+14, ASPIRIN+19, ASPIRIN+23, TOBACCO2+3~*, TOBACCO2+4, DENT~, DENT+2
C SYSMEAN+3~*, SYSMEAN+4, SYSMEAN+5*, SYSMEAN+6, DIAMEAN+3~*, DIAMEAN+4, DIAMEAN+5*, DIAMEAN+6, LIPIDA+5*, LIPIDA+8
, 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+8, TOBACCO+2~, TOBACCO3+3*, TOBACCO2+1~, TOBACCO2+2*, TOBACCO2+3, 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*, SELF+1~, SELF+4*, SELF+5, SELF+6*
, SDM+1~, SDM+4*, SDM+5, SDM+8*, ASPIRIN+1~, ASPIRIN+3*, ASPIRIN+5*, ASPIRIN+24, TOBACCO+3~, TOBACCO0+1*
, TOBACCO1+1*, TOBACCO2+4*, DENT+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~, ASAALLEG+5*
EDATE TBCODE~, TBCODE+7, TBCODE+14, SYSMEAN~, SYSMEAN+1, DIAMEAN~, DIAMEAN+1, PPDDATE~, PPDDATE+1, LIPID~
, LIPID+2, LIPID+5, LIPID+14, LIPID+18, LIPIDA+2, ACE~, ACE+2, ACE+14, SELF~, SELF+2
, SELF+6, SDM~, SDM+2, SDM+8, ASPIRIN~, ASPIRIN+3, ASPIRIN+5, ASPIRIN+14, ASPIRIN+19, TOBACCO~
, TOBACCO0+1, TOBACCO2+2, TOBACCO2+4, DENT~, DENT+2, THERAPY~, THERAPY+4, THERAPY+6, THERAPY+8, THERAPY+10
, THERAPY+12, THERAPY+14, THERAPY+16, THERAPY+19, TYPE~, TYPE+14, DURDM~, DURDM+5, DURDM+7
F DODX~, DODX+1*, DODX+9
G LIPID+1~, LIPID+2*, LIPID+11*, LIPID+14*, LIPID+15, LIPID+18*, LIPID+19, LIPIDA+3*, LIPIDA+8*, LIPIDA+11
, ACE+1~, ACE+9*, ACE+14*, ACE+15, ACE+16, SDM+10~*, SDM+11*, SDM+13, ASPIRIN+1~, ASPIRIN+2*
, ASPIRIN+11*, ASPIRIN+14*, ASPIRIN+15, ASPIRIN+16, ASPIRIN+19*, ASPIRIN+21, DENT+4*, DENT+8*, DENT+10, ASAPOV+28*
, ASAPOV+30*, ASAPOV+32*, ASAPOV+34*
I ACE+6~, ACE+8*, ACE+9, TYPE+9~, TYPE+10*, TYPE+12*, ASAPOV+17*, ASAPOV+20
N LIPIDA+6*, ASPIRIN+1~, ASPIRIN+2*, ASPIRIN+6*, ASPIRIN+8, 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, LIPID+18, LIPIDA+3, ACE~, ACE+2
, ACE+8, ACE+9, ACE+14, SELF~, SELF+4, SELF+6, SDM~, SDM+4, SDM+8, SDM+10~
, SDM+11*, ASPIRIN~, ASPIRIN+3, ASPIRIN+5, ASPIRIN+14, ASPIRIN+19, ASPIRIN+24, TOBACCO~, TOBACCO+1, TOBACCO+12
, TOBACCO0+1, TOBACCO3+3, TOBACCO1+1, TOBACCO2+4, DENT~, DENT+2, THERAPY~, THERAPY+1, THERAPY+4, THERAPY+6
, THERAPY+8, THERAPY+10, THERAPY+12, THERAPY+14, THERAPY+16, THERAPY+19, 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+18
T LIPID+12~*, LIPID+13, LIPID+14, LIPID+16~*, LIPID+17, LIPID+18, ACE+12~*, ACE+13, ACE+14, SELF+1~
, SDM+1~, SDM+6*, SDM+7, SDM+11, ASPIRIN+12~*, ASPIRIN+13, ASPIRIN+14, ASPIRIN+17~*, ASPIRIN+18, ASPIRIN+19
, 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, LIPID+18, LIPIDA+4, LIPIDA+6, ACE+9, ACE+14, ACE+15, SDM+10, SDM+11, ASPIRIN+14
, ASPIRIN+15, ASPIRIN+19, TOBACCO0+2, TOBACCO3+7, TOBACCO1+3, TOBACCO1+4, TOBACCO2+5, TOBACCO2+6, DENT+4, DENT+6
, DENT+7, DENT+8, 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+9*, SDM+10~*, SDM+11, DENT+4*, DENT+5, DENT+6, DENT+7, DENT+8
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*, LIPID+18*, LIPIDA+2*
, LIPIDA+3*, LIPIDA+4, LIPIDA+6, LIPIDA+8, ACE+1~, ACE+2*, ACE+5*, ACE+14*, SELF+1~, SELF+2*
, SELF+3*, SELF+6*, SDM+1~, SDM+2*, SDM+3*, SDM+10~*, ASPIRIN+1~, ASPIRIN+3*, ASPIRIN+5*, ASPIRIN+14*
, ASPIRIN+19*, ASPIRIN+23*, TOBACCO+3~, TOBACCO+12*, TOBACCO+13, TOBACCO0+1*, TOBACCO3+3*, TOBACCO3+5*, TOBACCO3+6, TOBACCO1+1*
, TOBACCO2+2*, TOBACCO2+4*, DENT+4*, 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+19*, THERAPY+20
, 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, SELF+1~, SELF+2, SELF+3
, SDM+1~, SDM+2, SDM+3, ASPIRIN+23, TOBACCO3+3!, TOBACCO3+4, TOBACCO3+6*, TOBACCO3+7*, TOBACCO3+8, TOBACCO3+9
, TOBACCO2+2, THERAPY+2~, DURDM+2~*, DURDM+3, DURDM+4, DURDM+5, DURDM+7, ASAALLEG+2~, ASAPOV+1*, ASAPOV+2*
, ASAPOV+3, ASAPOV+6, ASAPOV+8*, ASAPOV+9*, ASAPOV+10, ASAPOV+17*, ASAPOV+20
Y( TOBACCO3+6
Y(0 TOBACCO3+5
Y(9999999 TOBACCO3+3*
Z DENT+8*, ASAALLEG+2~, ASAPOV+6*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All