source: WorldVistAEHR/trunk/r/MENTAL_HEALTH-YS-RUCL-YI-YT/YSXRAS1.m@ 699

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

initial load of WorldVistAEHR

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