STANDARD DATA DICTIONARY #358.1 -- IMP/EXP ENCOUNTER FORM BLOCK FILE                                              6/27/25    PAGE 1
STORED IN ^IBE(358.1,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                       (VERSION 3.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
 This file is nearly identical to file #357.1. It is used by the Import/Export Utility as a temporary staging area for data from
that file that is being imported or exported.  


              DD ACCESS: @
              RD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @
IDENTIFIED BY: FORM (#.02)[R]

POINTED TO BY: BLOCK field (#.02) of the IMP/EXP SELECTION LIST File (#358.2) 
               BLOCK field (#.02) of the IMP/EXP DATA FIELD File (#358.5) 
               BLOCK field (#.06) of the IMP/EXP FORM LINE File (#358.7) 
               BLOCK field (#.02) of the IMP/EXP TEXT AREA File (#358.8) 
               BLOCK field (#.08) of the IMP/EXP MULTIPLE CHOICE FIELD File (#358.93) 
               

CROSS
REFERENCED BY: NAME(B), FORM(C), TOOL KIT ORDER(D)



358.1,.01     NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
              HELP-PROMPT:      NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION 
              DESCRIPTION:
                                 The name of the block.  

              DELETE TEST:      1,0)= I '$G(IBLISTPR) W "...Encounter Form Blocks can only be deleted through the Encounter Form Ut
                                ilities!"

              CROSS-REFERENCE:  358.1^B 
                                1)= S ^IBE(358.1,"B",$E(X,1,30),DA)=""
                                2)= K ^IBE(358.1,"B",$E(X,1,30),DA)


358.1,.02     FORM                   0;2 POINTER TO IMP/EXP ENCOUNTER FORM FILE (#358) (Required)

              LAST EDITED:      AUG 02, 1993 
              HELP-PROMPT:      What form should this block appear on? 
              DESCRIPTION:
                                 The form the block appears on.  

              CROSS-REFERENCE:  358.1^C 
                                1)= S ^IBE(358.1,"C",$E(X,1,30),DA)=""
                                2)= K ^IBE(358.1,"C",$E(X,1,30),DA)
                                Used to find all the blocks belonging to a particular form.  



358.1,.04     BLOCK'S STARTING ROW   0;4 NUMBER (Required)

              WHAT ROW SHOULD THE BLOCK START IN?   
              INPUT TRANSFORM:  S:+X=X X=X-1 K:+X'=X!(X>999)!(X<0)!(X?.E1"."1N.N) X
              OUTPUT TRANSFORM: S Y=(+Y)+1
              LAST EDITED:      JUL 15, 1993 
              HELP-PROMPT:      What line should this block begin on? 
              DESCRIPTION:
                                The row  on the encounter form that the block starts on.  

              TECHNICAL DESCR:  The internal representation starts at 0, the external representation starts at 1. The difference is
                                because for computing the form image it is convenient to work with displacements fromt the top
                                left-hand corner. However, users do not want to work with row=0 or column=0.  

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


358.1,.05     BLOCK'S STARTING COLUMN 0;5 NUMBER (Required)

              WHAT COLUMN SHOULD THE BLOCK START IN?   
              INPUT TRANSFORM:  S:+X=X X=X-1 K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
              OUTPUT TRANSFORM: S Y=(+Y)+1
              LAST EDITED:      JUL 15, 1993 
              HELP-PROMPT:      What column should this block begin on? 
              DESCRIPTION:
                                The column on the encounter form that the block starts on.  

              TECHNICAL DESCR:  The internal representation starts at 0, the external representation starts at 1. The difference is
                                because for computing the form image it is convenient to work with displacements from the top
                                left-hand corner. However, users do not want to work with row=0 or column=0.  

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


358.1,.06     WIDTH IN CHARACTERS    0;6 NUMBER (Required)

              HOW MANY CHARACTERS WIDE SHOULD THE BLOCK BE?   
              INPUT TRANSFORM:  K:+X'=X!(X>200)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      APR 15, 1993 
              HELP-PROMPT:      How many characters wide should this block be? 
              DESCRIPTION:
                                 The width of the block, measured in the number of characters across.  


358.1,.07     HEIGHT IN LINES        0;7 NUMBER (Required)

              HOW MANY LINES HIGH SHOULD THE BLOCK BE?   
              INPUT TRANSFORM:  K:+X'=X!(X>200)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      APR 15, 1993 
              HELP-PROMPT:      How many lines high should this block be? 
              DESCRIPTION:
                                 The height of the block, measured by the number of lines it takes up.  


358.1,.1      OUTLINE TYPE           0;10 SET (Required)

              OUTLINE TYPE (SOLID/INVISIBLE)   
                                '1' FOR SOLID LINE; 
                                '2' FOR INVISIBLE; 
              LAST EDITED:      APR 15, 1993 
              HELP-PROMPT:      Enter '1' if the block should have a box around it, '2' if not. 
              DESCRIPTION:
                                 How the block is outlined on the form.  


358.1,.11     BLOCK HEADER           0;11 FREE TEXT

              WHAT HEADER WOULD SHOULD APPEAR AT THE TOP OF THE BLOCK? (OPTIONAL)   
              INPUT TRANSFORM:  K:$L(X)>60!($L(X)<1) X
              LAST EDITED:      APR 15, 1993 
              HELP-PROMPT:      What text should appear at the top of the block? 
              DESCRIPTION:
                                 The text appearing at the top of the block.  


358.1,.12     HEADER APPEARANCE      0;12 FREE TEXT

              HOW SHOULD THE BLOCK HEADER APPEAR? CHOOSE FROM {U,B,C}   
              INPUT TRANSFORM:  S X=$$UPPER^VALM1(X) K:$L(X)>3!("UBC"'[$E(X,1))!("UBC"'[$E(X,2))!("UBC"'[$E(X,3)) X
              LAST EDITED:      JUN 16, 1993 
              HELP-PROMPT:      B=bold, U=underline, C=center. You can enter any combination of {B,U,C}. 
              DESCRIPTION:
                                 A description of the block's contents and use.  

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


358.1,.13     BRIEF DESCRIPTION      0;13 FREE TEXT (Required)

              ENTER A BRIEF DESCRIPTION OF THE USE & CONTENTS OF THE BLOCK   
              INPUT TRANSFORM:  K:$L(X)>80!($L(X)<1) X
              LAST EDITED:      APR 15, 1993 
              HELP-PROMPT:      Answer must be 1-80 characters in length. 
              DESCRIPTION:
                                 A brief description of the contents or use of the block.  


358.1,.14     TOOL KIT ORDER         0;14 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999.99)!(X<0)!(X?.E1"."3N.N) X
              LAST EDITED:      MAR 09, 1993 
              HELP-PROMPT:      Enter a numeric value >0 if this block is part of the tool kit. The number will determine its 
                                listed order. 
              DESCRIPTION:       A value greater than 0 means that the block belongs to the tool kit. The value also determines the
                                order that the block will be listed to the screen that displays the tool kit blocks.  

              CROSS-REFERENCE:  358.1^D 
                                1)= S ^IBE(358.1,"D",$E(X,1,30),DA)=""
                                2)= K ^IBE(358.1,"D",$E(X,1,30),DA)
                                This index is used to locate all the 'tool box' blocs that can be used as templates to create a new
                                block to be added to a form.  



358.1,1       EXPORT NOTES           1;0   WORD-PROCESSING #358.11

              DESCRIPTION:      Should be give other sites information that will enable them to decide whether or not they want to
                                import the block. Only applies to tool kit blocks.  


                LAST EDITED:      AUG 06, 1993 
                HELP-PROMPT:      What should other sites know about this tool kit block before importing it? 




      FILES POINTED TO                      FIELDS

IMP/EXP ENCOUNTER FORM (#358)     FORM (#.02)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):