source: WorldVistAEHR/trunk/r/EQUIPMENT_TURN_IN_REQUEST-PRCN/PRCNX5.m@ 1578

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

initial load of WorldVistAEHR

File size: 1.0 KB
Line 
1PRCNX5 ; COMPILED XREF FOR FILE #413 ; 01/30/05
2 ;
3 S DIKZK=1
4 S DIKZ(0)=$G(^PRCN(413,DA,0))
5 S X=$P(DIKZ(0),U,1)
6 I X'="" S ^PRCN(413,"B",$E(X,1,30),DA)=""
7 S X=$P(DIKZ(0),U,3)
8 I X'="" S ^PRCN(413,"AE",$E(X,1,30),DA)=""
9 S X=$P(DIKZ(0),U,16)
10 I X'="" D
11 .N DIK,DIV,DIU,DIN
12 .K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^PRCN(413,D0,0)):^(0),1:"") S X=$P(Y(1),U,6),X=X S DIU=X K Y S X=DIV S X=$P(^ENG(6914.1,X,0),U,2) X ^DD(413,4.5,1,1,1.4)
13 S DIKZ(0)=$G(^PRCN(413,DA,0))
14 S X=$P(DIKZ(0),U,6)
15 I X'="" S ^PRCN(413,"AD",$E(X,1,30),DA)=""
16 S X=$P(DIKZ(0),U,7)
17 I X'="" S ^PRCN(413,"AC",$E(X,1,30),DA)=""
18 S DIKZ(2)=$G(^PRCN(413,DA,2))
19 S X=$P(DIKZ(2),U,14)
20 I X'="" D
21 .N DIK,DIV,DIU,DIN
22 .K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^PRCN(413,D0,2)):^(2),1:"") S X=$P(Y(1),U,15),X=X S DIU=X K Y S X=DIV S X=$P($G(^VA(200,X,.13)),U,2) X ^DD(413,30,1,1,1.4)
23 S DIKZ(2)=$G(^PRCN(413,DA,2))
24 S X=$P(DIKZ(2),U,18)
25 I X'="" S SK=0 D XREF^PRCNCMRP K SK
26 S DIKZ(6)=$G(^PRCN(413,DA,6))
27 S X=$P(DIKZ(6),U,3)
28 I X'="" S ^PRCN(413,"E",$E(X,1,30),DA)=""
29END G ^PRCNX6
Note: See TracBrowser for help on using the repository browser.