source: WorldVistAEHR/trunk/r/VA_FILEMAN-ARJT-DI-DD-DM-DT-%DT-%RCR/DINIT297.m@ 949

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

initial load of WorldVistAEHR

File size: 7.2 KB
Line 
1DINIT297 ;SFISC/MKO-FORM AND BLOCK FILES ;3:30 PM 20 Apr 1999
2 ;;22.0;VA FileMan;**8**;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 G ^DINIT298
6Q Q
7 ;;^DD(.4044,5.1,1,0)
8 ;;=^.1^^0
9 ;;^DD(.4044,5.1,3)
10 ;;=Enter the caption coordinate relative to the block. Answer must be two positive integers separated by a comma (,), as follows: 'Row,Column'.
11 ;;^DD(.4044,5.1,21,0)
12 ;;=^^2^2^2940907^^
13 ;;^DD(.4044,5.1,21,1,0)
14 ;;=Caption coordinate is relative to the position of the block. The
15 ;;^DD(.4044,5.1,21,2,0)
16 ;;=top left corner of the block has coordinate 1,1.
17 ;;^DD(.4044,5.1,"DT")
18 ;;=2940908
19 ;;^DD(.4044,5.2,0)
20 ;;=SUPPRESS COLON AFTER CAPTION?^S^0:NO;1:YES;^2;4^Q
21 ;;^DD(.4044,5.2,1,0)
22 ;;=^.1^^0
23 ;;^DD(.4044,5.2,3)
24 ;;=
25 ;;^DD(.4044,5.2,21,0)
26 ;;=^^2^2^2940907^^
27 ;;^DD(.4044,5.2,21,1,0)
28 ;;=Enter 'YES' to suppress the display of a colon and space after the
29 ;;^DD(.4044,5.2,21,2,0)
30 ;;=caption.
31 ;;^DD(.4044,5.2,"DT")
32 ;;=2940629
33 ;;^DD(.4044,6,0)
34 ;;=DEFAULT^F^^3;1^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>245!($L(X)<1) X
35 ;;^DD(.4044,6,3)
36 ;;=Answer must be 1-245 characters in length.
37 ;;^DD(.4044,6,21,0)
38 ;;=^^8^8^2940907^
39 ;;^DD(.4044,6,21,1,0)
40 ;;=Enter the default you want displayed when the user first loads the page
41 ;;^DD(.4044,6,21,2,0)
42 ;;=on which this field is located, and the field's value is originally null.
43 ;;^DD(.4044,6,21,3,0)
44 ;;=Since ScreenMan validates the default, it must be valid, unambiguous, and
45 ;;^DD(.4044,6,21,4,0)
46 ;;=in external form; otherwise, it is not used.
47 ;;^DD(.4044,6,21,5,0)
48 ;;=
49 ;;^DD(.4044,6,21,6,0)
50 ;;=If you want to create an executable default, i.e., a default whose value
51 ;;^DD(.4044,6,21,7,0)
52 ;;=is determined at run time when the page is first loaded, the value of
53 ;;^DD(.4044,6,21,8,0)
54 ;;=this field must be "!M".
55 ;;^DD(.4044,6,"DT")
56 ;;=2920218
57 ;;^DD(.4044,6.01,0)
58 ;;=EXECUTABLE DEFAULT^K^^3.1;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
59 ;;^DD(.4044,6.01,3)
60 ;;=Enter standard MUMPS code that sets the variable Y.
61 ;;^DD(.4044,6.01,9)
62 ;;=@
63 ;;^DD(.4044,6.01,21,0)
64 ;;=^^4^4^2940907^
65 ;;^DD(.4044,6.01,21,1,0)
66 ;;=Enter MUMPS code that sets the variable Y equal to the default you want
67 ;;^DD(.4044,6.01,21,2,0)
68 ;;=displayed when the page is first loaded and the data value on file is
69 ;;^DD(.4044,6.01,21,3,0)
70 ;;=null. Y must be set to a valid, unambiguous user response; otherwise, it
71 ;;^DD(.4044,6.01,21,4,0)
72 ;;=is ignored.
73 ;;^DD(.4044,6.01,"DT")
74 ;;=2920218
75 ;;^DD(.4044,6.1,0)
76 ;;=REQUIRED^S^0:NO;1:YES;^4;1^Q
77 ;;^DD(.4044,6.1,3)
78 ;;=
79 ;;^DD(.4044,6.1,21,0)
80 ;;=^^5^5^2940907^
81 ;;^DD(.4044,6.1,21,1,0)
82 ;;=Whenever the user attempts a Save, ScreenMan checks all required fields
83 ;;^DD(.4044,6.1,21,2,0)
84 ;;=on all pages accessed during the editing session, as well as all pages
85 ;;^DD(.4044,6.1,21,3,0)
86 ;;=linked to the first page via the Next and Previous Page links. If any of
87 ;;^DD(.4044,6.1,21,4,0)
88 ;;=the required fields have null values, no Save occurs. You need not make a
89 ;;^DD(.4044,6.1,21,5,0)
90 ;;=field required that is already required by its data definition.
91 ;;^DD(.4044,6.2,0)
92 ;;=DUPLICATE^S^0:NO;1:YES;^4;2^Q
93 ;;^DD(.4044,6.2,3)
94 ;;=Enter 'YES' if the field value from the previous record can be duplicated with the 'spacebar-return' feature.
95 ;;^DD(.4044,6.2,21,0)
96 ;;=^^1^1^2940629^
97 ;;^DD(.4044,6.2,21,1,0)
98 ;;=This field is not currently being used.
99 ;;^DD(.4044,6.3,0)
100 ;;=RIGHT JUSTIFY^S^0:NO;1:YES;^4;3^Q
101 ;;^DD(.4044,6.3,21,0)
102 ;;=^^2^2^2940907^
103 ;;^DD(.4044,6.3,21,1,0)
104 ;;=Enter 'YES' if the data for this field should be displayed right-justified
105 ;;^DD(.4044,6.3,21,2,0)
106 ;;=in the editing window.
107 ;;^DD(.4044,6.3,"DT")
108 ;;=2940625
109 ;;^DD(.4044,6.4,0)
110 ;;=DISABLE EDITING^S^0:NO;1:YES;2:REACHABLE;^4;4^Q
111 ;;^DD(.4044,6.4,3)
112 ;;=
113 ;;^DD(.4044,6.4,21,0)
114 ;;=^^3^3^2940907^^^
115 ;;^DD(.4044,6.4,21,1,0)
116 ;;=Enter 'YES' to disable editing and to prevent the user from navigating
117 ;;^DD(.4044,6.4,21,2,0)
118 ;;=to the field. Enter 'REACHABLE' to disable editing, but allow the user to
119 ;;^DD(.4044,6.4,21,3,0)
120 ;;=navigate to the field.
121 ;;^DD(.4044,6.4,"DT")
122 ;;=2940625
123 ;;^DD(.4044,6.5,0)
124 ;;=DISALLOW LAYGO^S^0:NO;1:YES;^4;5^Q
125 ;;^DD(.4044,6.5,3)
126 ;;=
127 ;;^DD(.4044,6.5,21,0)
128 ;;=^^2^2^2931020^
129 ;;^DD(.4044,6.5,21,1,0)
130 ;;=Enter 'YES' to prohibit the user from adding new subentries into this
131 ;;^DD(.4044,6.5,21,2,0)
132 ;;=multiple. This question only pertains to multiple-valued fields.
133 ;;^DD(.4044,6.6,0)
134 ;;=ASK 'OK'^S^0:NO;1:YES;^4;6^Q
135 ;;^DD(.4044,6.6,21,0)
136 ;;=^^5^5^2990420^
137 ;;^DD(.4044,6.6,21,1,0)
138 ;;=Answer 'YES' to ask the user whether the looked-up entry is 'OK'. If only
139 ;;^DD(.4044,6.6,21,2,0)
140 ;;=one match is made to the user's lookup value, then ScreenMan will ask
141 ;;^DD(.4044,6.6,21,3,0)
142 ;;="OK?" instead of automatically selecting the found entry. This property
143 ;;^DD(.4044,6.6,21,4,0)
144 ;;=corresponds to the "V" flag in the DIC(0) input variable to ^DIC and only
145 ;;^DD(.4044,6.6,21,5,0)
146 ;;=pertains to multiple-valued fields.
147 ;;^DD(.4044,8,0)
148 ;;=SUB PAGE LINK^NJ5,1^^7;2^K:+X'=X!(X>999.9)!(X<1)!(X?.E1"."2N.N) X
149 ;;^DD(.4044,8,3)
150 ;;=Enter the Page Number of the page to open up when the user presses <Return> at this field. Type a Number between 1 and 999.9, 1 Decimal Digit.
151 ;;^DD(.4044,8,21,0)
152 ;;=^^7^7^2940907^
153 ;;^DD(.4044,8,21,1,0)
154 ;;=If you wish to take users to a pop-up page when they press <RET> at
155 ;;^DD(.4044,8,21,2,0)
156 ;;=this field, enter the Page Number of that page. When users exit that
157 ;;^DD(.4044,8,21,3,0)
158 ;;=pop-up page, ScreenMan will automatically take them to the field following
159 ;;^DD(.4044,8,21,4,0)
160 ;;=this field.
161 ;;^DD(.4044,8,21,5,0)
162 ;;=
163 ;;^DD(.4044,8,21,6,0)
164 ;;=You can also use the Parent Field property of the pop-up page to link a
165 ;;^DD(.4044,8,21,7,0)
166 ;;=field to the pop-up page.
167 ;;^DD(.4044,10,0)
168 ;;=BRANCHING LOGIC^K^^10;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
169 ;;^DD(.4044,10,3)
170 ;;=Enter Standard MUMPS code, 1-245 characters in length.
171 ;;^DD(.4044,10,9)
172 ;;=@
173 ;;^DD(.4044,10,21,0)
174 ;;=^^18^18^2940907^
175 ;;^DD(.4044,10,21,1,0)
176 ;;=This MUMPS code is executed whenever the user presses <RET> at the
177 ;;^DD(.4044,10,21,2,0)
178 ;;=field. Here you can set DDSBR equal to the field, block, and page,
179 ;;^DD(.4044,10,21,3,0)
180 ;;=separated by up-arrow delimiters, of the field to which you wish to take
181 ;;^DD(.4044,10,21,4,0)
182 ;;=users when they press <RET>. For example,
183 ;;^DD(.4044,10,21,5,0)
184 ;;=
185 ;;^DD(.4044,10,21,6,0)
186 ;;= S:X="Y" DDSBR="TEST FIELD 1^TEST BLOCK 1^TEST PAGE 2"
187 ;;^DD(.4044,10,21,7,0)
188 ;;=
189 ;;^DD(.4044,10,21,8,0)
190 ;;=would take the user to the field with unique name or caption "TEST FIELD
191 ;;^DD(.4044,10,21,9,0)
192 ;;=1" on the block named "TEST BLOCK 1" on a page named "TEST PAGE 2".
193 ;;^DD(.4044,10,21,10,0)
194 ;;=
195 ;;^DD(.4044,10,21,11,0)
196 ;;=Alternatively, if you wish to take users to another page when they press
197 ;;^DD(.4044,10,21,12,0)
198 ;;=<RET> at this field, and then when they close that page, automatically
199 ;;^DD(.4044,10,21,13,0)
200 ;;=take them to the field immediately following this field, you can set
201 ;;^DD(.4044,10,21,14,0)
202 ;;=DDSSTACK equal to the page name or number of that page.
203 ;;^DD(.4044,10,21,15,0)
204 ;;=
Note: See TracBrowser for help on using the repository browser.