1 | GMTSXQ10 ; SLC/JER - XQORM4 for Export w/Health Summary ;1/10/92 15:06
|
---|
2 | ;;2.5;Health Summary;;Dec 16, 1992
|
---|
3 | XQORM4 ; SLC/KCM - Menu Messages ;10/19/90 14:31 ;
|
---|
4 | ;;6.52;Copyright 1990, DVA;
|
---|
5 | HELP ;From: XQORM1
|
---|
6 | Q:XQORM(0)'["A"
|
---|
7 | I $D(XQORM("??")) X:$L(XQORM("??")) XQORM("??") Q
|
---|
8 | I X="?" D:XQORM(0)'["D" DISP^XQORM1 D HELP1^XQORM5 Q
|
---|
9 | D HELP1^XQORM5,HELP2^XQORM5 F I=0:0 W !!,$S(XQORM(0)["D":"Red",1:"D"),"isplay items" S %=1 D YN^DICN Q:% W !!?4,"Enter a ""Y"" or ""N""."
|
---|
10 | D:%=1 DISP^XQORM1 W !
|
---|
11 | Q
|
---|
12 | ;Error messages From: XQORM routines
|
---|
13 | CC W !!,">>> Control characters and function keys may not be entered.",! Q
|
---|
14 | LL W !!,">>> Entry is too long.",! Q
|
---|
15 | NE W !!,">>> Only "_+XQORM(0)_$S(+XQORM(0)=1:" entry",1:" entries")_" allowed.",! Q
|
---|
16 | IR W !!,">>> Range entered improperly: ",X,".",! Q
|
---|
17 | LR W !!,">>> Range too large: ",X,".",! Q
|
---|
18 | NS W !!,">>> ",$P(Y(ORUB),"^",3)," may not be selected at this point.",! Q
|
---|
19 | NN W !!,">>> The ""-"" may not be used with " D SHO W ".",! Q
|
---|
20 | NF W !!,ORUW," is not a valid selection.",! Q
|
---|
21 | SC W !!,">>> Semi-colon may not be at the front of an item. To jump, use '^^'.",! Q
|
---|
22 | NU I $L(XQORM("NO^")),XQORM("NO^")'="OUTOK" W !!,">>> ",@XQORM("NO^"),! Q
|
---|
23 | W !!,">>> Up-arrow not allowed.",!
|
---|
24 | Q
|
---|
25 | SHO I $D(^XUTL("XQORM",XQORM,ORUDA,0)) W $P(^(0),"^",3)
|
---|
26 | Q
|
---|
27 | ALL ;From: XQORM2
|
---|
28 | N X K ^UTILITY("XQORM",$J)
|
---|
29 | S ORUDA=0 F I=0:0 S ORUDA=$O(^XUTL("XQORM",XQORM,ORUDA)) Q:ORUDA'>0 I $D(^(ORUDA,0)),+^(0) S ORUB=1000*$P(ORUDA,".",2)+$P(ORUDA,".",1),^UTILITY("XQORM",$J,ORUB)=ORUDA
|
---|
30 | S ORUB=0 F I=0:0 S ORUB=$O(^UTILITY("XQORM",$J,ORUB)) Q:ORUB'>0 S ORUDA=+^(ORUB) D UPD^XQORM3
|
---|
31 | K ^UTILITY("XQORM",$J) Q
|
---|
32 | LAST ;From: XQORM2
|
---|
33 | S X="" F I=0:0 S I=$O(^DISV(DUZ,"XQORM",XQORM,I)) Q:I'>0 S X=X_^DISV(DUZ,"XQORM",XQORM,I)_"," I $L(X)>160 K ^DISV(DUZ,"XQORM",XQORM) S X="" Q
|
---|
34 | S X=$E(X,1,$L(X)-1) ;I $L(X) W:XQORM(0)["A" X
|
---|
35 | Q
|
---|