source: WorldVistAEHR/trunk/r/RECORD_TRACKING-RT/RTXB6.m@ 767

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

initial load of WorldVistAEHR

File size: 526 bytes
RevLine 
[613]1RTXB6 ; COMPILED XREF FOR FILE #195.9001 ; 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(^RTV(195.9,DA(1),"RECS",DA)) I DA'>0 S DA=0 G END
81 ;
9 S DIKZ(0)=$G(^RTV(195.9,DA(1),"RECS",DA,0))
10 S X=$P(DIKZ(0),U,1)
11 I X'="" D
12 .N DIK,DIV,DIU,DIN
13 .K DIV S DIV=X,D0=DA(1),DIV(0)=D0,D1=DA,DIV(1)=D1 S Y(1)=$S($D(^RTV(195.9,D0,"RECS",D1,0)):^(0),1:"") S X=$P(Y(1),U,3),X=X S DIU=X K Y X ^DD(195.9001,.01,1,1,1.1) X ^DD(195.9001,.01,1,1,1.4)
14 G:'$D(DIKLM) A Q:$D(DISET)
15END G ^RTXB7
Note: See TracBrowser for help on using the repository browser.