source:
WorldVistAEHR/trunk/r/MENTAL_HEALTH-YS-RUCL-YI-YT/YSXRAS1.m
Last change on this file was 613, checked in by , 15 years ago | |
---|---|
File size: 402 bytes |
Rev | Line | |
---|---|---|
[613] | 1 | YSXRAS1 ; 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) | |
14 | END Q |
Note:
See TracBrowser
for help on using the repository browser.