source: FOIAVistA/trunk/r/EQUIPMENT_TURN_IN_REQUEST-PRCN/PRCNX1.m@ 1607

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

initial load of FOIAVistA 6/30/08 version

File size: 788 bytes
Line 
1PRCNX1 ; COMPILED XREF FOR FILE #413 ; 10/15/04
2 ;
3 S DIKZK=2
4 S DIKZ(0)=$G(^PRCN(413,DA,0))
5 S X=$P(DIKZ(0),U,3)
6 I X'="" K ^PRCN(413,"AE",$E(X,1,30),DA)
7 S X=$P(DIKZ(0),U,6)
8 I X'="" K ^PRCN(413,"AD",$E(X,1,30),DA)
9 S X=$P(DIKZ(0),U,7)
10 I X'="" K ^PRCN(413,"AC",$E(X,1,30),DA)
11 S DIKZ(2)=$G(^PRCN(413,DA,2))
12 S X=$P(DIKZ(2),U,14)
13 I X'="" D
14 .N DIK,DIV,DIU,DIN
15 .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="" X ^DD(413,30,1,1,2.4)
16 S DIKZ(2)=$G(^PRCN(413,DA,2))
17 S X=$P(DIKZ(2),U,18)
18 I X'="" S SK=1 D XREF^PRCNCMRP K SK
19 S DIKZ(6)=$G(^PRCN(413,DA,6))
20 S X=$P(DIKZ(6),U,3)
21 I X'="" K ^PRCN(413,"E",$E(X,1,30),DA)
22 S DIKZ(0)=$G(^PRCN(413,DA,0))
23 S X=$P(DIKZ(0),U,1)
24 I X'="" K ^PRCN(413,"B",$E(X,1,30),DA)
25END G ^PRCNX2
Note: See TracBrowser for help on using the repository browser.