- Timestamp:
- Dec 4, 2009, 8:26:01 PM (14 years ago)
- Location:
- FOIAVistA/tag/r
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
FOIAVistA/tag/r/OUTPATIENT_PHARMACY-PSO-APSP-HUIP/PSORXED.m
r628 r636 1 PSORXED ;IHS/DSD/JCM-edit rx utility ; 5/18/07 2:53pm2 ;;7.0;OUTPATIENT PHARMACY;**2,16,21,26,56,71,125,201 ,246**;DEC 1997;Build 121 PSORXED ;IHS/DSD/JCM-edit rx utility ;02/18/98 3:14 PM 2 ;;7.0;OUTPATIENT PHARMACY;**2,16,21,26,56,71,125,201**;DEC 1997 3 3 ;External reference to ^PSXEDIT supported by DBIA 2209 4 4 ;External reference to ^DD(52 supported by DBIA 999 … … 24 24 L1 D LOG,POST 25 25 PROCESSX Q 26 CHECK Q L +^PSRX(PSORXED("IRXN")): $S(+$G(^DD("DILOCKTM"))>0:+^DD("DILOCKTM"),1:3)I '$T W $C(7),!!,"Rx Number is Locked by Another User!",! S PSORXED("DFLG")=1 H 5 Q26 CHECK Q L +^PSRX(PSORXED("IRXN")):0 I '$T W $C(7),!!,"Rx Number is Locked by Another User!",! S PSORXED("DFLG")=1 H 5 Q 27 27 I $G(^PSDRUG($P(PSORXED("RX0"),"^",6),"I"))]"",^("I")<DT D G CHECKX 28 28 . W !,$C(7),"This drug has been inactivated. ",! S PSORXED("DFLG")=1 Q … … 54 54 I $L(PSORX("PSOL",PSOX2))+$L(PSORXED("IRXN"))<220 D G LOGX 55 55 .I PSORX("PSOL",PSOX2)'[PSORXED("IRXN")_"," S PSORX("PSOL",PSOX2)=PSORX("PSOL",PSOX2)_PSORXED("IRXN")_"," D SETRP 56 E I $G(PSORX("PSOL",PSOX2+1))'[PSORXED("IRXN")_"," S PSORX("PSOL",PSOX2+1)=PSORXED("IRXN")_"," D SETRP ;;PSO*7*24656 E I PSORX("PSOL",PSOX2+1)'[PSORXED("IRXN")_"," S PSORX("PSOL",PSOX2+1)=PSORXED("IRXN")_"," D SETRP 57 57 LOGX K PSOEDITF,PSOEDITR,PSOEDITL D:$G(RFED) ^PSORXED1 58 58 Q
Note:
See TracChangeset
for help on using the changeset viewer.