PSOLMPO ;ISC-BHAM/LC - pending orders ;03/13/95
;;7.0;OUTPATIENT PHARMACY;**46,225,436,700**;DEC 1997;Build 261
;
EN ; -- main entry point for PSO LM PENDING ORDER
S PSOLMC=0 D EN^VALM("PSO LM PENDING ORDER") K PSOLMC
Q
;
HDR ; -- header code
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=IEN,VALM("TITLE")=$S($P(OR0,"^",23):"FL-",1:"")_"Pending OP Orders ("_$S($P(OR0,"^",14)="S":"STAT",$P(OR0,"^",14)="E":"EMERGENCY",1:"ROUTINE")_")"
D RV^PSONFI
Q
;
HELP ; -- help code
S X="?" D DISP^XQORM1 W !!
Q
;
EXIT ; -- exit code
I $D(^TMP("PSORXDC",$J)) D FULL^VALM1,CLEAN^PSOVER1
K FLAGLINE D CLEAN^VALM10
; Variables used for formatting eRx Display
K UNDERLN,REVLN,HIGHLN,BLINKLN,HIGUNDLN
Q
;
EXPND ; -- expand code
Q
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HPSOLMPO 858 printed Nov 22, 2024@17:40:53 Page 2
PSOLMPO ;ISC-BHAM/LC - pending orders ;03/13/95
+1 ;;7.0;OUTPATIENT PHARMACY;**46,225,436,700**;DEC 1997;Build 261
+2 ;
EN ; -- main entry point for PSO LM PENDING ORDER
+1 SET PSOLMC=0
DO EN^VALM("PSO LM PENDING ORDER")
KILL PSOLMC
+2 QUIT
+3 ;
HDR ; -- header code
+1 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=IEN
SET VALM("TITLE")=$SELECT($PIECE(OR0,"^",23):"FL-",1:"")_"Pending OP Orders ("_$SELECT($PIECE(OR0,"^",14)="S":"STAT",$PIECE(OR0,"^",14)="E":"EMERGENCY",1:"ROUTINE")_")"
+3 DO RV^PSONFI
+4 QUIT
+5 ;
HELP ; -- help code
+1 SET X="?"
DO DISP^XQORM1
WRITE !!
+2 QUIT
+3 ;
EXIT ; -- exit code
+1 IF $DATA(^TMP("PSORXDC",$JOB))
DO FULL^VALM1
DO CLEAN^PSOVER1
+2 KILL FLAGLINE
DO CLEAN^VALM10
+3 ; Variables used for formatting eRx Display
+4 KILL UNDERLN,REVLN,HIGHLN,BLINKLN,HIGUNDLN
+5 QUIT
+6 ;
EXPND ; -- expand code
+1 QUIT
+2 ;