PSOLMRN ;ISC-BHAM/SAB - displays renewal rxs ;04/21/1995
;;7.0;OUTPATIENT PHARMACY;**11,46,84,225,386,700**;DEC 1997;Build 261
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
S VALMCNT=PSOPF,PSOLM=1
I $G(ORD),$$GET1^DIQ(52.41,ORD,102,"I") S VALM("TITLE")="FL-"_VALM("TITLE")
I $G(PSOVLMBG)>3 S VALMBG=PSOVLMBG-2
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
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HPSOLMRN 748 printed Dec 13, 2024@02:30:57 Page 2
PSOLMRN ;ISC-BHAM/SAB - displays renewal rxs ;04/21/1995
+1 ;;7.0;OUTPATIENT PHARMACY;**11,46,84,225,386,700**;DEC 1997;Build 261
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 SET VALMCNT=PSOPF
SET PSOLM=1
+2 IF $GET(ORD)
IF $$GET1^DIQ(52.41,ORD,102,"I")
SET VALM("TITLE")="FL-"_VALM("TITLE")
+3 IF $GET(PSOVLMBG)>3
SET VALMBG=PSOVLMBG-2
+4 DO RV^PSONFI
QUIT
+5 ;
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 ;