source: FOIAVistA/trunk/r/TEXT_INTEGRATION_UTILITIES-GMRP-TIU/TIUXRC1.m@ 1354

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

initial load of FOIAVistA 6/30/08 version

File size: 7.7 KB
Line 
1TIUXRC1 ; COMPILED XREF FOR FILE #8925 ; 12/11/06
2 ;
3 S DIKZK=2
4 S DIKZ(0)=$G(^TIU(8925,DA,0))
5 S X=$P(DIKZ(0),U,2)
6 I X'="" I $L($P(^TIU(8925,+DA,0),U)),(+$P(^(0),U,3)>0) K ^TIU(8925,"AA",+X,+^TIU(8925,+DA,0),(9999999-$P(+^AUPNVSIT($P(^TIU(8925,+DA,0),U,3),0),".")),+DA)
7 S X=$P(DIKZ(0),U,2)
8 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,13)),U),+$P($G(^TIU(8925,+DA,0)),U,5) K ^TIU(8925,"APT",+X,+$P(^TIU(8925,+DA,0),U),+$P(^TIU(8925,+DA,0),U,5),(9999999-$P(^TIU(8925,+DA,13),U)),DA)
9 S X=$P(DIKZ(0),U,2)
10 I X'="" I $L($P(^TIU(8925,+DA,0),U)),(+$P(^(0),U,3)>0) K ^TIU(8925,"AE",+X,(9999999-$P(+^AUPNVSIT($P(^TIU(8925,+DA,0),U,3),0),".")),+^TIU(8925,+DA,0),+DA)
11 S X=$P(DIKZ(0),U,2)
12 I X'="" K ^TIU(8925,"C",$E(X,1,30),DA)
13 S X=$P(DIKZ(0),U,2)
14 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^(0)),U,3) K ^TIU(8925,"AV",+X,+$P(^TIU(8925,+DA,0),U),+$P(^TIU(8925,+DA,0),U,3),+DA)
15 S X=$P(DIKZ(0),U,2)
16 I X'="" I +$P($G(^TIU(8925,+DA,15)),U) K ^TIU(8925,"APTP",+X,+$P($G(^TIU(8925,+DA,15)),U),+DA)
17 S X=$P(DIKZ(0),U,2)
18 I X'="" I +$P($G(^TIU(8925,+DA,0)),U,4),+$P($G(^TIU(8925,+DA,13)),U),+$P($G(^TIU(8925,+DA,0)),U,5) K ^TIU(8925,"ADCPT",+X,+$P(^TIU(8925,+DA,0),U,4),+$P(^TIU(8925,+DA,0),U,5),(9999999-$P(^TIU(8925,+DA,13),U)),DA)
19 S X=$P(DIKZ(0),U,2)
20 I X'="" I +$P(^TIU(8925,+DA,0),U),+$P($G(^TIU(8925,+DA,13)),U) K ^TIU(8925,"APTCL",+X,+$$CLINDOC^TIULC1(+$P(^TIU(8925,+DA,0),U),+DA),(9999999-$P(^TIU(8925,+DA,13),U)),DA)
21 S X=$P(DIKZ(0),U,2)
22 I X'="" I +$P(^TIU(8925,+DA,0),U),+$P($G(^TIU(8925,+DA,13)),U) K ^TIU(8925,"APTCL",+X,38,(9999999-$P(^TIU(8925,+DA,13),U)),DA)
23 S X=$P(DIKZ(0),U,2)
24 I X'="" D KACLPT^TIUDD01(.02,X)
25 S X=$P(DIKZ(0),U,2)
26 I X'="" D KACLAU^TIUDD01(.02,X),KACLAU1^TIUDD01(.02,X)
27 S X=$P(DIKZ(0),U,2)
28 I X'="" D KACLEC^TIUDD01(.02,X)
29 S X=$P(DIKZ(0),U,2)
30 I X'="" D KACLSB^TIUDD01(.02,X)
31 S X=$P(DIKZ(0),U,2)
32 I X'="" D KAPTLD^TIUDD01(.02,X)
33 S X=$P(DIKZ(0),U,3)
34 I X'="" I $L($P(^TIU(8925,+DA,0),U)),(+$P(^(0),U,2)>0) K ^TIU(8925,"AA",$P(^(0),U,2),+$P(^(0),U),(9999999-$P(+$G(^AUPNVSIT(X,0)),".")),DA)
35 S X=$P(DIKZ(0),U,3)
36 I X'="" I $L($P(^TIU(8925,+DA,0),U)),(+$P(^(0),U,2)>0) K ^TIU(8925,"AE",+$P(^TIU(8925,+DA,0),U,2),(9999999-$P(+$G(^AUPNVSIT(+X,0)),".")),+^TIU(8925,+DA,0),+DA)
37 S X=$P(DIKZ(0),U,3)
38 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^(0)),U,2) K ^TIU(8925,"AV",+$P(^TIU(8925,+DA,0),U,2),+$P(^TIU(8925,+DA,0),U),+X,+DA)
39 S X=$P(DIKZ(0),U,3)
40 I X'="" D:$D(^AUPNVSIT(+X)) SUB^AUPNVSIT
41 S X=$P(DIKZ(0),U,3)
42 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,13)),U),+$P($G(^TIU(8925,+DA,0)),U,5) K ^TIU(8925,"AVSIT",+X,+$P(^TIU(8925,+DA,0),U),+$P(^TIU(8925,+DA,0),U,5),(9999999-$P(^TIU(8925,+DA,13),U)),DA)
43 S X=$P(DIKZ(0),U,3)
44 I X'="" K ^TIU(8925,"V",$E(X,1,30),DA)
45 S X=$P(DIKZ(0),U,3)
46 I X'="" D
47 .N DIK,DIV,DIU,DIN
48 .K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^TIU(8925,D0,150)):^(150),1:"") S X=$P(Y(1),U,1),X=X S DIU=X K Y S X="" X ^DD(8925,.03,1,7,2.4)
49 S X=$P(DIKZ(0),U,3)
50 I X'="" D KAPTLD^TIUDD01(.03,X)
51 S DIKZ(0)=$G(^TIU(8925,DA,0))
52 S X=$P(DIKZ(0),U,4)
53 I X'="" I +$P($G(^TIU(8925,+DA,0)),U,2),+$P($G(^TIU(8925,+DA,13)),U),+$P($G(^TIU(8925,+DA,0)),U,5) K ^TIU(8925,"ADCPT",+$P(^TIU(8925,+DA,0),U,2),+X,+$P(^TIU(8925,+DA,0),U,5),(9999999-$P(^TIU(8925,+DA,13),U)),DA)
54 S X=$P(DIKZ(0),U,5)
55 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,12)),U,8),+$P($G(^TIU(8925,+DA,0)),U,5) K ^TIU(8925,"ASUP",+$P(^TIU(8925,+DA,12),U,8),+$P(^TIU(8925,+DA,0),U),+X,(9999999-+$P(^TIU(8925,+DA,13),U)),+DA)
56 S X=$P(DIKZ(0),U,5)
57 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,12)),U,2),+$P($G(^TIU(8925,+DA,13)),U) K ^TIU(8925,"AAU",+$P(^TIU(8925,+DA,12),U,2),+$P(^TIU(8925,+DA,0),U),+X,(9999999-$P(^TIU(8925,+DA,13),U)),+DA)
58 S X=$P(DIKZ(0),U,5)
59 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,0)),U,2),+$P($G(^TIU(8925,+DA,13)),U) K ^TIU(8925,"APT",+$P(^TIU(8925,+DA,0),U,2),+$P(^TIU(8925,+DA,0),U),+X,(9999999-$P(^TIU(8925,+DA,13),U)),+DA)
60 S X=$P(DIKZ(0),U,5)
61 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,13)),U,2),+$P($G(^TIU(8925,+DA,13)),U) K ^TIU(8925,"ATC",+$P($G(^TIU(8925,+DA,13)),U,2),+$P(^TIU(8925,+DA,0),U),+X,(9999999-$P($G(^TIU(8925,+DA,13)),U)),DA)
62 S X=$P(DIKZ(0),U,5)
63 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,14)),U,2),+$P($G(^TIU(8925,+DA,13)),U) K ^TIU(8925,"ATS",+$P($G(^TIU(8925,+DA,14)),U,2),+$P(^TIU(8925,+DA,0),U),+X,(9999999-$P($G(^TIU(8925,+DA,13)),U)),DA)
64 S X=$P(DIKZ(0),U,5)
65 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,13)),U) K ^TIU(8925,"ALL","ANY",+$P(^TIU(8925,+DA,0),U),+X,(9999999-$P(^TIU(8925,+DA,13),U)),+DA)
66 S X=$P(DIKZ(0),U,5)
67 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),$L($P($G(^TIU(8925,+DA,17)),U)),+$P($G(^TIU(8925,+DA,13)),U) D ASUBK^TIUDD($P($G(^TIU(8925,+DA,17)),U),+$G(^TIU(8925,+DA,0)),+X,(9999999-+$G(^TIU(8925,+DA,13))),DA)
68 S X=$P(DIKZ(0),U,5)
69 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,14)),U,4),+$P($G(^TIU(8925,+DA,13)),U) K ^TIU(8925,"ASVC",+$P($G(^TIU(8925,+DA,14)),U,4),+$P(^TIU(8925,+DA,0),U),+X,(9999999-$P($G(^TIU(8925,+DA,13)),U)),DA)
70 S X=$P(DIKZ(0),U,5)
71 I X'="" I +$P($G(^TIU(8925,+DA,12)),U,5),+$P($G(^TIU(8925,+DA,13)),U),+$P($G(^TIU(8925,+DA,0)),U) K ^TIU(8925,"ALOC",+$P($G(^TIU(8925,+DA,12)),U,5),+$P($G(^TIU(8925,+DA,0)),U),+X,(9999999-$P($G(^TIU(8925,+DA,13)),U)),DA)
72 S X=$P(DIKZ(0),U,5)
73 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,13)),U),+$O(^TIU(8925.9,"B",+DA,0)) D APRBK^TIUDD(+$G(^TIU(8925,+DA,0)),+X,(9999999-+$G(^TIU(8925,+DA,13))),DA)
74 S X=$P(DIKZ(0),U,5)
75 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,0)),U,3),+$P($G(^TIU(8925,+DA,13)),U) K ^TIU(8925,"AVSIT",+$P(^TIU(8925,+DA,0),U,3),+$P(^TIU(8925,+DA,0),U),+X,(9999999-$P(^TIU(8925,+DA,13),U)),+DA)
76 S X=$P(DIKZ(0),U,5)
77 I X'="" I +$P($G(^TIU(8925,+DA,0)),U,2),+$P($G(^TIU(8925,+DA,13)),U),+$P($G(^TIU(8925,+DA,0)),U,4) K ^TIU(8925,"ADCPT",+$P(^TIU(8925,+DA,0),U,2),+$P(^TIU(8925,+DA,0),U,4),+X,(9999999-$P(^TIU(8925,+DA,13),U)),DA)
78 S X=$P(DIKZ(0),U,5)
79 I X'="" D KACLPT^TIUDD01(.05,X)
80 S X=$P(DIKZ(0),U,5)
81 I X'="" D KACLEC^TIUDD01(.05,X)
82 S X=$P(DIKZ(0),U,5)
83 I X'="" D KACLAU^TIUDD01(.05,X),KACLAU1^TIUDD01(.05,X)
84 S X=$P(DIKZ(0),U,6)
85 I X'="" K ^TIU(8925,"DAD",$E(X,1,30),DA)
86 S X=$P(DIKZ(0),U,7)
87 I X'="" D KAPTLD^TIUDD01(.07,X)
88 S X=$P(DIKZ(0),U,12)
89 I X'="" K ^TIU(8925,"FIX",$E(X,1,30),DA)
90 S X=$P(DIKZ(0),U,13)
91 I X'="" D KAPTLD^TIUDD01(.13,X)
92 S DIKZ(12)=$G(^TIU(8925,DA,12))
93 S X=$P(DIKZ(12),U,1)
94 I X'="" K ^TIU(8925,"F",$E(X,1,30),DA)
95 S X=$P(DIKZ(12),U,2)
96 I X'="" K ^TIU(8925,"CA",$E(X,1,30),DA)
97 S X=$P(DIKZ(12),U,2)
98 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,13)),U),+$P($G(^TIU(8925,+DA,0)),U,5) K ^TIU(8925,"AAU",+X,+$P(^TIU(8925,+DA,0),U),+$P(^TIU(8925,+DA,0),U,5),(9999999-$P(^TIU(8925,+DA,13),U)),+DA)
99 S X=$P(DIKZ(12),U,2)
100 I X'="" I +$P($G(^TIU(8925,+DA,15)),U) K ^TIU(8925,"AAUP",+X,+$P($G(^TIU(8925,+DA,15)),U),+DA)
101 S X=$P(DIKZ(12),U,2)
102 I X'="" D KACLAU^TIUDD01(1202,X)
103 S X=$P(DIKZ(12),U,5)
104 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,13)),U),+$P($G(^TIU(8925,+DA,0)),U,5) K ^TIU(8925,"ALOC",+X,+$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,0)),U,5),(9999999-$P($G(^TIU(8925,+DA,13)),U)),DA)
105 S X=$P(DIKZ(12),U,5)
106 I X'="" I +$P($G(^TIU(8925,+DA,15)),U) K ^TIU(8925,"ALOCP",+X,+$P($G(^TIU(8925,+DA,15)),U),+DA)
107 S X=$P(DIKZ(12),U,7)
108 I X'="" D:$D(^AUPNVSIT(+X)) SUB^AUPNVSIT
109 S X=$P(DIKZ(12),U,8)
110 I X'="" K ^TIU(8925,"CS",$E(X,1,30),DA)
111 S X=$P(DIKZ(12),U,8)
112 I X'="" I +$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,13)),U),+$P($G(^TIU(8925,+DA,0)),U,5) K ^TIU(8925,"ASUP",+X,+$P(^TIU(8925,+DA,0),U),+$P(^TIU(8925,+DA,0),U,5),(9999999-$P($G(^TIU(8925,+DA,13)),U)),DA)
113 S X=$P(DIKZ(12),U,8)
114 I X'="" D KACLEC^TIUDD01(1208,X)
115 S X=$P(DIKZ(12),U,11)
116 I X'="" D KAPTLD^TIUDD01(1211,X)
117 S DIKZ(13)=$G(^TIU(8925,DA,13))
118 S X=$P(DIKZ(13),U,1)
119END G ^TIUXRC2
Note: See TracBrowser for help on using the repository browser.