source:
WorldVistAEHR/trunk/r/MENTAL_HEALTH-YS-RUCL-YI-YT/YSXRAX1.m
Last change on this file was 613, checked in by , 15 years ago | |
---|---|
File size: 408 bytes |
Rev | Line | |
---|---|---|
[613] | 1 | YSXRAX1 ; COMPILED XREF FOR FILE #627.5 ; 01/30/05 |
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) | |
12 | END G ^YSXRAX2 |
Note:
See TracBrowser
for help on using the repository browser.