source: FOIAVistA/trunk/r/MENTAL_HEALTH-YS-RUCL-YI-YT/YSXRAS2.m@ 1635

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

initial load of FOIAVistA 6/30/08 version

File size: 414 bytes
Line 
1YSXRAS2 ; COMPILED XREF FOR FILE #618.2 ; 10/15/04
2 ;
3 S DIKZK=1
4 S DIKZ(0)=$G(^YSG("SUB",DA,0))
5 S X=$P(DIKZ(0),U,1)
6 I X'="" S ^YSG("SUB","B",$E(X,1,30),DA)=""
7 S DIKZ(1)=$G(^YSG("SUB",DA,1))
8 S X=$P(DIKZ(1),U,1)
9 I X'="" S ^YSG("SUB","AWD",$E(X,1,30),DA)=""
10 S X=$P(DIKZ(1),U,2)
11 I X'="" S ^YSG("SUB","C",$E(X,1,30),DA)=""
12 S X=$P(DIKZ(1),U,6)
13 I X'="" S ^YSG("SUB","AOR",$P(^YSG("SUB",DA,1),U),X,DA)=""
14END Q
Note: See TracBrowser for help on using the repository browser.