source: FOIAVistA/tag/r/MENTAL_HEALTH-YS-RUCL-YI-YT/YSXRAS2.m@ 636

Last change on this file since 636 was 636, checked in by George Lilly, 14 years ago

WorldVistAEHR overlayed on FOIAVistA

File size: 414 bytes
Line 
1YSXRAS2 ; COMPILED XREF FOR FILE #618.2 ; 01/30/05
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.