Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: SROALAB

SROALAB.m

Go to the documentation of this file.
  1. SROALAB ;BIR/MAM - ENTER/EDIT LABORATORY INFORMATION ;05/26/99 10:51 AM
  1. ;;3.0; Surgery ;**38,88,142**;24 Jun 93
  1. 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
  1. S SRSOUT=0,SRSUPCPT=1 D ^SROAUTL
  1. START G:SRSOUT END D HDR^SROAUTL
  1. W !,"Enter/Edit Laboratory Test Results",!!,"1. Capture Preoperative Laboratory Information",!,"2. Capture Postoperative Laboratory Information"
  1. W !,"3. Enter, Edit, or Review Laboratory Test Results"
  1. ASK W !!,"Select Number: " R X:DTIME I '$T!("^"[X) G END
  1. I X>3!(X<1)!(X'?.N) D HELP G:SRSOUT END G START
  1. I X=1 D ^SROAL1 G START
  1. I X=2 D ^SROAL2 G START
  1. D ^SROALEN G START
  1. END ;
  1. W @IOF D ^SRSKILL
  1. Q
  1. 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"
  1. 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'."
  1. PRESS W ! K DIR S DIR(0)="E" D ^DIR K DIR I $D(DTOUT)!$D(DUOUT) S SRSOUT=1
  1. Q