source: WorldVistAEHR/trunk/r/PHARMACY_DATA_MANAGEMENT-PSS/PSSJXR6.m@ 623

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

initial load of WorldVistAEHR

File size: 744 bytes
Line 
1PSSJXR6 ; COMPILED XREF FOR FILE #55.05 ; 01/17/08
2 ;
3 S DA=0
4A1 ;
5 I $D(DIKILL) K DIKLM S:DIKM1=1 DIKLM=1 G @DIKM1
60 ;
7A S DA=$O(^PS(55,DA(1),"NVA",DA)) I DA'>0 S DA=0 G END
81 ;
9 S DIKZ(0)=$G(^PS(55,DA(1),"NVA",DA,0))
10 S X=$P(DIKZ(0),U,6)
11 I X'="" K:$G(PSODEATH) ^PS(55,DA(1),"NVA","APSOD",DA)
12 S X=$P(DIKZ(0),U,10)
13 I X'="" K ^PS(55,"ADCDT",$E(X,1,30),DA(1),DA)
14 S X=$P(DIKZ(0),U,1)
15 I X'="" K ^PS(55,DA(1),"NVA","B",$E(X,1,30),DA)
16CR1 S DIXR=479
17 K X
18 S X(1)=$P(DIKZ(0),U,1)
19 S X(2)=$P(DIKZ(0),U,10)
20 S X(3)=$P(DIKZ(0),U,9)
21 S X(4)=$P(DIKZ(0),U,7)
22 S X=$G(X(1))
23 I $G(X(1))]"",$G(X(2))]"" D
24 . K X1,X2 M X1=X,X2=X
25 . S:$D(DIKIL) (X2,X2(1),X2(2),X2(3),X2(4))=""
26 . D KNVA^PSOPXRMU(.X,.DA)
27CR2 K X
28 G:'$D(DIKLM) A Q:$D(DIKILL)
29END G ^PSSJXR7
Note: See TracBrowser for help on using the repository browser.