VistA-FOIAVistA/r/PHARMACY_DATA_MANAGEMENT-PSS/PSSJXR1.m

15 lines
387 B
Mathematica

PSSJXR1 ; COMPILED XREF FOR FILE #55 ; 12/12/07
;
S DIKZK=2
S DIKZ(0)=$G(^PS(55,DA,0))
S X=$P(DIKZ(0),U,4)
I X'="" K ^PS(55,"ADIA",$E(X,1,30),DA)
S DIKZ("SAND")=$G(^PS(55,DA,"SAND"))
S X=$P(DIKZ("SAND"),U,1)
I X'="" K ^PS(55,"ASAND",DA)
S X=$P(DIKZ("SAND"),U,1)
I X'="" K ^PS(55,"ASAND1",$E(X,1,30),DA)
S X=$P(DIKZ(0),U,1)
I X'="" K ^PS(55,"B",$E(X,1,30),DA)
END G ^PSSJXR2