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

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

initial load of FOIAVistA 6/30/08 version

File size: 5.9 KB
Line 
1DINIT294 ;SFISC/MKO-FORM AND BLOCK FILES ;1:30 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 ^DINIT295
6Q Q
7 ;;^DD(.4032,3,21,5,0)
8 ;;=of those two kinds of fields so that the user can press <RET> to view or
9 ;;^DD(.4032,3,21,6,0)
10 ;;=edit the subfields in the multiple or invoke an editor to view the
11 ;;^DD(.4032,3,21,7,0)
12 ;;=contents of the word processing field.
13 ;;^DD(.4032,3,"DT")
14 ;;=2940413
15 ;;^DD(.4032,4,0)
16 ;;=POINTER LINK^FX^^1;1^K:$L(X)>245!($L(X)<1) X I $D(X) D PLINK^DDSIT
17 ;;^DD(.4032,4,3)
18 ;;=Answer must be 1-245 characters in length.
19 ;;^DD(.4032,4,21,0)
20 ;;=^^9^9^2940907^^
21 ;;^DD(.4032,4,21,1,0)
22 ;;=If the fields displayed in this block are reached through a relational
23 ;;^DD(.4032,4,21,2,0)
24 ;;=jump from the primary file of the form, enter the relational expression
25 ;;^DD(.4032,4,21,3,0)
26 ;;=that describes this jump. Your frame of reference is the primary file of
27 ;;^DD(.4032,4,21,4,0)
28 ;;=the form.
29 ;;^DD(.4032,4,21,5,0)
30 ;;=
31 ;;^DD(.4032,4,21,6,0)
32 ;;=For example, if the primary file has a field #999 called TEST that points
33 ;;^DD(.4032,4,21,7,0)
34 ;;=to the file associated with this block, enter
35 ;;^DD(.4032,4,21,8,0)
36 ;;=
37 ;;^DD(.4032,4,21,9,0)
38 ;;= 999 or TEST
39 ;;^DD(.4032,4,"DT")
40 ;;=2931201
41 ;;^DD(.4032,5,0)
42 ;;=REPLICATION^NJ3,0^^2;1^K:+X'=X!(X>999)!(X<2)!(X?.E1"."1N.N) X
43 ;;^DD(.4032,5,3)
44 ;;=Type a Number between 2 and 999, 0 Decimal Digits
45 ;;^DD(.4032,5,21,0)
46 ;;=^^3^3^2940907^^
47 ;;^DD(.4032,5,21,1,0)
48 ;;=If this is a repeating block, enter the number of times the fields
49 ;;^DD(.4032,5,21,2,0)
50 ;;=defined in this block should be replicated. If used, this number must
51 ;;^DD(.4032,5,21,3,0)
52 ;;=be greater than 1.
53 ;;^DD(.4032,5,"DT")
54 ;;=2940503
55 ;;^DD(.4032,6,0)
56 ;;=INDEX^F^^2;2^K:$L(X)>63!($L(X)<1) X
57 ;;^DD(.4032,6,3)
58 ;;=Answer must be 1-63 characters in length.
59 ;;^DD(.4032,6,21,0)
60 ;;=^^7^7^2941020^
61 ;;^DD(.4032,6,21,1,0)
62 ;;=Enter the name of the cross reference that should be used to pick up the
63 ;;^DD(.4032,6,21,2,0)
64 ;;=subentries in the multiple. ScreenMan will initially display the
65 ;;^DD(.4032,6,21,3,0)
66 ;;=subentries to the user sorted in the order defined by this index. The
67 ;;^DD(.4032,6,21,4,0)
68 ;;=default INDEX is B.
69 ;;^DD(.4032,6,21,5,0)
70 ;;=
71 ;;^DD(.4032,6,21,6,0)
72 ;;=If the multiple has no index, or you wish to display the subentries
73 ;;^DD(.4032,6,21,7,0)
74 ;;=in record number order, enter !IEN.
75 ;;^DD(.4032,6,"DT")
76 ;;=2940503
77 ;;^DD(.4032,7,0)
78 ;;=INITIAL POSITION^S^f:FIRST;l:LAST;n:NEW;^2;3^Q
79 ;;^DD(.4032,7,21,0)
80 ;;=^^5^5^2940908^
81 ;;^DD(.4032,7,21,1,0)
82 ;;=This is the position in the list where the cursor should initially rest
83 ;;^DD(.4032,7,21,2,0)
84 ;;=when the user first navigates to the repeating block. Possible values are
85 ;;^DD(.4032,7,21,3,0)
86 ;;=FIRST, LAST, and NEW, where NEW indicates that the cursor should initially
87 ;;^DD(.4032,7,21,4,0)
88 ;;=rest on the blank line at the end of the list. The default INITIAL
89 ;;^DD(.4032,7,21,5,0)
90 ;;=POSITION is FIRST.
91 ;;^DD(.4032,7,"DT")
92 ;;=2940503
93 ;;^DD(.4032,8,0)
94 ;;=DISALLOW LAYGO^S^0:NO;1:YES;^2;4^Q
95 ;;^DD(.4032,8,21,0)
96 ;;=^^3^3^2940907^^
97 ;;^DD(.4032,8,21,1,0)
98 ;;=If set to YES, this prohibits the user from entering new subentries into
99 ;;^DD(.4032,8,21,2,0)
100 ;;=the multiple. If null or set to NO, the setting in the data dictionary
101 ;;^DD(.4032,8,21,3,0)
102 ;;=determines whether LAYGO is allowed.
103 ;;^DD(.4032,8,"DT")
104 ;;=2940505
105 ;;^DD(.4032,9,0)
106 ;;=FIELD FOR SELECTION^F^^2;5^K:$L(X)>30!($L(X)<1) X
107 ;;^DD(.4032,9,3)
108 ;;=Answer must be 1-30 characters in length.
109 ;;^DD(.4032,9,21,0)
110 ;;=^^5^5^2940907^^
111 ;;^DD(.4032,9,21,1,0)
112 ;;=This is the field order of the field that defines the column position of
113 ;;^DD(.4032,9,21,2,0)
114 ;;=the blank line at the end of the list. The default is the first editable
115 ;;^DD(.4032,9,21,3,0)
116 ;;=field in the block. This is also the field before which ScreenMan prints
117 ;;^DD(.4032,9,21,4,0)
118 ;;=the plus sign (+) to indicate there are more entries above or below the
119 ;;^DD(.4032,9,21,5,0)
120 ;;=displayed list.
121 ;;^DD(.4032,9,"DT")
122 ;;=2940506
123 ;;^DD(.4032,10,0)
124 ;;=ASK 'OK'^S^0:NO;1:YES;^2;6^Q
125 ;;^DD(.4032,10,21,0)
126 ;;=^^5^5^2990420^
127 ;;^DD(.4032,10,21,1,0)
128 ;;=Answer 'YES' to ask the user whether the looked-up entry is 'OK'. If only
129 ;;^DD(.4032,10,21,2,0)
130 ;;=one match is made to the user's lookup value, then ScreenMan will ask
131 ;;^DD(.4032,10,21,3,0)
132 ;;="OK?" instead of automatically selecting the found entry. This property
133 ;;^DD(.4032,10,21,4,0)
134 ;;=corresponds to the "V" flag in the DIC(0) input variable to ^DIC and only
135 ;;^DD(.4032,10,21,5,0)
136 ;;=pertains to multiple-valued fields.
137 ;;^DD(.4032,10,"DT")
138 ;;=2990420
139 ;;^DD(.4032,11,0)
140 ;;=PRE ACTION^K^^11;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
141 ;;^DD(.4032,11,3)
142 ;;=This is Standard MUMPS code.
143 ;;^DD(.4032,11,9)
144 ;;=@
145 ;;^DD(.4032,11,21,0)
146 ;;=^^5^5^2940907^
147 ;;^DD(.4032,11,21,1,0)
148 ;;=Enter MUMPS code that is executed whenever the user reaches this block.
149 ;;^DD(.4032,11,21,2,0)
150 ;;=
151 ;;^DD(.4032,11,21,3,0)
152 ;;=This pre-action is a characteristic of the block only as it is used on
153 ;;^DD(.4032,11,21,4,0)
154 ;;=this form. If you place this block on another form, you can define a
155 ;;^DD(.4032,11,21,5,0)
156 ;;=different pre-action.
157 ;;^DD(.4032,11,"DT")
158 ;;=2930610
159 ;;^DD(.4032,12,0)
160 ;;=POST ACTION^K^^12;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
161 ;;^DD(.4032,12,3)
162 ;;=This is Standard MUMPS code.
163 ;;^DD(.4032,12,9)
164 ;;=@
165 ;;^DD(.4032,12,21,0)
166 ;;=^^5^5^2940907^
167 ;;^DD(.4032,12,21,1,0)
168 ;;=Enter MUMPS code that is executed whenever the user leaves this block.
169 ;;^DD(.4032,12,21,2,0)
170 ;;=
171 ;;^DD(.4032,12,21,3,0)
172 ;;=This post-action is a characteristic of the block only as it is used on
173 ;;^DD(.4032,12,21,4,0)
174 ;;=this form. If you place this block on another form, you can define a
175 ;;^DD(.4032,12,21,5,0)
176 ;;=different post-action.
177 ;;^DD(.4032,12,"DT")
178 ;;=2930610
Note: See TracBrowser for help on using the repository browser.