PSOORAL ;BHAM-ISC/SAB - activity log list ; 28-APR-1995
;;7.0;OUTPATIENT PHARMACY;**148,281**;DEC 1997;Build 41
EN ; -- main entry point for PSO LM ACTIVITY LOGS
D EN^VALM("PSO LM ACTIVITY LOGS")
Q
;
HDR ; -- header code
D HDR^PSOLMUTL
Q
;
INIT ; -- init variables and list array
I $G(PS)="VIEW"!($G(PS)="DELETE")!($G(PS)="REJECT")!($G(PS)="REJECTMP") D
.I ST<12,$P(RX2,"^",6)<DT S ST=11
.S VALM("TITLE")="Rx View "_"("_$P("Error^Active^Non-Verified^Refill^Hold^Non-Verified^Suspended^^^^^Done^Expired^Discontinued^Deleted^Discontinued^Discontinued (Edit)^Provider Hold^","^",ST+2)_")"
S VALMCNT=PSOAL
Q
;
HELP ; -- help code
S X="?" D DISP^XQORM1 W !!
Q
;
EXIT ; -- exit code
S VALMBCK="Q" Q
;
EXPND ; -- expand code
Q
;
PSOORAL ;BHAM-ISC/SAB - activity log list ; 28-APR-1995
+1 ;;7.0;OUTPATIENT PHARMACY;**148,281**;DEC 1997;Build 41
EN ; -- main entry point for PSO LM ACTIVITY LOGS
+1 DO EN^VALM("PSO LM ACTIVITY LOGS")
+2 QUIT
+3 ;
HDR ; -- header code
+1 DO HDR^PSOLMUTL
+2 QUIT
+3 ;
INIT ; -- init variables and list array
+1 IF $GET(PS)="VIEW"!($GET(PS)="DELETE")!($GET(PS)="REJECT")!($GET(PS)="REJECTMP")
Begin DoDot:1
+2 IF ST<12
IF $PIECE(RX2,"^",6)<DT
SET ST=11
+3 SET VALM("TITLE")="Rx View "_"("_$PIECE("Error^Active^Non-Verified^Refill^Hold^Non-Verified^Suspended^^^^^Done^Expired^Discontinued^Deleted^Discontinued^Discontinued (Edit)^Provider Hold^","^",ST+2)_")"
End DoDot:1
+4 SET VALMCNT=PSOAL
+5 QUIT
+6 ;
HELP ; -- help code
+1 SET X="?"
DO DISP^XQORM1
WRITE !!
+2 QUIT
+3 ;
EXIT ; -- exit code
+1 SET VALMBCK="Q"
QUIT
+2 ;
EXPND ; -- expand code
+1 QUIT
+2 ;