VistA-WorldVistAEHR/r/PHARMACY_DATA_MANAGEMENT-PSS/PSSJXR5.m

14 lines
306 B
Mathematica

PSSJXR5 ; COMPILED XREF FOR FILE #55.03 ; 01/17/08
;
S DA=0
A1 ;
I $D(DIKILL) K DIKLM S:DIKM1=1 DIKLM=1 G @DIKM1
0 ;
A S DA=$O(^PS(55,DA(1),"P",DA)) I DA'>0 S DA=0 G END
1 ;
S DIKZ(0)=$G(^PS(55,DA(1),"P",DA,0))
S X=$P(DIKZ(0),U,1)
I X'="" D KREF^PSOHELP1
G:'$D(DIKLM) A Q:$D(DIKILL)
END G ^PSSJXR6