[613] | 1 | DGPTX45 ; ;12/27/07
|
---|
| 2 | ;;
|
---|
| 3 | 1 N X,X1,X2 S DIXR=437 D X1(U) K X2 M X2=X D X1("F") K X1 M X1=X
|
---|
| 4 | I $G(X(1))]"",$G(X(2))]"" D
|
---|
| 5 | . D KDGPT0^DGPTDDCR(.X,.DA,"S",1)
|
---|
| 6 | K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
|
---|
| 7 | . D SDGPT0^DGPTDDCR(.X,.DA,"S",1)
|
---|
| 8 | Q
|
---|
| 9 | X1(DION) K X
|
---|
| 10 | S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
|
---|
| 11 | S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,8,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,8))
|
---|
| 12 | S X=$G(X(1))
|
---|
| 13 | Q
|
---|
| 14 | 2 N X,X1,X2 S DIXR=438 D X2(U) K X2 M X2=X D X2("F") K X1 M X1=X
|
---|
| 15 | I $G(X(1))]"",$G(X(2))]"" D
|
---|
| 16 | . D KDGPT0^DGPTDDCR(.X,.DA,"S",2)
|
---|
| 17 | K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
|
---|
| 18 | . D SDGPT0^DGPTDDCR(.X,.DA,"S",2)
|
---|
| 19 | Q
|
---|
| 20 | X2(DION) K X
|
---|
| 21 | S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
|
---|
| 22 | S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,9,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,9))
|
---|
| 23 | S X=$G(X(1))
|
---|
| 24 | Q
|
---|
| 25 | 3 N X,X1,X2 S DIXR=439 D X3(U) K X2 M X2=X D X3("F") K X1 M X1=X
|
---|
| 26 | I $G(X(1))]"",$G(X(2))]"" D
|
---|
| 27 | . D KDGPT0^DGPTDDCR(.X,.DA,"S",3)
|
---|
| 28 | K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
|
---|
| 29 | . D SDGPT0^DGPTDDCR(.X,.DA,"S",3)
|
---|
| 30 | Q
|
---|
| 31 | X3(DION) K X
|
---|
| 32 | S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
|
---|
| 33 | S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,10,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,10))
|
---|
| 34 | S X=$G(X(1))
|
---|
| 35 | Q
|
---|
| 36 | 4 N X,X1,X2 S DIXR=440 D X4(U) K X2 M X2=X D X4("F") K X1 M X1=X
|
---|
| 37 | I $G(X(1))]"",$G(X(2))]"" D
|
---|
| 38 | . D KDGPT0^DGPTDDCR(.X,.DA,"S",4)
|
---|
| 39 | K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
|
---|
| 40 | . D SDGPT0^DGPTDDCR(.X,.DA,"S",4)
|
---|
| 41 | Q
|
---|
| 42 | X4(DION) K X
|
---|
| 43 | S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
|
---|
| 44 | S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,11,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,11))
|
---|
| 45 | S X=$G(X(1))
|
---|
| 46 | Q
|
---|
| 47 | 5 N X,X1,X2 S DIXR=441 D X5(U) K X2 M X2=X D X5("F") K X1 M X1=X
|
---|
| 48 | I $G(X(1))]"",$G(X(2))]"" D
|
---|
| 49 | . D KDGPT0^DGPTDDCR(.X,.DA,"S",5)
|
---|
| 50 | K X M X=X2 I $G(X(1))]"",$G(X(2))]"" D
|
---|
| 51 | . D SDGPT0^DGPTDDCR(.X,.DA,"S",5)
|
---|
| 52 | Q
|
---|
| 53 | X5(DION) K X
|
---|
| 54 | S X(1)=$G(@DIEZTMP@("V",45.01,DIIENS,.01,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,1))
|
---|
| 55 | S X(2)=$G(@DIEZTMP@("V",45.01,DIIENS,12,DION),$P($G(^DGPT(DA(1),"S",DA,0)),U,12))
|
---|
| 56 | S X=$G(X(1))
|
---|
| 57 | Q
|
---|