source: WorldVistAEHR/trunk/r/RECORD_TRACKING-RT/RTXB2.m@ 1686

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

initial load of WorldVistAEHR

File size: 507 bytes
RevLine 
[613]1RTXB2 ; COMPILED XREF FOR FILE #195.9001 ; 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(^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 S X="" X ^DD(195.9001,.01,1,1,2.4)
14 G:'$D(DIKLM) A Q:$D(DIKILL)
15END G ^RTXB3
Note: See TracBrowser for help on using the repository browser.