source: WorldVistAEHR/trunk/r/MENTAL_HEALTH-YS-RUCL-YI-YT/YSXRAY3.m@ 1005

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

initial load of WorldVistAEHR

File size: 1.3 KB
Line 
1YSXRAY3 ; COMPILED XREF FOR FILE #627.8 ; 01/30/05
2 ;
3 S DIKZK=1
4 S DIKZ(0)=$G(^YSD(627.8,DA,0))
5 S X=$P(DIKZ(0),U,1)
6 I X'="" S ^YSD(627.8,"B",$E(X,1,30),DA)=""
7 S X=$P(DIKZ(0),U,2)
8 I X'="" S ^YSD(627.8,"C",$E(X,1,30),DA)=""
9 S DIKZ(1)=$G(^YSD(627.8,DA,1))
10 S X=$P(DIKZ(1),U,1)
11 I X'="" S X1=$S(X["ICD":"I",X["DIC":"D",1:"Z"),^YSD(627.8,"AE",X1,$P(^YSD(627.8,DA,0),"^",2),$P(^YSD(627.8,DA,0),"^",3),$E(X,1,30),DA)=""
12 S X=$P(DIKZ(1),U,1)
13 I X'="" S ^YSD(627.8,"AF",$P(^YSD(627.8,DA,0),"^",2),9999999.0000-$P(^YSD(627.8,DA,0),"^",3),$E(X,1,30),DA)=""
14 S X=$P(DIKZ(1),U,1)
15 I X'="" S X1=$S(X["ICD":"I",X["DIC":"D",1:"Z"),^YSD(627.8,"AG",X1,$P(^YSD(627.8,DA,0),"^",2),$E(X,1,30),DA)=""
16 S X=$P(DIKZ(1),U,4)
17 I X'="" S ^YSD(627.8,"AC",$P(^YSD(627.8,DA,0),"^",2),9999999-$P(^YSD(627.8,DA,0),"^",3),$P(^YSD(627.8,DA,1),"^"),X,DA)=""
18 S X=$P(DIKZ(1),U,3)
19 I X'="" S:X="y" ^YSD(627.8,"AD",$P(^YSD(627.8,DA,0),"^",2),9999999.0000-$P(^YSD(627.8,DA,0),"^",3),DA)=""
20 S X=$P(DIKZ(1),U,3)
21 I X'="" I "yc"[X S ^YSD(627.8,"AH",$P(^YSD(627.8,DA,0),"^",2),9999999-$P(^YSD(627.8,DA,0),"^",3),DA)=""
22 S DIKZ(60)=$G(^YSD(627.8,DA,60))
23 S X=$P(DIKZ(60),U,2)
24 I X'="" N X1 S X1=$G(^YSD(627.8,DA,0)) S ^YSD(627.8,"AX4",$P(X1,U,2),9999999-$P(X1,U,3),DA)=""
25 S X=$P(DIKZ(60),U,3)
26 I X'="" N X1 S X1=$G(^YSD(627.8,DA,0)) S ^YSD(627.8,"AX5",$P(X1,U,2),9999999-$P(X1,U,3),DA)=""
27END G ^YSXRAY4
Note: See TracBrowser for help on using the repository browser.