source: WorldVistAEHR/trunk/r/LIBRARY-LBR-LBRS/LBRYX32.m@ 700

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

initial load of WorldVistAEHR

File size: 879 bytes
Line 
1LBRYX32 ; COMPILED XREF FOR FILE #682.04 ; 01/30/05
2 ;
3 S DA(1)=DA S DA=0
4A1 ;
5 I $D(DIKILL) K DIKLM S:DIKM1=1 DIKLM=1 G @DIKM1
60 ;
7A S DA=$O(^LBRY(682,DA(1),4,DA)) I DA'>0 S DA=0 G END
81 ;
9 S DIKZ(0)=$G(^LBRY(682,DA(1),4,DA,0))
10 S X=$P(DIKZ(0),U,2)
11 I X'="" K ^LBRY(682,"A2",DA(1),DA)
12 S X=$P(DIKZ(0),U,2)
13 I X'="" D NOCD^LBRYRTX
14 S X=$P(DIKZ(0),U,6)
15 I X'="" K ^LBRY(682,"A3",$E(X,1,30),DA(1),DA)
16 S X=$P(DIKZ(0),U,7)
17 I X'="" K:$P($G(^LBRY(682,DA(1),0)),U,2)'="" ^LBRY(682,"A4",X,$P(^LBRY(682,DA(1),0),U,2),DA(1),DA)
18 S X=$P(DIKZ(0),U,7)
19 I X'="" D
20 .N DIK,DIV,DIU,DIN
21 .K DIV S DIV=X,D0=DA(1),DIV(0)=D0,D1=DA S Y(1)=$S($D(^LBRY(682,D0,1)):^(1),1:"") S X=$P(Y(1),U,7),X=X S DIU=X K Y X ^DD(682.04,5,1,2,2.1) X ^DD(682.04,5,1,2,2.4)
22 S DIKZ(0)=$G(^LBRY(682,DA(1),4,DA,0))
23 S X=$P(DIKZ(0),U,1)
24 I X'="" K ^LBRY(682,DA(1),4,"B",$E(X,1,30),DA)
25 G:'$D(DIKLM) A Q:$D(DIKILL)
26END Q
Note: See TracBrowser for help on using the repository browser.