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

BGP4DSP.m

Go to the documentation of this file.
BGP4DSP ; IHS/CMI/LAB - IHS summary page 16 Nov 2010 7:12 AM ;
 ;;14.1;IHS CLINICAL REPORTING;;MAY 29, 2014;Build 114
 ;
START ;
 I BGPRTYPE'=1 Q
 I $G(BGPNPL) Q  ;not on gpra pat list
 I $G(BGPCPPL) Q  ;not on comp list
 S BGPQUIT=""
 D HEADER
 NEW P8,P4,P7,P12
 S P8=$S('$G(BGPNGR09):8,1:8)  ;CHANGE 1:8 TO 1:13
 S P4=$S('$G(BGPNGR09):4,1:4)  ;CHANGE 1:4 TO 1:14
 S P7=$S('$G(BGPNGR09):7,1:7)  ;CHANGE 1:7 TO 1:15
 S P12=$S('$G(BGPNGR09):12,1:12) ;CHANGE 1:12 TO 1:16
 S BGPC=0 F  S BGPC=$O(^TMP($J,"SUMMARY",BGPC)) Q:BGPC'=+BGPC!(BGPQUIT)  D
 .I BGPPTYPE="P",$Y>(BGPIOSL-3) D HEADER Q:BGPQUIT
 .S BGPC1=$O(^BGPSCAT("C",BGPC,0))
 .D W^BGP4DP("",0,1,BGPPTYPE)
 .D W^BGP4DP($P(^BGPSCAT(BGPC1,0),U),0,1,BGPPTYPE)  ;W !,$P(^BGPSCAT(BGPC1,0),U)
 .S BGPO="" F  S BGPO=$O(^TMP($J,"SUMMARY",BGPC,BGPO)) Q:BGPO=""!(BGPQUIT)  D
 ..S BGPPC=$O(^TMP($J,"SUMMARY",BGPC,BGPO,0))
 ..Q:$P($G(^BGPINDJC(BGPPC,22)),U,13)  ;part measure displays last
 ..I BGPPTYPE="P" D
 ...I $Y>(BGPIOSL-4) D HEADER Q:BGPQUIT
 ...I $P(^BGPINDJC(BGPPC,0),U,4)["014.A"!($P(^BGPINDJC(BGPPC,0),U,4)["023.")!($P(^BGPINDJC(BGPPC,0),U,4)="016.A.1")!($P(^BGPINDJC(BGPPC,0),U,4)="016.A.5")!($P($G(^BGPINDJC(BGPPC,19)),U,13)) D  I 1
 ....D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,P4),0,1,BGPPTYPE)
 ....I $P(^BGPINDJC(BGPPC,14),U,P7)]"" D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,P7),0,1,BGPPTYPE)
 ....I $P(^BGPINDJC(BGPPC,14),U,P12)]"" D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,P12),0,1,BGPPTYPE)
 ....D W^BGP4DP($J($P(^TMP($J,"SUMMARY",BGPC,BGPO,BGPPC),U),7,0),0,0,BGPPTYPE,2,26)
 ....D W^BGP4DP($J($P(^TMP($J,"SUMMARY",BGPC,BGPO,BGPPC),U,2),7,0),0,0,BGPPTYPE,3,34)
 ....D W^BGP4DP($J($P(^TMP($J,"SUMMARY",BGPC,BGPO,BGPPC),U,3),7,0),0,0,BGPPTYPE,4,41)
 ....D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,P8),0,0,BGPPTYPE,5,53)
 ....D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,2),0,0,BGPPTYPE,6,64)
 ....D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,3),0,0,BGPPTYPE,7,73)
 ...E  D
 ....D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,P4),0,1,BGPPTYPE,1)
 ....I $P(^BGPINDJC(BGPPC,14),U,P7)]"" D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,P7),0,1,BGPPTYPE)  ;W !,$P(^BGPINDJC(BGPPC,14),U,P7)
 ....I $P(^BGPINDJC(BGPPC,14),U,P12)]"" D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,P12),0,1,BGPPTYPE)  ;W !,$P(^BGPINDJC(BGPPC,14),U,P12)
 ....D W^BGP4DP($J($P(^TMP($J,"SUMMARY",BGPC,BGPO,BGPPC),U),7,1)_"%",0,0,BGPPTYPE,2,26)
 ....D W^BGP4DP($J($P(^TMP($J,"SUMMARY",BGPC,BGPO,BGPPC),U,2),7,1)_"%",0,0,BGPPTYPE,3,34)
 ....D W^BGP4DP($J($P(^TMP($J,"SUMMARY",BGPC,BGPO,BGPPC),U,3),7,1)_"%",0,0,BGPPTYPE,4,41)
 ....D W^BGP4DP($TR($P(^BGPINDJC(BGPPC,14),U,P8),"$","^"),0,0,BGPPTYPE,5,53)
 ....D W^BGP4DP($TR($P(^BGPINDJC(BGPPC,14),U,2),"$","^"),0,0,BGPPTYPE,6,64)
 ....D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,3),0,0,BGPPTYPE,7,73)
 ....I $P(^BGPINDJC(BGPPC,14),U,9)]""!($P(^BGPINDJC(BGPPC,14),U,10)]"")!($P(^BGPINDJC(BGPPC,14),U,11)]"") D
 .....D W^BGP4DP($TR($P(^BGPINDJC(BGPPC,14),U,9),"$","^"),0,1,BGPPTYPE,5,53),W^BGP4DP($TR($P(^BGPINDJC(BGPPC,14),U,10),"$","^"),0,0,BGPPTYPE,6,64),W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,11),0,0,7,73)
 ..I BGPPTYPE="D" D
 ...S X=""
 ...I $P(^BGPINDJC(BGPPC,0),U,4)["014.A"!($P(^BGPINDJC(BGPPC,0),U,4)["023.")!($P(^BGPINDJC(BGPPC,0),U,4)="016.A.1")!($P(^BGPINDJC(BGPPC,0),U,4)="016.A.5")!($P($G(^BGPINDJC(BGPPC,19)),U,13)) D  I 1
 ....S X=$P(^BGPINDJC(BGPPC,14),U,P4)
 ....I $P(^BGPINDJC(BGPPC,14),U,P7)]"" D W^BGP4DP(X,0,1,BGPPTYPE) S X=$P(^BGPINDJC(BGPPC,14),U,P7)
 ....I $P(^BGPINDJC(BGPPC,14),U,P12)]"" D W^BGP4DP(X,0,1,BGPPTYPE) S X=$P(^BGPINDJC(BGPPC,14),U,P12)
 ....S $P(X,U,2)=$P(^TMP($J,"SUMMARYDEL",BGPC,BGPO,BGPPC),U)
 ....S $P(X,U,3)=$P(^TMP($J,"SUMMARYDEL",BGPC,BGPO,BGPPC),U,2)
 ....S $P(X,U,4)=$P(^TMP($J,"SUMMARYDEL",BGPC,BGPO,BGPPC),U,3)
 ....S $P(X,U,5)=$P(^BGPINDJC(BGPPC,14),U,P8)
 ....S $P(X,U,6)=$P(^BGPINDJC(BGPPC,14),U,2),$P(X,U,7)=$P(^BGPINDJC(BGPPC,14),U,3)
 ....D W^BGP4DP(X,0,1,BGPPTYPE)
 ...E  D
 ....S X=$P(^BGPINDJC(BGPPC,14),U,P4)
 ....I $P(^BGPINDJC(BGPPC,14),U,P7)]"" D W^BGP4DP(X,0,1,BGPPTYPE) S X=$P(^BGPINDJC(BGPPC,14),U,P7)
 ....I $P(^BGPINDJC(BGPPC,14),U,P12)]"" D W^BGP4DP(X,0,1,BGPPTYPE) S X=$P(^BGPINDJC(BGPPC,14),U,P12)
 ....S $P(X,U,2)=$P(^TMP($J,"SUMMARYDEL",BGPC,BGPO,BGPPC),U)_"%"
 ....S $P(X,U,3)=$P(^TMP($J,"SUMMARYDEL",BGPC,BGPO,BGPPC),U,2)_"%"
 ....S $P(X,U,4)=$P(^TMP($J,"SUMMARYDEL",BGPC,BGPO,BGPPC),U,3)_"%"
 ....S $P(X,U,5)=$TR($P(^BGPINDJC(BGPPC,14),U,P8),"$","^")
 ....S $P(X,U,6)=$TR($P(^BGPINDJC(BGPPC,14),U,2),"$","^"),$P(X,U,7)=$P(^BGPINDJC(BGPPC,14),U,3)
 ....D W^BGP4DP(X,0,1,BGPPTYPE)
 ....S X="" I $P(^BGPINDJC(BGPPC,14),U,9)]""!($P(^BGPINDJC(BGPPC,14),U,10)]"")!($P(^BGPINDJC(BGPPC,14),U,11)]"") S $P(X,U,5)=$TR($P(^BGPINDJC(BGPPC,14),U,9),"$","^"),$P(X,U,6)=$TR($P(^BGPINDJC(BGPPC,14),U,10),"$","^") D
 .....S $P(X,U,7)=$P(^BGPINDJC(BGPPC,14),U,11)
 .....I X]"" D W^BGP4DP(X,0,1,BGPPTYPE)
 I BGPPTYPE="P" I $Y>(BGPIOSL-9) D HEADER Q:BGPQUIT
 ;I $G(BGPNGR09) D FOOTER10 Q
 ;D W^BGP4DP("* GPRA 2014 targets represented here are preliminary targets since",0,1,BGPPTYPE)
 ;D W^BGP4DP("IHS is awaiting notification of final targets.",0,1,BGPPTYPE)
 D W^BGP4DP(" * Measure definition changed in 2013.",0,2,BGPPTYPE)
 D W^BGP4DP("** Measure definition changed in 2014.",0,1,BGPPTYPE)
 ;D W^BGP4DP(" + Site Previous and Site Baseline values are not applicable for this measure.",0,1,BGPPTYPE)
 D W^BGP4DP("",0,1,BGPPTYPE)
 ;D PART
 Q
FOOTER10 ;EP
 W !,"  * GPRA 2014 targets represented here are preliminary targets since they will"
 W !,"be adjusted for FY 2014 actual results and FY 2014 appropriations."
 W !," * Measure definition changed in 2007."
 W !,"*** Not official GPRA measure but included to show percentage of refusals with",!,"respect to GPRA measure."
 ;W !,"  + Site Previous and Site Baseline values are not applicable for this measure."
 W !
 Q
 ;
 D HEADER^BGP4DPH
 D H1
 Q
H1 ;
 S X="OFFICIAL GPRA/GPRAMA MEASURES CLINICAL PERFORMANCE SUMMARY" D W^BGP4DP(X,1,1,BGPPTYPE)
 I $G(BGPAREAA) D W^BGP4DP("Area",0,1,BGPPTYPE,2,27),W^BGP4DP("Area",0,0,BGPPTYPE,3,35) D
  .D W^BGP4DP("Area",0,0,BGPPTYPE,4,44),W^BGP4DP($S('$G(BGPNGR09):"GPRA",1:"GPRA"),0,0,BGPPTYPE,5,53),W^BGP4DP("Nat'l",0,0,BGPPTYPE,6,64),W^BGP4DP("2020",0,0,BGPPTYPE,7,73)  ;CHANGE 1:"GPRA" TO 1:"GPRA"
 I '$G(BGPAREAA) D W^BGP4DP("Site",0,1,BGPPTYPE,2,27),W^BGP4DP("Site",0,0,BGPPTYPE,3,35) D
  .D W^BGP4DP("Site",0,0,BGPPTYPE,4,44),W^BGP4DP($S('$G(BGPNGR09):"GPRA",1:"GPRA"),0,0,BGPPTYPE,5,53),W^BGP4DP("Nat'l",0,0,BGPPTYPE,6,64),W^BGP4DP("2020",0,0,BGPPTYPE,7,73)  ;CHANGE 1:"GPRA" TO 1:"GPRA"
 D W^BGP4DP("Current",0,1,BGPPTYPE,2,26),W^BGP4DP("Previous",0,0,BGPPTYPE,3,34) D
  .D W^BGP4DP("Baseline",0,0,BGPPTYPE,4,43),W^BGP4DP("Target"_$S($G(BGPNGR09):"",1:""),0,0,BGPPTYPE,5,53),W^BGP4DP("2013",0,0,BGPPTYPE,6,64),W^BGP4DP("Target",0,0,BGPPTYPE,7,73)  ;CHANGE 09 TO "*" IF NEEDED
 D W^BGP4DP($TR($J("",80)," ","-"),0,1,BGPPTYPE)
 Q
CTR(X,Y) ;EP - Center X in a field Y wide.
 Q $J("",$S($D(Y):Y,1:IOM)-$L(X)\2)_X
 ;----------
USR() ;EP - Return name of current user from ^VA(200.
 Q $S($G(DUZ):$S($D(^VA(200,DUZ,0)):$P(^(0),U),1:"UNKNOWN"),1:"DUZ UNDEFINED OR 0")
 ;----------
LOC() ;EP - Return location name from file 4 based on DUZ(2).
 Q $S($G(DUZ(2)):$S($D(^DIC(4,DUZ(2),0)):$P(^(0),U),1:"UNKNOWN"),1:"DUZ(2) UNDEFINED OR 0")
 ;----------
PART ;
 D HEADERP
 S P1=$S($G(BGPNGR09):8,1:8)  ;CHANGE 1:14 TO 1:8
 S BGPC=0 F  S BGPC=$O(^TMP($J,"SUMMARY",BGPC)) Q:BGPC'=+BGPC!(BGPQUIT)  D
 .I BGPPTYPE="P",$Y>(BGPIOSL-3) D HEADERP Q:BGPQUIT
 .S BGPC1=$O(^BGPSCAT("C",BGPC,0))
 .;W !
 .;W !,$P(^BGPSCAT(BGPC1,0),U)
 .S BGPO="" F  S BGPO=$O(^TMP($J,"SUMMARY",BGPC,BGPO)) Q:BGPO=""!(BGPQUIT)  D
 ..S BGPPC=$O(^TMP($J,"SUMMARY",BGPC,BGPO,0))
 ..Q:'$P($G(^BGPINDJC(BGPPC,22)),U,13)  ;part measures only
 ..I BGPPTYPE="P" D
 ...I BGPPTYPE,$Y>(BGPIOSL-4) D HEADERP Q:BGPQUIT
 ...I $P(^BGPINDJC(BGPPC,0),U,4)["014.A"!($P(^BGPINDJC(BGPPC,0),U,4)["023.")!($P(^BGPINDJC(BGPPC,0),U,4)="016.A.1")!($P(^BGPINDJC(BGPPC,0),U,4)="016.A.5")!($P($G(^BGPINDJC(BGPPC,19)),U,13)) D  I 1
 ....D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,P4),0,1,BGPPTYPE)
 ....I $P(^BGPINDJC(BGPPC,14),U,P7)]"" D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,P7),0,1,BGPPTYPE)
 ....I $P(^BGPINDJC(BGPPC,14),U,P12)]"" D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,P12),0,1,BGPPTYPE)
 ....D W^BGP4DP($J($P(^TMP($J,"SUMMARY",BGPC,BGPO,BGPPC),U),7,0),0,0,BGPPTYPE,2,26)
 ....D W^BGP4DP($J($P(^TMP($J,"SUMMARY",BGPC,BGPO,BGPPC),U,2),7,0),0,0,BGPPTYPE,3,34)
 ....D W^BGP4DP($J($P(^TMP($J,"SUMMARY",BGPC,BGPO,BGPPC),U,3),7,0),0,0,BGPPTYPE,4,44)
 ....D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,P8),0,0,BGPPTYPE,5,53)
 ....D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,2),0,0,BGPPTYPE,6,64)
 ....D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,3),0,0,BGPPTYPE,7,73)
 ...E  D
 ....D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,P4),0,1,BGPPTYPE,1)
 ....I $P(^BGPINDJC(BGPPC,14),U,P7)]"" D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,P7),0,1,BGPPTYPE)  ;W !,$P(^BGPINDJC(BGPPC,14),U,P7)
 ....I $P(^BGPINDJC(BGPPC,14),U,P12)]"" D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,P12),0,1,BGPPTYPE)  ;W !,$P(^BGPINDJC(BGPPC,14),U,P12)
 ....D W^BGP4DP($J($P(^TMP($J,"SUMMARY",BGPC,BGPO,BGPPC),U),7,1)_"%",0,0,BGPPTYPE,2,26)
 ....D W^BGP4DP($J($P(^TMP($J,"SUMMARY",BGPC,BGPO,BGPPC),U,2),7,1)_"%",0,0,BGPPTYPE,3,34)
 ....D W^BGP4DP($J($P(^TMP($J,"SUMMARY",BGPC,BGPO,BGPPC),U,3),7,1)_"%",0,0,BGPPTYPE,4,44)
 ....D W^BGP4DP($TR($P(^BGPINDJC(BGPPC,14),U,P8),"$","^"),0,0,BGPPTYPE,5,53)
 ....D W^BGP4DP($TR($P(^BGPINDJC(BGPPC,14),U,2),"$","^"),0,0,BGPPTYPE,6,64)
 ....D W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,3),0,0,BGPPTYPE,7,73)
 ....I $P(^BGPINDJC(BGPPC,14),U,9)]""!($P(^BGPINDJC(BGPPC,14),U,10)]"")!($P(^BGPINDJC(BGPPC,14),U,11)]"") D
 .....D W^BGP4DP($TR($P(^BGPINDJC(BGPPC,14),U,9),"$","^"),0,1,BGPPTYPE,5,53),W^BGP4DP($TR($P(^BGPINDJC(BGPPC,14),U,10),"$","^"),0,0,BGPPTYPE,6,64),W^BGP4DP($P(^BGPINDJC(BGPPC,14),U,11),0,0,7,73)
 ..I BGPPTYPE="D" D
 ...S X=""
 ...I $P(^BGPINDJC(BGPPC,0),U,4)["014.A"!($P(^BGPINDJC(BGPPC,0),U,4)["023.")!($P(^BGPINDJC(BGPPC,0),U,4)="016.A.1")!($P(^BGPINDJC(BGPPC,0),U,4)="016.A.5")!($P($G(^BGPINDJC(BGPPC,19)),U,13)) D  I 1
 ....S X=$P(^BGPINDJC(BGPPC,14),U,P4)
 ....I $P(^BGPINDJC(BGPPC,14),U,P7)]"" D W^BGP4DP(X,0,1,BGPPTYPE) S X=$P(^BGPINDJC(BGPPC,14),U,P7)
 ....I $P(^BGPINDJC(BGPPC,14),U,P12)]"" D W^BGP4DP(X,0,1,BGPPTYPE) S X=$P(^BGPINDJC(BGPPC,14),U,P12)
 ....S $P(X,U,2)=$P(^TMP($J,"SUMMARYDEL",BGPC,BGPO,BGPPC),U)
 ....S $P(X,U,3)=$P(^TMP($J,"SUMMARYDEL",BGPC,BGPO,BGPPC),U,2)
 ....S $P(X,U,4)=$P(^TMP($J,"SUMMARYDEL",BGPC,BGPO,BGPPC),U,3)
 ....S $P(X,U,5)=$P(^BGPINDJC(BGPPC,14),U,P8)
 ....S $P(X,U,6)=$P(^BGPINDJC(BGPPC,14),U,2),$P(X,U,7)=$P(^BGPINDJC(BGPPC,14),U,3)
 ....D W^BGP4DP(X,0,1,BGPPTYPE)
 ...E  D
 ....S X=$P(^BGPINDJC(BGPPC,14),U,P4)
 ....I $P(^BGPINDJC(BGPPC,14),U,P7)]"" D W^BGP4DP(X,0,1,BGPPTYPE) S X=$P(^BGPINDJC(BGPPC,14),U,P7)
 ....I $P(^BGPINDJC(BGPPC,14),U,P12)]"" D W^BGP4DP(X,0,1,BGPPTYPE) S X=$P(^BGPINDJC(BGPPC,14),U,P12)
 ....S $P(X,U,2)=$P(^TMP($J,"SUMMARYDEL",BGPC,BGPO,BGPPC),U)_"%"
 ....S $P(X,U,3)=$P(^TMP($J,"SUMMARYDEL",BGPC,BGPO,BGPPC),U,2)_"%"
 ....S $P(X,U,4)=$P(^TMP($J,"SUMMARYDEL",BGPC,BGPO,BGPPC),U,3)_"%"
 ....S $P(X,U,5)=$TR($P(^BGPINDJC(BGPPC,14),U,P8),"$","^")
 ....S $P(X,U,6)=$TR($P(^BGPINDJC(BGPPC,14),U,2),"$","^"),$P(X,U,7)=$P(^BGPINDJC(BGPPC,14),U,3)
 ....D W^BGP4DP(X,0,1,BGPPTYPE)
 ....S X="" I $P(^BGPINDJC(BGPPC,14),U,9)]""!($P(^BGPINDJC(BGPPC,14),U,10)]"")!($P(^BGPINDJC(BGPPC,14),U,11)]"") S $P(X,U,5)=$TR($P(^BGPINDJC(BGPPC,14),U,9),"$","^"),$P(X,U,6)=$TR($P(^BGPINDJC(BGPPC,14),U,10),"$","^") D
 .....S $P(X,U,7)=$P(^BGPINDJC(BGPPC,14),U,11)
 .....I X]"" D W^BGP4DP(X,0,1,BGPPTYPE)
 I BGPPTYPE="P",$Y>(BGPIOSL-9) D HEADERP Q:BGPQUIT
 D W^BGP4DP("",0,1,BGPPTYPE)
 ;I $G(BGPNGR09) D
 ;.D W^BGP4DP(" * PART 2014 target represented here is a preliminary target since it will be",0,1,BGPPTYPE)
 ;.D W^BGP4DP("adjusted for FY 2014 actual results and FY 2014 appropriations.",0,1,BGPPTYPE)
 D W^BGP4DP($S($G(BGPNGR09):"*",1:"*")_" Federally Administered Activities measure.  National 2013 rate is for federal",0,1,BGPPTYPE)  ;CHANGE NGR09 TO "**"
 D W^BGP4DP("sites only.",0,1,BGPPTYPE)
 D W^BGP4DP("",0,1,BGPPTYPE)
 Q
 ;
HEADERP ;EP
 D HEADER^BGP4DPH
 D H1P
 Q
H1P ;
 S X="OFFICIAL GPRA/GPRAMA MEASURES CLINICAL PERFORMANCE SUMMARY" D W^BGP4DP(X,1,1,BGPPTYPE)
 I $G(BGPAREAA) D W^BGP4DP("Area",0,1,BGPPTYPE,2,27),W^BGP4DP("Area",0,0,BGPPTYPE,3,35) D
  .D W^BGP4DP("Area",0,0,BGPPTYPE,4,44),W^BGP4DP($S('$G(BGPNGR09):"PART",1:"PART"),0,0,BGPPTYPE,5,53),W^BGP4DP("Nat'l",0,0,BGPPTYPE,6,63),W^BGP4DP("2020",0,0,BGPPTYPE,7,73)
 I '$G(BGPAREAA) D W^BGP4DP("Site",0,1,BGPPTYPE,2,27),W^BGP4DP("Site",0,0,BGPPTYPE,3,35) D
  .D W^BGP4DP("Site",0,0,BGPPTYPE,4,44),W^BGP4DP($S('$G(BGPNGR09):"PART",1:"PART"),0,0,BGPPTYPE,5,53),W^BGP4DP("Nat'l",0,0,BGPPTYPE,6,63),W^BGP4DP("2020",0,0,BGPPTYPE,7,73)
 D W^BGP4DP("Current",0,1,BGPPTYPE,2,26),W^BGP4DP("Previous",0,0,BGPPTYPE,3,34) D
 .D W^BGP4DP("Baseline",0,0,BGPPTYPE,4,43),W^BGP4DP("Target"_$S($G(BGPNGR09):"",1:""),0,0,BGPPTYPE,5,53),W^BGP4DP("2013",0,0,BGPPTYPE,6,63),W^BGP4DP("Target",0,0,BGPPTYPE,7,73)
 D W^BGP4DP($TR($J("",80)," ","-"),0,1,BGPPTYPE)
 D W^BGP4DP("PART MEASURE",0,2,BGPPTYPE)
 D W^BGP4DP("------------",0,1,BGPPTYPE)
 D W^BGP4DP("",0,1,BGPPTYPE)
 Q