DINIT292 ;SFISC/MKO-FORM AND BLOCK FILES ;10:49 AM 30 Mar 1999 ;;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 G ^DINIT293 Q Q ;;^DD(.4031,1,21,3,0) ;;=is unable to navigate to any of the fields on the header block. ;;^DD(.4031,1,21,4,0) ;;= ;;^DD(.4031,1,21,5,0) ;;=Starting with Version 21 of FileMan, there is no need to use header ;;^DD(.4031,1,21,6,0) ;;=blocks. Display-type blocks, with a coordinate of '1,1' relative to the ;;^DD(.4031,1,21,7,0) ;;=page, provide the same functionality as header blocks. ;;^DD(.4031,1,"DT") ;;=2930702 ;;^DD(.4031,2,0) ;;=PAGE COORDINATE^F^^0;3^K:$L(X)>7!($L(X)<1)!'(X?.N1",".N) X ;;^DD(.4031,2,3) ;;=Enter the coordinate of the upper left corner of the page. Answer must be two positive integers separated by a comma (,), as follows: 'Upper left row,Upper left column'. ;;^DD(.4031,2,21,0) ;;=^^13^13^2940908^ ;;^DD(.4031,2,21,1,0) ;;=The Page Coordinate property defines the location of the top left corner ;;^DD(.4031,2,21,2,0) ;;=of the page on the screen. The format of a coordinate is: Row,Column. ;;^DD(.4031,2,21,3,0) ;;=Regular pages normally have a Page Coordinate of "1,1". They do not have ;;^DD(.4031,2,21,4,0) ;;=a Lower Right Coordinate. ;;^DD(.4031,2,21,5,0) ;;= ;;^DD(.4031,2,21,6,0) ;;=The Page Coordinate of pop-up pages defines the position of the top left ;;^DD(.4031,2,21,7,0) ;;=corner of the border of the pop-up page. Pop-up pages must have a Lower ;;^DD(.4031,2,21,8,0) ;;=Right Coordinate, which defines the position of the bottom right corner of ;;^DD(.4031,2,21,9,0) ;;=the border of the pop-up page. ;;^DD(.4031,2,21,10,0) ;;= ;;^DD(.4031,2,21,11,0) ;;=All blocks on the page are positioned relative to the page on which they ;;^DD(.4031,2,21,12,0) ;;=are defined. If a page is moved -- that is, if the Page Coordinate is ;;^DD(.4031,2,21,13,0) ;;=changed -- all blocks and all fields on that page move with it. ;;^DD(.4031,2,"DT") ;;=2940908 ;;^DD(.4031,3,0) ;;=NEXT PAGE^NJ5,1^^0;4^K:+X'=X!(X>999.9)!(X<1)!(X?.E1"."2N.N) X ;;^DD(.4031,3,3) ;;=Answer must be a Number between 1 and 999.9, 1 Decimal Digit. ;;^DD(.4031,3,21,0) ;;=^^9^9^2940908^ ;;^DD(.4031,3,21,1,0) ;;=Enter the page to go to when the user presses or selects the ;;^DD(.4031,3,21,2,0) ;;=NEXT PAGE command from the Command Line. ;;^DD(.4031,3,21,3,0) ;;= ;;^DD(.4031,3,21,4,0) ;;=When the user attempts a Save, ScreenMan follows the Next Page links ;;^DD(.4031,3,21,5,0) ;;=starting with the first page displayed to the user. ScreenMan loads all ;;^DD(.4031,3,21,6,0) ;;=those pages, including any defaults, and checks that all required fields ;;^DD(.4031,3,21,7,0) ;;=have values. If any of the required fields have null values, no Save ;;^DD(.4031,3,21,8,0) ;;=occurs. If all required field have values, Screenman Saves the data, ;;^DD(.4031,3,21,9,0) ;;=including all defaults. ;;^DD(.4031,4,0) ;;=PREVIOUS PAGE^NJ5,1^^0;5^K:+X'=X!(X>999.9)!(X<1)!(X?.E1"."2N.N) X ;;^DD(.4031,4,3) ;;=Answer must be a Number between 1 and 999.9, 1 Decimal Digit. ;;^DD(.4031,4,21,0) ;;=^^1^1^2940907^ ;;^DD(.4031,4,21,1,0) ;;=Enter the page to go to when the user presses . ;;^DD(.4031,5,0) ;;=IS THIS A POP UP PAGE?^S^0:NO;1:YES;^0;6^Q ;;^DD(.4031,5,1,0) ;;=^.1 ;;^DD(.4031,5,1,1,0) ;;=.4031^AC^MUMPS ;;^DD(.4031,5,1,1,1) ;;=S:X $P(^DIST(.403,DA(1),40,DA,0),U,2)="" ;;^DD(.4031,5,1,1,2) ;;=Q ;;^DD(.4031,5,1,1,3) ;;=Programmer only ;;^DD(.4031,5,1,1,"%D",0) ;;=^^1^1^2940627^ ;;^DD(.4031,5,1,1,"%D",1,0) ;;=If this is a pop up page, there can be no header block. ;;^DD(.4031,5,1,1,"DT") ;;=2940627 ;;^DD(.4031,5,3) ;;= ;;^DD(.4031,5,21,0) ;;=^^8^8^2940908^ ;;^DD(.4031,5,21,1,0) ;;=If the page is a pop-up page rather than a regular page, set this property ;;^DD(.4031,5,21,2,0) ;;=to 'YES'. ;;^DD(.4031,5,21,3,0) ;;= ;;^DD(.4031,5,21,4,0) ;;=ScreenMan displays pop-up pages with a border, on top of what is ;;^DD(.4031,5,21,5,0) ;;=already on the screen. The top left coordinate of the pop-up page ;;^DD(.4031,5,21,6,0) ;;=defines the location of the top left corner of the border. Pop-up ;;^DD(.4031,5,21,7,0) ;;=pages must also have a lower right coordinate, which defines the location ;;^DD(.4031,5,21,8,0) ;;=of the bottom left corner of the border. ;;^DD(.4031,5,"DT") ;;=2940627 ;;^DD(.4031,6,0) ;;=LOWER RIGHT COORDINATE^F^^0;7^K:$L(X)>7!($L(X)<1)!'(X?.N1",".N) X ;;^DD(.4031,6,3) ;;=Enter the coordinate of the bottom right corner of the pop up page. Answer must be two positive integers separated by a comma (,), as follows: 'Lower right row,Lower right column'. ;;^DD(.4031,6,21,0) ;;=^^4^4^2940908^ ;;^DD(.4031,6,21,1,0) ;;=The existence of a lower right coordinate implies that the page is a ;;^DD(.4031,6,21,2,0) ;;=pop-up page. The lower right coordinate and the page coordinate define ;;^DD(.4031,6,21,3,0) ;;=the position of the border ScreenMan displays when it paints a pop-up ;;^DD(.4031,6,21,4,0) ;;=page. ;;^DD(.4031,6,"DT") ;;=2940908 ;;^DD(.4031,7,0) ;;=PAGE NAME^FX^^1;1^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<3)!(X=+$P(X,"E")) X ;;^DD(.4031,7,1,0) ;;=^.1 ;;^DD(.4031,7,1,1,0) ;;=.4031^C^MUMPS ;;^DD(.4031,7,1,1,1) ;;=S ^DIST(.403,DA(1),40,"C",$TR(X,"abcdefghijklmnopqrstuvwxyz","ABCDEFGHIJKLMNOPQRSTUVWXYZ"),DA)="" ;;^DD(.4031,7,1,1,2) ;;=K ^DIST(.403,DA(1),40,"C",$TR(X,"abcdefghijklmnopqrstuvwxyz","ABCDEFGHIJKLMNOPQRSTUVWXYZ"),DA) ;;^DD(.4031,7,1,1,3) ;;=Programmer only ;;^DD(.4031,7,1,1,"%D",0) ;;=^^2^2^2930816^ ;;^DD(.4031,7,1,1,"%D",1,0) ;;=This cross reference is a regular index of the page name converted to all ;;^DD(.4031,7,1,1,"%D",2,0) ;;=upper case characters. ;;^DD(.4031,7,1,1,"DT") ;;=2930816 ;;^DD(.4031,7,3) ;;=Enter the name of the page, 3-30 characters in length. ;;^DD(.4031,7,21,0) ;;=^^5^5^2940907^^ ;;^DD(.4031,7,21,1,0) ;;=Like the Page Number, you can use the Page Name to refer to a page in ;;^DD(.4031,7,21,2,0) ;;=ScreenMan functions and utilities. ScreenMan displays the Page Name to ;;^DD(.4031,7,21,3,0) ;;=the user if, during an attempt to file data, ScreenMan finds required ;;^DD(.4031,7,21,4,0) ;;=fields with null values. ScreenMan uses the Caption of the field and the ;;^DD(.4031,7,21,5,0) ;;=Page Name to inform the user of the location of the required field. ;;^DD(.4031,7,"DT") ;;=2931020 ;;^DD(.4031,8,0) ;;=PARENT FIELD^FX^^1;2^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>92!($L(X)<5)!'(X?1.E1","1.E1","1.E) X I $D(X) D PFIELD^DDSIT