CIMGAGPC ; CMI/TUCSON/LAB - grpa [ 03/16/00 3:54 PM ]
;;1.0;ABERDEEN GPRA REPORT;;JAN 22, 2000
IND44 ;
D HEADER^CIMGAGPB Q:CIMQUIT
W !,"4/4 Diabetes",!,"Increase the proportion of I/T/U clients with diagnosed",!,"diabetes who have been assessed for dyslipidemia by 3% over BASELINE level.",!
W !,"Assessed for Dyslipidemia"
W !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
S CIMGX=$$V(1,10),CIMGY=$$V(12,10)
S CIMG1=$$V(19,1),CIMG1B=$$V(20,1)
S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
W !?3,"# diagnosed diabetes",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
W !?3,"# assessed for dyslipidemia within",!?5,"1 year of end of time period",?36,$$C(CIMG1B,0,9),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
IND55 ;
D HEADER^CIMGAGPB Q:CIMQUIT
W !,"5/5 Diabetes",!,"Increase the proportion of I/T/U clients with diagnosed",!,"diabetes who have been assessed for nephropathy by 3% over BASELINE level.",!
W !,"Assessed for Nephropathy"
W !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
S CIMGX=$$V(1,10),CIMGY=$$V(12,10)
S CIMG1=$$V(19,2),CIMG1B=$$V(20,2)
S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
W !?3,"# diagnosed diabetes",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
W !?3,"# assessed for nephropathy within",!?5,"1 year of end of time period",?36,$$C(CIMG1B,0,9),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
IND66 ;
D HEADER^CIMGAGPB Q:CIMQUIT
W !,"6/6 Women's Health",!,"Increase the proportion of AI/AN women who have annual pap screening to 55%.",!
W !,"Pap Screening"
W !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
S CIMGX=$$V(19,3),CIMGY=$$V(20,3)
S CIMG1=$$V(19,4),CIMG1B=$$V(20,4)
S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
W !?3,"# Women >17 years old",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
W !?3,"# with Pap documented within",!?5,"3 years of end of time period",?36,$$C(CIMG1B,0,9),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
IND77 ;
D HEADER^CIMGAGPB Q:CIMQUIT
W !,"7/7 Women's Health",!,"Increase the proportion of AI/AN female population 40-69 years of age who",!,"had annual screening mammography.",!
W !,"Mammography Screening"
W !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
S CIMGX=$$V(19,5),CIMGY=$$V(20,5)
S CIMG1=$$V(19,6),CIMG1B=$$V(20,6)
S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
W !?3,"# Women 40-69 years old",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
W !?3,"# with Mammography documented within",!?5,"1 year of end of time period",?36,$$C(CIMG1B,0,9),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
IND88 ;
D HEADER^CIMGAGPB Q:CIMQUIT
W !,"8/8 Child Health",!,"Determine the proportion of AI/AN children served by",!,"IHS receiving a minimum of four Well Child visits by 27 months of age.",!
W !,"Well Child Visits by Age 27 Months"
W !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
S CIMGX=$$V(19,7),CIMGY=$$V(20,7)
S CIMG1=$$V(19,8),CIMG1B=$$V(20,8)
S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
W !?3,"# Children turning 27 mon old",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
W !?3,"# with at least 4 Well Child",!?5,"before age 27 months",?36,$$C(CIMG1B,0,9),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
IND1112 ;
D HEADER^CIMGAGPB Q:CIMQUIT
W !,"11/12 Dental Health",!,"Assure that at least 21% of the AI/AN population obtain",!,"access to dental services.",!
W !,"Dental Visit 0000"
W !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
S CIMGX=$$V(1,1),CIMGY=$$V(12,1)
S CIMG1=$$V(19,9),CIMG1B=$$V(20,9)
S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
W !?3,"# active users",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
W !?3,"# with a dental visit 0000 within",!?5,"1 year of end of time period",?36,$$C(CIMG1B,0,9),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
IND1213 ;
D HEADER^CIMGAGPB Q:CIMQUIT
W !,"12/13 Dental Health",!,"Assure that the percentage of AI/AN children 6-8 and 14-15",!,"who have received protective dental sealants on permanent molar teeth is ",!,"restored to 90% of the FY 1991 IHS Oral Health Survey level",!
W !,"Dental Visit 1351"
W !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
S CIMGX=$$V(19,10),CIMGY=$$V(20,10)
S CIMG1=$$V(19,11),CIMG1B=$S($E(CIMPER,1,3)'=299:$$V(20,11),1:"**")
I $E(CIMPER,1,3)'=299 S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
I $E(CIMPER,1,3)=299 S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=65.0,CIMGY="**",CIMG1B="**"
W !?3,"# children 6-8",?36,$S(CIMGY="**":CIMGY,1:$$C(CIMGY,0,9)),?54,$$C(CIMGX,0,9)
W !?3,"# with a dental visit 1351",!?5,"anytime in their history",?36,$S(CIMG1B="**":CIMG1B,1:$$C(CIMG1B,0,9)),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
S CIMGX=$$V(19,27),CIMGY=$$V(20,27)
S CIMG1=$$V(19,28),CIMG1B=$S($E(CIMPER,1,3)'=299:$$V(20,28),1:"**")
I $E(CIMPER,1,3)'=299 S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
I $E(CIMPER,1,3)=299 S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=62.0,CIMGY="**",CIMG1B="**"
W !!?3,"# children 14-15",?36,$S(CIMGY="**":CIMGY,1:$$C(CIMGY,0,9)),?54,$$C(CIMGX,0,9)
W !?3,"# with a dental visit 1351",!?5,"anytime in their history",?36,$S(CIMG1B="**":CIMG1B,1:$$C(CIMG1B,0,9)),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
IND1820 ;
D HEADER^CIMGAGPB Q:CIMQUIT
W !,"18/20 Child Health",!,"Immunization Increase by 3% the proportion of AI/AN",!,"children who have completed all recommended immunizations by the age of two.",!
W !,"Immunizations Up to date"
W !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
S CIMGX=$$V(19,12),CIMGY=$$V(20,12)
S CIMG1=$$V(19,13),CIMG1B=$$V(20,13)
S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
W !?3,"# children 2 yrs of age",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
W !?3,"# immunized with basic series",?36,$$C(CIMG1B,0,9),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
S CIMGX=$$V(22,12),CIMGY=$$V(23,12)
S CIMG1=$$V(22,13),CIMG1B=$$V(23,13)
S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
W !!!?3,"# children 27 months of age",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
W !?3,"# immunized with basic series",?36,$$C(CIMG1B,0,9),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
IND2023 ;
D HEADER^CIMGAGPB Q:CIMQUIT
W !,"20/23 Child Obesity",!,"Identify the Area specific prevalance of obesity in AI/AN",!,"Head Start population (3-5 yr olds) and in third grade children (8-10 year olds)",!
W !,"Child Obesity"
W !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
S CIMGX=$$V(19,14),CIMGY=$$V(20,14)
S CIMG1=$$V(19,23),CIMG1B=$$V(20,23)
S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
W !?3,"# children 3-5 yrs of age",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
W !!?3,"# w/ HT/WT recorded on same",!?5,"date in time period",?36,$$C(CIMG1B,0,9),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
S CIMGX=$$V(19,23),CIMGY=$$V(20,23)
S CIMG1=$$V(19,15),CIMG1B=$$V(20,15)
S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
W !?3,"# Obese",?36,$$C(CIMG1B,0,9),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
S CIMGX=$$V(19,23),CIMGY=$$V(20,23)
S CIMG1=$$V(19,29),CIMG1B=$$V(20,29)
S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
W !?3,"# Overweight",?36,$$C(CIMG1B,0,9),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
S CIMGX=$$V(19,16),CIMGY=$$V(20,16)
S CIMG1=$$V(19,24),CIMG1B=$$V(20,24)
S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
W !!!?3,"# children 8-10 yrs of age",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
W !!?3,"# w/ HT/WT recorded on same",!?5,"date in time period",?36,$$C(CIMG1B,0,9),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
S CIMGX=$$V(19,24),CIMGY=$$V(20,24)
S CIMG1=$$V(19,17),CIMG1B=$$V(20,17)
S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
W !?3,"# Obese",?36,$$C(CIMG1B,0,9),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
S CIMGX=$$V(19,24),CIMGY=$$V(20,24)
S CIMG1=$$V(19,30),CIMG1B=$$V(20,30)
S CIMG1P=$S(CIMGX:((CIMG1/CIMGX)*100),1:""),CIMG1BP=$S(CIMGY:((CIMG1B/CIMGY)*100),1:"")
W !?3,"# Overweight",?36,$$C(CIMG1B,0,9),?44,$J(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$J(CIMG1P,6,1),?72,$J($$CALC(CIMG1P,CIMG1BP),7)
D ^CIMGAGPE
Q
CALC(N,O) ;ENTRY POINT
NEW Z
I O=0!(N=0)!(O="")!(N="") Q "**"
NEW X,X2,X3
S X=N,X2=1,X3=0 D COMMA^%DTC S N=X
S X=O,X2=1,X3=0 D COMMA^%DTC S O=X
I +O=0 Q "**"
S Z=(((N-O)/O)*100),Z=$FN(Z,"+,",1)
Q Z
V(N,P) ;
NEW X,C S (X,C)=0 F S X=$O(CIMSUL(X)) Q:X'=+X S C=C+$P($G(^CIMAGP(X,N)),U,P)
Q C
C(X,X2,X3) ;
D COMMA^%DTC
Q X
CIMGAGPC ; CMI/TUCSON/LAB - grpa [ 03/16/00 3:54 PM ]
+1 ;;1.0;ABERDEEN GPRA REPORT;;JAN 22, 2000
IND44 ;
+1 DO HEADER^CIMGAGPB
IF CIMQUIT
QUIT
+2 WRITE !,"4/4 Diabetes",!,"Increase the proportion of I/T/U clients with diagnosed",!,"diabetes who have been assessed for dyslipidemia by 3% over BASELINE level.",!
+3 WRITE !,"Assessed for Dyslipidemia"
+4 WRITE !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
+5 SET CIMGX=$$V(1,10)
SET CIMGY=$$V(12,10)
+6 SET CIMG1=$$V(19,1)
SET CIMG1B=$$V(20,1)
+7 SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+8 WRITE !?3,"# diagnosed diabetes",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
+9 WRITE !?3,"# assessed for dyslipidemia within",!?5,"1 year of end of time period",?36,$$C(CIMG1B,0,9),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
IND55 ;
+1 DO HEADER^CIMGAGPB
IF CIMQUIT
QUIT
+2 WRITE !,"5/5 Diabetes",!,"Increase the proportion of I/T/U clients with diagnosed",!,"diabetes who have been assessed for nephropathy by 3% over BASELINE level.",!
+3 WRITE !,"Assessed for Nephropathy"
+4 WRITE !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
+5 SET CIMGX=$$V(1,10)
SET CIMGY=$$V(12,10)
+6 SET CIMG1=$$V(19,2)
SET CIMG1B=$$V(20,2)
+7 SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+8 WRITE !?3,"# diagnosed diabetes",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
+9 WRITE !?3,"# assessed for nephropathy within",!?5,"1 year of end of time period",?36,$$C(CIMG1B,0,9),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
IND66 ;
+1 DO HEADER^CIMGAGPB
IF CIMQUIT
QUIT
+2 WRITE !,"6/6 Women's Health",!,"Increase the proportion of AI/AN women who have annual pap screening to 55%.",!
+3 WRITE !,"Pap Screening"
+4 WRITE !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
+5 SET CIMGX=$$V(19,3)
SET CIMGY=$$V(20,3)
+6 SET CIMG1=$$V(19,4)
SET CIMG1B=$$V(20,4)
+7 SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+8 WRITE !?3,"# Women >17 years old",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
+9 WRITE !?3,"# with Pap documented within",!?5,"3 years of end of time period",?36,$$C(CIMG1B,0,9),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
IND77 ;
+1 DO HEADER^CIMGAGPB
IF CIMQUIT
QUIT
+2 WRITE !,"7/7 Women's Health",!,"Increase the proportion of AI/AN female population 40-69 years of age who",!,"had annual screening mammography.",!
+3 WRITE !,"Mammography Screening"
+4 WRITE !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
+5 SET CIMGX=$$V(19,5)
SET CIMGY=$$V(20,5)
+6 SET CIMG1=$$V(19,6)
SET CIMG1B=$$V(20,6)
+7 SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+8 WRITE !?3,"# Women 40-69 years old",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
+9 WRITE !?3,"# with Mammography documented within",!?5,"1 year of end of time period",?36,$$C(CIMG1B,0,9),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
IND88 ;
+1 DO HEADER^CIMGAGPB
IF CIMQUIT
QUIT
+2 WRITE !,"8/8 Child Health",!,"Determine the proportion of AI/AN children served by",!,"IHS receiving a minimum of four Well Child visits by 27 months of age.",!
+3 WRITE !,"Well Child Visits by Age 27 Months"
+4 WRITE !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
+5 SET CIMGX=$$V(19,7)
SET CIMGY=$$V(20,7)
+6 SET CIMG1=$$V(19,8)
SET CIMG1B=$$V(20,8)
+7 SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+8 WRITE !?3,"# Children turning 27 mon old",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
+9 WRITE !?3,"# with at least 4 Well Child",!?5,"before age 27 months",?36,$$C(CIMG1B,0,9),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
IND1112 ;
+1 DO HEADER^CIMGAGPB
IF CIMQUIT
QUIT
+2 WRITE !,"11/12 Dental Health",!,"Assure that at least 21% of the AI/AN population obtain",!,"access to dental services.",!
+3 WRITE !,"Dental Visit 0000"
+4 WRITE !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
+5 SET CIMGX=$$V(1,1)
SET CIMGY=$$V(12,1)
+6 SET CIMG1=$$V(19,9)
SET CIMG1B=$$V(20,9)
+7 SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+8 WRITE !?3,"# active users",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
+9 WRITE !?3,"# with a dental visit 0000 within",!?5,"1 year of end of time period",?36,$$C(CIMG1B,0,9),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
IND1213 ;
+1 DO HEADER^CIMGAGPB
IF CIMQUIT
QUIT
+2 WRITE !,"12/13 Dental Health",!,"Assure that the percentage of AI/AN children 6-8 and 14-15",!,"who have received protective dental sealants on permanent molar teeth is ",!,"restored to 90% of the FY 1991 IHS Oral Health Survey level",!
+3 WRITE !,"Dental Visit 1351"
+4 WRITE !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
+5 SET CIMGX=$$V(19,10)
SET CIMGY=$$V(20,10)
+6 SET CIMG1=$$V(19,11)
SET CIMG1B=$SELECT($EXTRACT(CIMPER,1,3)'=299:$$V(20,11),1:"**")
+7 IF $EXTRACT(CIMPER,1,3)'=299
SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+8 IF $EXTRACT(CIMPER,1,3)=299
SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=65.0
SET CIMGY="**"
SET CIMG1B="**"
+9 WRITE !?3,"# children 6-8",?36,$SELECT(CIMGY="**":CIMGY,1:$$C(CIMGY,0,9)),?54,$$C(CIMGX,0,9)
+10 WRITE !?3,"# with a dental visit 1351",!?5,"anytime in their history",?36,$SELECT(CIMG1B="**":CIMG1B,1:$$C(CIMG1B,0,9)),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
+11 SET CIMGX=$$V(19,27)
SET CIMGY=$$V(20,27)
+12 SET CIMG1=$$V(19,28)
SET CIMG1B=$SELECT($EXTRACT(CIMPER,1,3)'=299:$$V(20,28),1:"**")
+13 IF $EXTRACT(CIMPER,1,3)'=299
SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+14 IF $EXTRACT(CIMPER,1,3)=299
SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=62.0
SET CIMGY="**"
SET CIMG1B="**"
+15 WRITE !!?3,"# children 14-15",?36,$SELECT(CIMGY="**":CIMGY,1:$$C(CIMGY,0,9)),?54,$$C(CIMGX,0,9)
+16 WRITE !?3,"# with a dental visit 1351",!?5,"anytime in their history",?36,$SELECT(CIMG1B="**":CIMG1B,1:$$C(CIMG1B,0,9)),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
IND1820 ;
+1 DO HEADER^CIMGAGPB
IF CIMQUIT
QUIT
+2 WRITE !,"18/20 Child Health",!,"Immunization Increase by 3% the proportion of AI/AN",!,"children who have completed all recommended immunizations by the age of two.",!
+3 WRITE !,"Immunizations Up to date"
+4 WRITE !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
+5 SET CIMGX=$$V(19,12)
SET CIMGY=$$V(20,12)
+6 SET CIMG1=$$V(19,13)
SET CIMG1B=$$V(20,13)
+7 SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+8 WRITE !?3,"# children 2 yrs of age",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
+9 WRITE !?3,"# immunized with basic series",?36,$$C(CIMG1B,0,9),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
+10 SET CIMGX=$$V(22,12)
SET CIMGY=$$V(23,12)
+11 SET CIMG1=$$V(22,13)
SET CIMG1B=$$V(23,13)
+12 SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+13 WRITE !!!?3,"# children 27 months of age",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
+14 WRITE !?3,"# immunized with basic series",?36,$$C(CIMG1B,0,9),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
IND2023 ;
+1 DO HEADER^CIMGAGPB
IF CIMQUIT
QUIT
+2 WRITE !,"20/23 Child Obesity",!,"Identify the Area specific prevalance of obesity in AI/AN",!,"Head Start population (3-5 yr olds) and in third grade children (8-10 year olds)",!
+3 WRITE !,"Child Obesity"
+4 WRITE !?38,"BASELINE",?45," %",?56,"REPORT",?64," %",?71,"% CHANGE",!?38,"PERIOD",?56,"PERIOD"
+5 SET CIMGX=$$V(19,14)
SET CIMGY=$$V(20,14)
+6 SET CIMG1=$$V(19,23)
SET CIMG1B=$$V(20,23)
+7 SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+8 WRITE !?3,"# children 3-5 yrs of age",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
+9 WRITE !!?3,"# w/ HT/WT recorded on same",!?5,"date in time period",?36,$$C(CIMG1B,0,9),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
+10 SET CIMGX=$$V(19,23)
SET CIMGY=$$V(20,23)
+11 SET CIMG1=$$V(19,15)
SET CIMG1B=$$V(20,15)
+12 SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+13 WRITE !?3,"# Obese",?36,$$C(CIMG1B,0,9),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
+14 SET CIMGX=$$V(19,23)
SET CIMGY=$$V(20,23)
+15 SET CIMG1=$$V(19,29)
SET CIMG1B=$$V(20,29)
+16 SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+17 WRITE !?3,"# Overweight",?36,$$C(CIMG1B,0,9),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
+18 SET CIMGX=$$V(19,16)
SET CIMGY=$$V(20,16)
+19 SET CIMG1=$$V(19,24)
SET CIMG1B=$$V(20,24)
+20 SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+21 WRITE !!!?3,"# children 8-10 yrs of age",?36,$$C(CIMGY,0,9),?54,$$C(CIMGX,0,9)
+22 WRITE !!?3,"# w/ HT/WT recorded on same",!?5,"date in time period",?36,$$C(CIMG1B,0,9),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
+23 SET CIMGX=$$V(19,24)
SET CIMGY=$$V(20,24)
+24 SET CIMG1=$$V(19,17)
SET CIMG1B=$$V(20,17)
+25 SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+26 WRITE !?3,"# Obese",?36,$$C(CIMG1B,0,9),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
+27 SET CIMGX=$$V(19,24)
SET CIMGY=$$V(20,24)
+28 SET CIMG1=$$V(19,30)
SET CIMG1B=$$V(20,30)
+29 SET CIMG1P=$SELECT(CIMGX:((CIMG1/CIMGX)*100),1:"")
SET CIMG1BP=$SELECT(CIMGY:((CIMG1B/CIMGY)*100),1:"")
+30 WRITE !?3,"# Overweight",?36,$$C(CIMG1B,0,9),?44,$JUSTIFY(CIMG1BP,6,1),?54,$$C(CIMG1,0,9),?62,$JUSTIFY(CIMG1P,6,1),?72,$JUSTIFY($$CALC(CIMG1P,CIMG1BP),7)
+31 DO ^CIMGAGPE
+32 QUIT
CALC(N,O) ;ENTRY POINT
+1 NEW Z
+2 IF O=0!(N=0)!(O="")!(N="")
QUIT "**"
+3 NEW X,X2,X3
+4 SET X=N
SET X2=1
SET X3=0
DO COMMA^%DTC
SET N=X
+5 SET X=O
SET X2=1
SET X3=0
DO COMMA^%DTC
SET O=X
+6 IF +O=0
QUIT "**"
+7 SET Z=(((N-O)/O)*100)
SET Z=$FNUMBER(Z,"+,",1)
+8 QUIT Z
V(N,P) ;
+1 NEW X,C
SET (X,C)=0
FOR
SET X=$ORDER(CIMSUL(X))
IF X'=+X
QUIT
SET C=C+$PIECE($GET(^CIMAGP(X,N)),U,P)
+2 QUIT C
C(X,X2,X3) ;
+1 DO COMMA^%DTC
+2 QUIT X