Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: BGPMUWD1

BGPMUWD1.m

Go to the documentation of this file.
BGPMUWD1 ; IHS/MSC/AJF - MU EP  measures NQF0024 ;22-Mar-2011 10:12;DU
 ;;11.1;IHS CLINICAL REPORTING SYSTEM;**1**;JUN 27, 2011;Build 106
 ;This rouine does the printed output for EP measures 0024;;;;;Build 33
ENT ;
 D P1
 Q
P1 ;Write individual measure
 N X,Y,Z,LIST1,LIST2,LIST3,NONUM1,NONUM2,NONUM3
 N DEN1,NUM1,DEN2,NUM2,PC1,PC2,EXC1,EXC2,STRING1,STRING2,STRING3,PRD1,PRD2,PRB1,PRB2
 N DIFF1,DIFF2,DIFF3,X1,X2,X3,Y1,Y2,Z1,Z2
 S STRING1=$$D24("C")
 S STRING2=$$D24("P")
 S STRING3=$$D24("B")
 D SUMMARY(STRING1,STRING2,STRING3)
 S X=U_"REPORT PERIOD"_U_"%"_U_"PREV YR PERIOD"_U_"%"_U_"CHG FROM PREV YR"_U_"BASE YEAR"_U_"%"_U_"CHG FROM BASE"
 D S^BGPMUDEL(X,2,1)
 S X="Denominator 1" D S^BGPMUDEL(X,2,1)
 S X="Pts 2-16"_U_$P(STRING1,U,1)_U_U_$P(STRING2,U,1)_U_U_U_$P(STRING3,U,1)
 D S^BGPMUDEL(X,1,1)
 S X="Numerator 1" D S^BGPMUDEL(X,2,1)
 S Z1=$P(STRING1,U,6)-$P(STRING2,U,6) I Z1>0 S Z1=+Z1
 S Z2=$P(STRING1,U,6)-$P(STRING3,U,6) I Z2>0 S Z2=+Z2
 S X1=100-$P(STRING1,U,6),X2=100-$P(STRING2,U,6),X3=100-$P(STRING3,U,6)
 S DIFF1=$P(STRING1,U,1)-$P(STRING1,U,2),DIFF2=$P(STRING2,U,1)-$P(STRING2,U,2)
 S DIFF3=$P(STRING3,U,1)-$P(STRING3,U,2)
 S Y1=X1-X2 I Y1>0 S Y1=+Y1
 S Y2=X1-X3 I Y2>0 S Y2=+Y2
 S X="# w/BMI Percentile"_U_$P(STRING1,U,2)_U_$P(STRING1,U,6)_U_$P(STRING2,U,2)_U_$P(STRING2,U,6)_U_Z1_U_$P(STRING3,U,2)_U_$P(STRING3,U,6)_U_Z2
 D S^BGPMUDEL(X,1,1)
 S X="# w/o BMI Percentile"_U_DIFF1_U_X1_U_DIFF2_U_X2_U_Y1_U_DIFF3_U_X3_U_Y2
 D S^BGPMUDEL(X,1,1)
 S X="Numerator 2" D S^BGPMUDEL(X,2,1)
 S Z1=$P(STRING1,U,7)-$P(STRING2,U,7) I Z1>0 S Z1=+Z1
 S Z2=$P(STRING1,U,7)-$P(STRING3,U,7) I Z2>0 S Z2=+Z2
 S X1=100-$P(STRING1,U,7),X2=100-$P(STRING2,U,7),X3=100-$P(STRING3,U,7)
 S DIFF1=$P(STRING1,U,1)-$P(STRING1,U,3),DIFF2=$P(STRING2,U,1)-$P(STRING2,U,3)
 S DIFF3=$P(STRING3,U,1)-$P(STRING3,U,3)
 S Y1=X1-X2 I Y1>0 S Y1=+Y1
 S Y2=X1-X3 I Y2>0 S Y2=+Y2
 S X="# w/Nutrition edu"_U_$P(STRING1,U,3)_U_$P(STRING1,U,7)_U_$P(STRING2,U,3)_U_$P(STRING2,U,7)_U_Z1_U_$P(STRING3,U,3)_U_$P(STRING3,U,7)
 D S^BGPMUDEL(X,1,1)
 S X="# w/o Nutrition edu"_U_DIFF1_U_X1_U_DIFF2_U_X2_U_Y1_U_DIFF3_U_X3_U_Y2
 D S^BGPMUDEL(X,1,1)
 S X="Numerator 3" D S^BGPMUDEL(X,2,1)
 S Z1=$P(STRING1,U,8)-$P(STRING2,U,8) I Z1>0 S Z1=+Z1
 S Z2=$P(STRING1,U,8)-$P(STRING3,U,8) I Z2>0 S Z2=+Z2
 S X1=100-$P(STRING1,U,8),X2=100-$P(STRING2,U,8),X3=100-$P(STRING3,U,8)
 S DIFF1=$P(STRING1,U,1)-$P(STRING1,U,4),DIFF2=$P(STRING2,U,1)-$P(STRING2,U,4)
 S DIFF3=$P(STRING3,U,1)-$P(STRING3,U,4)
 S Y1=X1-X2 I Y1>0 S Y1=+Y1
 S Y2=X1-X3 I Y2>0 S Y2=+Y2
 S X="# w/Activity edu"_U_$P(STRING1,U,4)_U_$P(STRING1,U,8)_U_$P(STRING2,U,4)_U_$P(STRING2,U,8)_U_Z1_U_$P(STRING3,U,4)_U_$P(STRING3,U,8)_U_Z2
 D S^BGPMUDEL(X,1,1)
 S X="# w/o Activity edu"_U_DIFF1_U_X1_U_DIFF2_U_X2_U_Y1_U_DIFF3_U_X3_U_Y2
 D S^BGPMUDEL(X,1,1)
 S X="Denominator 2" D S^BGPMUDEL(X,2,1)
 S X="Pts 2-10"_U_$P(STRING1,U,9)_U_U_$P(STRING2,U,9)_U_U_U_$P(STRING3,U,9) D S^BGPMUDEL(X,1,1)
 S X="Numerator 1" D S^BGPMUDEL(X,2,1)
 S Z1=$P(STRING1,U,14)-$P(STRING2,U,14) I Z1>0 S Z1=+Z1
 S Z2=$P(STRING1,U,14)-$P(STRING3,U,14) I Z2>0 S Z2=+Z2
 S X1=100-$P(STRING1,U,14),X2=100-$P(STRING2,U,14),X3=100-$P(STRING3,U,14)
 S DIFF1=$P(STRING1,U,9)-$P(STRING1,U,10),DIFF2=$P(STRING2,U,9)-$P(STRING2,U,10)
 S DIFF3=$P(STRING3,U,9)-$P(STRING3,U,10)
 S Y1=X1-X2 I Y1>0 S Y1=+Y1
 S Y2=X1-X3 I Y2>0 S Y2=+Y2
 S X="# w/BMI Percentile"_U_$P(STRING1,U,10)_U_$P(STRING1,U,14)_U_$P(STRING2,U,10)_U_$P(STRING2,U,14)_U_Z1_U_$P(STRING3,U,10)_U_$P(STRING3,U,14)_U_Z2
 D S^BGPMUDEL(X,1,1)
 S X="# w/o BMI Percentile"_U_DIFF1_U_X1_U_DIFF2_U_X2_U_Y1_U_DIFF3_U_X3_U_Y2
 D S^BGPMUDEL(X,1,1)
 S X="Numerator 2" D S^BGPMUDEL(X,2,1)
 S Z1=$P(STRING1,U,15)-$P(STRING2,U,15) I Z1>0 S Z1=+Z1
 S Z2=$P(STRING1,U,15)-$P(STRING3,U,15) I Z2>0 S Z2=+Z2
 S X1=100-$P(STRING1,U,15),X2=100-$P(STRING2,U,15),X3=100-$P(STRING3,U,15)
 S DIFF1=$P(STRING1,U,9)-$P(STRING1,U,11),DIFF2=$P(STRING2,U,9)-$P(STRING2,U,11)
 S DIFF3=$P(STRING3,U,9)-$P(STRING3,U,11)
 S Y1=X1-X2 I Y1>0 S Y1=+Y1
 S Y2=X1-X3 I Y2>0 S Y2=+Y2
 S X="# w/Nutrition edu"_U_$P(STRING1,U,11)_U_$P(STRING1,U,15)_U_$P(STRING2,U,11)_U_$P(STRING2,U,15)_U_Z1_U_$P(STRING3,U,11)_U_$P(STRING3,U,15)_U_Z2
 D S^BGPMUDEL(X,1,1)
 S X="# w/o Nutrition edu"_U_DIFF1_U_X1_U_DIFF2_U_X2_U_Y1_U_DIFF3_U_X3_U_Y2
 D S^BGPMUDEL(X,1,1)
 S X="Numerator 3" D S^BGPMUDEL(X,2,1)
 S Z1=$P(STRING1,U,16)-$P(STRING2,U,16) I Z1>0 S Z1=+Z1
 S Z2=$P(STRING1,U,16)-$P(STRING3,U,16) I Z2>0 S Z2=+Z2
 S X1=100-$P(STRING1,U,16),X2=100-$P(STRING2,U,16),X3=100-$P(STRING3,U,16)
 S DIFF1=$P(STRING1,U,9)-$P(STRING1,U,12),DIFF2=$P(STRING2,U,9)-$P(STRING2,U,12)
 S DIFF3=$P(STRING3,U,9)-$P(STRING3,U,12)
 S Y1=X1-X2 I Y1>0 S Y1=+Y1
 S Y2=X1-X3 I Y2>0 S Y2=+Y2
 S X="# w/Activity edu"_U_$P(STRING1,U,12)_U_$P(STRING1,U,16)_U_$P(STRING2,U,12)_U_$P(STRING2,U,16)_U_Z1_U_$P(STRING3,U,12)_U_$P(STRING3,U,16)_U_Z2
 D S^BGPMUDEL(X,1,1)
 S X="# w/o Activity edu"_U_DIFF1_U_X1_U_DIFF2_U_X2_U_Y1_U_DIFF3_U_X3_U_Y2 D S^BGPMUDEL(X,1,1)
 S X="Denominator 3" D S^BGPMUDEL(X,2,1)
 S X="Pts 11-16"_U_$P(STRING1,U,17)_U_U_$P(STRING2,U,17)_U_U_U_$P(STRING3,U,17) D S^BGPMUDEL(X,1,1)
 S X="Numerator 1" D S^BGPMUDEL(X,2,1)
 S Z1=$P(STRING1,U,22)-$P(STRING2,U,22) I Z1>0 S Z1=+Z1
 S Z2=$P(STRING1,U,22)-$P(STRING3,U,22) I Z2>0 S Z2=+Z2
 S X1=100-$P(STRING1,U,22),X2=100-$P(STRING2,U,22),X3=100-$P(STRING3,U,22)
 S DIFF1=$P(STRING1,U,17)-$P(STRING1,U,18),DIFF2=$P(STRING2,U,17)-$P(STRING2,U,18)
 S DIFF3=$P(STRING3,U,17)-$P(STRING3,U,18)
 S Y1=X1-X2 I Y1>0 S Y1=+Y1
 S Y2=X1-X3 I Y2>0 S Y2=+Y2
 S X="# w/BMI Percentile"_U_$P(STRING1,U,18)_U_$P(STRING1,U,22)_U_$P(STRING2,U,18)_U_$P(STRING2,U,22)_U_Z1_U_$P(STRING3,U,18)_U_$P(STRING3,U,22)_U_Z2
 D S^BGPMUDEL(X,1,1)
 S X="# w/o BMI Percentile"_U_DIFF1_U_X1_U_DIFF2_U_X2_U_Y1_U_DIFF3_U_X3_U_Y2
 D S^BGPMUDEL(X,1,1)
 S X="Numerator 2" D S^BGPMUDEL(X,2,1)
 S Z1=$P(STRING1,U,23)-$P(STRING2,U,23) I Z1>0 S Z1=+Z1
 S Z2=$P(STRING1,U,23)-$P(STRING3,U,23) I Z2>0 S Z2=+Z2
 S X1=100-$P(STRING1,U,23),X2=100-$P(STRING2,U,23),X3=100-$P(STRING3,U,23)
 S DIFF1=$P(STRING1,U,17)-$P(STRING1,U,19),DIFF2=$P(STRING2,U,17)-$P(STRING2,U,19)
 S DIFF3=$P(STRING3,U,17)-$P(STRING3,U,19)
 S Y1=X1-X2 I Y1>0 S Y1=+Y1
 S Y2=X1-X3 I Y2>0 S Y2=+Y2
 S X="# w/Nutrition edu"_U_$P(STRING1,U,19)_U_$P(STRING1,U,23)_U_$P(STRING2,U,19)_U_$P(STRING2,U,23)_U_Z1_U_$P(STRING3,U,19)_U_$P(STRING3,U,23)_U_Z2
 D S^BGPMUDEL(X,1,1)
 S X="# w/o Nutrition edu"_U_DIFF1_U_X1_U_DIFF2_U_X2_U_Y1_U_DIFF3_U_X3_U_Y2
 D S^BGPMUDEL(X,1,1)
 S X="Numerator 3" D S^BGPMUDEL(X,2,1)
 S Z1=$P(STRING1,U,24)-$P(STRING2,U,24) I Z1>0 S Z1=+Z1
 S Z2=$P(STRING1,U,24)-$P(STRING3,U,24) I Z2>0 S Z2=+Z2
 S X1=100-$P(STRING1,U,24),X2=100-$P(STRING2,U,24),X3=100-$P(STRING3,U,24)
 S DIFF1=$P(STRING1,U,17)-$P(STRING1,U,20),DIFF2=$P(STRING2,U,17)-$P(STRING2,U,20)
 S DIFF3=$P(STRING3,U,17)-$P(STRING3,U,20)
 S Y1=X1-X2 I Y1>0 S Y1=+Y1
 S Y2=X1-X3 I Y2>0 S Y2=+Y2
 S X="# w/Activity edu"_U_$P(STRING1,U,20)_U_$P(STRING1,U,24)_U_$P(STRING2,U,20)_U_$P(STRING2,U,24)_U_Z1_U_$P(STRING3,U,20)_U_$P(STRING3,U,24)_U_Z2
 D S^BGPMUDEL(X,1,1)
 S X="# w/o Activity edu"_U_DIFF1_U_X1_U_DIFF2_U_X2_U_Y1_U_DIFF3_U_X3_U_Y2
 D S^BGPMUDEL(X,1,1)
 ;Output the individual data
 I $D(BGPLIST(BGPIC)) D P2
P1Q K ^TMP("BGPMU 2-10",$J)
 K ^TMP("BGPMU 11-16",$J)
 K ^TMP("BGPMU 2-16",$J)
 K ^TMP("BGPMU0024",$J)
 Q
D24(TF) ;Get the numbers for this measure
 N ARRAY,AG1,AG2,AG3,NUM1,NUM2,NUM3,NUM4,NUM5,NUM6,NUM7,NUM8,NUM9
 N PC1,PC2,PC3,PC4,PC5,PC6,PC7,PC8,PC9,DEN1,DEN2,DEN3
 S AG1=$G(^TMP("BGPMU 2-16",$J,TF,"POPULATION"))
 S AG2=$G(^TMP("BGPMU 2-10",$J,TF,"POPULATION"))
 S AG3=$G(^TMP("BGPMU 11-16",$J,TF,"POPULATION"))
 ;2-16 DATA
 S NUM1=+$P(AG1,U,1),NUM2=+$P(AG1,U,2),NUM3=+$P(AG1,U,3),DEN1=+$P(AG1,U,4),NONUM1=+$P(AG1,U,5)
 ; 2-10 DATA"
 S NUM4=+$P(AG2,U,1),NUM5=+$P(AG2,U,2),NUM6=+$P(AG2,U,3),DEN2=+$P(AG2,U,4),NONUM2=+$P(AG2,U,5)
 ; 11-16 DATA"
 S NUM7=+$P(AG3,U,1),NUM8=+$P(AG3,U,2),NUM9=+$P(AG3,U,3),DEN3=+$P(AG3,U,4),NONUM3=+$P(AG3,U,5)
 I DEN1=0 S (PC1,PC2,PC3)=0
 I DEN1>0 D
 .S PC1=$$ROUND^BGPMUA01((NUM1/DEN1),3)*100
 .S PC2=$$ROUND^BGPMUA01((NUM2/DEN1),3)*100
 .S PC3=$$ROUND^BGPMUA01((NUM3/DEN1),3)*100
 I DEN2=0 S (PC4,PC5,PC6)=0
 I DEN2>0 D
 .S PC4=$$ROUND^BGPMUA01((NUM4/DEN2),3)*100
 .S PC5=$$ROUND^BGPMUA01((NUM5/DEN2),3)*100
 .S PC6=$$ROUND^BGPMUA01((NUM6/DEN2),3)*100
 I DEN3=0 S (PC7,PC8,PC9)=0
 I DEN3>0 D
 .S PC7=$$ROUND^BGPMUA01((NUM7/DEN3),3)*100
 .S PC8=$$ROUND^BGPMUA01((NUM8/DEN3),3)*100
 .S PC9=$$ROUND^BGPMUA01((NUM9/DEN3),3)*100
 S ARRAY=DEN1_U_NUM1_U_NUM2_U_NUM3_U_NONUM1_U_$G(PC1)_U_$G(PC2)_U_$G(PC3)
 S ARRAY=ARRAY_U_DEN2_U_NUM4_U_NUM5_U_NUM6_U_NONUM2_U_$G(PC4)_U_$G(PC5)_U_$G(PC6)
 S ARRAY=ARRAY_U_DEN3_U_NUM7_U_NUM8_U_NUM9_U_NONUM3_U_$G(PC7)_U_$G(PC8)_U_$G(PC9)
 Q ARRAY
XML ;
 N STRING
 S STRING=$$D24("C")
 S BGPXML(1)="NQF_0024"_U_U_+$P(STRING,U,1)_U_+$P(STRING,U,2)
 K ^TMP("BGPMU0024",$J)
 K ^TMP("BGPMU 2-10",$J)
 K ^TMP("BGPMU 11-16",$J)
 K ^TMP("BGPMU 2-16",$J)
 Q
P2 ;Do the details
 N PT,NODE,NAME,VST,X,PTCT,NUM
 S PTCT=0
 D HEADER^BGPMUPH
 S X="Patients 2-16 who had at least 1 outpatient encounter with the EP" D S^BGPMUDEL(X,2,1)
 S X="during the reporting period, with documented BMI and counseling, if any." D S^BGPMUDEL(X,1,1)
 S X="Patients who do not meet the numerator criteria are listed first (NM:)," D S^BGPMUDEL(X,2,1)
 S X="followed by patients who do meet the numerator criteria (M:)." D S^BGPMUDEL(X,1,1)
 S X="The following are the abbreviations used in the denominator column:" D S^BGPMUDEL(X,2,1)
 S X="EN=Encounter" D S^BGPMUDEL(X,1,1)
 F NUM=1:1:3 D
 .S PTCT=0
 .S X=$P($T(NUMHDR+NUM),";;",2) D S^BGPMUDEL(X,2,1)
 .S X="NAME"_U_"HRN"_U_"COMMUNITY"_U_"SEX"_U_"AGE"_U_"DENOMINATOR"_U_"NUMERATOR"
 .D S^BGPMUDEL(X,2,1)
 .S LINE="",$P(LINE,"-",81)="" D S^BGPMUDEL(LINE,1,1)
 .I BGPLIST="D"!(BGPLIST="A") D
 ..K BGPARR
 ..D PTLSORT^BGPMUUTL(.BGPARR,"^TMP(""BGPMU0024"","_$J_",""PAT"",""C"",""NOT"","_NUM_")")
 ..S PT=0 F  S PT=$O(BGPARR(PT)) Q:'+PT  D
 ...S PTCT=PTCT+1
 ...S NODE=$G(BGPARR(PT))
 ...D DATA(NODE)
 .I BGPLIST="N"!(BGPLIST="A") D
 ..K BGPARR
 ..D PTLSORT^BGPMUUTL(.BGPARR,"^TMP(""BGPMU0024"","_$J_",""PAT"",""C"",""NUM"","_NUM_")")
 ..S PT=0 F  S PT=$O(BGPARR(PT)) Q:'+PT  D
 ...S PTCT=PTCT+1
 ...S NODE=$G(BGPARR(PT))
 ...D DATA(NODE)
 .S X="Total # of patients on list: "_PTCT D S^BGPMUDEL(X,2,1)
 Q
NUMHDR ;Headers for indiv numerator lists
 ;;Numerator 1 BMI Percentile:
 ;;Numerator 2 Nutrition Education:
 ;;Numerator 3 Physical Activity Education: 
 Q
DATA(NODE) ;GET DATA
 N NAME,HRN,DEN,NUM,AGE,DFN,SEX,COMM,NUM1,NUM2,NUM3,DEN1
 S DFN=$P(NODE,U,1)
 S NAME=$E($$GET1^DIQ(2,$P(NODE,U,1),.01),1,22)
 S HRN=$$HRN^AUPNPAT(DFN,DUZ(2))
 S AGE=$$AGE^AUPNPAT(DFN,BGPED)
 S DEN=$P(NODE,U,2),NUM=$P(NODE,U,3)
 S COMM=$$GET1^DIQ(9000001,DFN,1118)
 S SEX=$P(^DPT(DFN,0),U,2)
 S X=NAME_U_HRN_U_COMM_U_SEX_U_AGE_U_DEN_U_NUM
 D S^BGPMUDEL(X,1,1)
 Q
SUMMARY(STRING1,STRING2,STRING3) ;Save data for output routine
 N DESC,LINE
 K ^TMP("BGPMU SUMMARY",$J,BGPIC)
 S ^TMP("BGPMU SUMMARY",$J,BGPIC)="0024^239"
 ;den1,num2
 S DESC="2-16 w/BMI Percentile"
 S LINE=""
 S LINE="MU.EP.0024.1"_U_DESC_U_U_$P(STRING1,U,1)_U_$P(STRING1,U,2)_U_$P(STRING1,U,6)_U_U_U_U_U
 S LINE=LINE_U_$P(STRING2,U,1)_U_$P(STRING2,U,2)_U_$P(STRING2,U,6)_U_U_$P(STRING3,U,1)_U_$P(STRING3,U,2)_U_$P(STRING3,U,6)
 S ^TMP("BGPMU SUMMARY",$J,BGPIC,1)=LINE
 ;den1,num2
 S DESC="2-16 w/Nutrition Counseling"
 S LINE=""
 S LINE="MU.EP.0024.2"_U_DESC_U_U_$P(STRING1,U,1)_U_$P(STRING1,U,3)_U_$P(STRING1,U,7)_U_U_U_U_U
 S LINE=LINE_U_$P(STRING2,U,1)_U_$P(STRING2,U,3)_U_$P(STRING2,U,7)_U_U_$P(STRING3,U,1)_U_$P(STRING3,U,3)_U_$P(STRING3,U,7)
 S ^TMP("BGPMU SUMMARY",$J,BGPIC,2)=LINE
 ;den1,num3
 S DESC="2-16 w/Physical Activity Counseling"
 S LINE=""
 S LINE="MU.EP.0024.3"_U_DESC_U_U_$P(STRING1,U,1)_U_$P(STRING1,U,4)_U_$P(STRING1,U,8)_U_U_U_U_U
 S LINE=LINE_U_$P(STRING2,U,1)_U_$P(STRING2,U,4)_U_$P(STRING2,U,8)_U_U_$P(STRING3,U,1)_U_$P(STRING3,U,4)_U_$P(STRING3,U,8)
 S ^TMP("BGPMU SUMMARY",$J,BGPIC,3)=LINE
 ;den2,num1
 S DESC="2-10 w/BMI Percentile"
 S LINE=""
 S LINE="MU.EP.0024.4"_U_DESC_U_U_$P(STRING1,U,9)_U_$P(STRING1,U,10)_U_$P(STRING1,U,14)_U_U_U_U_U
 S LINE=LINE_U_$P(STRING2,U,9)_U_$P(STRING2,U,10)_U_$P(STRING2,U,14)_U_U_$P(STRING3,U,9)_U_$P(STRING3,U,10)_U_$P(STRING3,U,14)
 S ^TMP("BGPMU SUMMARY",$J,BGPIC,4)=LINE
 ;den2,num2
 S DESC="2-10 w/Nutrition Counseling"
 S LINE=""
 S LINE="MU.EP.0024.5"_U_DESC_U_U_$P(STRING1,U,9)_U_$P(STRING1,U,11)_U_$P(STRING1,U,15)_U_U_U_U_U
 S LINE=LINE_U_$P(STRING2,U,9)_U_$P(STRING2,U,11)_U_$P(STRING2,U,15)_U_U_$P(STRING3,U,9)_U_$P(STRING3,U,11)_U_$P(STRING3,U,15)
 S ^TMP("BGPMU SUMMARY",$J,BGPIC,5)=LINE
 ;den2,num3
 S DESC="2-10 w/Physical Activity Counseling"
 S LINE=""
 S LINE="MU.EP.0024.6"_U_DESC_U_U_$P(STRING1,U,9)_U_$P(STRING1,U,12)_U_$P(STRING1,U,16)_U_U_U_U_U
 S LINE=LINE_U_$P(STRING2,U,9)_U_$P(STRING2,U,12)_U_$P(STRING2,U,16)_U_U_$P(STRING3,U,9)_U_$P(STRING3,U,12)_U_$P(STRING3,U,16)
 S ^TMP("BGPMU SUMMARY",$J,BGPIC,6)=LINE
 ;den3,num1
 S DESC="11-16 w/BMI Percentile"
 S LINE=""
 S LINE="MU.EP.0024.7"_U_DESC_U_U_$P(STRING1,U,17)_U_$P(STRING1,U,18)_U_$P(STRING1,U,22)_U_U_U_U_U
 S LINE=LINE_U_$P(STRING2,U,17)_U_$P(STRING2,U,18)_U_$P(STRING2,U,22)_U_U_$P(STRING3,U,17)_U_$P(STRING3,U,18)_U_$P(STRING3,U,22)
 S ^TMP("BGPMU SUMMARY",$J,BGPIC,7)=LINE
 ;den3,num2
 S DESC="11-16 w/Nutrition Counseling"
 S LINE=""
 S LINE="MU.EP.0024.8"_U_DESC_U_U_$P(STRING1,U,17)_U_$P(STRING1,U,19)_U_$P(STRING1,U,23)_U_U_U_U_U
 S LINE=LINE_U_$P(STRING2,U,17)_U_$P(STRING2,U,19)_U_$P(STRING2,U,23)_U_U_$P(STRING3,U,17)_U_$P(STRING3,U,19)_U_$P(STRING3,U,23)
 S ^TMP("BGPMU SUMMARY",$J,BGPIC,8)=LINE
 ;den3,num3
 S DESC="11-16 w/Physical Activity Counseling"
 S LINE=""
 S LINE="MU.EP.0024.9"_U_DESC_U_U_$P(STRING1,U,17)_U_$P(STRING1,U,20)_U_$P(STRING1,U,24)_U_U_U_U_U
 S LINE=LINE_U_$P(STRING2,U,17)_U_$P(STRING2,U,20)_U_$P(STRING2,U,24)_U_U_$P(STRING3,U,17)_U_$P(STRING3,U,20)_U_$P(STRING3,U,24)
 S ^TMP("BGPMU SUMMARY",$J,BGPIC,9)=LINE
 Q