DGPTX42 ; ;02/01/23
;;
1 N X,X1,X2 S DIXR=1205 D X1(U) K X2 M X2=X D X1("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",1)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",1)
Q
X1(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,8,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,8))
S X=$G(X(1))
Q
2 N X,X1,X2 S DIXR=1206 D X2(U) K X2 M X2=X D X2("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",2)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",2)
Q
X2(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,9,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,9))
S X=$G(X(1))
Q
3 N X,X1,X2 S DIXR=1207 D X3(U) K X2 M X2=X D X3("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",3)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",3)
Q
X3(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,10,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,10))
S X=$G(X(1))
Q
4 N X,X1,X2 S DIXR=1208 D X4(U) K X2 M X2=X D X4("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",4)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",4)
Q
X4(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,11,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,11))
S X=$G(X(1))
Q
5 N X,X1,X2 S DIXR=1209 D X5(U) K X2 M X2=X D X5("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",5)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",5)
Q
X5(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,12,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,12))
S X=$G(X(1))
Q
6 N X,X1,X2 S DIXR=1270 D X6(U) K X2 M X2=X D X6("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",10)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",10)
Q
X6(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,17,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,17))
S X=$G(X(1))
Q
7 N X,X1,X2 S DIXR=1271 D X7(U) K X2 M X2=X D X7("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",11)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",11)
Q
X7(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,18,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,18))
S X=$G(X(1))
Q
8 N X,X1,X2 S DIXR=1272 D X8(U) K X2 M X2=X D X8("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",12)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",12)
Q
X8(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,19,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,19))
S X=$G(X(1))
Q
9 N X,X1,X2 S DIXR=1273 D X9(U) K X2 M X2=X D X9("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",13)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",13)
Q
X9(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,20,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,20))
S X=$G(X(1))
Q
10 N X,X1,X2 S DIXR=1274 D X10(U) K X2 M X2=X D X10("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",14)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",14)
Q
X10(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,21,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,21))
S X=$G(X(1))
Q
11 N X,X1,X2 S DIXR=1275 D X11(U) K X2 M X2=X D X11("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",15)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",15)
Q
X11(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,22,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,22))
S X=$G(X(1))
Q
12 N X,X1,X2 S DIXR=1276 D X12(U) K X2 M X2=X D X12("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",16)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",16)
Q
X12(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,23,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,23))
S X=$G(X(1))
Q
13 N X,X1,X2 S DIXR=1277 D X13(U) K X2 M X2=X D X13("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",17)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",17)
Q
X13(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,24,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,24))
S X=$G(X(1))
Q
14 N X,X1,X2 S DIXR=1278 D X14(U) K X2 M X2=X D X14("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",18)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",18)
Q
X14(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,25,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,25))
S X=$G(X(1))
Q
15 N X,X1,X2 S DIXR=1279 D X15(U) K X2 M X2=X D X15("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",19)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",19)
Q
X15(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,26,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,26))
S X=$G(X(1))
Q
16 N X,X1,X2 S DIXR=1280 D X16(U) K X2 M X2=X D X16("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",20)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",20)
Q
X16(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,27,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,27))
S X=$G(X(1))
Q
17 N X,X1,X2 S DIXR=1281 D X17(U) K X2 M X2=X D X17("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",21)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",21)
Q
X17(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,28,DION),$P($G(^DGPT(DA(1),"S",DA,1)),U,1))
S X=$G(X(1))
Q
18 N X,X1,X2 S DIXR=1282 D X18(U) K X2 M X2=X D X18("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",22)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",22)
Q
X18(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,29,DION),$P($G(^DGPT(DA(1),"S",DA,1)),U,2))
S X=$G(X(1))
Q
19 N X,X1,X2 S DIXR=1283 D X19(U) K X2 M X2=X D X19("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",23)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",23)
Q
X19(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,30,DION),$P($G(^DGPT(DA(1),"S",DA,1)),U,3))
S X=$G(X(1))
Q
20 N X,X1,X2 S DIXR=1284 D X20(U) K X2 M X2=X D X20("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",24)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",24)
Q
X20(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,31,DION),$P($G(^DGPT(DA(1),"S",DA,1)),U,4))
S X=$G(X(1))
Q
21 N X,X1,X2 S DIXR=1285 D X21(U) K X2 M X2=X D X21("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",25)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",25)
Q
X21(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,32,DION),$P($G(^DGPT(DA(1),"S",DA,1)),U,5))
S X=$G(X(1))
Q
22 N X,X1,X2 S DIXR=1286 D X22(U) K X2 M X2=X D X22("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",6)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",6)
Q
X22(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,13,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,13))
S X=$G(X(1))
Q
23 N X,X1,X2 S DIXR=1287 D X23(U) K X2 M X2=X D X23("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",7)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",7)
Q
X23(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,14,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,14))
S X=$G(X(1))
Q
24 N X,X1,X2 S DIXR=1288 D X24(U) K X2 M X2=X D X24("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",8)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",8)
Q
X24(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,15,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,15))
S X=$G(X(1))
Q
25 N X,X1,X2 S DIXR=1289 D X25(U) K X2 M X2=X D X25("F") K X1 M X1=X
I $G(X(1))]"",$G(X(2))]"" D
. D KPTFP^DGPTDDCR(.X,.DA,"S",9)
K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
. D SPTFP^DGPTDDCR(.X,.DA,"S",9)
Q
X25(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,16,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,16))
S X=$G(X(1))
Q
26 N X,X1,X2 S DIXR=1693 D X26(U) K X2 M X2=X D X26("F") K X1 M X1=X
D
. D NOTIFYP^DGPTDD(.X1,.X2,.DA,45,"SURGERY","KILL")
K X M X=X2 D
. D NOTIFYP^DGPTDD(.X1,.X2,.DA,45,"SURGERY","SET")
Q
X26(DION) K X
S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,8,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,8))
S X(3)=$G(@DIEZTMP@("V",45.01,DIIENS,9,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,9))
S X(4)=$G(@DIEZTMP@("V",45.01,DIIENS,10,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,10))
S X(5)=$G(@DIEZTMP@("V",45.01,DIIENS,11,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,11))
S X(6)=$G(@DIEZTMP@("V",45.01,DIIENS,12,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,12))
S X(7)=$G(@DIEZTMP@("V",45.01,DIIENS,13,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,13))
S X(8)=$G(@DIEZTMP@("V",45.01,DIIENS,14,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,14))
S X(9)=$G(@DIEZTMP@("V",45.01,DIIENS,15,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,15))
S X(10)=$G(@DIEZTMP@("V",45.01,DIIENS,16,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,16))
S X(11)=$G(@DIEZTMP@("V",45.01,DIIENS,17,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,17))
S X(12)=$G(@DIEZTMP@("V",45.01,DIIENS,18,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,18))
S X(13)=$G(@DIEZTMP@("V",45.01,DIIENS,19,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,19))
S X(14)=$G(@DIEZTMP@("V",45.01,DIIENS,20,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,20))
S X(15)=$G(@DIEZTMP@("V",45.01,DIIENS,21,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,21))
S X(16)=$G(@DIEZTMP@("V",45.01,DIIENS,22,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,22))
S X(17)=$G(@DIEZTMP@("V",45.01,DIIENS,23,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,23))
S X(18)=$G(@DIEZTMP@("V",45.01,DIIENS,24,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,24))
S X(19)=$G(@DIEZTMP@("V",45.01,DIIENS,25,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,25))
S X(20)=$G(@DIEZTMP@("V",45.01,DIIENS,26,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,26))
S X(21)=$G(@DIEZTMP@("V",45.01,DIIENS,27,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,27))
S X(22)=$G(@DIEZTMP@("V",45.01,DIIENS,28,DION),$P($G(^DGPT(DA(1),"S",DA,1)),U,1))
S X(23)=$G(@DIEZTMP@("V",45.01,DIIENS,29,DION),$P($G(^DGPT(DA(1),"S",DA,1)),U,2))
S X(24)=$G(@DIEZTMP@("V",45.01,DIIENS,30,DION),$P($G(^DGPT(DA(1),"S",DA,1)),U,3))
S X(25)=$G(@DIEZTMP@("V",45.01,DIIENS,31,DION),$P($G(^DGPT(DA(1),"S",DA,1)),U,4))
S X(26)=$G(@DIEZTMP@("V",45.01,DIIENS,32,DION),$P($G(^DGPT(DA(1),"S",DA,1)),U,5))
S X=$G(X(1))
Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HDGPTX42 12864 printed Dec 13, 2024@02:53:55 Page 2
DGPTX42 ; ;02/01/23
+1 ;;
1 NEW X,X1,X2
SET DIXR=1205
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",1)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",1)
End DoDot:1
+5 QUIT
X1(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,8,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,8))
+3 SET X=$GET(X(1))
+4 QUIT
2 NEW X,X1,X2
SET DIXR=1206
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",2)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",2)
End DoDot:1
+5 QUIT
X2(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,9,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,9))
+3 SET X=$GET(X(1))
+4 QUIT
3 NEW X,X1,X2
SET DIXR=1207
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",3)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",3)
End DoDot:1
+5 QUIT
X3(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,10,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,10))
+3 SET X=$GET(X(1))
+4 QUIT
4 NEW X,X1,X2
SET DIXR=1208
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",4)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",4)
End DoDot:1
+5 QUIT
X4(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,11,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,11))
+3 SET X=$GET(X(1))
+4 QUIT
5 NEW X,X1,X2
SET DIXR=1209
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",5)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",5)
End DoDot:1
+5 QUIT
X5(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,12,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,12))
+3 SET X=$GET(X(1))
+4 QUIT
6 NEW X,X1,X2
SET DIXR=1270
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",10)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",10)
End DoDot:1
+5 QUIT
X6(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,17,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,17))
+3 SET X=$GET(X(1))
+4 QUIT
7 NEW X,X1,X2
SET DIXR=1271
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",11)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",11)
End DoDot:1
+5 QUIT
X7(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,18,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,18))
+3 SET X=$GET(X(1))
+4 QUIT
8 NEW X,X1,X2
SET DIXR=1272
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",12)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",12)
End DoDot:1
+5 QUIT
X8(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,19,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,19))
+3 SET X=$GET(X(1))
+4 QUIT
9 NEW X,X1,X2
SET DIXR=1273
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",13)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",13)
End DoDot:1
+5 QUIT
X9(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,20,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,20))
+3 SET X=$GET(X(1))
+4 QUIT
10 NEW X,X1,X2
SET DIXR=1274
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",14)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",14)
End DoDot:1
+5 QUIT
X10(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,21,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,21))
+3 SET X=$GET(X(1))
+4 QUIT
11 NEW X,X1,X2
SET DIXR=1275
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",15)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",15)
End DoDot:1
+5 QUIT
X11(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,22,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,22))
+3 SET X=$GET(X(1))
+4 QUIT
12 NEW X,X1,X2
SET DIXR=1276
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",16)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",16)
End DoDot:1
+5 QUIT
X12(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,23,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,23))
+3 SET X=$GET(X(1))
+4 QUIT
13 NEW X,X1,X2
SET DIXR=1277
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",17)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",17)
End DoDot:1
+5 QUIT
X13(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,24,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,24))
+3 SET X=$GET(X(1))
+4 QUIT
14 NEW X,X1,X2
SET DIXR=1278
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",18)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",18)
End DoDot:1
+5 QUIT
X14(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,25,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,25))
+3 SET X=$GET(X(1))
+4 QUIT
15 NEW X,X1,X2
SET DIXR=1279
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",19)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",19)
End DoDot:1
+5 QUIT
X15(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,26,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,26))
+3 SET X=$GET(X(1))
+4 QUIT
16 NEW X,X1,X2
SET DIXR=1280
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",20)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",20)
End DoDot:1
+5 QUIT
X16(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,27,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,27))
+3 SET X=$GET(X(1))
+4 QUIT
17 NEW X,X1,X2
SET DIXR=1281
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",21)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",21)
End DoDot:1
+5 QUIT
X17(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,28,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,1)),U,1))
+3 SET X=$GET(X(1))
+4 QUIT
18 NEW X,X1,X2
SET DIXR=1282
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",22)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",22)
End DoDot:1
+5 QUIT
X18(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,29,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,1)),U,2))
+3 SET X=$GET(X(1))
+4 QUIT
19 NEW X,X1,X2
SET DIXR=1283
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",23)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",23)
End DoDot:1
+5 QUIT
X19(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,30,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,1)),U,3))
+3 SET X=$GET(X(1))
+4 QUIT
20 NEW X,X1,X2
SET DIXR=1284
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",24)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",24)
End DoDot:1
+5 QUIT
X20(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,31,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,1)),U,4))
+3 SET X=$GET(X(1))
+4 QUIT
21 NEW X,X1,X2
SET DIXR=1285
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",25)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",25)
End DoDot:1
+5 QUIT
X21(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,32,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,1)),U,5))
+3 SET X=$GET(X(1))
+4 QUIT
22 NEW X,X1,X2
SET DIXR=1286
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",6)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",6)
End DoDot:1
+5 QUIT
X22(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,13,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,13))
+3 SET X=$GET(X(1))
+4 QUIT
23 NEW X,X1,X2
SET DIXR=1287
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",7)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",7)
End DoDot:1
+5 QUIT
X23(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,14,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,14))
+3 SET X=$GET(X(1))
+4 QUIT
24 NEW X,X1,X2
SET DIXR=1288
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",8)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",8)
End DoDot:1
+5 QUIT
X24(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,15,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,15))
+3 SET X=$GET(X(1))
+4 QUIT
25 NEW X,X1,X2
SET DIXR=1289
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))]""
Begin DoDot:1
+2 DO KPTFP^DGPTDDCR(.X,.DA,"S",9)
End DoDot:1
+3 KILL X
MERGE X=X2
IF $GET(X(1))]""
IF $GET(X(2))]""
Begin DoDot:1
+4 DO SPTFP^DGPTDDCR(.X,.DA,"S",9)
End DoDot:1
+5 QUIT
X25(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,16,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,16))
+3 SET X=$GET(X(1))
+4 QUIT
26 NEW X,X1,X2
SET DIXR=1693
DO X26(U)
KILL X2
MERGE X2=X
DO X26("F")
KILL X1
MERGE X1=X
+1 Begin DoDot:1
+2 DO NOTIFYP^DGPTDD(.X1,.X2,.DA,45,"SURGERY","KILL")
End DoDot:1
+3 KILL X
MERGE X=X2
Begin DoDot:1
+4 DO NOTIFYP^DGPTDD(.X1,.X2,.DA,45,"SURGERY","SET")
End DoDot:1
+5 QUIT
X26(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,1))
+2 SET X(2)=$GET(@DIEZTMP@("V",45.01,DIIENS,8,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,8))
+3 SET X(3)=$GET(@DIEZTMP@("V",45.01,DIIENS,9,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,9))
+4 SET X(4)=$GET(@DIEZTMP@("V",45.01,DIIENS,10,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,10))
+5 SET X(5)=$GET(@DIEZTMP@("V",45.01,DIIENS,11,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,11))
+6 SET X(6)=$GET(@DIEZTMP@("V",45.01,DIIENS,12,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,12))
+7 SET X(7)=$GET(@DIEZTMP@("V",45.01,DIIENS,13,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,13))
+8 SET X(8)=$GET(@DIEZTMP@("V",45.01,DIIENS,14,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,14))
+9 SET X(9)=$GET(@DIEZTMP@("V",45.01,DIIENS,15,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,15))
+10 SET X(10)=$GET(@DIEZTMP@("V",45.01,DIIENS,16,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,16))
+11 SET X(11)=$GET(@DIEZTMP@("V",45.01,DIIENS,17,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,17))
+12 SET X(12)=$GET(@DIEZTMP@("V",45.01,DIIENS,18,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,18))
+13 SET X(13)=$GET(@DIEZTMP@("V",45.01,DIIENS,19,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,19))
+14 SET X(14)=$GET(@DIEZTMP@("V",45.01,DIIENS,20,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,20))
+15 SET X(15)=$GET(@DIEZTMP@("V",45.01,DIIENS,21,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,21))
+16 SET X(16)=$GET(@DIEZTMP@("V",45.01,DIIENS,22,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,22))
+17 SET X(17)=$GET(@DIEZTMP@("V",45.01,DIIENS,23,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,23))
+18 SET X(18)=$GET(@DIEZTMP@("V",45.01,DIIENS,24,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,24))
+19 SET X(19)=$GET(@DIEZTMP@("V",45.01,DIIENS,25,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,25))
+20 SET X(20)=$GET(@DIEZTMP@("V",45.01,DIIENS,26,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,26))
+21 SET X(21)=$GET(@DIEZTMP@("V",45.01,DIIENS,27,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,0)),U,27))
+22 SET X(22)=$GET(@DIEZTMP@("V",45.01,DIIENS,28,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,1)),U,1))
+23 SET X(23)=$GET(@DIEZTMP@("V",45.01,DIIENS,29,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,1)),U,2))
+24 SET X(24)=$GET(@DIEZTMP@("V",45.01,DIIENS,30,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,1)),U,3))
+25 SET X(25)=$GET(@DIEZTMP@("V",45.01,DIIENS,31,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,1)),U,4))
+26 SET X(26)=$GET(@DIEZTMP@("V",45.01,DIIENS,32,DION),$PIECE($GET(^DGPT(DA(1),"S",DA,1)),U,5))
+27 SET X=$GET(X(1))
+28 QUIT