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

DGX45.m

Go to the documentation of this file.
DGX45 ; ;09/16/15
 ;;
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