source: WorldVistAEHR/trunk/r/PHARMACY_DATA_MANAGEMENT-PSS/PSSJXR22.m@ 1375

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

initial load of WorldVistAEHR

File size: 706 bytes
Line 
1PSSJXR22 ; COMPILED XREF FOR FILE #55.05 ; 01/17/08
2 ;
3 S DA=0
4A1 ;
5 I $D(DISET) 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,1)
11 I X'="" S ^PS(55,DA(1),"NVA","B",$E(X,1,30),DA)=""
12 S X=$P(DIKZ(0),U,6)
13 I X'="" S:$G(PSODEATH) ^PS(55,DA(1),"NVA","APSOD",DA)=""
14 S X=$P(DIKZ(0),U,10)
15 I X'="" S ^PS(55,"ADCDT",$E(X,1,30),DA(1),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 . D SNVA^PSOPXRMU(.X,.DA)
26CR2 K X
27 G:'$D(DIKLM) A Q:$D(DISET)
28END G ^PSSJXR23
Note: See TracBrowser for help on using the repository browser.