DINIT002 ; SFISC/TKW-DIALOG & LANGUAGE FILE INITS ; 3/30/99 10:41:48
;;22.0;VA FileMan;;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
;;^DD(.84,6,21,5,0)
;;=special flag into a global or local variable to notify the calling routine
;;^DD(.84,6,21,6,0)
;;=that some extra action needed to be taken.
;;^DD(.84,6,23,0)
;;=^^7^7^2941122^
;;^DD(.84,6,23,1,0)
;;=At the time of executing this code
;;^DD(.84,6,23,2,0)
;;= D0 = IEN for the entry in the DIALOG file
;;^DD(.84,6,23,3,0)
;;= DIPI(n) = (for sequential number n) parameters incorporated in the text.
;;^DD(.84,6,23,4,0)
;;= DIPE(n) = parameters output back to the user
;;^DD(.84,6,23,5,0)
;;=
;;^DD(.84,6,23,6,0)
;;=All other variables used in this code should use your packages namespace,
;;^DD(.84,6,23,7,0)
;;=and should be NEWed.
;;^DD(.84,6,"DT")
;;=2940520
;;^DD(.84,7,0)
;;=TRANSLATION^.847P^^4;0
;;^DD(.84,8,0)
;;=CALLED FROM ENTRY POINTS^.841^^5;0
;;^DD(.841,0)
;;=CALLED FROM ENTRY POINTS SUB-FIELD^^.05^2
;;^DD(.841,0,"DT")
;;=2940411
;;^DD(.841,0,"IX","B",.841,.01)
;;=
;;^DD(.841,0,"NM","CALLED FROM ENTRY POINTS")
;;=
;;^DD(.841,0,"UP")
;;=.84
;;^DD(.841,.01,0)
;;=ROUTINE NAME^MF^^0;1^K:$L(X)>8!($L(X)<1) X
;;^DD(.841,.01,1,0)
;;=^.1
;;^DD(.841,.01,1,1,0)
;;=.841^B
;;^DD(.841,.01,1,1,1)
;;=S ^DI(.84,DA(1),5,"B",$E(X,1,30),DA)=""
;;^DD(.841,.01,1,1,2)
;;=K ^DI(.84,DA(1),5,"B",$E(X,1,30),DA)
;;^DD(.841,.01,3)
;;=Answer must be 1-8 characters in length.
;;^DD(.841,.01,21,0)
;;=^^6^6^2940411^
;;^DD(.841,.01,21,1,0)
;;=This multiple is used for documentation only. Entries are made to this
;;^DD(.841,.01,21,2,0)
;;=subfile ONLY for ERROR type text. Enter the routine name of an entry
;;^DD(.841,.01,21,3,0)
;;=point that may generate this error message. You only need to enter the
;;^DD(.841,.01,21,4,0)
;;=names of routines that directly generate the error through a call to
;;^DD(.841,.01,21,5,0)
;;=^DIALOG, and not when the error is generated by some other utility called
;;^DD(.841,.01,21,6,0)
;;=from your routine.
;;^DD(.841,.01,"DT")
;;=2940411
;;^DD(.841,.05,0)
;;=LINE TAG^F^^0;2^K:$L(X)>10!($L(X)<1) X
;;^DD(.841,.05,3)
;;=Answer must be 1-10 characters in length.
;;^DD(.841,.05,21,0)
;;=^^6^6^2940411^
;;^DD(.841,.05,21,1,0)
;;=This multiple is used for documentation only. Entries are made to this
;;^DD(.841,.05,21,2,0)
;;=subfile ONLY for ERROR type text. Enter the line tag of an entry point
;;^DD(.841,.05,21,3,0)
;;=that may generate this error message. You only need to enter the names of
;;^DD(.841,.05,21,4,0)
;;=routines that directly generate the error through a call to ^DIALOG, and
;;^DD(.841,.05,21,5,0)
;;=not when the error is generated by some other utility called from your
;;^DD(.841,.05,21,6,0)
;;=routine.
;;^DD(.841,.05,"DT")
;;=2940411
;;^DD(.842,0)
;;=DESCRIPTION SUB-FIELD^^.01^1
;;^DD(.842,0,"DT")
;;=2930614
;;^DD(.842,0,"NM","DESCRIPTION")
;;=
;;^DD(.842,0,"UP")
;;=.84
;;^DD(.842,.01,0)
;;=DESCRIPTION^W^^0;1^Q
;;^DD(.842,.01,3)
;;=Describe the use of this dialogue.
;;^DD(.842,.01,"DT")
;;=2930614
;;^DD(.844,0)
;;=TEXT SUB-FIELD^^.01^1
;;^DD(.844,0,"DT")
;;=2930811
;;^DD(.844,0,"NM","TEXT")
;;=
;;^DD(.844,0,"UP")
;;=.84
;;^DD(.844,.01,0)
;;=TEXT^WL^^0;1^Q
;;^DD(.844,.01,3)
;;=Enter the actual text of the dialogue, with optional parameter windows.
;;^DD(.844,.01,"DT")
;;=2930811
;;^DD(.845,0)
;;=PARAMETER SUB-FIELD^^1^2
;;^DD(.845,0,"DT")
;;=2931105
;;^DD(.845,0,"IX","B",.845,.01)
;;=
;;^DD(.845,0,"NM","PARAMETER")
;;=
;;^DD(.845,0,"UP")
;;=.84
;;^DD(.845,.01,0)
;;=PARAMETER SUBSCRIPT^MF^^0;1^K:$L(X)>20!($L(X)<1) X
;;^DD(.845,.01,1,0)
;;=^.1
;;^DD(.845,.01,1,1,0)
;;=.845^B
;;^DD(.845,.01,1,1,1)
;;=S ^DI(.84,DA(1),3,"B",$E(X,1,30),DA)=""
;;^DD(.845,.01,1,1,2)
;;=K ^DI(.84,DA(1),3,"B",$E(X,1,30),DA)
;;^DD(.845,.01,3)
;;=This entry corresponds to the subscript of an entry in either the text or output parameter list to the BLD^DIALOG and $$EZBLD^DIALOG routine. Answer must be 1-20 characters in length.
;;^DD(.845,.01,21,0)
;;=^^7^7^2941122^
;;^DD(.845,.01,21,1,0)
;;=This multiple is used for documentation purposes only. The entry in the
;;^DD(.845,.01,21,2,0)
;;=.01 field of this multiple will correspond to a subscript in either the
;;^DD(.845,.01,21,3,0)
;;=text or output parameter list, that are passed to the routines that build
;;^DD(.845,.01,21,4,0)
;;=dialogue messages, BLD^DIALOG and $$EZBLD^DIALOG. This routine will insert
;;^DD(.845,.01,21,5,0)
;;=into each 'window' from the TEXT field, the corresponding entry out of the
;;^DD(.845,.01,21,6,0)
;;=text parameter list. For errors only, it passes any entries from the
;;^DD(.845,.01,21,7,0)
;;=output parameter list back to the user as entries in its output array.
;;^DD(.845,.01,"DT")
;;=2931105
;;^DD(.845,1,0)
;;=PARAMETER DESCRIPTION^F^^0;2^K:$L(X)>230!($L(X)<1) X
;;^DD(.845,1,3)
;;=Describe the Parameter for documentation purposes. Answer must be 1-230 characters in length.
;;^DD(.845,1,21,0)
;;=^^5^5^2941122^
;;^DD(.845,1,21,1,0)
;;=This field is used for documentation purposes only. It describes the text
;;^DD(.845,1,21,2,0)
;;=and/or output parameter(s) that are passed to BLD^DIALOG and
;;^DD(.845,1,21,3,0)
;;=$$EZBLD^DIALOG. The same parameter can be used both as a text parameter
;;^DD(.845,1,21,4,0)
;;=(i.e., inserted into the text when it is built), and as an output
;;^DD(.845,1,21,5,0)
;;=parameter (i.e., a parameter passed back in a list to the user)
;;^DD(.845,1,"DT")
;;=2930614
;;^DD(.847,0)
;;=TRANSLATION SUB-FIELD^^1^2
;;^DD(.847,0,"DT")
;;=2940524
;;^DD(.847,0,"IX","B",.847,.01)
;;=
;;^DD(.847,0,"NM","TRANSLATION")
;;=
;;^DD(.847,0,"UP")
;;=.84
;;^DD(.847,.01,0)
;;=LANGUAGE^M*P.85'X^DI(.85,^0;1^S DIC("S")="I Y>1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X S:$G(X) DINUM=X
;;^DD(.847,.01,1,0)
;;=^.1
;;^DD(.847,.01,1,1,0)
;;=.847^B
;;^DD(.847,.01,1,1,1)
;;=S ^DI(.84,DA(1),4,"B",$E(X,1,30),DA)=""
;;^DD(.847,.01,1,1,2)
;;=K ^DI(.84,DA(1),4,"B",$E(X,1,30),DA)
;;^DD(.847,.01,3)
;;=Enter the number or name for a non-English language.
;;^DD(.847,.01,12)
;;=English language cannot be selected.
;;^DD(.847,.01,12.1)
;;=S DIC("S")="I Y>1"
;;^DD(.847,.01,21,0)
;;=^^3^3^2941118^^
;;^DD(.847,.01,21,1,0)
;;=Pointer to the LANGUAGE file. If FileMan system variable DUZ("LANG") is
;;^DD(.847,.01,21,2,0)
;;=set to an integer greater than 1, we use that number to extract dialogue
;;^DD(.847,.01,21,3,0)
;;=text for the specified language from this multiple.
DINIT002 ; SFISC/TKW-DIALOG & LANGUAGE FILE INITS ; 3/30/99 10:41:48
+1 ;;22.0;VA FileMan;;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 ;;^DD(.84,6,21,5,0)
+2 ;;=special flag into a global or local variable to notify the calling routine
+3 ;;^DD(.84,6,21,6,0)
+4 ;;=that some extra action needed to be taken.
+5 ;;^DD(.84,6,23,0)
+6 ;;=^^7^7^2941122^
+7 ;;^DD(.84,6,23,1,0)
+8 ;;=At the time of executing this code
+9 ;;^DD(.84,6,23,2,0)
+10 ;;= D0 = IEN for the entry in the DIALOG file
+11 ;;^DD(.84,6,23,3,0)
+12 ;;= DIPI(n) = (for sequential number n) parameters incorporated in the text.
+13 ;;^DD(.84,6,23,4,0)
+14 ;;= DIPE(n) = parameters output back to the user
+15 ;;^DD(.84,6,23,5,0)
+16 ;;=
+17 ;;^DD(.84,6,23,6,0)
+18 ;;=All other variables used in this code should use your packages namespace,
+19 ;;^DD(.84,6,23,7,0)
+20 ;;=and should be NEWed.
+21 ;;^DD(.84,6,"DT")
+22 ;;=2940520
+23 ;;^DD(.84,7,0)
+24 ;;=TRANSLATION^.847P^^4;0
+25 ;;^DD(.84,8,0)
+26 ;;=CALLED FROM ENTRY POINTS^.841^^5;0
+27 ;;^DD(.841,0)
+28 ;;=CALLED FROM ENTRY POINTS SUB-FIELD^^.05^2
+29 ;;^DD(.841,0,"DT")
+30 ;;=2940411
+31 ;;^DD(.841,0,"IX","B",.841,.01)
+32 ;;=
+33 ;;^DD(.841,0,"NM","CALLED FROM ENTRY POINTS")
+34 ;;=
+35 ;;^DD(.841,0,"UP")
+36 ;;=.84
+37 ;;^DD(.841,.01,0)
+38 ;;=ROUTINE NAME^MF^^0;1^K:$L(X)>8!($L(X)<1) X
+39 ;;^DD(.841,.01,1,0)
+40 ;;=^.1
+41 ;;^DD(.841,.01,1,1,0)
+42 ;;=.841^B
+43 ;;^DD(.841,.01,1,1,1)
+44 ;;=S ^DI(.84,DA(1),5,"B",$E(X,1,30),DA)=""
+45 ;;^DD(.841,.01,1,1,2)
+46 ;;=K ^DI(.84,DA(1),5,"B",$E(X,1,30),DA)
+47 ;;^DD(.841,.01,3)
+48 ;;=Answer must be 1-8 characters in length.
+49 ;;^DD(.841,.01,21,0)
+50 ;;=^^6^6^2940411^
+51 ;;^DD(.841,.01,21,1,0)
+52 ;;=This multiple is used for documentation only. Entries are made to this
+53 ;;^DD(.841,.01,21,2,0)
+54 ;;=subfile ONLY for ERROR type text. Enter the routine name of an entry
+55 ;;^DD(.841,.01,21,3,0)
+56 ;;=point that may generate this error message. You only need to enter the
+57 ;;^DD(.841,.01,21,4,0)
+58 ;;=names of routines that directly generate the error through a call to
+59 ;;^DD(.841,.01,21,5,0)
+60 ;;=^DIALOG, and not when the error is generated by some other utility called
+61 ;;^DD(.841,.01,21,6,0)
+62 ;;=from your routine.
+63 ;;^DD(.841,.01,"DT")
+64 ;;=2940411
+65 ;;^DD(.841,.05,0)
+66 ;;=LINE TAG^F^^0;2^K:$L(X)>10!($L(X)<1) X
+67 ;;^DD(.841,.05,3)
+68 ;;=Answer must be 1-10 characters in length.
+69 ;;^DD(.841,.05,21,0)
+70 ;;=^^6^6^2940411^
+71 ;;^DD(.841,.05,21,1,0)
+72 ;;=This multiple is used for documentation only. Entries are made to this
+73 ;;^DD(.841,.05,21,2,0)
+74 ;;=subfile ONLY for ERROR type text. Enter the line tag of an entry point
+75 ;;^DD(.841,.05,21,3,0)
+76 ;;=that may generate this error message. You only need to enter the names of
+77 ;;^DD(.841,.05,21,4,0)
+78 ;;=routines that directly generate the error through a call to ^DIALOG, and
+79 ;;^DD(.841,.05,21,5,0)
+80 ;;=not when the error is generated by some other utility called from your
+81 ;;^DD(.841,.05,21,6,0)
+82 ;;=routine.
+83 ;;^DD(.841,.05,"DT")
+84 ;;=2940411
+85 ;;^DD(.842,0)
+86 ;;=DESCRIPTION SUB-FIELD^^.01^1
+87 ;;^DD(.842,0,"DT")
+88 ;;=2930614
+89 ;;^DD(.842,0,"NM","DESCRIPTION")
+90 ;;=
+91 ;;^DD(.842,0,"UP")
+92 ;;=.84
+93 ;;^DD(.842,.01,0)
+94 ;;=DESCRIPTION^W^^0;1^Q
+95 ;;^DD(.842,.01,3)
+96 ;;=Describe the use of this dialogue.
+97 ;;^DD(.842,.01,"DT")
+98 ;;=2930614
+99 ;;^DD(.844,0)
+100 ;;=TEXT SUB-FIELD^^.01^1
+101 ;;^DD(.844,0,"DT")
+102 ;;=2930811
+103 ;;^DD(.844,0,"NM","TEXT")
+104 ;;=
+105 ;;^DD(.844,0,"UP")
+106 ;;=.84
+107 ;;^DD(.844,.01,0)
+108 ;;=TEXT^WL^^0;1^Q
+109 ;;^DD(.844,.01,3)
+110 ;;=Enter the actual text of the dialogue, with optional parameter windows.
+111 ;;^DD(.844,.01,"DT")
+112 ;;=2930811
+113 ;;^DD(.845,0)
+114 ;;=PARAMETER SUB-FIELD^^1^2
+115 ;;^DD(.845,0,"DT")
+116 ;;=2931105
+117 ;;^DD(.845,0,"IX","B",.845,.01)
+118 ;;=
+119 ;;^DD(.845,0,"NM","PARAMETER")
+120 ;;=
+121 ;;^DD(.845,0,"UP")
+122 ;;=.84
+123 ;;^DD(.845,.01,0)
+124 ;;=PARAMETER SUBSCRIPT^MF^^0;1^K:$L(X)>20!($L(X)<1) X
+125 ;;^DD(.845,.01,1,0)
+126 ;;=^.1
+127 ;;^DD(.845,.01,1,1,0)
+128 ;;=.845^B
+129 ;;^DD(.845,.01,1,1,1)
+130 ;;=S ^DI(.84,DA(1),3,"B",$E(X,1,30),DA)=""
+131 ;;^DD(.845,.01,1,1,2)
+132 ;;=K ^DI(.84,DA(1),3,"B",$E(X,1,30),DA)
+133 ;;^DD(.845,.01,3)
+134 ;;=This entry corresponds to the subscript of an entry in either the text or output parameter list to the BLD^DIALOG and $$EZBLD^DIALOG routine. Answer must be 1-20 characters in length.
+135 ;;^DD(.845,.01,21,0)
+136 ;;=^^7^7^2941122^
+137 ;;^DD(.845,.01,21,1,0)
+138 ;;=This multiple is used for documentation purposes only. The entry in the
+139 ;;^DD(.845,.01,21,2,0)
+140 ;;=.01 field of this multiple will correspond to a subscript in either the
+141 ;;^DD(.845,.01,21,3,0)
+142 ;;=text or output parameter list, that are passed to the routines that build
+143 ;;^DD(.845,.01,21,4,0)
+144 ;;=dialogue messages, BLD^DIALOG and $$EZBLD^DIALOG. This routine will insert
+145 ;;^DD(.845,.01,21,5,0)
+146 ;;=into each 'window' from the TEXT field, the corresponding entry out of the
+147 ;;^DD(.845,.01,21,6,0)
+148 ;;=text parameter list. For errors only, it passes any entries from the
+149 ;;^DD(.845,.01,21,7,0)
+150 ;;=output parameter list back to the user as entries in its output array.
+151 ;;^DD(.845,.01,"DT")
+152 ;;=2931105
+153 ;;^DD(.845,1,0)
+154 ;;=PARAMETER DESCRIPTION^F^^0;2^K:$L(X)>230!($L(X)<1) X
+155 ;;^DD(.845,1,3)
+156 ;;=Describe the Parameter for documentation purposes. Answer must be 1-230 characters in length.
+157 ;;^DD(.845,1,21,0)
+158 ;;=^^5^5^2941122^
+159 ;;^DD(.845,1,21,1,0)
+160 ;;=This field is used for documentation purposes only. It describes the text
+161 ;;^DD(.845,1,21,2,0)
+162 ;;=and/or output parameter(s) that are passed to BLD^DIALOG and
+163 ;;^DD(.845,1,21,3,0)
+164 ;;=$$EZBLD^DIALOG. The same parameter can be used both as a text parameter
+165 ;;^DD(.845,1,21,4,0)
+166 ;;=(i.e., inserted into the text when it is built), and as an output
+167 ;;^DD(.845,1,21,5,0)
+168 ;;=parameter (i.e., a parameter passed back in a list to the user)
+169 ;;^DD(.845,1,"DT")
+170 ;;=2930614
+171 ;;^DD(.847,0)
+172 ;;=TRANSLATION SUB-FIELD^^1^2
+173 ;;^DD(.847,0,"DT")
+174 ;;=2940524
+175 ;;^DD(.847,0,"IX","B",.847,.01)
+176 ;;=
+177 ;;^DD(.847,0,"NM","TRANSLATION")
+178 ;;=
+179 ;;^DD(.847,0,"UP")
+180 ;;=.84
+181 ;;^DD(.847,.01,0)
+182 ;;=LANGUAGE^M*P.85'X^DI(.85,^0;1^S DIC("S")="I Y>1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X S:$G(X) DINUM=X
+183 ;;^DD(.847,.01,1,0)
+184 ;;=^.1
+185 ;;^DD(.847,.01,1,1,0)
+186 ;;=.847^B
+187 ;;^DD(.847,.01,1,1,1)
+188 ;;=S ^DI(.84,DA(1),4,"B",$E(X,1,30),DA)=""
+189 ;;^DD(.847,.01,1,1,2)
+190 ;;=K ^DI(.84,DA(1),4,"B",$E(X,1,30),DA)
+191 ;;^DD(.847,.01,3)
+192 ;;=Enter the number or name for a non-English language.
+193 ;;^DD(.847,.01,12)
+194 ;;=English language cannot be selected.
+195 ;;^DD(.847,.01,12.1)
+196 ;;=S DIC("S")="I Y>1"
+197 ;;^DD(.847,.01,21,0)
+198 ;;=^^3^3^2941118^^
+199 ;;^DD(.847,.01,21,1,0)
+200 ;;=Pointer to the LANGUAGE file. If FileMan system variable DUZ("LANG") is
+201 ;;^DD(.847,.01,21,2,0)
+202 ;;=set to an integer greater than 1, we use that number to extract dialogue
+203 ;;^DD(.847,.01,21,3,0)
+204 ;;=text for the specified language from this multiple.