DGPTXC2 ; ;10/15/12
;;
1 N X,X1,X2 S DIXR=366 D X1(U) K X2 M X2=X D X1("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KDGPT9D^DGPTDDCR(.X,.DA,"D SD1")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SDGPT9D^DGPTDDCR(.X,.DA,"D SD1")
Q
X1(DION) K X
S X(1)=$G(@DIEZTMP@("V",45,DIIENS,.01,DION),$P($G(^DGPT(DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45,DIIENS,2,DION),$P($G(^DGPT(DA,0)),U,2))
S X(3)=$G(@DIEZTMP@("V",45,DIIENS,11,DION),$P($G(^DGPT(DA,0)),U,11))
S X(4)=$G(@DIEZTMP@("V",45,DIIENS,79.16,DION),$P($G(^DGPT(DA,70)),U,16))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
2 N X,X1,X2 S DIXR=367 D X2(U) K X2 M X2=X D X2("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KDGPT9D^DGPTDDCR(.X,.DA,"D SD10")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SDGPT9D^DGPTDDCR(.X,.DA,"D SD10")
Q
X2(DION) K X
S X(1)=$G(@DIEZTMP@("V",45,DIIENS,.01,DION),$P($G(^DGPT(DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45,DIIENS,2,DION),$P($G(^DGPT(DA,0)),U,2))
S X(3)=$G(@DIEZTMP@("V",45,DIIENS,11,DION),$P($G(^DGPT(DA,0)),U,11))
S X(4)=$G(@DIEZTMP@("V",45,DIIENS,79.241,DION),$P($G(^DGPT(DA,71)),U,1))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
3 N X,X1,X2 S DIXR=368 D X3(U) K X2 M X2=X D X3("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KDGPT9D^DGPTDDCR(.X,.DA,"D SD11")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SDGPT9D^DGPTDDCR(.X,.DA,"D SD11")
Q
X3(DION) K X
S X(1)=$G(@DIEZTMP@("V",45,DIIENS,.01,DION),$P($G(^DGPT(DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45,DIIENS,2,DION),$P($G(^DGPT(DA,0)),U,2))
S X(3)=$G(@DIEZTMP@("V",45,DIIENS,11,DION),$P($G(^DGPT(DA,0)),U,11))
S X(4)=$G(@DIEZTMP@("V",45,DIIENS,79.242,DION),$P($G(^DGPT(DA,71)),U,2))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
4 N X,X1,X2 S DIXR=369 D X4(U) K X2 M X2=X D X4("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KDGPT9D^DGPTDDCR(.X,.DA,"D SD12")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SDGPT9D^DGPTDDCR(.X,.DA,"D SD12")
Q
X4(DION) K X
S X(1)=$G(@DIEZTMP@("V",45,DIIENS,.01,DION),$P($G(^DGPT(DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45,DIIENS,2,DION),$P($G(^DGPT(DA,0)),U,2))
S X(3)=$G(@DIEZTMP@("V",45,DIIENS,11,DION),$P($G(^DGPT(DA,0)),U,11))
S X(4)=$G(@DIEZTMP@("V",45,DIIENS,79.243,DION),$P($G(^DGPT(DA,71)),U,3))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
5 N X,X1,X2 S DIXR=370 D X5(U) K X2 M X2=X D X5("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KDGPT9D^DGPTDDCR(.X,.DA,"D SD13")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SDGPT9D^DGPTDDCR(.X,.DA,"D SD13")
Q
X5(DION) K X
S X(1)=$G(@DIEZTMP@("V",45,DIIENS,.01,DION),$P($G(^DGPT(DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45,DIIENS,2,DION),$P($G(^DGPT(DA,0)),U,2))
S X(3)=$G(@DIEZTMP@("V",45,DIIENS,11,DION),$P($G(^DGPT(DA,0)),U,11))
S X(4)=$G(@DIEZTMP@("V",45,DIIENS,79.244,DION),$P($G(^DGPT(DA,71)),U,4))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
6 N X,X1,X2 S DIXR=371 D X6(U) K X2 M X2=X D X6("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KDGPT9D^DGPTDDCR(.X,.DA,"D SD2")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SDGPT9D^DGPTDDCR(.X,.DA,"D SD2")
Q
X6(DION) K X
S X(1)=$G(@DIEZTMP@("V",45,DIIENS,.01,DION),$P($G(^DGPT(DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45,DIIENS,2,DION),$P($G(^DGPT(DA,0)),U,2))
S X(3)=$G(@DIEZTMP@("V",45,DIIENS,11,DION),$P($G(^DGPT(DA,0)),U,11))
S X(4)=$G(@DIEZTMP@("V",45,DIIENS,79.17,DION),$P($G(^DGPT(DA,70)),U,17))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
7 N X,X1,X2 S DIXR=372 D X7(U) K X2 M X2=X D X7("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KDGPT9D^DGPTDDCR(.X,.DA,"D SD3")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SDGPT9D^DGPTDDCR(.X,.DA,"D SD3")
Q
X7(DION) K X
S X(1)=$G(@DIEZTMP@("V",45,DIIENS,.01,DION),$P($G(^DGPT(DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45,DIIENS,2,DION),$P($G(^DGPT(DA,0)),U,2))
S X(3)=$G(@DIEZTMP@("V",45,DIIENS,11,DION),$P($G(^DGPT(DA,0)),U,11))
S X(4)=$G(@DIEZTMP@("V",45,DIIENS,79.18,DION),$P($G(^DGPT(DA,70)),U,18))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
8 N X,X1,X2 S DIXR=373 D X8(U) K X2 M X2=X D X8("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KDGPT9D^DGPTDDCR(.X,.DA,"D SD4")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SDGPT9D^DGPTDDCR(.X,.DA,"D SD4")
Q
X8(DION) K X
S X(1)=$G(@DIEZTMP@("V",45,DIIENS,.01,DION),$P($G(^DGPT(DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45,DIIENS,2,DION),$P($G(^DGPT(DA,0)),U,2))
S X(3)=$G(@DIEZTMP@("V",45,DIIENS,11,DION),$P($G(^DGPT(DA,0)),U,11))
S X(4)=$G(@DIEZTMP@("V",45,DIIENS,79.19,DION),$P($G(^DGPT(DA,70)),U,19))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
9 N X,X1,X2 S DIXR=374 D X9(U) K X2 M X2=X D X9("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KDGPT9D^DGPTDDCR(.X,.DA,"D SD5")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SDGPT9D^DGPTDDCR(.X,.DA,"D SD5")
Q
X9(DION) K X
S X(1)=$G(@DIEZTMP@("V",45,DIIENS,.01,DION),$P($G(^DGPT(DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45,DIIENS,2,DION),$P($G(^DGPT(DA,0)),U,2))
S X(3)=$G(@DIEZTMP@("V",45,DIIENS,11,DION),$P($G(^DGPT(DA,0)),U,11))
S X(4)=$G(@DIEZTMP@("V",45,DIIENS,79.201,DION),$P($G(^DGPT(DA,70)),U,20))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
DGPTXC2 ; ;10/15/12
+1 ;;
1 NEW X,X1,X2
SET DIXR=366
DO X1(U)
KILL X2
MERGE X2=X
DO X1("F")
KILL X1
MERGE X1=X
+1 IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+2 DO KDGPT9D^DGPTDDCR(.X,.DA,"D SD1")
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+4 DO SDGPT9D^DGPTDDCR(.X,.DA,"D SD1")
End DoDot:1
+5 QUIT
X1(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45,DIIENS,2,DION),$PIECE($GET(^DGPT(DA,0)),U,2))
+3 SET X(3)=$GET(@DIEZTMP@("V",45,DIIENS,11,DION),$PIECE($GET(^DGPT(DA,0)),U,11))
+4 SET X(4)=$GET(@DIEZTMP@("V",45,DIIENS,79.16,DION),$PIECE($GET(^DGPT(DA,70)),U,16))
+5 SET X(5)=$GET(@DIEZTMP@("V",45,DIIENS,70,DION),$PIECE($GET(^DGPT(DA,70)),U,1))
+6 SET X=$GET(X(1))
+7 QUIT
2 NEW X,X1,X2
SET DIXR=367
DO X2(U)
KILL X2
MERGE X2=X
DO X2("F")
KILL X1
MERGE X1=X
+1 IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+2 DO KDGPT9D^DGPTDDCR(.X,.DA,"D SD10")
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+4 DO SDGPT9D^DGPTDDCR(.X,.DA,"D SD10")
End DoDot:1
+5 QUIT
X2(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45,DIIENS,2,DION),$PIECE($GET(^DGPT(DA,0)),U,2))
+3 SET X(3)=$GET(@DIEZTMP@("V",45,DIIENS,11,DION),$PIECE($GET(^DGPT(DA,0)),U,11))
+4 SET X(4)=$GET(@DIEZTMP@("V",45,DIIENS,79.241,DION),$PIECE($GET(^DGPT(DA,71)),U,1))
+5 SET X(5)=$GET(@DIEZTMP@("V",45,DIIENS,70,DION),$PIECE($GET(^DGPT(DA,70)),U,1))
+6 SET X=$GET(X(1))
+7 QUIT
3 NEW X,X1,X2
SET DIXR=368
DO X3(U)
KILL X2
MERGE X2=X
DO X3("F")
KILL X1
MERGE X1=X
+1 IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+2 DO KDGPT9D^DGPTDDCR(.X,.DA,"D SD11")
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+4 DO SDGPT9D^DGPTDDCR(.X,.DA,"D SD11")
End DoDot:1
+5 QUIT
X3(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45,DIIENS,2,DION),$PIECE($GET(^DGPT(DA,0)),U,2))
+3 SET X(3)=$GET(@DIEZTMP@("V",45,DIIENS,11,DION),$PIECE($GET(^DGPT(DA,0)),U,11))
+4 SET X(4)=$GET(@DIEZTMP@("V",45,DIIENS,79.242,DION),$PIECE($GET(^DGPT(DA,71)),U,2))
+5 SET X(5)=$GET(@DIEZTMP@("V",45,DIIENS,70,DION),$PIECE($GET(^DGPT(DA,70)),U,1))
+6 SET X=$GET(X(1))
+7 QUIT
4 NEW X,X1,X2
SET DIXR=369
DO X4(U)
KILL X2
MERGE X2=X
DO X4("F")
KILL X1
MERGE X1=X
+1 IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+2 DO KDGPT9D^DGPTDDCR(.X,.DA,"D SD12")
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+4 DO SDGPT9D^DGPTDDCR(.X,.DA,"D SD12")
End DoDot:1
+5 QUIT
X4(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45,DIIENS,2,DION),$PIECE($GET(^DGPT(DA,0)),U,2))
+3 SET X(3)=$GET(@DIEZTMP@("V",45,DIIENS,11,DION),$PIECE($GET(^DGPT(DA,0)),U,11))
+4 SET X(4)=$GET(@DIEZTMP@("V",45,DIIENS,79.243,DION),$PIECE($GET(^DGPT(DA,71)),U,3))
+5 SET X(5)=$GET(@DIEZTMP@("V",45,DIIENS,70,DION),$PIECE($GET(^DGPT(DA,70)),U,1))
+6 SET X=$GET(X(1))
+7 QUIT
5 NEW X,X1,X2
SET DIXR=370
DO X5(U)
KILL X2
MERGE X2=X
DO X5("F")
KILL X1
MERGE X1=X
+1 IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+2 DO KDGPT9D^DGPTDDCR(.X,.DA,"D SD13")
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+4 DO SDGPT9D^DGPTDDCR(.X,.DA,"D SD13")
End DoDot:1
+5 QUIT
X5(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45,DIIENS,2,DION),$PIECE($GET(^DGPT(DA,0)),U,2))
+3 SET X(3)=$GET(@DIEZTMP@("V",45,DIIENS,11,DION),$PIECE($GET(^DGPT(DA,0)),U,11))
+4 SET X(4)=$GET(@DIEZTMP@("V",45,DIIENS,79.244,DION),$PIECE($GET(^DGPT(DA,71)),U,4))
+5 SET X(5)=$GET(@DIEZTMP@("V",45,DIIENS,70,DION),$PIECE($GET(^DGPT(DA,70)),U,1))
+6 SET X=$GET(X(1))
+7 QUIT
6 NEW X,X1,X2
SET DIXR=371
DO X6(U)
KILL X2
MERGE X2=X
DO X6("F")
KILL X1
MERGE X1=X
+1 IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+2 DO KDGPT9D^DGPTDDCR(.X,.DA,"D SD2")
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+4 DO SDGPT9D^DGPTDDCR(.X,.DA,"D SD2")
End DoDot:1
+5 QUIT
X6(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45,DIIENS,2,DION),$PIECE($GET(^DGPT(DA,0)),U,2))
+3 SET X(3)=$GET(@DIEZTMP@("V",45,DIIENS,11,DION),$PIECE($GET(^DGPT(DA,0)),U,11))
+4 SET X(4)=$GET(@DIEZTMP@("V",45,DIIENS,79.17,DION),$PIECE($GET(^DGPT(DA,70)),U,17))
+5 SET X(5)=$GET(@DIEZTMP@("V",45,DIIENS,70,DION),$PIECE($GET(^DGPT(DA,70)),U,1))
+6 SET X=$GET(X(1))
+7 QUIT
7 NEW X,X1,X2
SET DIXR=372
DO X7(U)
KILL X2
MERGE X2=X
DO X7("F")
KILL X1
MERGE X1=X
+1 IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+2 DO KDGPT9D^DGPTDDCR(.X,.DA,"D SD3")
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+4 DO SDGPT9D^DGPTDDCR(.X,.DA,"D SD3")
End DoDot:1
+5 QUIT
X7(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45,DIIENS,2,DION),$PIECE($GET(^DGPT(DA,0)),U,2))
+3 SET X(3)=$GET(@DIEZTMP@("V",45,DIIENS,11,DION),$PIECE($GET(^DGPT(DA,0)),U,11))
+4 SET X(4)=$GET(@DIEZTMP@("V",45,DIIENS,79.18,DION),$PIECE($GET(^DGPT(DA,70)),U,18))
+5 SET X(5)=$GET(@DIEZTMP@("V",45,DIIENS,70,DION),$PIECE($GET(^DGPT(DA,70)),U,1))
+6 SET X=$GET(X(1))
+7 QUIT
8 NEW X,X1,X2
SET DIXR=373
DO X8(U)
KILL X2
MERGE X2=X
DO X8("F")
KILL X1
MERGE X1=X
+1 IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+2 DO KDGPT9D^DGPTDDCR(.X,.DA,"D SD4")
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+4 DO SDGPT9D^DGPTDDCR(.X,.DA,"D SD4")
End DoDot:1
+5 QUIT
X8(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45,DIIENS,2,DION),$PIECE($GET(^DGPT(DA,0)),U,2))
+3 SET X(3)=$GET(@DIEZTMP@("V",45,DIIENS,11,DION),$PIECE($GET(^DGPT(DA,0)),U,11))
+4 SET X(4)=$GET(@DIEZTMP@("V",45,DIIENS,79.19,DION),$PIECE($GET(^DGPT(DA,70)),U,19))
+5 SET X(5)=$GET(@DIEZTMP@("V",45,DIIENS,70,DION),$PIECE($GET(^DGPT(DA,70)),U,1))
+6 SET X=$GET(X(1))
+7 QUIT
9 NEW X,X1,X2
SET DIXR=374
DO X9(U)
KILL X2
MERGE X2=X
DO X9("F")
KILL X1
MERGE X1=X
+1 IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+2 DO KDGPT9D^DGPTDDCR(.X,.DA,"D SD5")
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
IF $GET(X(3))]""
IF $GET(X(4))]""
Begin DoDot:1
+4 DO SDGPT9D^DGPTDDCR(.X,.DA,"D SD5")
End DoDot:1
+5 QUIT
X9(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45,DIIENS,2,DION),$PIECE($GET(^DGPT(DA,0)),U,2))
+3 SET X(3)=$GET(@DIEZTMP@("V",45,DIIENS,11,DION),$PIECE($GET(^DGPT(DA,0)),U,11))
+4 SET X(4)=$GET(@DIEZTMP@("V",45,DIIENS,79.201,DION),$PIECE($GET(^DGPT(DA,70)),U,20))
+5 SET X(5)=$GET(@DIEZTMP@("V",45,DIIENS,70,DION),$PIECE($GET(^DGPT(DA,70)),U,1))
+6 SET X=$GET(X(1))
+7 QUIT