1 | DINIT013 ; SFISC/TKW-DIALOG & LANGUAGE FILE INITS ;9:34 AM 7 Aug 2002
|
---|
2 | ;;22.0;VA FileMan;**41,110**;Mar 30, 1999
|
---|
3 | ;Per VHA Directive 10-93-142, this routine should not be modified.
|
---|
4 | F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) S @X=Y
|
---|
5 | Q Q
|
---|
6 | ;;^UTILITY(U,$J,.85)
|
---|
7 | ;;=^DI(.85,
|
---|
8 | ;;^UTILITY(U,$J,.85,0)
|
---|
9 | ;;=LANGUAGE^.85I^18^11
|
---|
10 | ;;^UTILITY(U,$J,.85,1,0)
|
---|
11 | ;;=1^ENGLISH
|
---|
12 | ;;^UTILITY(U,$J,.85,1,"CRD")
|
---|
13 | ;;=I Y S Y=$FN(Y,",")
|
---|
14 | ;;^UTILITY(U,$J,.85,1,"DD")
|
---|
15 | ;;=S:Y Y=$S($E(Y,4,5):$P("JAN^FEB^MAR^APR^MAY^JUN^JUL^AUG^SEP^OCT^NOV^DEC","^",+$E(Y,4,5))_" ",1:"")_$S($E(Y,6,7):+$E(Y,6,7)_",",1:"")_($E(Y,1,3)+1700)_$P("@"_$E(Y_0,9,10)_":"_$E(Y_"000",11,12)_$S($E(Y,13,14):":"_$E(Y_0,13,14),1:""),"^",Y[".")
|
---|
16 | ;;^UTILITY(U,$J,.85,1,"FMTE")
|
---|
17 | ;;=N RTN,%T S %T="."_$E($P(Y,".",2)_"000000",1,7),%F=$G(%F),RTN="F"_$S(%F<1:1,%F>7:1,1:+%F\1)_"^DILIBF" D @RTN S Y=%R
|
---|
18 | ;;^UTILITY(U,$J,.85,1,"LC")
|
---|
19 | ;;=S Y=$TR(Y,"ABCDEFGHIJKLMNOPQRSTUVWXYZ","abcdefghijklmnopqrstuvwxyz")
|
---|
20 | ;;^UTILITY(U,$J,.85,1,"ORD")
|
---|
21 | ;;=I $G(Y) S Y=Y_$S(Y#10=1&(Y#100-11):"ST",Y#10=2&(Y#100-12):"ND",Y#10=3&(Y#100-13):"RD",1:"TH")
|
---|
22 | ;;^UTILITY(U,$J,.85,1,"TIME")
|
---|
23 | ;;=S Y=$S($L($G(Y),".")>1:$E(Y_0,9,10)_":"_$E(Y_"000",11,12)_$S($E(Y,13,14):":"_$E(Y_0,13,14),1:""),1:"")
|
---|
24 | ;;^UTILITY(U,$J,.85,1,"UC")
|
---|
25 | ;;=S Y=$TR(Y,"abcdefghijklmnopqrstuvwxyz","ABCDEFGHIJKLMNOPQRSTUVWXYZ")
|
---|
26 | ;;^UTILITY(U,$J,.85,2,0)
|
---|
27 | ;;=2^GERMAN
|
---|
28 | ;;^UTILITY(U,$J,.85,2,"CRD")
|
---|
29 | ;;=S:$G(Y) Y=$TR($FN(Y,","),",",".")
|
---|
30 | ;;^UTILITY(U,$J,.85,2,"DD")
|
---|
31 | ;;=S:Y Y=$S($E(Y,6,7):$E(Y,6,7)_".",1:"")_$S($E(Y,4,5):$E(Y,4,5)_".",1:"")_($E(Y,1,3)+1700)_$P(" "_$E(Y_0,9,10)_":"_$E(Y_"000",11,12)_$S($E(Y,13,14):":"_$E(Y_0,13,14),1:""),"^",Y[".")
|
---|
32 | ;;^UTILITY(U,$J,.85,2,"LC")
|
---|
33 | ;;=S Y=$TR(Y,"ABCDEFGHIJKLMNOPQRSTUVWXYZ[]\","abcdefghijklmnopqrstuvwxyz{}|")
|
---|
34 | ;;^UTILITY(U,$J,.85,2,"ORD")
|
---|
35 | ;;=S:$G(Y) Y=Y_"."
|
---|
36 | ;;^UTILITY(U,$J,.85,2,"TIME")
|
---|
37 | ;;=S Y=$S($L($G(Y),".")>1:$E(Y_0,9,10)_":"_$E(Y_"000",11,12)_$S($E(Y,13,14):":"_$E(Y_0,13,14),1:""),1:"")
|
---|
38 | ;;^UTILITY(U,$J,.85,2,"UC")
|
---|
39 | ;;=S Y=$TR(Y,"abcdefghijklmnopqrstuvwxyz{}|","ABCDEFGHIJKLMNOPQRSTUVWXYZ[]\")
|
---|
40 | ;;^UTILITY(U,$J,.85,3,0)
|
---|
41 | ;;=3^SPANISH
|
---|
42 | ;;^UTILITY(U,$J,.85,4,0)
|
---|
43 | ;;=4^FRENCH
|
---|
44 | ;;^UTILITY(U,$J,.85,5,0)
|
---|
45 | ;;=5^FINNISH
|
---|
46 | ;;^UTILITY(U,$J,.85,5,"DD")
|
---|
47 | ;;=X:$G(Y) ^DD("DD")
|
---|
48 | ;;^UTILITY(U,$J,.85,5,"ORD")
|
---|
49 | ;;=I $G(Y) S Y=Y_"."
|
---|
50 | ;;^UTILITY(U,$J,.85,6,0)
|
---|
51 | ;;=6^ITALIAN
|
---|
52 | ;;^UTILITY(U,$J,.85,7,0)
|
---|
53 | ;;=7^PORTUGUESE
|
---|
54 | ;;^UTILITY(U,$J,.85,10,0)
|
---|
55 | ;;=10^ARABIC
|
---|
56 | ;;^UTILITY(U,$J,.85,11,0)
|
---|
57 | ;;=11^RUSSIAN
|
---|
58 | ;;^UTILITY(U,$J,.85,12,0)
|
---|
59 | ;;=12^GREEK
|
---|
60 | ;;^UTILITY(U,$J,.85,18,0)
|
---|
61 | ;;=18^HEBREW
|
---|