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

21 lines
722 B
Mathematica

PSSJXR17 ; COMPILED XREF FOR FILE #55 ; 12/12/07
;
S DIKZK=1
S DIKZ(0)=$G(^PS(55,DA,0))
S X=$P(DIKZ(0),U,1)
I X'="" S ^PS(55,"B",$E(X,1,30),DA)=""
S X=$P(DIKZ(0),U,1)
I X'="" I '$D(PSGINITF) S ^PS(55,"ALCNVRT")=$S($D(^PS(59.7,1,20)):$P(^(20),"^"),1:"")
S X=$P(DIKZ(0),U,1)
I X'="" I '$D(PSGINITF) S ^PS(55,"AUDDD")=$S($D(^PS(59.7,1,20)):$P(^(20),"^"),1:"")
S X=$P(DIKZ(0),U,1)
I X'="" I '$D(PSGINITF) S ^PS(55,"AUDAPM")=$S($D(^PS(59.7,1,20)):$P(^(20),"^"),1:"")
S X=$P(DIKZ(0),U,4)
I X'="" S ^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'="" S ^PS(55,"ASAND",DA)=""
S X=$P(DIKZ("SAND"),U,1)
I X'="" S ^PS(55,"ASAND1",$E(X,1,30),DA)=""
END G ^PSSJXR18