PSOLMPO2 ;ISC-BHAM/SAB - list template to complete backdoor orders ;03/13/1995
;;7.0;OUTPATIENT PHARMACY;**46,71,225,313**;DEC 1997;Build 76
EN ; -- main entry point for PSO LM BACKDOOR ORDER
D EN^VALM("PSO LM BACKDOOR ORDER")
Q
;
HDR ; -- header code
D HDR^PSOLMUTL
Q
;
INIT ; -- init variables and list array
S VALMCNT=IEN,VALM("TITLE")="New OP Order ("_$S($G(PSOMTFLG):"Maintenance Rx",$G(COPY):"COPY",1:"ROUTINE")_")"
S VALMCNT=PSOPF
D RV^PSONFI Q
;
HELP ; -- help code
S X="?" D DISP^XQORM1 W !!
Q
;
EXIT ; -- exit code
K PSOANSQD
S PSOQFLG=1
K FLAGLINE D CLEAN^VALM10
Q
;
EXPND ; -- expand code
Q
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HPSOLMPO2 654 printed Oct 16, 2024@18:31:34 Page 2
PSOLMPO2 ;ISC-BHAM/SAB - list template to complete backdoor orders ;03/13/1995
+1 ;;7.0;OUTPATIENT PHARMACY;**46,71,225,313**;DEC 1997;Build 76
EN ; -- main entry point for PSO LM BACKDOOR ORDER
+1 DO EN^VALM("PSO LM BACKDOOR ORDER")
+2 QUIT
+3 ;
HDR ; -- header code
+1 DO HDR^PSOLMUTL
+2 QUIT
+3 ;
INIT ; -- init variables and list array
+1 SET VALMCNT=IEN
SET VALM("TITLE")="New OP Order ("_$SELECT($GET(PSOMTFLG):"Maintenance Rx",$GET(COPY):"COPY",1:"ROUTINE")_")"
+2 SET VALMCNT=PSOPF
+3 DO RV^PSONFI
QUIT
+4 ;
HELP ; -- help code
+1 SET X="?"
DO DISP^XQORM1
WRITE !!
+2 QUIT
+3 ;
EXIT ; -- exit code
+1 KILL PSOANSQD
+2 SET PSOQFLG=1
+3 KILL FLAGLINE
DO CLEAN^VALM10
+4 QUIT
+5 ;
EXPND ; -- expand code
+1 QUIT
+2 ;