source: FOIAVistA/tag/r/SURGERY-SR/SROOPRM1.m@ 1193

Last change on this file since 1193 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 1.6 KB
Line 
1SROOPRM1 ;B'HAM ISC/KKA ; UPDATE NORMAL O.R. HOURS ; 28 SEPT 1992 11:48 am
2 ;;3.0; Surgery ;;24 Jun 93
3HELP ; help message for incorrect responses
4 W @IOF,!,?8,"Enter the number or range of numbers you want to edit.",!,?8,"Examples of proper responses are listed below:",!!,?12,"1. Enter ""A"" to update all information.",!!,?12,"2. Enter a number (1-3) to update information"
5 W !,?12," in that field. (For example, enter ""2"" to",!,?12," update the Normal End Time.)",!!,?12,"3. Enter a range of numbers (1-3) separated",!,?12," by a "":"" to enter a range of information."
6 W !,?12," (For example, enter ""1:2"" to update Normal",!,?12," Start Time and Normal End Time.)"
7 W !!,?12,"4. Press RETURN to edit the next consecutive",!,?12," day of the week."
8 W !!,?12,"5. Enter an ""^"" followed by a day of the week",!,?12," to edit that particular day. (For example,",!,?12," enter ""^Friday"" to edit Friday's schedule)"
9 W !!,?8,"Press RETURN to continue or ""^"" to quit: " R SRCON:DTIME I '$T!(SRCON["^") S SRSOUT=1
10 Q
11T ; select TUESDAY or THURSDAY
12 W !!,"Update information for Tuesday or Thursday ? TUESDAY// " R X:DTIME Q:'$T!("^")
13 S:X="" X="TU" S X=$E(X,1,2) I X'="TU",X'="TH" W !!,"Enter 'TU' to update information for Tuesday, or 'TH' to update information",!,"for Thursday." G T
14 Q
15S ; select SATURDAY or SUNDAY
16 W !!,"Update information for Saturday or Sunday ? SATURDAY// " R X:DTIME Q:'$T!("^")
17 S:X="" X="SA" S X=$E(X,1,2) I X'="SA",X'="SU" W !!,"Enter 'SA' to update information for Saturday, or 'SU' to update information",!,"for Sunday." G S
18 Q
Note: See TracBrowser for help on using the repository browser.