source: FOIAVistA/trunk/r/MENTAL_HEALTH-YS-RUCL-YI-YT/YSXRAX1.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: 408 bytes
Line 
1YSXRAX1 ; COMPILED XREF FOR FILE #627.5 ; 10/15/04
2 ;
3 S DIKZK=2
4 S DIKZ(0)=$G(^DIC(627.5,DA,0))
5 S X=$P(DIKZ(0),U,2)
6 I X'="" K ^DIC(627.5,"D",$E(X,1,30),DA)
7 S DIKZ(1)=$G(^DIC(627.5,DA,1))
8 S X=$P(DIKZ(1),U,1)
9 I X'="" S %1=1 F %=1:1:$L(X)+1 S I=$E(X,%) I " "[I S I=$E($E(X,%1,%-1),1,30),%1=%+1 I $L(I)>2 K ^DIC(627.5,"E",I,DA)
10 S X=$P(DIKZ(0),U,1)
11 I X'="" K ^DIC(627.5,"B",$E(X,1,30),DA)
12END G ^YSXRAX2
Note: See TracBrowser for help on using the repository browser.