[613] | 1 | XUCT032 ; COMPILED XREF FOR FILE #3.081 ; 01/30/05
|
---|
| 2 | ;
|
---|
| 3 | S DIKZK=1
|
---|
| 4 | S DIKZ(0)=$G(^XUSEC(0,DA,0))
|
---|
| 5 | S X=$P(DIKZ(0),U,1)
|
---|
| 6 | I X'="" S ^XUSEC(0,"CUR",$E(X,1,30),DA)=""
|
---|
| 7 | S X=$P(DIKZ(0),U,4)
|
---|
| 8 | I X'="" K ^XUSEC(0,"CUR",+^XUSEC(0,DA,0),DA)
|
---|
| 9 | S X=$P(DIKZ(0),U,4)
|
---|
| 10 | I X'="" N % S %=^XUSEC(0,DA,0) K:$L($P(%,U,11)) ^XUSEC(0,"AS1",$P($P(%,U,11),":"),DA) K:$L($P(%,U,12)) ^XUSEC(0,"AS2",$P($P(%,U,12),":"),DA)
|
---|
| 11 | S X=$P(DIKZ(0),U,4)
|
---|
| 12 | I X'="" N % S %=^XUSEC(0,DA,0) I $L($P(%,U,11)) K ^XUSEC(0,"AS3",$P(%,U),$P($P(%,U,11),":"),DA)
|
---|
| 13 | S X=$P(DIKZ(0),U,7)
|
---|
| 14 | I X'="" S ^XUSEC(0,"ALDEV",X)=+^XUSEC(0,DA,0)
|
---|
| 15 | S X=$P(DIKZ(0),U,11)
|
---|
| 16 | I X'="" S:'$P(^XUSEC(0,DA,0),U,4) ^XUSEC(0,"AS1",$P(X,":"),DA)=""
|
---|
| 17 | S X=$P(DIKZ(0),U,11)
|
---|
| 18 | I X'="" N % S %=^XUSEC(0,DA,0) I '$P(%,U,4) S ^XUSEC(0,"AS3",$P(%,U),$P(X,":"),DA)=""
|
---|
| 19 | S X=$P(DIKZ(0),U,12)
|
---|
| 20 | I X'="" S:'$P(^XUSEC(0,DA,0),U,4) ^XUSEC(0,"AS2",$P(X,":"),DA)=""
|
---|
| 21 | END Q
|
---|