DINIT013 ; SFISC/TKW-DIALOG & LANGUAGE FILE INITS ;9:34 AM 7 Aug 2002 [ 12/09/2003 4:53 PM ]
;;22.0;VA FileMan;**41,110,1002**;Mar 30, 1999
;Per VHA Directive 10-93-142, this routine should not be modified.
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
Q Q
;;^UTILITY(U,$J,.85)
;;=^DI(.85,
;;^UTILITY(U,$J,.85,0)
;;=LANGUAGE^.85I^18^11
;;^UTILITY(U,$J,.85,1,0)
;;=1^ENGLISH
;;^UTILITY(U,$J,.85,1,"CRD")
;;=I Y S Y=$FN(Y,",")
;;^UTILITY(U,$J,.85,1,"DD")
;;=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[".")
;;^UTILITY(U,$J,.85,1,"FMTE")
;;=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
;;^UTILITY(U,$J,.85,1,"LC")
;;=S Y=$TR(Y,"ABCDEFGHIJKLMNOPQRSTUVWXYZ","abcdefghijklmnopqrstuvwxyz")
;;^UTILITY(U,$J,.85,1,"ORD")
;;=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")
;;^UTILITY(U,$J,.85,1,"TIME")
;;=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:"")
;;^UTILITY(U,$J,.85,1,"UC")
;;=S Y=$TR(Y,"abcdefghijklmnopqrstuvwxyz","ABCDEFGHIJKLMNOPQRSTUVWXYZ")
;;^UTILITY(U,$J,.85,2,0)
;;=2^GERMAN
;;^UTILITY(U,$J,.85,2,"CRD")
;;=S:$G(Y) Y=$TR($FN(Y,","),",",".")
;;^UTILITY(U,$J,.85,2,"DD")
;;=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[".")
;;^UTILITY(U,$J,.85,2,"LC")
;;=S Y=$TR(Y,"ABCDEFGHIJKLMNOPQRSTUVWXYZ[]\","abcdefghijklmnopqrstuvwxyz{}|")
;;^UTILITY(U,$J,.85,2,"ORD")
;;=S:$G(Y) Y=Y_"."
;;^UTILITY(U,$J,.85,2,"TIME")
;;=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:"")
;;^UTILITY(U,$J,.85,2,"UC")
;;=S Y=$TR(Y,"abcdefghijklmnopqrstuvwxyz{}|","ABCDEFGHIJKLMNOPQRSTUVWXYZ[]\")
;;^UTILITY(U,$J,.85,3,0)
;;=3^SPANISH
;;^UTILITY(U,$J,.85,4,0)
;;=4^FRENCH
;;^UTILITY(U,$J,.85,5,0)
;;=5^FINNISH
;;^UTILITY(U,$J,.85,5,"DD")
;;=X:$G(Y) ^DD("DD")
;;^UTILITY(U,$J,.85,5,"ORD")
;;=I $G(Y) S Y=Y_"."
;;^UTILITY(U,$J,.85,6,0)
;;=6^ITALIAN
;;^UTILITY(U,$J,.85,7,0)
;;=7^PORTUGUESE
;;^UTILITY(U,$J,.85,10,0)
;;=10^ARABIC
;;^UTILITY(U,$J,.85,11,0)
;;=11^RUSSIAN
;;^UTILITY(U,$J,.85,12,0)
;;=12^GREEK
;;^UTILITY(U,$J,.85,18,0)
;;=18^HEBREW
DINIT013 ; SFISC/TKW-DIALOG & LANGUAGE FILE INITS ;9:34 AM 7 Aug 2002 [ 12/09/2003 4:53 PM ]
+1 ;;22.0;VA FileMan;**41,110,1002**;Mar 30, 1999
+2 ;Per VHA Directive 10-93-142, this routine should not be modified.
+3 FOR I=1:2
SET X=$TEXT(Q+I)
IF X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
IF $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
SET @X=Y
Q QUIT
+1 ;;^UTILITY(U,$J,.85)
+2 ;;=^DI(.85,
+3 ;;^UTILITY(U,$J,.85,0)
+4 ;;=LANGUAGE^.85I^18^11
+5 ;;^UTILITY(U,$J,.85,1,0)
+6 ;;=1^ENGLISH
+7 ;;^UTILITY(U,$J,.85,1,"CRD")
+8 ;;=I Y S Y=$FN(Y,",")
+9 ;;^UTILITY(U,$J,.85,1,"DD")
+10 ;;=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[".")
+11 ;;^UTILITY(U,$J,.85,1,"FMTE")
+12 ;;=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
+13 ;;^UTILITY(U,$J,.85,1,"LC")
+14 ;;=S Y=$TR(Y,"ABCDEFGHIJKLMNOPQRSTUVWXYZ","abcdefghijklmnopqrstuvwxyz")
+15 ;;^UTILITY(U,$J,.85,1,"ORD")
+16 ;;=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")
+17 ;;^UTILITY(U,$J,.85,1,"TIME")
+18 ;;=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:"")
+19 ;;^UTILITY(U,$J,.85,1,"UC")
+20 ;;=S Y=$TR(Y,"abcdefghijklmnopqrstuvwxyz","ABCDEFGHIJKLMNOPQRSTUVWXYZ")
+21 ;;^UTILITY(U,$J,.85,2,0)
+22 ;;=2^GERMAN
+23 ;;^UTILITY(U,$J,.85,2,"CRD")
+24 ;;=S:$G(Y) Y=$TR($FN(Y,","),",",".")
+25 ;;^UTILITY(U,$J,.85,2,"DD")
+26 ;;=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[".")
+27 ;;^UTILITY(U,$J,.85,2,"LC")
+28 ;;=S Y=$TR(Y,"ABCDEFGHIJKLMNOPQRSTUVWXYZ[]\","abcdefghijklmnopqrstuvwxyz{}|")
+29 ;;^UTILITY(U,$J,.85,2,"ORD")
+30 ;;=S:$G(Y) Y=Y_"."
+31 ;;^UTILITY(U,$J,.85,2,"TIME")
+32 ;;=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:"")
+33 ;;^UTILITY(U,$J,.85,2,"UC")
+34 ;;=S Y=$TR(Y,"abcdefghijklmnopqrstuvwxyz{}|","ABCDEFGHIJKLMNOPQRSTUVWXYZ[]\")
+35 ;;^UTILITY(U,$J,.85,3,0)
+36 ;;=3^SPANISH
+37 ;;^UTILITY(U,$J,.85,4,0)
+38 ;;=4^FRENCH
+39 ;;^UTILITY(U,$J,.85,5,0)
+40 ;;=5^FINNISH
+41 ;;^UTILITY(U,$J,.85,5,"DD")
+42 ;;=X:$G(Y) ^DD("DD")
+43 ;;^UTILITY(U,$J,.85,5,"ORD")
+44 ;;=I $G(Y) S Y=Y_"."
+45 ;;^UTILITY(U,$J,.85,6,0)
+46 ;;=6^ITALIAN
+47 ;;^UTILITY(U,$J,.85,7,0)
+48 ;;=7^PORTUGUESE
+49 ;;^UTILITY(U,$J,.85,10,0)
+50 ;;=10^ARABIC
+51 ;;^UTILITY(U,$J,.85,11,0)
+52 ;;=11^RUSSIAN
+53 ;;^UTILITY(U,$J,.85,12,0)
+54 ;;=12^GREEK
+55 ;;^UTILITY(U,$J,.85,18,0)
+56 ;;=18^HEBREW