Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
Print Page as PDF
Routine: SROAL1

Package: Surgery

Routine: SROAL1


Information

SROAL1 ;BIR/ADM - LOAD PREOPERATIVE LAB DATA ;02/14/07

Source Information

Source file <SROAL1.m>

Entry Points

Name Comments DBIA/ICR reference
YEP
START
SRAT ; Get test and data name(s) for test from file 139.2.
END
CONCC ; update concurrent case
SP
LABCHK ; Get latest test values from patient's lab record.
NS ; check for no sample
COMP
DATA
TMCHK
DEC ; convert to proper decimal place
CREAT ; from SROACL1 for creatinine

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This selection loads the most recent lab data for tests performed",!,"within 90 days before the operation unless otherwise specified."
  • Line Location: SROAL1+6
Function Call: READ
  • Variable: SRYN
  • Timeout: DTIME
  • Line Location: YEP+0
Function Call: WRITE
  • Prompt: !!,"Enter <RET> to automatically load preoperative lab data from the patient's lab record, or 'NO' to return to the menu."
  • Line Location: YEP+1
Function Call: WRITE
  • Prompt: !!,"Lab data NOT loaded."
  • Line Location: YEP+2
Function Call: WRITE
  • Prompt: !!,"The 'Time the Operation Began' must be entered before continuing."
  • Line Location: START+1
Function Call: WRITE
  • Prompt: !!,"..Searching lab record for latest preoperative test data...."
  • Line Location: SRAT+1
Function Call: WRITE
  • Prompt: !!,"Press <RET> to continue "
  • Line Location: END+0
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: END+1
Function Call: READ
  • Variable: SRYN
  • Timeout: DTIME
  • Line Location: TMCHK+0
Function Call: WRITE
  • Prompt: !!,"The time that the operation began must be entered prior to capturing the",!,"preoperative lab data. Enter 'YES' to input 'Time the Operation Began',",!,"or 'NO' to return to the menu."
  • Line Location: TMCHK+2
Info |  Source |  Entry Points |  Interaction Calls