source: WorldVistAEHR/trunk/r/MENTAL_HEALTH-YS-RUCL-YI-YT/YSXRAX3.m@ 1154

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

initial load of WorldVistAEHR

File size: 432 bytes
Line 
1YSXRAX3 ; COMPILED XREF FOR FILE #627.5 ; 01/30/05
2 ;
3 S DIKZK=1
4 S DIKZ(0)=$G(^DIC(627.5,DA,0))
5 S X=$P(DIKZ(0),U,1)
6 I X'="" S ^DIC(627.5,"B",$E(X,1,30),DA)=""
7 S X=$P(DIKZ(0),U,2)
8 I X'="" S ^DIC(627.5,"D",$E(X,1,30),DA)=""
9 S DIKZ(1)=$G(^DIC(627.5,DA,1))
10 S X=$P(DIKZ(1),U,1)
11 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,^DD("KWIC")'[I S ^DIC(627.5,"E",I,DA)=""
12END G ^YSXRAX4
Note: See TracBrowser for help on using the repository browser.