[613] | 1 | PRPFYN ;ALTOONA/CTB YES/NO ROUTINE FOR PATIENT FUNDS ;2/24/97 5:12 PM
|
---|
| 2 | V ;;3.0;PATIENT FUNDS;**6**;JUNE 1, 1989
|
---|
| 3 | YN ;
|
---|
| 4 | K DTOUT S U="^" S:'$D(%)#2 %=3 S %S=% I %=3 S %=""
|
---|
| 5 | W:$D(%A) !,%A
|
---|
| 6 | F %I=1:1 Q:'$D(%A(%I)) W !,%A(%I)
|
---|
| 7 | W "? ",$P("YES// ^NO// ^<YES/NO> ",U,%S)
|
---|
| 8 | RX R %Y:$S($D(DTIME):DTIME,1:99999) E S DTOUT=1,%Y=U W *7
|
---|
| 9 | S:%Y]""!'% %=$A(%Y),%=$S(%=89:1,%=121:1,%=78:2,%=110:2,%=94:-1,1:0)
|
---|
| 10 | I '%,%Y'["?" G Q1
|
---|
| 11 | W:$X>73 ! W $P(" (YES)^ (NO)",U,%)
|
---|
| 12 | G:%'=0 Q I $D(%B),%B]"" W !!,%B D C G:'$D(%A) Q S %=%S G YN
|
---|
| 13 | I $D(%B),%B="" G Q1
|
---|
| 14 | I $D(%A),'$D(%B) S %=%S G YN
|
---|
| 15 | Q K %Y,%A,%B,%S,%I Q
|
---|
| 16 | Q1 W:'%&(%Y'["?") *7 W !,"You must enter a 'Yes' or a 'No', or you may enter an '^' to Quit",!! S %=%S G YN
|
---|
| 17 | Q
|
---|
| 18 | C F %I=1:1 Q:'$D(%B(%I)) W !,%B(%I)
|
---|
| 19 | W ! Q
|
---|
| 20 | WAIT ;
|
---|
| 21 | Q:$E($G(IOST),1,2)'="C-"
|
---|
| 22 | W !,"..."
|
---|
| 23 | W $P("Whoops^Hmmm^Excuse me^Sorry","^",$R(4)+1),", "
|
---|
| 24 | W $P($T(LIST+$R(6)),";",3)_"..."
|
---|
| 25 | QUIT
|
---|
| 26 | LIST ;;This may take a few moments
|
---|
| 27 | ;;Let me put you on 'HOLD' for a second
|
---|
| 28 | ;;Hold on
|
---|
| 29 | ;;Just a moment, please
|
---|
| 30 | ;;I'm working as fast as I can
|
---|
| 31 | ;;Let me think about this for a moment
|
---|
| 32 | ;
|
---|