source: WorldVistAEHR/trunk/r/INTEGRATED_PATIENT_FUNDS-PRPF-PFXIP/PRPFYN.m@ 1096

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

initial load of WorldVistAEHR

File size: 1.0 KB
RevLine 
[613]1PRPFYN ;ALTOONA/CTB YES/NO ROUTINE FOR PATIENT FUNDS ;2/24/97 5:12 PM
2V ;;3.0;PATIENT FUNDS;**6**;JUNE 1, 1989
3YN ;
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)
8RX 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
15Q K %Y,%A,%B,%S,%I Q
16Q1 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
18C F %I=1:1 Q:'$D(%B(%I)) W !,%B(%I)
19 W ! Q
20WAIT ;
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
26LIST ;;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 ;
Note: See TracBrowser for help on using the repository browser.