source: WorldVistAEHR/trunk/r/RECORD_TRACKING-RT/RTXR2.m@ 1087

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

initial load of WorldVistAEHR

File size: 1.2 KB
Line 
1RTXR2 ; COMPILED XREF FOR FILE #190 ; 01/30/05
2 ;
3 S DIKZK=1
4 S DIKZ(0)=$G(^RT(DA,0))
5 S X=$P(DIKZ(0),U,1)
6 I X'="" S ^RT("B",$E(X,1,30),DA)=""
7 S X=$P(DIKZ(0),U,3)
8 I X'="" D
9 .N DIK,DIV,DIU,DIN
10 .K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^RT(D0,0)):^(0),1:"") S X=$P(Y(1),U,4),X=X S DIU=X K Y X ^DD(190,3,1,1,1.1) X ^DD(190,3,1,1,1.4)
11 S X=$P(DIKZ(0),U,3)
12 I X'="" S ^RT("AT",X,$P(^RT(DA,0),U),DA)=""
13 S DIKZ(0)=$G(^RT(DA,0))
14 S X=$P(DIKZ(0),U,4)
15 I X'="" S ^RT("AA",X,$P(^RT(DA,0),U),DA)=""
16 S X=$P(DIKZ(0),U,5)
17 I X'="" S ^RT("P",$E(X,1,30),DA)=""
18 S X=$P(DIKZ(0),U,6)
19 I X'="" S ^RT("AH",$E(X,1,30),DA)=""
20 S X=$P(DIKZ(0),U,6)
21 I X'="" X ^DD(190,6,1,2,1)
22 S DIKZ(0)=$G(^RT(DA,0))
23 S X=$P(DIKZ(0),U,9)
24 I X'="" S ^RT("C",$E(X,1,30),DA)=""
25 S X=$P(DIKZ(0),U,11)
26 I X'="" S ^RT("AR",$E(X,1,30),DA)=""
27 S X=$P(DIKZ(0),U,13)
28 I X'="" S:X="y" ^RT("AL",X,DA)=""
29 S DIKZ("CL")=$G(^RT(DA,"CL"))
30 S X=$P(DIKZ("CL"),U,5)
31 I X'="" S ^RT("ABOR",$E(X,1,30),DA)=""
32 S X=$P(DIKZ("CL"),U,5)
33 I X'="" X ^DD(190,105,1,2,1)
34 S DIKZ("CL")=$G(^RT(DA,"CL"))
35 S X=$P(DIKZ("CL"),U,6)
36 I X'="" X ^DD(190,106,1,1,1)
37 S DIKZ("OLDBC")=$G(^RT(DA,"OLDBC"))
38 S X=$E(DIKZ("OLDBC"),1,45)
39 I X'="" S ^RT("AOLDBC",$E(X,1,30),DA)=""
40END Q
Note: See TracBrowser for help on using the repository browser.