Annotation of freem_fileman/DINIT295.m, revision 1.1.1.1

1.1       snw         1: DINIT295       ;SFISC/MKO-SCREENMAN FILES ;11/28/94  11:42 AM
                      2:        ;;21.0;VA FileMan;;Dec 28, 1994
                      3:        ;Per VHA Directive 10-93-142, this routine should not be modified.
                      4:        F I=1:2 S X=$T(Q+I) G:X="" ^DINIT296 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: Q      Q
                      6:        ;;^DD(.403115,.01,21,0)
                      7:        ;;=^^1^1^2940908^^
                      8:        ;;^DD(.403115,.01,21,1,0)
                      9:        ;;=Enter text that describes this page.
                     10:        ;;^DD(.40315,0)
                     11:        ;;=DESCRIPTION SUB-FIELD^^.01^1
                     12:        ;;^DD(.40315,0,"DT")
                     13:        ;;=2910204
                     14:        ;;^DD(.40315,0,"NM","DESCRIPTION")
                     15:        ;;=
                     16:        ;;^DD(.40315,0,"UP")
                     17:        ;;=.403
                     18:        ;;^DD(.40315,.01,0)
                     19:        ;;=DESCRIPTION^W^^0;1^Q
                     20:        ;;^DD(.40315,.01,3)
                     21:        ;;=
                     22:        ;;^DD(.40315,.01,21,0)
                     23:        ;;=^^1^1^2940908^^^^
                     24:        ;;^DD(.40315,.01,21,1,0)
                     25:        ;;=Enter text that describes this form.
                     26:        ;;^DD(.4032,0)
                     27:        ;;=BLOCK SUB-FIELD^^12^12
                     28:        ;;^DD(.4032,0,"DT")
                     29:        ;;=2940506
                     30:        ;;^DD(.4032,0,"ID","WRITE")
                     31:        ;;=D EN^DDIOL("(Block Order "_$P(^(0),U,2)_")","","?35")
                     32:        ;;^DD(.4032,0,"IX","AC",.4032,1)
                     33:        ;;=
                     34:        ;;^DD(.4032,0,"IX","B",.4032,.01)
                     35:        ;;=
                     36:        ;;^DD(.4032,0,"NM","BLOCK")
                     37:        ;;=
                     38:        ;;^DD(.4032,0,"UP")
                     39:        ;;=.4031
                     40:        ;;^DD(.4032,.01,0)
                     41:        ;;=BLOCK NAME^MP.404X^DIST(.404,^0;1^S:$D(X) DINUM=X
                     42:        ;;^DD(.4032,.01,1,0)
                     43:        ;;=^.1
                     44:        ;;^DD(.4032,.01,1,1,0)
                     45:        ;;=.4032^B
                     46:        ;;^DD(.4032,.01,1,1,1)
                     47:        ;;=S ^DIST(.403,DA(2),40,DA(1),40,"B",$E(X,1,30),DA)=""
                     48:        ;;^DD(.4032,.01,1,1,2)
                     49:        ;;=K ^DIST(.403,DA(2),40,DA(1),40,"B",$E(X,1,30),DA)
                     50:        ;;^DD(.4032,.01,1,2,0)
                     51:        ;;=.403^AB
                     52:        ;;^DD(.4032,.01,1,2,1)
                     53:        ;;=S ^DIST(.403,"AB",$E(X,1,30),DA(2),DA(1),DA)=""
                     54:        ;;^DD(.4032,.01,1,2,2)
                     55:        ;;=K ^DIST(.403,"AB",$E(X,1,30),DA(2),DA(1),DA)
                     56:        ;;^DD(.4032,.01,1,2,"%D",0)
                     57:        ;;=^^2^2^2930521^
                     58:        ;;^DD(.4032,.01,1,2,"%D",1,0)
                     59:        ;;=This cross reference provides an index that can be used to determine
                     60:        ;;^DD(.4032,.01,1,2,"%D",2,0)
                     61:        ;;=the forms on which a block is used.
                     62:        ;;^DD(.4032,.01,1,2,"DT")
                     63:        ;;=2930521
                     64:        ;;^DD(.4032,.01,21,0)
                     65:        ;;=^^1^1^2940908^^^^
                     66:        ;;^DD(.4032,.01,21,1,0)
                     67:        ;;=Enter the name of the block to be placed on this page of the form.
                     68:        ;;^DD(.4032,.01,"DT")
                     69:        ;;=2930521
                     70:        ;;^DD(.4032,1,0)
                     71:        ;;=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
                     72:        ;;^DD(.4032,1,1,0)
                     73:        ;;=^.1
                     74:        ;;^DD(.4032,1,1,1,0)
                     75:        ;;=.4032^AC
                     76:        ;;^DD(.4032,1,1,1,1)
                     77:        ;;=S ^DIST(.403,DA(2),40,DA(1),40,"AC",$E(X,1,30),DA)=""
                     78:        ;;^DD(.4032,1,1,1,2)
                     79:        ;;=K ^DIST(.403,DA(2),40,DA(1),40,"AC",$E(X,1,30),DA)
                     80:        ;;^DD(.4032,1,1,1,"%D",0)
                     81:        ;;=^^2^2^2910118^^
                     82:        ;;^DD(.4032,1,1,1,"%D",1,0)
                     83:        ;;=This cross-reference is used to ensure that order numbers are unique for
                     84:        ;;^DD(.4032,1,1,1,"%D",2,0)
                     85:        ;;=the page.
                     86:        ;;^DD(.4032,1,1,1,"DT")
                     87:        ;;=2910118
                     88:        ;;^DD(.4032,1,3)
                     89:        ;;=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.
                     90:        ;;^DD(.4032,1,21,0)
                     91:        ;;=^^5^5^2940907^^
                     92:        ;;^DD(.4032,1,21,1,0)
                     93:        ;;=The Block Order determines the order users traverse fields on a page when
                     94:        ;;^DD(.4032,1,21,2,0)
                     95:        ;;=they press <PF1><PF4> to go to the next block, or press <RET> to move from
                     96:        ;;^DD(.4032,1,21,3,0)
                     97:        ;;=the last field on one block to the first field on the next.  When the user
                     98:        ;;^DD(.4032,1,21,4,0)
                     99:        ;;=first reaches a page, ScreenMan places the user on the block with the
                    100:        ;;^DD(.4032,1,21,5,0)
                    101:        ;;=lowest Block Order number.
                    102:        ;;^DD(.4032,2,0)
                    103:        ;;=BLOCK COORDINATE^F^^0;3^K:$L(X)>7!($L(X)<1)!'(X?.N1",".N) X
                    104:        ;;^DD(.4032,2,3)
                    105:        ;;=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.'
                    106:        ;;^DD(.4032,2,21,0)
                    107:        ;;=^^2^2^2940907^^
                    108:        ;;^DD(.4032,2,21,1,0)
                    109:        ;;=The block coordinate is relative to the page coordinate.  The first row
                    110:        ;;^DD(.4032,2,21,2,0)
                    111:        ;;=and column on the block have a coordinate of 1,1.
                    112:        ;;^DD(.4032,2,"DT")
                    113:        ;;=2940908
                    114:        ;;^DD(.4032,3,0)
                    115:        ;;=TYPE OF BLOCK^S^e:EDIT;d:DISPLAY;^0;4^Q
                    116:        ;;^DD(.4032,3,3)
                    117:        ;;=
                    118:        ;;^DD(.4032,3,21,0)
                    119:        ;;=^^7^7^2940907^
                    120:        ;;^DD(.4032,3,21,1,0)
                    121:        ;;=Enter 'EDIT' if users can navigate to as well as edit fields in this
                    122:        ;;^DD(.4032,3,21,2,0)
                    123:        ;;=block.  Enter 'DISPLAY' if users cannot edit any of the fields in this
                    124:        ;;^DD(.4032,3,21,3,0)
                    125:        ;;=block.  User's can navigate to a DISPLAY block only if it contains
                    126:        ;;^DD(.4032,3,21,4,0)
                    127:        ;;=multiple or word processing fields, in which case, the cursor stops at any
                    128:        ;;^DD(.4032,3,21,5,0)
                    129:        ;;=of those two kinds of fields so that the user can press <RET> to view or
                    130:        ;;^DD(.4032,3,21,6,0)
                    131:        ;;=edit the subfields in the multiple or invoke an editor to view the
                    132:        ;;^DD(.4032,3,21,7,0)
                    133:        ;;=contents of the word processing field.
                    134:        ;;^DD(.4032,3,"DT")
                    135:        ;;=2940413
                    136:        ;;^DD(.4032,4,0)
                    137:        ;;=POINTER LINK^FX^^1;1^K:$L(X)>245!($L(X)<1) X I $D(X) D PLINK^DDSIT

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>