source: FOIAVistA/trunk/r/MENTAL_HEALTH-YS-RUCL-YI-YT/YSXRAT1.m@ 1397

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

initial load of FOIAVistA 6/30/08 version

File size: 659 bytes
Line 
1YSXRAT1 ; COMPILED XREF FOR FILE #618.4 ; 10/15/04
2 ;
3 S DIKZK=2
4 S DIKZ(0)=$G(^YSG("INP",DA,0))
5 S X=$P(DIKZ(0),U,2)
6 I X'="" K ^YSG("INP","C",$E(X,1,30),DA)
7 S X=$P(DIKZ(0),U,2)
8 I X'="" K ^YSG("INP","CP",X,DA)
9 S X=$P(DIKZ(0),U,3)
10 I X'="" K ^YSG("INP","AIN",9999999-X,DA)
11 S X=$P(DIKZ(0),U,5)
12 I X'="" K ^YSG("INP","AC",X,DA)
13 S X=$P(DIKZ(0),U,6)
14 I X'="" K ^YSG("INP","ACP",X,DA)
15 S X=$P(DIKZ(0),U,7)
16 I X'="" K ^YSG("INP","ACR",X,DA)
17 S DIKZ(7)=$G(^YSG("INP",DA,7))
18 S X=$P(DIKZ(7),U,2)
19 I X'="" K ^YSG("INP","AOUT",9999999-X,DA)
20 S X=$P(DIKZ(7),U,4)
21 I X'="" D LEAVE^YSCEN5
22 S X=$P(DIKZ(0),U,1)
23 I X'="" K ^YSG("INP","B",$E(X,1,30),DA)
24END G ^YSXRAT2
Note: See TracBrowser for help on using the repository browser.