Last change
on this file since 752 was 636, checked in by George Lilly, 15 years ago |
WorldVistAEHR overlayed on FOIAVistA
|
File size:
702 bytes
|
Rev | Line | |
---|
[636] | 1 | DGPTXX7 ; COMPILED XREF FOR FILE #45.06 ; 12/27/07
|
---|
[628] | 2 | ;
|
---|
| 3 | S DA=0
|
---|
| 4 | A1 ;
|
---|
| 5 | I $D(DIKILL) K DIKLM S:DIKM1=1 DIKLM=1 G @DIKM1
|
---|
| 6 | 0 ;
|
---|
| 7 | A S DA=$O(^DGPT(DA(1),"C",DA)) I DA'>0 S DA=0 G END
|
---|
| 8 | 1 ;
|
---|
| 9 | S DIKZ(0)=$G(^DGPT(DA(1),"C",DA,0))
|
---|
| 10 | S X=$P(DIKZ(0),U,6)
|
---|
| 11 | I X'="" D SUB^AUPNVSIT
|
---|
| 12 | S X=$P(DIKZ(0),U,1)
|
---|
| 13 | I X'="" K ^DGPT(DA(1),"C","B",$E(X,1,30),DA)
|
---|
[636] | 14 | CR1 S DIXR=200
|
---|
[628] | 15 | K X
|
---|
| 16 | S X(1)=$P(DIKZ(0),U,1)
|
---|
| 17 | S X(2)=$P(DIKZ(0),U,7)
|
---|
| 18 | S X(3)=$P(DIKZ(0),U,9)
|
---|
| 19 | S X=$G(X(1))
|
---|
| 20 | D
|
---|
| 21 | . K X1,X2 M X1=X,X2=X
|
---|
| 22 | . S:$D(DIKIL) (X2,X2(1),X2(2),X2(3))=""
|
---|
| 23 | . N DIKXARR M DIKXARR=X S DIKCOND=1
|
---|
| 24 | . S X=X2(2)!X2(3)!(X(1)'=X(2))
|
---|
| 25 | . S DIKCOND=$G(X) K X M X=DIKXARR
|
---|
| 26 | . Q:'DIKCOND
|
---|
| 27 | . K:X1(1)'="" ^DGPT("AB",X1(1),DA(1),DA)
|
---|
| 28 | CR2 K X
|
---|
| 29 | G:'$D(DIKLM) A Q:$D(DIKILL)
|
---|
| 30 | END Q
|
---|
Note:
See
TracBrowser
for help on using the repository browser.