source: FOIAVistA/trunk/r/PHARMACY_DATA_MANAGEMENT-PSS/PSSJXR19.m@ 1528

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

initial load of FOIAVistA 6/30/08 version

File size: 519 bytes
Line 
1PSSJXR19 ; COMPILED XREF FOR FILE #55.0105 ; 12/12/07
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),"IVBCMA",DA)) I DA'>0 S DA=0 G END
81 ;
9 S DIKZ(0)=$G(^PS(55,DA(1),"IVBCMA",DA,0))
10 S X=$P(DIKZ(0),U,2)
11 I X'="" S ^PS(55,DA(1),"IV",X,"BCMA",DA)=""
12CR1 S DIXR=145
13 K X
14 S X(1)=$P(DIKZ(0),U,1)
15 S X(2)=$P(DIKZ(0),U,2)
16 S X=$G(X(1))
17 I $G(X(1))]"",$G(X(2))]"" D
18 . K X1,X2 M X1=X,X2=X
19 . S ^PS(55,DA(1),"BCMA",X(1),X(2))=""
20CR2 K X
21 G:'$D(DIKLM) A Q:$D(DISET)
22END G ^PSSJXR20
Note: See TracBrowser for help on using the repository browser.