BGPMUDP7 ; IHS/MSC/SAT - MU EP measures NQF0385 ;08-SEP-2011 11:26;DU
;;14.1;IHS CLINICAL REPORTING;**1**;MAY 29, 2014;Build 2
;Printed output reports for this measure
POCC ;EP
D P1
K ^TMP("BGPMU0385",$J)
Q
P1 ;Write individual measure
N X,Y,Z,LIST1,LIST2,LIST3
N DEN1,NUM1,NUM2,PC1,PC2,STRING1,STRING2,STRING3,SUMCT
N PRD1,PRD2,PRD3,PRD4,PRN1,PRN2,PRN3,PRN4,PRN5,PRN6,PRD5,PRD6
S SUMCT=0
S STRING1=$$NUM385("C")
S STRING2=$$NUM385("P")
S STRING3=$$NUM385("B")
D SUMMARY1(STRING1,STRING2,STRING3)
;Population
S PRD11=$P(STRING1,U,5)-$P(STRING2,U,5)
S PRD14=$P(STRING1,U,9)-$P(STRING2,U,9)
S PRN11=$P(STRING1,U,5)-$P(STRING3,U,5)
S PRN14=$P(STRING1,U,9)-$P(STRING3,U,9)
D HEADER^BGPMUPH Q:BGPQUIT
D HDRBLK^BGPMUPH
I $Y>(BGPIOSL-3) D HEADER^BGPMUPH,HDRBLK^BGPMUPH Q:BGPQUIT
W !,"Pts 18+ w/stage III",?33,$P(STRING1,U,1),?44,$P(STRING2,U,1),?64,$P(STRING3,U,1)
W !,"colon cancer"
I $Y>(BGPIOSL-3) D HEADER^BGPMUPH,HDRBLK^BGPMUPH Q:BGPQUIT
W !,"# Excluded (Exc)",?33,+$P(STRING1,U,4),?44,+$P(STRING2,U,4),?64,+$P(STRING3,U,4)
I $Y>(BGPIOSL-3) D HEADER^BGPMUPH,HDRBLK^BGPMUPH Q:BGPQUIT
W !,"Pts 18+ w/stage III",?33,$P(STRING1,U,3),?44,$P(STRING2,U,3),?64,$P(STRING3,U,3)
W !,"colon cancer less Exc"
I $Y>(BGPIOSL-3) D HEADER^BGPMUPH,HDRBLK^BGPMUPH Q:BGPQUIT
;
W !!,"# w/adjuvant chemotherapy",?33,+$P(STRING1,U,2),?38,$J($P(STRING1,U,5),5,1),?44,+$P(STRING2,U,2),?49,$J($P(STRING2,U,5),5,1),?56,$J($FN(PRD11,",+",1),6),?64,+$P(STRING3,U,2),?68,$J($P(STRING3,U,5),5,1),?74,$J($FN(PRN11,",+",1),6)
I $Y>(BGPIOSL-3) D HEADER^BGPMUPH,HDRBLK^BGPMUPH Q:BGPQUIT
W !,"# w/o adjuvant chemotherapy",?33,+$P(STRING1,U,8),?38,$J($P(STRING1,U,9),5,1),?44,+$P(STRING2,U,8),?49,$J($P(STRING2,U,9),5,1),?56,$J($FN(PRD14,",+",1),6),?64,+$P(STRING3,U,8),?68,$J($P(STRING3,U,9),5,1),?74,$J($FN(PRN14,",+",1),6)
I $Y>(BGPIOSL-3) D HEADER^BGPMUPH,HDRBLK^BGPMUPH Q:BGPQUIT
;
I $D(BGPLIST(BGPIC)) D P2
;
Q
;
NUM385(TF) ;Get the numbers for this measure
N ARRAY,DEN,NUM,EXC,NOT,PC1,PC11,PC2,PC14,PC21,PC13,NNUM
S DEN1=+$G(^TMP("BGPMU0385",$J,TF,"DEN",1))
S NUM1=+$G(^TMP("BGPMU0385",$J,TF,"NUM",1))
S NOT1=+$G(^TMP("BGPMU0385",$J,TF,"NOT",1))
S EXC1=+$G(^TMP("BGPMU0385",$J,TF,"EXC",1))
;
S NNUMD1=DEN1-EXC1
I DEN1=0 S (PC1D1,PC11D1,PC13D1,PC14D1)=0
I DEN1>0&(NNUMD1=0) D
.S (PC1D1,PC11D1,PC14D1)=0
.S PC13D1=$$ROUND^BGPMUA01((EXC1/DEN1),3)*100
I DEN1>0&(NNUMD1>0) D
.S PC1D1=$$ROUND^BGPMUA01((NUM1/NNUMD1),3)*100
.S PC11D1=$$ROUND^BGPMUA01((NNUMD1/DEN1),3)*100
.S PC13D1=$$ROUND^BGPMUA01((EXC1/DEN1),3)*100
.S PC14D1=$$ROUND^BGPMUA01((NOT1/NNUMD1),3)*100
; 1 2 3 4 5 6 7 8 9 10 11 12 13
S ARRAY=(+DEN1)_U_+NUM1_U_(+NNUMD1)_U_+EXC1_U_(+PC1D1)_U_PC11D1_U_PC13D1_U_+NOT1_U_+PC14D1
Q ARRAY
;
P2 ;Do the Details
N PT,NODE,NAME,VST,BMI,FOL,X,PTCT,BGPARR,LINE
D HEADERL^BGPMUPH
S X="Patients 18+ with Stage IIIA through IIIC colon cancer who had at least 2 office" D W^BGPMUPP(X,0,1,BGPPTYPE)
S X="visit encounters with the EP during the reporting period AND who were prescribed" D W^BGPMUPP(X,0,1,BGPPTYPE)
S X="or administered adjuvant chemotherapy for colon cancer during the reporting" D W^BGPMUPP(X,0,1,BGPPTYPE)
S X="period, if any." D W^BGPMUPP(X,0,1,BGPPTYPE)
;
S X="Patients who do not meet the numerator criteria are listed first (NM:), followed" D W^BGPMUPP(X,0,2,BGPPTYPE)
S X="by patients who do meet the numerator criteria (M:). Excluded patients are" D W^BGPMUPP(X,0,1,BGPPTYPE)
S X="listed last." D W^BGPMUPP(X,0,1,BGPPTYPE)
;
S X="The following are the abbreviations used in the denominator and numerator" D W^BGPMUPP(X,0,2,BGPPTYPE)
S X="columns:" D W^BGPMUPP(X,0,1,BGPPTYPE)
S X="CCDX=Colon Cancer Diagnosis" D W^BGPMUPP(X,0,1,BGPPTYPE)
S X="CCST=Colon Cancer Stage III" D W^BGPMUPP(X,0,1,BGPPTYPE)
S X="EN=Encounter" D W^BGPMUPP(X,0,1,BGPPTYPE)
S X="MED=Chemotherapy for colon cancer" D W^BGPMUPP(X,0,1,BGPPTYPE)
;
S PTCT=0
I $Y>(BGPIOSL-5) D HEADERL^BGPMUPH Q:BGPQUIT
W !!,"PATIENT NAME",?23,"HRN",?30,"COMMUNITY",?42,"SEX",?46,"AGE",?50,"DENOMINATOR",?65,"NUMERATOR"
S LINE="",$P(LINE,"-",81)="" W !,LINE
I BGPLIST="D"!(BGPLIST="A") D
.K BGPARR
.D PTLSORT^BGPMUUTL(.BGPARR,"^TMP(""BGPMU0385"","_$J_",""PAT"",""C"",""NOT"",1)")
.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(""BGPMU0385"","_$J_",""PAT"",""C"",""NUM"",1)")
.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="A" D
.K BGPARR
.D PTLSORT^BGPMUUTL(.BGPARR,"^TMP(""BGPMU0385"","_$J_",""PAT"",""C"",""EXC"",1)")
.S PT=0 F S PT=$O(BGPARR(PT)) Q:PT="" D
..S PTCT=PTCT+1
..S NODE=$G(BGPARR(PT))
..D DATA(NODE)
W !!,"Total # of patients on list: "_PTCT
Q
DATA(NODE) ;GET DATA
N NAME,HRN,DEN,NUM,AGE,DFN,SEX,COMM,LINE
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)
S NUM=$P(NODE,U,3)
S COMM=$E($$GET1^DIQ(9000001,DFN,1118),1,11)
S SEX=$P(^DPT(DFN,0),U,2)
I $Y>(BGPIOSL-2) D
.D HEADERL^BGPMUPH Q:BGPQUIT
.W !,"PATIENT NAME",?23,"HRN",?30,"COMMUNITY",?42,"SEX",?46,"AGE",?50,"DENOMINATOR",?65,"NUMERATOR"
.S LINE="",$P(LINE,"-",81)="" W !,LINE
W !,NAME,?23,HRN,?30,COMM,?43,SEX,?46,AGE,?50,$P(DEN,";",1),?65,NUM
F BGPI=2:1:$L(DEN,";") D
.W !,?50,$P(DEN,";",BGPI)
Q
SUMMARY1(STRING1,STRING2,STRING3,CT) ;Summmary setup
N DESC,DESC2,LINE
K ^TMP("BGPMU SUMMARY",$J,BGPIC)
S ^TMP("BGPMU SUMMARY",$J,BGPIC)="0385^72"
S DESC1="18+ # w/adjuvant chemotherapy"
S LINE=""
;
S LINE="MU.EP.0385.1"_U_DESC1_U_+$P(STRING1,U,4)_U_+$P(STRING1,U,1)_U_+$P(STRING1,U,2)_U_+$P(STRING1,U,5)_U_U_U_U_U
S LINE=LINE_+$P(STRING2,U,4)_U_+$P(STRING2,U,1)_U_+$P(STRING2,U,2)_U_+$P(STRING2,U,5)_U_+$P(STRING3,U,4)_U_+$P(STRING3,U,1)_U_+$P(STRING3,U,2)_U_+$P(STRING3,U,5)
S ^TMP("BGPMU SUMMARY",$J,BGPIC,1)=LINE
;
Q
XML385 ;Populate the BGPXML array with data for each population/numerator
; BGPXMLOUT(i)=PQRI number^""^Denominator Count^Numerator Count^Exclusion Count
S BGPXML(1)="9"_U_""_U_+$G(^TMP("BGPMU0385",$J,"C","DEN",1))_U_+$G(^TMP("BGPMU0385",$J,"C","NUM",1))_U
K ^TMP("BGPMU0385",$J)
Q
BGPMUDP7 ; IHS/MSC/SAT - MU EP measures NQF0385 ;08-SEP-2011 11:26;DU
+1 ;;14.1;IHS CLINICAL REPORTING;**1**;MAY 29, 2014;Build 2
+2 ;Printed output reports for this measure
POCC ;EP
+1 DO P1
+2 KILL ^TMP("BGPMU0385",$JOB)
+3 QUIT
P1 ;Write individual measure
+1 NEW X,Y,Z,LIST1,LIST2,LIST3
+2 NEW DEN1,NUM1,NUM2,PC1,PC2,STRING1,STRING2,STRING3,SUMCT
+3 NEW PRD1,PRD2,PRD3,PRD4,PRN1,PRN2,PRN3,PRN4,PRN5,PRN6,PRD5,PRD6
+4 SET SUMCT=0
+5 SET STRING1=$$NUM385("C")
+6 SET STRING2=$$NUM385("P")
+7 SET STRING3=$$NUM385("B")
+8 DO SUMMARY1(STRING1,STRING2,STRING3)
+9 ;Population
+10 SET PRD11=$PIECE(STRING1,U,5)-$PIECE(STRING2,U,5)
+11 SET PRD14=$PIECE(STRING1,U,9)-$PIECE(STRING2,U,9)
+12 SET PRN11=$PIECE(STRING1,U,5)-$PIECE(STRING3,U,5)
+13 SET PRN14=$PIECE(STRING1,U,9)-$PIECE(STRING3,U,9)
+14 DO HEADER^BGPMUPH
IF BGPQUIT
QUIT
+15 DO HDRBLK^BGPMUPH
+16 IF $Y>(BGPIOSL-3)
DO HEADER^BGPMUPH
DO HDRBLK^BGPMUPH
IF BGPQUIT
QUIT
+17 WRITE !,"Pts 18+ w/stage III",?33,$PIECE(STRING1,U,1),?44,$PIECE(STRING2,U,1),?64,$PIECE(STRING3,U,1)
+18 WRITE !,"colon cancer"
+19 IF $Y>(BGPIOSL-3)
DO HEADER^BGPMUPH
DO HDRBLK^BGPMUPH
IF BGPQUIT
QUIT
+20 WRITE !,"# Excluded (Exc)",?33,+$PIECE(STRING1,U,4),?44,+$PIECE(STRING2,U,4),?64,+$PIECE(STRING3,U,4)
+21 IF $Y>(BGPIOSL-3)
DO HEADER^BGPMUPH
DO HDRBLK^BGPMUPH
IF BGPQUIT
QUIT
+22 WRITE !,"Pts 18+ w/stage III",?33,$PIECE(STRING1,U,3),?44,$PIECE(STRING2,U,3),?64,$PIECE(STRING3,U,3)
+23 WRITE !,"colon cancer less Exc"
+24 IF $Y>(BGPIOSL-3)
DO HEADER^BGPMUPH
DO HDRBLK^BGPMUPH
IF BGPQUIT
QUIT
+25 ;
+26 WRITE !!,"# w/adjuvant chemotherapy",?33,+$PIECE(STRING1,U,2),?38,$JUSTIFY($PIECE(STRING1,U,5),5,1),?44,+...
... $PIECE(STRING2,U,2),?49,$JUSTIFY($PIECE(STRING2,U,5),5,1),?56,$JUSTIFY($FNUMBER(PRD11,",+",1),6),?64,+$PIECE(STRING3,U,2),?68,$JUSTIFY($PIECE(STRING3,U,5),5,1),?74,$JUSTIFY($FNUMBER(PRN11,",+",1),6)
+27 IF $Y>(BGPIOSL-3)
DO HEADER^BGPMUPH
DO HDRBLK^BGPMUPH
IF BGPQUIT
QUIT
+28 WRITE !,"# w/o adjuvant chemotherapy",?33,+$PIECE(STRING1,U,8),?38,$JUSTIFY($PIECE(STRING1,U,9),5,1),?44,+...
... $PIECE(STRING2,U,8),?49,$JUSTIFY($PIECE(STRING2,U,9),5,1),?56,$JUSTIFY($FNUMBER(PRD14,",+",1),6),?64,+$PIECE(STRING3,U,8),?68,$JUSTIFY($PIECE(STRING3,U,9),5,1),?74,$JUSTIFY($FNUMBER(PRN14,",+",1),6)
+29 IF $Y>(BGPIOSL-3)
DO HEADER^BGPMUPH
DO HDRBLK^BGPMUPH
IF BGPQUIT
QUIT
+30 ;
+31 IF $DATA(BGPLIST(BGPIC))
DO P2
+32 ;
+33 QUIT
+34 ;
NUM385(TF) ;Get the numbers for this measure
+1 NEW ARRAY,DEN,NUM,EXC,NOT,PC1,PC11,PC2,PC14,PC21,PC13,NNUM
+2 SET DEN1=+$GET(^TMP("BGPMU0385",$JOB,TF,"DEN",1))
+3 SET NUM1=+$GET(^TMP("BGPMU0385",$JOB,TF,"NUM",1))
+4 SET NOT1=+$GET(^TMP("BGPMU0385",$JOB,TF,"NOT",1))
+5 SET EXC1=+$GET(^TMP("BGPMU0385",$JOB,TF,"EXC",1))
+6 ;
+7 SET NNUMD1=DEN1-EXC1
+8 IF DEN1=0
SET (PC1D1,PC11D1,PC13D1,PC14D1)=0
+9 IF DEN1>0&(NNUMD1=0)
Begin DoDot:1
+10 SET (PC1D1,PC11D1,PC14D1)=0
+11 SET PC13D1=$$ROUND^BGPMUA01((EXC1/DEN1),3)*100
End DoDot:1
+12 IF DEN1>0&(NNUMD1>0)
Begin DoDot:1
+13 SET PC1D1=$$ROUND^BGPMUA01((NUM1/NNUMD1),3)*100
+14 SET PC11D1=$$ROUND^BGPMUA01((NNUMD1/DEN1),3)*100
+15 SET PC13D1=$$ROUND^BGPMUA01((EXC1/DEN1),3)*100
+16 SET PC14D1=$$ROUND^BGPMUA01((NOT1/NNUMD1),3)*100
End DoDot:1
+17 ; 1 2 3 4 5 6 7 8 9 10 11 12 13
+18 SET ARRAY=(+DEN1)_U_+NUM1_U_(+NNUMD1)_U_+EXC1_U_(+PC1D1)_U_PC11D1_U_PC13D1_U_+NOT1_U_+PC14D1
+19 QUIT ARRAY
+20 ;
P2 ;Do the Details
+1 NEW PT,NODE,NAME,VST,BMI,FOL,X,PTCT,BGPARR,LINE
+2 DO HEADERL^BGPMUPH
+3 SET X="Patients 18+ with Stage IIIA through IIIC colon cancer who had at least 2 office"
DO W^BGPMUPP(X,0,1,BGPPTYPE)
+4 SET X="visit encounters with the EP during the reporting period AND who were prescribed"
DO W^BGPMUPP(X,0,1,BGPPTYPE)
+5 SET X="or administered adjuvant chemotherapy for colon cancer during the reporting"
DO W^BGPMUPP(X,0,1,BGPPTYPE)
+6 SET X="period, if any."
DO W^BGPMUPP(X,0,1,BGPPTYPE)
+7 ;
+8 SET X="Patients who do not meet the numerator criteria are listed first (NM:), followed"
DO W^BGPMUPP(X,0,2,BGPPTYPE)
+9 SET X="by patients who do meet the numerator criteria (M:). Excluded patients are"
DO W^BGPMUPP(X,0,1,BGPPTYPE)
+10 SET X="listed last."
DO W^BGPMUPP(X,0,1,BGPPTYPE)
+11 ;
+12 SET X="The following are the abbreviations used in the denominator and numerator"
DO W^BGPMUPP(X,0,2,BGPPTYPE)
+13 SET X="columns:"
DO W^BGPMUPP(X,0,1,BGPPTYPE)
+14 SET X="CCDX=Colon Cancer Diagnosis"
DO W^BGPMUPP(X,0,1,BGPPTYPE)
+15 SET X="CCST=Colon Cancer Stage III"
DO W^BGPMUPP(X,0,1,BGPPTYPE)
+16 SET X="EN=Encounter"
DO W^BGPMUPP(X,0,1,BGPPTYPE)
+17 SET X="MED=Chemotherapy for colon cancer"
DO W^BGPMUPP(X,0,1,BGPPTYPE)
+18 ;
+19 SET PTCT=0
+20 IF $Y>(BGPIOSL-5)
DO HEADERL^BGPMUPH
IF BGPQUIT
QUIT
+21 WRITE !!,"PATIENT NAME",?23,"HRN",?30,"COMMUNITY",?42,"SEX",?46,"AGE",?50,"DENOMINATOR",?65,"NUMERATOR"
+22 SET LINE=""
SET $PIECE(LINE,"-",81)=""
WRITE !,LINE
+23 IF BGPLIST="D"!(BGPLIST="A")
Begin DoDot:1
+24 KILL BGPARR
+25 DO PTLSORT^BGPMUUTL(.BGPARR,"^TMP(""BGPMU0385"","_$JOB_",""PAT"",""C"",""NOT"",1)")
+26 SET PT=0
FOR
SET PT=$ORDER(BGPARR(PT))
IF PT=""
QUIT
Begin DoDot:2
+27 SET PTCT=PTCT+1
+28 SET NODE=$GET(BGPARR(PT))
+29 DO DATA(NODE)
End DoDot:2
End DoDot:1
+30 IF BGPLIST="N"!(BGPLIST="A")
Begin DoDot:1
+31 KILL BGPARR
+32 DO PTLSORT^BGPMUUTL(.BGPARR,"^TMP(""BGPMU0385"","_$JOB_",""PAT"",""C"",""NUM"",1)")
+33 SET PT=0
FOR
SET PT=$ORDER(BGPARR(PT))
IF PT=""
QUIT
Begin DoDot:2
+34 SET PTCT=PTCT+1
+35 SET NODE=$GET(BGPARR(PT))
+36 DO DATA(NODE)
End DoDot:2
End DoDot:1
+37 IF BGPLIST="A"
Begin DoDot:1
+38 KILL BGPARR
+39 DO PTLSORT^BGPMUUTL(.BGPARR,"^TMP(""BGPMU0385"","_$JOB_",""PAT"",""C"",""EXC"",1)")
+40 SET PT=0
FOR
SET PT=$ORDER(BGPARR(PT))
IF PT=""
QUIT
Begin DoDot:2
+41 SET PTCT=PTCT+1
+42 SET NODE=$GET(BGPARR(PT))
+43 DO DATA(NODE)
End DoDot:2
End DoDot:1
+44 WRITE !!,"Total # of patients on list: "_PTCT
+45 QUIT
DATA(NODE) ;GET DATA
+1 NEW NAME,HRN,DEN,NUM,AGE,DFN,SEX,COMM,LINE
+2 SET DFN=$PIECE(NODE,U,1)
+3 SET NAME=$EXTRACT($$GET1^DIQ(2,$PIECE(NODE,U,1),.01),1,22)
+4 SET HRN=$$HRN^AUPNPAT(DFN,DUZ(2))
+5 SET AGE=$$AGE^AUPNPAT(DFN,BGPED)
+6 SET DEN=$PIECE(NODE,U,2)
+7 SET NUM=$PIECE(NODE,U,3)
+8 SET COMM=$EXTRACT($$GET1^DIQ(9000001,DFN,1118),1,11)
+9 SET SEX=$PIECE(^DPT(DFN,0),U,2)
+10 IF $Y>(BGPIOSL-2)
Begin DoDot:1
+11 DO HEADERL^BGPMUPH
IF BGPQUIT
QUIT
+12 WRITE !,"PATIENT NAME",?23,"HRN",?30,"COMMUNITY",?42,"SEX",?46,"AGE",?50,"DENOMINATOR",?65,"NUMERATOR"
+13 SET LINE=""
SET $PIECE(LINE,"-",81)=""
WRITE !,LINE
End DoDot:1
+14 WRITE !,NAME,?23,HRN,?30,COMM,?43,SEX,?46,AGE,?50,$PIECE(DEN,";",1),?65,NUM
+15 FOR BGPI=2:1:$LENGTH(DEN,";")
Begin DoDot:1
+16 WRITE !,?50,$PIECE(DEN,";",BGPI)
End DoDot:1
+17 QUIT
SUMMARY1(STRING1,STRING2,STRING3,CT) ;Summmary setup
+1 NEW DESC,DESC2,LINE
+2 KILL ^TMP("BGPMU SUMMARY",$JOB,BGPIC)
+3 SET ^TMP("BGPMU SUMMARY",$JOB,BGPIC)="0385^72"
+4 SET DESC1="18+ # w/adjuvant chemotherapy"
+5 SET LINE=""
+6 ;
+7 SET LINE="MU.EP.0385.1"_U_DESC1_U_+$PIECE(STRING1,U,4)_U_+$PIECE(STRING1,U,1)_U_+$PIECE(STRING1,U,2)_U_+$PIECE(STRING1,U,5)_U_U_U_U_U
+8 SET LINE=LINE_+$PIECE(STRING2,U,4)_U_+$PIECE(STRING2,U,1)_U_+$PIECE(STRING2,U,2)_U_+$PIECE(STRING2,U,5)_U_+$PIECE(STRING3,U,4)_U_+$PIECE(STRING3,U,1)_U_+$PIECE(STRING3,U,2)_U_+$PIECE(STRING3,U,5)
+9 SET ^TMP("BGPMU SUMMARY",$JOB,BGPIC,1)=LINE
+10 ;
+11 QUIT
XML385 ;Populate the BGPXML array with data for each population/numerator
+1 ; BGPXMLOUT(i)=PQRI number^""^Denominator Count^Numerator Count^Exclusion Count
+2 SET BGPXML(1)="9"_U_""_U_+$GET(^TMP("BGPMU0385",$JOB,"C","DEN",1))_U_+$GET(^TMP("BGPMU0385",$JOB,"C","NUM",1))_U
+3 KILL ^TMP("BGPMU0385",$JOB)
+4 QUIT