source: FOIAVistA/trunk/r/VA_FILEMAN-ARJT-DI-DD-DM-DT-%DT-%RCR/DINIT293.m@ 1607

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

initial load of FOIAVistA 6/30/08 version

File size: 6.7 KB
Line 
1DINIT293 ;SFISC/MKO-FORM AND BLOCK FILES ;1:31 PM 21 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 ^DINIT294
6Q Q
7 ;;^DD(.4031,8,1,0)
8 ;;=^.1^^0
9 ;;^DD(.4031,8,3)
10 ;;=Answer must be 5-92 characters in length.
11 ;;^DD(.4031,8,21,0)
12 ;;=^^25^25^2940907^
13 ;;^DD(.4031,8,21,1,0)
14 ;;=This property can be used instead of Subpage Link to link a subpage to a
15 ;;^DD(.4031,8,21,2,0)
16 ;;=field.
17 ;;^DD(.4031,8,21,3,0)
18 ;;=
19 ;;^DD(.4031,8,21,4,0)
20 ;;=Parent Field has the following format:
21 ;;^DD(.4031,8,21,5,0)
22 ;;=
23 ;;^DD(.4031,8,21,6,0)
24 ;;= Field id,Block id,Page id
25 ;;^DD(.4031,8,21,7,0)
26 ;;=
27 ;;^DD(.4031,8,21,8,0)
28 ;;=where,
29 ;;^DD(.4031,8,21,9,0)
30 ;;=
31 ;;^DD(.4031,8,21,10,0)
32 ;;= Field id = Field Order number; or
33 ;;^DD(.4031,8,21,11,0)
34 ;;= Caption of the field; or
35 ;;^DD(.4031,8,21,12,0)
36 ;;= Unique Name of the field
37 ;;^DD(.4031,8,21,13,0)
38 ;;=
39 ;;^DD(.4031,8,21,14,0)
40 ;;= Block id = Block Order number; or
41 ;;^DD(.4031,8,21,15,0)
42 ;;= Block Name
43 ;;^DD(.4031,8,21,16,0)
44 ;;=
45 ;;^DD(.4031,8,21,17,0)
46 ;;= Page id = Page Number; or
47 ;;^DD(.4031,8,21,18,0)
48 ;;= Page Name
49 ;;^DD(.4031,8,21,19,0)
50 ;;=
51 ;;^DD(.4031,8,21,20,0)
52 ;;=For example:
53 ;;^DD(.4031,8,21,21,0)
54 ;;=
55 ;;^DD(.4031,8,21,22,0)
56 ;;= ZZFIELD 1,ZZBLOCK 1,ZZPAGE 1
57 ;;^DD(.4031,8,21,23,0)
58 ;;=
59 ;;^DD(.4031,8,21,24,0)
60 ;;=identifies the field with Caption or Unique Name "ZZFIELD 1," on the block
61 ;;^DD(.4031,8,21,25,0)
62 ;;=named "ZZBLOCK 1," on the page named "ZZPAGE 1".
63 ;;^DD(.4031,8,"DT")
64 ;;=2931201
65 ;;^DD(.4031,11,0)
66 ;;=PRE ACTION^K^^11;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
67 ;;^DD(.4031,11,3)
68 ;;=Enter Standard MUMPS code that will be executed before the user reaches a page.
69 ;;^DD(.4031,11,9)
70 ;;=@
71 ;;^DD(.4031,11,21,0)
72 ;;=^^1^1^2940907^^^^
73 ;;^DD(.4031,11,21,1,0)
74 ;;=This MUMPS code is executed when the user reaches a page.
75 ;;^DD(.4031,11,22)
76 ;;=
77 ;;^DD(.4031,12,0)
78 ;;=POST ACTION^K^^12;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
79 ;;^DD(.4031,12,3)
80 ;;=Enter Standard MUMPS code that will be executed after the user leaves a page.
81 ;;^DD(.4031,12,9)
82 ;;=@
83 ;;^DD(.4031,12,21,0)
84 ;;=^^1^1^2940907^^^
85 ;;^DD(.4031,12,21,1,0)
86 ;;=This MUMPS code is executed when the user leaves the page.
87 ;;^DD(.4031,15,0)
88 ;;=DESCRIPTION^.403115^^15;0
89 ;;^DD(.4031,40,0)
90 ;;=BLOCK^.4032IP^^40;0
91 ;;^DD(.403115,0)
92 ;;=DESCRIPTION SUB-FIELD^^.01^1
93 ;;^DD(.403115,0,"DT")
94 ;;=2910204
95 ;;^DD(.403115,0,"NM","DESCRIPTION")
96 ;;=
97 ;;^DD(.403115,0,"UP")
98 ;;=.4031
99 ;;^DD(.403115,.01,0)
100 ;;=DESCRIPTION^W^^0;1^Q
101 ;;^DD(.403115,.01,3)
102 ;;=Enter text which describes the page.
103 ;;^DD(.403115,.01,21,0)
104 ;;=^^1^1^2940908^^
105 ;;^DD(.403115,.01,21,1,0)
106 ;;=Enter text that describes this page.
107 ;;^DD(.40315,0)
108 ;;=DESCRIPTION SUB-FIELD^^.01^1
109 ;;^DD(.40315,0,"DT")
110 ;;=2910204
111 ;;^DD(.40315,0,"NM","DESCRIPTION")
112 ;;=
113 ;;^DD(.40315,0,"UP")
114 ;;=.403
115 ;;^DD(.40315,.01,0)
116 ;;=DESCRIPTION^W^^0;1^Q
117 ;;^DD(.40315,.01,3)
118 ;;=
119 ;;^DD(.40315,.01,21,0)
120 ;;=^^1^1^2940908^^^^
121 ;;^DD(.40315,.01,21,1,0)
122 ;;=Enter text that describes this form.
123 ;;^DD(.4032,0)
124 ;;=BLOCK SUB-FIELD^^12^13
125 ;;^DD(.4032,0,"DT")
126 ;;=2940506
127 ;;^DD(.4032,0,"ID","WRITE")
128 ;;=D EN^DDIOL("(Block Order "_$P(^(0),U,2)_")","","?35")
129 ;;^DD(.4032,0,"IX","AC",.4032,1)
130 ;;=
131 ;;^DD(.4032,0,"IX","B",.4032,.01)
132 ;;=
133 ;;^DD(.4032,0,"NM","BLOCK")
134 ;;=
135 ;;^DD(.4032,0,"UP")
136 ;;=.4031
137 ;;^DD(.4032,.01,0)
138 ;;=BLOCK NAME^MP.404'X^DIST(.404,^0;1^S:$D(X) DINUM=X
139 ;;^DD(.4032,.01,1,0)
140 ;;=^.1
141 ;;^DD(.4032,.01,1,1,0)
142 ;;=.4032^B
143 ;;^DD(.4032,.01,1,1,1)
144 ;;=S ^DIST(.403,DA(2),40,DA(1),40,"B",$E(X,1,30),DA)=""
145 ;;^DD(.4032,.01,1,1,2)
146 ;;=K ^DIST(.403,DA(2),40,DA(1),40,"B",$E(X,1,30),DA)
147 ;;^DD(.4032,.01,1,2,0)
148 ;;=.403^AB
149 ;;^DD(.4032,.01,1,2,1)
150 ;;=S ^DIST(.403,"AB",$E(X,1,30),DA(2),DA(1),DA)=""
151 ;;^DD(.4032,.01,1,2,2)
152 ;;=K ^DIST(.403,"AB",$E(X,1,30),DA(2),DA(1),DA)
153 ;;^DD(.4032,.01,1,2,"%D",0)
154 ;;=^^2^2^2930521^
155 ;;^DD(.4032,.01,1,2,"%D",1,0)
156 ;;=This cross reference provides an index that can be used to determine
157 ;;^DD(.4032,.01,1,2,"%D",2,0)
158 ;;=the forms on which a block is used.
159 ;;^DD(.4032,.01,1,2,"DT")
160 ;;=2930521
161 ;;^DD(.4032,.01,21,0)
162 ;;=^^1^1^2940908^^^^
163 ;;^DD(.4032,.01,21,1,0)
164 ;;=Enter the name of the block to be placed on this page of the form.
165 ;;^DD(.4032,.01,"DT")
166 ;;=2930521
167 ;;^DD(.4032,1,0)
168 ;;=BLOCK ORDER^RNJ4,1X^^0;2^K:+X'=X!(X>99.9)!(X<1)!(X?.E1"."2N.N)!$D(^DIST(.403,DA(2),40,DA(1),40,"AC",X)) X
169 ;;^DD(.4032,1,1,0)
170 ;;=^.1
171 ;;^DD(.4032,1,1,1,0)
172 ;;=.4032^AC
173 ;;^DD(.4032,1,1,1,1)
174 ;;=S ^DIST(.403,DA(2),40,DA(1),40,"AC",$E(X,1,30),DA)=""
175 ;;^DD(.4032,1,1,1,2)
176 ;;=K ^DIST(.403,DA(2),40,DA(1),40,"AC",$E(X,1,30),DA)
177 ;;^DD(.4032,1,1,1,"%D",0)
178 ;;=^^2^2^2910118^^
179 ;;^DD(.4032,1,1,1,"%D",1,0)
180 ;;=This cross-reference is used to ensure that order numbers are unique for
181 ;;^DD(.4032,1,1,1,"%D",2,0)
182 ;;=the page.
183 ;;^DD(.4032,1,1,1,"DT")
184 ;;=2910118
185 ;;^DD(.4032,1,3)
186 ;;=Enter a number between 1 and 99.9, 1 Decimal Digit, which represents the order in which the block will be processed within the page. This number must be unique for the page.
187 ;;^DD(.4032,1,21,0)
188 ;;=^^5^5^2940907^^
189 ;;^DD(.4032,1,21,1,0)
190 ;;=The Block Order determines the order users traverse fields on a page when
191 ;;^DD(.4032,1,21,2,0)
192 ;;=they press <PF1><PF4> to go to the next block, or press <RET> to move from
193 ;;^DD(.4032,1,21,3,0)
194 ;;=the last field on one block to the first field on the next. When the user
195 ;;^DD(.4032,1,21,4,0)
196 ;;=first reaches a page, ScreenMan places the user on the block with the
197 ;;^DD(.4032,1,21,5,0)
198 ;;=lowest Block Order number.
199 ;;^DD(.4032,2,0)
200 ;;=BLOCK COORDINATE^F^^0;3^K:$L(X)>7!($L(X)<1)!'(X?.N1",".N) X
201 ;;^DD(.4032,2,3)
202 ;;=Enter the block coordinate relative to the page coordinate. Answer must be two positive integers separated by a comma (,), as follows: 'Upper left row,Upper left column.'
203 ;;^DD(.4032,2,21,0)
204 ;;=^^2^2^2940907^^
205 ;;^DD(.4032,2,21,1,0)
206 ;;=The block coordinate is relative to the page coordinate. The first row
207 ;;^DD(.4032,2,21,2,0)
208 ;;=and column on the block have a coordinate of 1,1.
209 ;;^DD(.4032,2,"DT")
210 ;;=2940908
211 ;;^DD(.4032,3,0)
212 ;;=TYPE OF BLOCK^S^e:EDIT;d:DISPLAY;^0;4^Q
213 ;;^DD(.4032,3,3)
214 ;;=
215 ;;^DD(.4032,3,21,0)
216 ;;=^^7^7^2940907^
217 ;;^DD(.4032,3,21,1,0)
218 ;;=Enter 'EDIT' if users can navigate to as well as edit fields in this
219 ;;^DD(.4032,3,21,2,0)
220 ;;=block. Enter 'DISPLAY' if users cannot edit any of the fields in this
221 ;;^DD(.4032,3,21,3,0)
222 ;;=block. User's can navigate to a DISPLAY block only if it contains
223 ;;^DD(.4032,3,21,4,0)
224 ;;=multiple or word processing fields, in which case, the cursor stops at any
Note: See TracBrowser for help on using the repository browser.