[613] | 1 | DGPTXX10 ; COMPILED XREF FOR FILE #45.01 ; 12/27/07
|
---|
| 2 | ;
|
---|
| 3 | S DA(1)=DA S DA=0
|
---|
| 4 | A1 ;
|
---|
| 5 | I $D(DISET) K DIKLM S:DIKM1=1 DIKLM=1 G @DIKM1
|
---|
| 6 | 0 ;
|
---|
| 7 | A S DA=$O(^DGPT(DA(1),"S",DA)) I DA'>0 S DA=0 G END
|
---|
| 8 | 1 ;
|
---|
| 9 | S DIKZ(0)=$G(^DGPT(DA(1),"S",DA,0))
|
---|
| 10 | S X=$P(DIKZ(0),U,8)
|
---|
| 11 | I X'="" S ^DGPT(DA(1),"S","AO",$E(X,1,30),DA)=""
|
---|
| 12 | S X=$P(DIKZ(0),U,9)
|
---|
| 13 | I X'="" S ^DGPT(DA(1),"S","AO",$E(X,1,30),DA)=""
|
---|
| 14 | S X=$P(DIKZ(0),U,10)
|
---|
| 15 | I X'="" S ^DGPT(DA(1),"S","AO",$E(X,1,30),DA)=""
|
---|
| 16 | S X=$P(DIKZ(0),U,11)
|
---|
| 17 | I X'="" S ^DGPT(DA(1),"S","AO",$E(X,1,30),DA)=""
|
---|
| 18 | S X=$P(DIKZ(0),U,12)
|
---|
| 19 | I X'="" S ^DGPT(DA(1),"S","AO",$E(X,1,30),DA)=""
|
---|
| 20 | CR1 S DIXR=437
|
---|
| 21 | K X
|
---|
| 22 | S X(1)=$P(DIKZ(0),U,1)
|
---|
| 23 | S X(2)=$P(DIKZ(0),U,8)
|
---|
| 24 | S X=$G(X(1))
|
---|
| 25 | I $G(X(1))]"",$G(X(2))]"" D
|
---|
| 26 | . K X1,X2 M X1=X,X2=X
|
---|
| 27 | . D SDGPT0^DGPTDDCR(.X,.DA,"S",1)
|
---|
| 28 | CR2 S DIXR=438
|
---|
| 29 | K X
|
---|
| 30 | S DIKZ(0)=$G(^DGPT(DA(1),"S",DA,0))
|
---|
| 31 | S X(1)=$P(DIKZ(0),U,1)
|
---|
| 32 | S X(2)=$P(DIKZ(0),U,9)
|
---|
| 33 | S X=$G(X(1))
|
---|
| 34 | I $G(X(1))]"",$G(X(2))]"" D
|
---|
| 35 | . K X1,X2 M X1=X,X2=X
|
---|
| 36 | . D SDGPT0^DGPTDDCR(.X,.DA,"S",2)
|
---|
| 37 | CR3 S DIXR=439
|
---|
| 38 | K X
|
---|
| 39 | S DIKZ(0)=$G(^DGPT(DA(1),"S",DA,0))
|
---|
| 40 | S X(1)=$P(DIKZ(0),U,1)
|
---|
| 41 | S X(2)=$P(DIKZ(0),U,10)
|
---|
| 42 | S X=$G(X(1))
|
---|
| 43 | I $G(X(1))]"",$G(X(2))]"" D
|
---|
| 44 | . K X1,X2 M X1=X,X2=X
|
---|
| 45 | . D SDGPT0^DGPTDDCR(.X,.DA,"S",3)
|
---|
| 46 | CR4 S DIXR=440
|
---|
| 47 | K X
|
---|
| 48 | S DIKZ(0)=$G(^DGPT(DA(1),"S",DA,0))
|
---|
| 49 | S X(1)=$P(DIKZ(0),U,1)
|
---|
| 50 | S X(2)=$P(DIKZ(0),U,11)
|
---|
| 51 | S X=$G(X(1))
|
---|
| 52 | I $G(X(1))]"",$G(X(2))]"" D
|
---|
| 53 | . K X1,X2 M X1=X,X2=X
|
---|
| 54 | . D SDGPT0^DGPTDDCR(.X,.DA,"S",4)
|
---|
| 55 | CR5 S DIXR=441
|
---|
| 56 | K X
|
---|
| 57 | S DIKZ(0)=$G(^DGPT(DA(1),"S",DA,0))
|
---|
| 58 | S X(1)=$P(DIKZ(0),U,1)
|
---|
| 59 | S X(2)=$P(DIKZ(0),U,12)
|
---|
| 60 | S X=$G(X(1))
|
---|
| 61 | I $G(X(1))]"",$G(X(2))]"" D
|
---|
| 62 | . K X1,X2 M X1=X,X2=X
|
---|
| 63 | . D SDGPT0^DGPTDDCR(.X,.DA,"S",5)
|
---|
| 64 | CR6 K X
|
---|
| 65 | G:'$D(DIKLM) A Q:$D(DISET)
|
---|
| 66 | END G ^DGPTXX11
|
---|