SROALAB ;BIR/MAM - ENTER/EDIT LABORATORY INFORMATION ;05/26/99 10:51 AM
;;3.0; Surgery ;**38,88,142**;24 Jun 93
I '$D(SRTN) W !!,"You must select a surgery risk assessment prior to using this option.",!!,"Press <RET> to continue " R X:DTIME G END
S SRSOUT=0,SRSUPCPT=1 D ^SROAUTL
START G:SRSOUT END D HDR^SROAUTL
W !,"Enter/Edit Laboratory Test Results",!!,"1. Capture Preoperative Laboratory Information",!,"2. Capture Postoperative Laboratory Information"
W !,"3. Enter, Edit, or Review Laboratory Test Results"
ASK W !!,"Select Number: " R X:DTIME I '$T!("^"[X) G END
I X>3!(X<1)!(X'?.N) D HELP G:SRSOUT END G START
I X=1 D ^SROAL1 G START
I X=2 D ^SROAL2 G START
D ^SROALEN G START
END ;
W @IOF D ^SRSKILL
Q
HELP W !!,"Enter '1' if you want to capture preoperative laboratory test results from the",!,"DHCP Laboratory records. Enter '2' if you want to capture the postoperative"
W !,"laboratory test results from the DHCP Laboratory records. If you want to ",!,"enter, edit, or review preoperative and postoperative laboratory test results,",!,"enter '3'."
PRESS W ! K DIR S DIR(0)="E" D ^DIR K DIR I $D(DTOUT)!$D(DUOUT) S SRSOUT=1
Q
SROALAB ;BIR/MAM - ENTER/EDIT LABORATORY INFORMATION ;05/26/99 10:51 AM
+1 ;;3.0; Surgery ;**38,88,142**;24 Jun 93
+2 IF '$DATA(SRTN)
WRITE !!,"You must select a surgery risk assessment prior to using this option.",!!,"Press <RET> to continue "
READ X:DTIME
GOTO END
+3 SET SRSOUT=0
SET SRSUPCPT=1
DO ^SROAUTL
START IF SRSOUT
GOTO END
DO HDR^SROAUTL
+1 WRITE !,"Enter/Edit Laboratory Test Results",!!,"1. Capture Preoperative Laboratory Information",!,"2. Capture Postoperative Laboratory Information"
+2 WRITE !,"3. Enter, Edit, or Review Laboratory Test Results"
ASK WRITE !!,"Select Number: "
READ X:DTIME
IF '$TEST!("^"[X)
GOTO END
+1 IF X>3!(X<1)!(X'?.N)
DO HELP
IF SRSOUT
GOTO END
GOTO START
+2 IF X=1
DO ^SROAL1
GOTO START
+3 IF X=2
DO ^SROAL2
GOTO START
+4 DO ^SROALEN
GOTO START
END ;
+1 WRITE @IOF
DO ^SRSKILL
+2 QUIT
HELP WRITE !!,"Enter '1' if you want to capture preoperative laboratory test results from the",!,"DHCP Laboratory records. Enter '2' if you want to capture the postoperative"
+1 WRITE !,"laboratory test results from the DHCP Laboratory records. If you want to ",!,"enter, edit, or review preoperative and postoperative laboratory test results,",!,"enter '3'."
PRESS WRITE !
KILL DIR
SET DIR(0)="E"
DO ^DIR
KILL DIR
IF $DATA(DTOUT)!$DATA(DUOUT)
SET SRSOUT=1
+1 QUIT