source: WorldVistAEHR/trunk/r/LIBRARY-LBR-LBRS/LBRYX31.m@ 1605

Last change on this file since 1605 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 922 bytes
Line 
1LBRYX31 ; COMPILED XREF FOR FILE #682 ; 01/30/05
2 ;
3 S DIKZK=2
4 S DIKZ(0)=$G(^LBRY(682,DA,0))
5 S X=$P(DIKZ(0),U,2)
6 I X'="" K ^LBRY(682,"C",$E(X,1,30),DA)
7 S X=$P(DIKZ(0),U,2)
8 I X'="" K:$P($G(^LBRY(682,DA,1)),U) ^LBRY(682,"AC",$E(X,1,30),$P(^LBRY(682,DA,1),U),DA)
9 S X=$P(DIKZ(0),U,2)
10 I X'="" K:$P($G(^LBRY(682,DA,1)),U)'="" ^LBRY(682,"A1",$E(X,1,30),9999999-$P(^LBRY(682,DA,1),U),DA)
11 S X=$P(DIKZ(0),U,2)
12 I X'="" N LBRTYPE S LBRTYPE="KILL" D A4^LBRYRTX
13 S X=$P(DIKZ(0),U,4)
14 I X'="" K ^LBRY(682,"E",$E(X,1,30),DA)
15 S DIKZ(1)=$G(^LBRY(682,DA,1))
16 S X=$P(DIKZ(1),U,1)
17 I X'="" K:$P($G(^LBRY(682,DA,0)),U,2)'="" ^LBRY(682,"AC",$P(^LBRY(682,DA,0),U,2),$E(X,1,30),DA)
18 S X=$P(DIKZ(1),U,1)
19 I X'="" K:$P($G(^LBRY(682,DA,0)),U,2)'="" ^LBRY(682,"A1",$P(^LBRY(682,DA,0),U,2),9999999-X,DA)
20 S X=$P(DIKZ(1),U,1)
21 I X'="" K ^LBRY(682,"D",$E(X,1,30),DA)
22 S X=$P(DIKZ(0),U,1)
23 I X'="" K ^LBRY(682,"B",$E(X,1,30),DA)
24END G ^LBRYX32
Note: See TracBrowser for help on using the repository browser.