PSOLMRN ;ISC-BHAM/SAB - displays renewal rxs ;04/21/1995
;;7.0;OUTPATIENT PHARMACY;**11,46,84,225**;DEC 1997;Build 29
EN ; -- main entry point for PSO LM RENEW LIST
S VALMCNT=PSOPF,PSOLM=1
D EN^VALM("PSO LM RENEW LIST")
Q
;
HDR ; -- header code
K ^TMP("PSOHDR",$J) D HDR^PSOLMUTL
Q
;
INIT ; -- init variables and list array
;F LINE=1:1:30 D SET^VALM10(LINE,LINE_" Line number "_LINE)
S VALMCNT=PSOPF,PSOLM=1
D RV^PSONFI Q
;
HELP ; -- help code
S X="?" D DISP^XQORM1 W !!
Q
;
EXIT ; -- exit code
I $G(Y)=-1!($G(Y)="Q") S PSOQUIT=1
I $G(Y)="Q",$P($G(Y(1)),"^",3)="QU" S PSOQQ=1
K FLAGLINE D CLEAN^VALM10
Q
;
EXPND ; -- expand code
Q
;
PSOLMRN ;ISC-BHAM/SAB - displays renewal rxs ;04/21/1995
+1 ;;7.0;OUTPATIENT PHARMACY;**11,46,84,225**;DEC 1997;Build 29
EN ; -- main entry point for PSO LM RENEW LIST
+1 SET VALMCNT=PSOPF
SET PSOLM=1
+2 DO EN^VALM("PSO LM RENEW LIST")
+3 QUIT
+4 ;
HDR ; -- header code
+1 KILL ^TMP("PSOHDR",$JOB)
DO HDR^PSOLMUTL
+2 QUIT
+3 ;
INIT ; -- init variables and list array
+1 ;F LINE=1:1:30 D SET^VALM10(LINE,LINE_" Line number "_LINE)
+2 SET VALMCNT=PSOPF
SET PSOLM=1
+3 DO RV^PSONFI
QUIT
+4 ;
HELP ; -- help code
+1 SET X="?"
DO DISP^XQORM1
WRITE !!
+2 QUIT
+3 ;
EXIT ; -- exit code
+1 IF $GET(Y)=-1!($GET(Y)="Q")
SET PSOQUIT=1
+2 IF $GET(Y)="Q"
IF $PIECE($GET(Y(1)),"^",3)="QU"
SET PSOQQ=1
+3 KILL FLAGLINE
DO CLEAN^VALM10
+4 QUIT
+5 ;
EXPND ; -- expand code
+1 QUIT
+2 ;