DGX76 ; ;01/03/22
;;
1 N X,X1,X2 S DIXR=833 D X1(U) K X2 M X2=X D X1("F") K X1 M X1=X
D
. D NOTIFY^DGPTDD(.X1,.X2,.DA,45,"DISCHARGE","KILL")
K X M X=X2 D
. D NOTIFY^DGPTDD(.X1,.X2,.DA,45,"DISCHARGE","SET")
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,11,DION),$P($G(^DGPT(DA,0)),U,11))
S X(3)=$G(@DIEZTMP@("V",45,DIIENS,79,DION),$P($G(^DGPT(DA,70)),U,10))
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,79.17,DION),$P($G(^DGPT(DA,70)),U,17))
S X(6)=$G(@DIEZTMP@("V",45,DIIENS,79.18,DION),$P($G(^DGPT(DA,70)),U,18))
S X(7)=$G(@DIEZTMP@("V",45,DIIENS,79.19,DION),$P($G(^DGPT(DA,70)),U,19))
S X(8)=$G(@DIEZTMP@("V",45,DIIENS,79.201,DION),$P($G(^DGPT(DA,70)),U,20))
S X(9)=$G(@DIEZTMP@("V",45,DIIENS,79.21,DION),$P($G(^DGPT(DA,70)),U,21))
S X(10)=$G(@DIEZTMP@("V",45,DIIENS,79.22,DION),$P($G(^DGPT(DA,70)),U,22))
S X(11)=$G(@DIEZTMP@("V",45,DIIENS,79.23,DION),$P($G(^DGPT(DA,70)),U,23))
S X(12)=$G(@DIEZTMP@("V",45,DIIENS,79.24,DION),$P($G(^DGPT(DA,70)),U,24))
S X(13)=$G(@DIEZTMP@("V",45,DIIENS,79.241,DION),$P($G(^DGPT(DA,71)),U,1))
S X(14)=$G(@DIEZTMP@("V",45,DIIENS,79.242,DION),$P($G(^DGPT(DA,71)),U,2))
S X(15)=$G(@DIEZTMP@("V",45,DIIENS,79.243,DION),$P($G(^DGPT(DA,71)),U,3))
S X(16)=$G(@DIEZTMP@("V",45,DIIENS,79.244,DION),$P($G(^DGPT(DA,71)),U,4))
S X(17)=$G(@DIEZTMP@("V",45,DIIENS,79.245,DION),$P($G(^DGPT(DA,71)),U,5))
S X(18)=$G(@DIEZTMP@("V",45,DIIENS,79.246,DION),$P($G(^DGPT(DA,71)),U,6))
S X(19)=$G(@DIEZTMP@("V",45,DIIENS,79.247,DION),$P($G(^DGPT(DA,71)),U,7))
S X(20)=$G(@DIEZTMP@("V",45,DIIENS,79.248,DION),$P($G(^DGPT(DA,71)),U,8))
S X(21)=$G(@DIEZTMP@("V",45,DIIENS,79.249,DION),$P($G(^DGPT(DA,71)),U,9))
S X(22)=$G(@DIEZTMP@("V",45,DIIENS,79.2491,DION),$P($G(^DGPT(DA,71)),U,10))
S X(23)=$G(@DIEZTMP@("V",45,DIIENS,79.24911,DION),$P($G(^DGPT(DA,71)),U,11))
S X(24)=$G(@DIEZTMP@("V",45,DIIENS,79.24912,DION),$P($G(^DGPT(DA,71)),U,12))
S X(25)=$G(@DIEZTMP@("V",45,DIIENS,79.24913,DION),$P($G(^DGPT(DA,71)),U,13))
S X(26)=$G(@DIEZTMP@("V",45,DIIENS,79.24914,DION),$P($G(^DGPT(DA,71)),U,14))
S X(27)=$G(@DIEZTMP@("V",45,DIIENS,79.24915,DION),$P($G(^DGPT(DA,71)),U,15))
S X(28)=$G(@DIEZTMP@("V",45,DIIENS,80,DION),$P($G(^DGPT(DA,70)),U,11))
S X=$G(X(1))
Q
2 N X,X1,X2 S DIXR=1176 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 KPTFDD^DGPTDDCR(.X,.DA,"DXLS")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SPTFDD^DGPTDDCR(.X,.DA,"DXLS")
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,DION),$P($G(^DGPT(DA,70)),U,10))
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=1187 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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD1")
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.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
4 N X,X1,X2 S DIXR=1188 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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD10")
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.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
5 N X,X1,X2 S DIXR=1189 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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD11")
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.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
6 N X,X1,X2 S DIXR=1190 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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD12")
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.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
7 N X,X1,X2 S DIXR=1191 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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD13")
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.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
8 N X,X1,X2 S DIXR=1192 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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD2")
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.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
9 N X,X1,X2 S DIXR=1193 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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD3")
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.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
10 N X,X1,X2 S DIXR=1194 D X10(U) K X2 M X2=X D X10("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD4")
Q
X10(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
11 N X,X1,X2 S DIXR=1195 D X11(U) K X2 M X2=X D X11("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD5")
Q
X11(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
12 N X,X1,X2 S DIXR=1196 D X12(U) K X2 M X2=X D X12("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^DGPTDDCR(.X,.DA,"D SD6")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SPTFDD^DGPTDDCR(.X,.DA,"D SD6")
Q
X12(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.21,DION),$P($G(^DGPT(DA,70)),U,21))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
13 N X,X1,X2 S DIXR=1197 D X13(U) K X2 M X2=X D X13("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^DGPTDDCR(.X,.DA,"D SD7")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SPTFDD^DGPTDDCR(.X,.DA,"D SD7")
Q
X13(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.22,DION),$P($G(^DGPT(DA,70)),U,22))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
14 N X,X1,X2 S DIXR=1198 D X14(U) K X2 M X2=X D X14("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^DGPTDDCR(.X,.DA,"D SD8")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SPTFDD^DGPTDDCR(.X,.DA,"D SD8")
Q
X14(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.23,DION),$P($G(^DGPT(DA,70)),U,23))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
15 N X,X1,X2 S DIXR=1199 D X15(U) K X2 M X2=X D X15("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^DGPTDDCR(.X,.DA,"D SD9")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SPTFDD^DGPTDDCR(.X,.DA,"D SD9")
Q
X15(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.24,DION),$P($G(^DGPT(DA,70)),U,24))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
16 N X,X1,X2 S DIXR=1239 D X16(U) K X2 M X2=X D X16("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^DGPTDDCR(.X,.DA,"D SD14")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SPTFDD^DGPTDDCR(.X,.DA,"D SD14")
Q
X16(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.245,DION),$P($G(^DGPT(DA,71)),U,5))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
17 N X,X1,X2 S DIXR=1240 D X17(U) K X2 M X2=X D X17("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^DGPTDDCR(.X,.DA,"D SD15")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SPTFDD^DGPTDDCR(.X,.DA,"D SD15")
Q
X17(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.246,DION),$P($G(^DGPT(DA,71)),U,6))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
18 N X,X1,X2 S DIXR=1241 D X18(U) K X2 M X2=X D X18("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^DGPTDDCR(.X,.DA,"D SD16")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SPTFDD^DGPTDDCR(.X,.DA,"D SD16")
Q
X18(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.247,DION),$P($G(^DGPT(DA,71)),U,7))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
19 N X,X1,X2 S DIXR=1242 D X19(U) K X2 M X2=X D X19("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^DGPTDDCR(.X,.DA,"D SD17")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SPTFDD^DGPTDDCR(.X,.DA,"D SD17")
Q
X19(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.248,DION),$P($G(^DGPT(DA,71)),U,8))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
20 N X,X1,X2 S DIXR=1243 D X20(U) K X2 M X2=X D X20("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^DGPTDDCR(.X,.DA,"D SD18")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SPTFDD^DGPTDDCR(.X,.DA,"D SD18")
Q
X20(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.249,DION),$P($G(^DGPT(DA,71)),U,9))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
21 N X,X1,X2 S DIXR=1244 D X21(U) K X2 M X2=X D X21("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^DGPTDDCR(.X,.DA,"D SD19")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SPTFDD^DGPTDDCR(.X,.DA,"D SD19")
Q
X21(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.2491,DION),$P($G(^DGPT(DA,71)),U,10))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
22 N X,X1,X2 S DIXR=1245 D X22(U) K X2 M X2=X D X22("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^DGPTDDCR(.X,.DA,"D SD20")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SPTFDD^DGPTDDCR(.X,.DA,"D SD20")
Q
X22(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.24911,DION),$P($G(^DGPT(DA,71)),U,11))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
23 N X,X1,X2 S DIXR=1246 D X23(U) K X2 M X2=X D X23("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^DGPTDDCR(.X,.DA,"D SD21")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SPTFDD^DGPTDDCR(.X,.DA,"D SD21")
Q
X23(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.24912,DION),$P($G(^DGPT(DA,71)),U,12))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
24 N X,X1,X2 S DIXR=1247 D X24(U) K X2 M X2=X D X24("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^DGPTDDCR(.X,.DA,"D SD22")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SPTFDD^DGPTDDCR(.X,.DA,"D SD22")
Q
X24(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.24913,DION),$P($G(^DGPT(DA,71)),U,13))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
25 N X,X1,X2 S DIXR=1248 D X25(U) K X2 M X2=X D X25("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D KPTFDD^DGPTDDCR(.X,.DA,"D SD23")
K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
. D SPTFDD^DGPTDDCR(.X,.DA,"D SD23")
Q
X25(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.24914,DION),$P($G(^DGPT(DA,71)),U,14))
S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
S X=$G(X(1))
Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HDGX76 18224 printed Dec 13, 2024@03:00:01 Page 2
DGX76 ; ;01/03/22
+1 ;;
1 NEW X,X1,X2
SET DIXR=833
DO X1(U)
KILL X2
MERGE X2=X
DO X1("F")
KILL X1
MERGE X1=X
+1 Begin DoDot:1
+2 DO NOTIFY^DGPTDD(.X1,.X2,.DA,45,"DISCHARGE","KILL")
End DoDot:1
+3 KILL X
MERGE X=X2
Begin DoDot:1
+4 DO NOTIFY^DGPTDD(.X1,.X2,.DA,45,"DISCHARGE","SET")
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,11,DION),$PIECE($GET(^DGPT(DA,0)),U,11))
+3 SET X(3)=$GET(@DIEZTMP@("V",45,DIIENS,79,DION),$PIECE($GET(^DGPT(DA,70)),U,10))
+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,79.17,DION),$PIECE($GET(^DGPT(DA,70)),U,17))
+6 SET X(6)=$GET(@DIEZTMP@("V",45,DIIENS,79.18,DION),$PIECE($GET(^DGPT(DA,70)),U,18))
+7 SET X(7)=$GET(@DIEZTMP@("V",45,DIIENS,79.19,DION),$PIECE($GET(^DGPT(DA,70)),U,19))
+8 SET X(8)=$GET(@DIEZTMP@("V",45,DIIENS,79.201,DION),$PIECE($GET(^DGPT(DA,70)),U,20))
+9 SET X(9)=$GET(@DIEZTMP@("V",45,DIIENS,79.21,DION),$PIECE($GET(^DGPT(DA,70)),U,21))
+10 SET X(10)=$GET(@DIEZTMP@("V",45,DIIENS,79.22,DION),$PIECE($GET(^DGPT(DA,70)),U,22))
+11 SET X(11)=$GET(@DIEZTMP@("V",45,DIIENS,79.23,DION),$PIECE($GET(^DGPT(DA,70)),U,23))
+12 SET X(12)=$GET(@DIEZTMP@("V",45,DIIENS,79.24,DION),$PIECE($GET(^DGPT(DA,70)),U,24))
+13 SET X(13)=$GET(@DIEZTMP@("V",45,DIIENS,79.241,DION),$PIECE($GET(^DGPT(DA,71)),U,1))
+14 SET X(14)=$GET(@DIEZTMP@("V",45,DIIENS,79.242,DION),$PIECE($GET(^DGPT(DA,71)),U,2))
+15 SET X(15)=$GET(@DIEZTMP@("V",45,DIIENS,79.243,DION),$PIECE($GET(^DGPT(DA,71)),U,3))
+16 SET X(16)=$GET(@DIEZTMP@("V",45,DIIENS,79.244,DION),$PIECE($GET(^DGPT(DA,71)),U,4))
+17 SET X(17)=$GET(@DIEZTMP@("V",45,DIIENS,79.245,DION),$PIECE($GET(^DGPT(DA,71)),U,5))
+18 SET X(18)=$GET(@DIEZTMP@("V",45,DIIENS,79.246,DION),$PIECE($GET(^DGPT(DA,71)),U,6))
+19 SET X(19)=$GET(@DIEZTMP@("V",45,DIIENS,79.247,DION),$PIECE($GET(^DGPT(DA,71)),U,7))
+20 SET X(20)=$GET(@DIEZTMP@("V",45,DIIENS,79.248,DION),$PIECE($GET(^DGPT(DA,71)),U,8))
+21 SET X(21)=$GET(@DIEZTMP@("V",45,DIIENS,79.249,DION),$PIECE($GET(^DGPT(DA,71)),U,9))
+22 SET X(22)=$GET(@DIEZTMP@("V",45,DIIENS,79.2491,DION),$PIECE($GET(^DGPT(DA,71)),U,10))
+23 SET X(23)=$GET(@DIEZTMP@("V",45,DIIENS,79.24911,DION),$PIECE($GET(^DGPT(DA,71)),U,11))
+24 SET X(24)=$GET(@DIEZTMP@("V",45,DIIENS,79.24912,DION),$PIECE($GET(^DGPT(DA,71)),U,12))
+25 SET X(25)=$GET(@DIEZTMP@("V",45,DIIENS,79.24913,DION),$PIECE($GET(^DGPT(DA,71)),U,13))
+26 SET X(26)=$GET(@DIEZTMP@("V",45,DIIENS,79.24914,DION),$PIECE($GET(^DGPT(DA,71)),U,14))
+27 SET X(27)=$GET(@DIEZTMP@("V",45,DIIENS,79.24915,DION),$PIECE($GET(^DGPT(DA,71)),U,15))
+28 SET X(28)=$GET(@DIEZTMP@("V",45,DIIENS,80,DION),$PIECE($GET(^DGPT(DA,70)),U,11))
+29 SET X=$GET(X(1))
+30 QUIT
2 NEW X,X1,X2
SET DIXR=1176
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 KPTFDD^DGPTDDCR(.X,.DA,"DXLS")
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 SPTFDD^DGPTDDCR(.X,.DA,"DXLS")
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,DION),$PIECE($GET(^DGPT(DA,70)),U,10))
+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=1187
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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD1")
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.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
4 NEW X,X1,X2
SET DIXR=1188
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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD10")
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.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
5 NEW X,X1,X2
SET DIXR=1189
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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD11")
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.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
6 NEW X,X1,X2
SET DIXR=1190
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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD12")
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.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
7 NEW X,X1,X2
SET DIXR=1191
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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD13")
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.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
8 NEW X,X1,X2
SET DIXR=1192
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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD2")
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.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
9 NEW X,X1,X2
SET DIXR=1193
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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD3")
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.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
10 NEW X,X1,X2
SET DIXR=1194
DO X10(U)
KILL X2
MERGE X2=X
DO X10("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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD4")
End DoDot:1
+5 QUIT
X10(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
11 NEW X,X1,X2
SET DIXR=1195
DO X11(U)
KILL X2
MERGE X2=X
DO X11("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 KPTFDD^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 SPTFDD^DGPTDDCR(.X,.DA,"D SD5")
End DoDot:1
+5 QUIT
X11(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
12 NEW X,X1,X2
SET DIXR=1196
DO X12(U)
KILL X2
MERGE X2=X
DO X12("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 KPTFDD^DGPTDDCR(.X,.DA,"D SD6")
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 SPTFDD^DGPTDDCR(.X,.DA,"D SD6")
End DoDot:1
+5 QUIT
X12(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.21,DION),$PIECE($GET(^DGPT(DA,70)),U,21))
+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
13 NEW X,X1,X2
SET DIXR=1197
DO X13(U)
KILL X2
MERGE X2=X
DO X13("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 KPTFDD^DGPTDDCR(.X,.DA,"D SD7")
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 SPTFDD^DGPTDDCR(.X,.DA,"D SD7")
End DoDot:1
+5 QUIT
X13(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.22,DION),$PIECE($GET(^DGPT(DA,70)),U,22))
+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
14 NEW X,X1,X2
SET DIXR=1198
DO X14(U)
KILL X2
MERGE X2=X
DO X14("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 KPTFDD^DGPTDDCR(.X,.DA,"D SD8")
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 SPTFDD^DGPTDDCR(.X,.DA,"D SD8")
End DoDot:1
+5 QUIT
X14(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.23,DION),$PIECE($GET(^DGPT(DA,70)),U,23))
+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
15 NEW X,X1,X2
SET DIXR=1199
DO X15(U)
KILL X2
MERGE X2=X
DO X15("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 KPTFDD^DGPTDDCR(.X,.DA,"D SD9")
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 SPTFDD^DGPTDDCR(.X,.DA,"D SD9")
End DoDot:1
+5 QUIT
X15(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.24,DION),$PIECE($GET(^DGPT(DA,70)),U,24))
+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
16 NEW X,X1,X2
SET DIXR=1239
DO X16(U)
KILL X2
MERGE X2=X
DO X16("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 KPTFDD^DGPTDDCR(.X,.DA,"D SD14")
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 SPTFDD^DGPTDDCR(.X,.DA,"D SD14")
End DoDot:1
+5 QUIT
X16(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.245,DION),$PIECE($GET(^DGPT(DA,71)),U,5))
+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
17 NEW X,X1,X2
SET DIXR=1240
DO X17(U)
KILL X2
MERGE X2=X
DO X17("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 KPTFDD^DGPTDDCR(.X,.DA,"D SD15")
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 SPTFDD^DGPTDDCR(.X,.DA,"D SD15")
End DoDot:1
+5 QUIT
X17(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.246,DION),$PIECE($GET(^DGPT(DA,71)),U,6))
+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
18 NEW X,X1,X2
SET DIXR=1241
DO X18(U)
KILL X2
MERGE X2=X
DO X18("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 KPTFDD^DGPTDDCR(.X,.DA,"D SD16")
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 SPTFDD^DGPTDDCR(.X,.DA,"D SD16")
End DoDot:1
+5 QUIT
X18(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.247,DION),$PIECE($GET(^DGPT(DA,71)),U,7))
+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
19 NEW X,X1,X2
SET DIXR=1242
DO X19(U)
KILL X2
MERGE X2=X
DO X19("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 KPTFDD^DGPTDDCR(.X,.DA,"D SD17")
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 SPTFDD^DGPTDDCR(.X,.DA,"D SD17")
End DoDot:1
+5 QUIT
X19(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.248,DION),$PIECE($GET(^DGPT(DA,71)),U,8))
+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
20 NEW X,X1,X2
SET DIXR=1243
DO X20(U)
KILL X2
MERGE X2=X
DO X20("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 KPTFDD^DGPTDDCR(.X,.DA,"D SD18")
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 SPTFDD^DGPTDDCR(.X,.DA,"D SD18")
End DoDot:1
+5 QUIT
X20(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.249,DION),$PIECE($GET(^DGPT(DA,71)),U,9))
+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
21 NEW X,X1,X2
SET DIXR=1244
DO X21(U)
KILL X2
MERGE X2=X
DO X21("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 KPTFDD^DGPTDDCR(.X,.DA,"D SD19")
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 SPTFDD^DGPTDDCR(.X,.DA,"D SD19")
End DoDot:1
+5 QUIT
X21(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.2491,DION),$PIECE($GET(^DGPT(DA,71)),U,10))
+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
22 NEW X,X1,X2
SET DIXR=1245
DO X22(U)
KILL X2
MERGE X2=X
DO X22("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 KPTFDD^DGPTDDCR(.X,.DA,"D SD20")
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 SPTFDD^DGPTDDCR(.X,.DA,"D SD20")
End DoDot:1
+5 QUIT
X22(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.24911,DION),$PIECE($GET(^DGPT(DA,71)),U,11))
+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
23 NEW X,X1,X2
SET DIXR=1246
DO X23(U)
KILL X2
MERGE X2=X
DO X23("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 KPTFDD^DGPTDDCR(.X,.DA,"D SD21")
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 SPTFDD^DGPTDDCR(.X,.DA,"D SD21")
End DoDot:1
+5 QUIT
X23(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.24912,DION),$PIECE($GET(^DGPT(DA,71)),U,12))
+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
24 NEW X,X1,X2
SET DIXR=1247
DO X24(U)
KILL X2
MERGE X2=X
DO X24("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 KPTFDD^DGPTDDCR(.X,.DA,"D SD22")
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 SPTFDD^DGPTDDCR(.X,.DA,"D SD22")
End DoDot:1
+5 QUIT
X24(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.24913,DION),$PIECE($GET(^DGPT(DA,71)),U,13))
+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
25 NEW X,X1,X2
SET DIXR=1248
DO X25(U)
KILL X2
MERGE X2=X
DO X25("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 KPTFDD^DGPTDDCR(.X,.DA,"D SD23")
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 SPTFDD^DGPTDDCR(.X,.DA,"D SD23")
End DoDot:1
+5 QUIT
X25(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.24914,DION),$PIECE($GET(^DGPT(DA,71)),U,14))
+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