source: WorldVistAEHR/trunk/r/PHARMACY_DATA_MANAGEMENT-PSS/PSSJXR3.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: 572 bytes
Line 
1PSSJXR3 ; COMPILED XREF FOR FILE #55.0105 ; 01/17/08
2 ;
3 S DA=0
4A1 ;
5 I $D(DIKILL) K DIKLM S:DIKM1=1 DIKLM=1 G @DIKM1
60 ;
7 K ^PS(55,DA(1),"BCMA")
8A S DA=$O(^PS(55,DA(1),"IVBCMA",DA)) I DA'>0 S DA=0 G END
91 ;
10 S DIKZ(0)=$G(^PS(55,DA(1),"IVBCMA",DA,0))
11 S X=$P(DIKZ(0),U,2)
12 I X'="" K ^PS(55,DA(1),"IV",X,"BCMA",DA)
13CR1 S DIXR=145
14 K X
15 S X(1)=$P(DIKZ(0),U,1)
16 S X(2)=$P(DIKZ(0),U,2)
17 S X=$G(X(1))
18 I $G(X(1))]"",$G(X(2))]"" D
19 . K X1,X2 M X1=X,X2=X
20 . S:$D(DIKIL) (X2,X2(1),X2(2))=""
21 . K ^PS(55,DA(1),"BCMA",X(1),X(2))
22CR2 K X
23 G:'$D(DIKLM) A Q:$D(DIKILL)
24END G ^PSSJXR4
Note: See TracBrowser for help on using the repository browser.