source: WorldVistAEHR/trunk/r/LIBRARY-LBR-LBRS/LBRYX34.m@ 1604

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

initial load of WorldVistAEHR

File size: 969 bytes
Line 
1LBRYX34 ; COMPILED XREF FOR FILE #682.04 ; 01/30/05
2 ;
3 S DA(1)=DA S DA=0
4A1 ;
5 I $D(DISET) 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,1)
11 I X'="" S ^LBRY(682,DA(1),4,"B",$E(X,1,30),DA)=""
12 S X=$P(DIKZ(0),U,2)
13 I X'="" I "12"[X,'$P(^LBRY(682,DA(1),4,DA,0),U,6) S ^LBRY(682,"A2",DA(1),DA)=""
14 S X=$P(DIKZ(0),U,2)
15 I X'="" D NOCS^LBRYRTX
16 S X=$P(DIKZ(0),U,6)
17 I X'="" K ^LBRY(682,"A2",DA(1),DA)
18 S X=$P(DIKZ(0),U,6)
19 I X'="" S ^LBRY(682,"A3",$E(X,1,30),DA(1),DA)=""
20 S X=$P(DIKZ(0),U,7)
21 I X'="" S:$P($G(^LBRY(682,DA(1),0)),U,2)'="" ^LBRY(682,"A4",X,$P(^LBRY(682,DA(1),0),U,2),DA(1),DA)=""
22 S X=$P(DIKZ(0),U,7)
23 I X'="" D
24 .N DIK,DIV,DIU,DIN
25 .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 S X=DIV S X=$P(^LBRY(682,DA(1),4,DA,0),U,7) X ^DD(682.04,5,1,2,1.4)
26 G:'$D(DIKLM) A Q:$D(DISET)
27END Q
Note: See TracBrowser for help on using the repository browser.