STANDARD DATA DICTIONARY #358.2 -- IMP/EXP SELECTION LIST FILE                                                    3/24/25    PAGE 1
STORED IN ^IBE(358.2,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                       (VERSION 3.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
Used by the import/export utility as a workspace.  


              DD ACCESS: @
              RD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @
IDENTIFIED BY: BLOCK (#.02)[R], SELECTION ROUTINE (#.11)[R]

POINTED TO BY: SELECTION LIST field (#.03) of the IMP/EXP SELECTION File (#358.3) 
               SELECTION LIST field (#.03) of the IMP/EXP SELECTION GROUP File (#358.4) 
               

CROSS
REFERENCED BY: NAME(B), BLOCK(C)



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

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
              LAST EDITED:      NOV 19, 1992 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:
                                 The name of the list.  

              DELETE TEST:      1,0)= I '$G(IBLISTPR) W "...Selection Lists can only be deleted through the Encounter Form Utilitie
                                s!"

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


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

              LAST EDITED:      DEC 07, 1992 
              HELP-PROMPT:      Enter the block that the selection list should appear in. 
              DESCRIPTION:
                                The block that the list appears on. The position of the selection list is relative to the block.  

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


358.2,.04     SUBCOLUMN HEADER APPEARANCE 0;4 FREE TEXT

              HOW SHOULD THE SUBCOLUMN HEADERS APPEAR? ENTER 'R' FOR REVERSE PRINTING.   
              INPUT TRANSFORM:  S X=$$UPPER^VALM1(X) K:$L(X)>1!("R"'[$E(X,1)) X
              LAST EDITED:      MAY 31, 1994 
              HELP-PROMPT:      R=Reverse Printing 
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


358.2,.05     COLUMN HEADER          0;5 FREE TEXT

              WHAT TEXT SHOULD APPEAR AT THE TOP OF EACH COLUMN? (OPTIONAL)   
              INPUT TRANSFORM:  K:$L(X)>70!($L(X)<1) X
              LAST EDITED:      APR 15, 1993 
              HELP-PROMPT:      This header will appear at the top of the column that contains the list. If there is more than one 
                                column it will appear at the top of each. 
              DESCRIPTION:
                                 The text that appears at the top of each column (NOT subcolumn).  


358.2,.06     COLUMN HEADER APPEARANCE 0;6 FREE TEXT

              HOW SHOULD THE COLUMN HEADER APPEAR? CHOOSE FROM {U,B,R,C}   
              INPUT TRANSFORM:  S X=$$UPPER^VALM1(X) K:$L(X)>4!("UBRC"'[$E(X,1))!("UBRC"'[$E(X,2))!("UBRC"'[$E(X,3))!("UBRC"'[$E(X,
                                4)) X
              LAST EDITED:      MAY 31, 1994 
              HELP-PROMPT:      B=bold,U=underline,R=reverse,C=center. You can enter any combination of {B,U,R,C}. 
              DESCRIPTION:
                                 The column header can be give characteristics, such as centered and bold.  

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


358.2,.07     SUBCOLUMNS SEPARATED WITH? 0;7 SET (Required)

              HOW SHOULD THE SUBCOLUMNS BE SEPARATED?   
                                '1' FOR ONE SPACE; 
                                '2' FOR TWO SPACES; 
                                '3' FOR LINE; 
                                '4' FOR SPACE/LINE/SPACE; 
              LAST EDITED:      APR 15, 1993 
              HELP-PROMPT:      How should the subcolumns be separated? 
              DESCRIPTION:
                                 What characters are used to separate the subcolumns.  


358.2,.08     EXTRA LINES FOR SELECTIONS 0;8 NUMBER

              NUMBER OF ADDITIONAL LINES FOR EACH ENTRY ON LIST?   
              INPUT TRANSFORM:  K:+X'=X!(X>9)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      APR 27, 1993 
              HELP-PROMPT:      How many extra lines should be allocated for each selection, in addition to the 1 the selection 
                                will print on? 
              DESCRIPTION:       Each entry on the list prints on only one line. However, if you want extra space to appear below
                                each entry on the list then this field should be set to the number of blank lines desired.  


358.2,.09     GROUP HEADER APPEARANCE 0;9 FREE TEXT

              HOW SHOULD THE HEADER FOR EACH GROUP OF ENTRIES APPEAR? CHOOSE FROM {U,B,R,C}   
              INPUT TRANSFORM:  S X=$$UPPER^VALM1(X) K:$L(X)>4!("UBRC"'[$E(X,1))!("UBRC"'[$E(X,2))!("UBRC"'[$E(X,3))!("UBRC"'[$E(X,
                                4)) X
              LAST EDITED:      MAY 27, 1994 
              HELP-PROMPT:      B=bold,R=reverse,C=center,U=underline. You can use any combination of {B,R,C,U} 
              DESCRIPTION:
                                This field determines the appearance of the group headers.  

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


358.2,.11     SELECTION ROUTINE      0;11 POINTER TO IMP/EXP PACKAGE INTERFACE FILE (#358.6) (Required)

              INPUT TRANSFORM:  S DIC("S")="I $P(^(0),U,6)=3,$P(^(0),U,9)=1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
              LAST EDITED:      JAN 15, 1993 
              HELP-PROMPT:      Enter the package interface used to obtain this list. 
              DESCRIPTION:
                                 This identifies the Package Interface that is used to fill the list.  

              SCREEN:           S DIC("S")="I $P(^(0),U,6)=3,$P(^(0),U,9)=1"
              EXPLANATION:      Allows only available selection routines.

358.2,.12     UNDERLINE SELECTIONS?  0;12 SET (Required)

              SHOULD EACH ENTRY ON THE LIST BE UNDERLINED? (YES/NO)   
                                '0' FOR NO; 
                                '1' FOR YES; 
              LAST EDITED:      APR 14, 1993 
              HELP-PROMPT:      Should the items on the list be underlined? 
              DESCRIPTION:
                                 Answer yes if each entry on the list should be underlined.  


358.2,.13     NUMBER OF COLUMNS      0;13 NUMBER

              HOW MANY COLUMNS OF LIST ENTRIES SHOULD THE LIST HAVE? (OPTIONAL)   
              INPUT TRANSFORM:  K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      AUG 02, 1993 
              DESCRIPTION:       A selection list may be displayed in an area several columns wide. The starting position and
                                height of each column may be specified. However, it is not necessary because defaults values will
                                be used. The defaults used assume that nothing else is going in the block except the selection list 
                                and that the entire block should be filled.  

              EXECUTABLE HELP:  D HELP5^IBDFU5

358.2,.14     DYNAMIC SELECTIONS     0;14 SET

                                '0' FOR NO; 
                                '1' FOR YES; 
              LAST EDITED:      JUL 17, 1995 
              HELP-PROMPT:      Answer YES if the list of selecitons are created at print time. 

358.2,.15     PRINT COMPLETE         0;15 SET

                                '0' FOR NO; 
                                '1' FOR YES; 
              LAST EDITED:      JUL 17, 1995 
              HELP-PROMPT:      If the data on the list won't fit on the form, should it be printed on a separate page? 
              DESCRIPTION:
                                Applies only to dynamic selection lists.  


358.2,.16     NUMBER OF OTHER        0;16 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      JUL 17, 1995 
              HELP-PROMPT:      Allocate space for how many 'other' not found on the list? 
              DESCRIPTION:
                                Space will be allocated at the bottom of the lsit for this number of items not found on the list.  


358.2,.17     WHAT TO ALLOCATE SPACE FOR 0;17 SET

                                '1' FOR NARRATIVE ONLY; 
                                '2' FOR CODE ONLY; 
                                '3' FOR NARRATIVE AND CODE; 
              LAST EDITED:      JUL 17, 1995 
              HELP-PROMPT:      What should space be allocated for when making room for 'other'? 
              DESCRIPTION:      This field will determine what fields will be placed on the form for writting in other items not
                                found on the list.  


358.2,.18     WHAT TO SEND TO PCE    0;18 SET

                                '1' FOR NARRATIVE ONLY; 
                                '2' FOR CODE ONLY; 
                                '3' FOR NARRATIVE AND CODE; 
              LAST EDITED:      JAN 23, 1996 
              HELP-PROMPT:      WHAT DO YOU WANT ENTERED INTO THE DATABASE? 
              DESCRIPTION:      This determines what is sent to PCE.  For example, some types of data may require that a code be
                                sent, but the narrative may be optional.  


358.2,.19     CLINICAL REMINDER DISPLAY TYPE 0;19 SET

                                '1' FOR DUE NOW ONLY; 
                                '2' FOR ALL REMINDERS; 
              LAST EDITED:      OCT 27, 1997 
              HELP-PROMPT:      This determines the clincial reminders that will print on an encounter form.  Choose either to see 
                                only those due now or all appropriate reminders. 
              DESCRIPTION:
                                This is the display type for this list of clinical reminders.  


358.2,1       LIST COLUMN            1;0 Multiple #358.21

              LAST EDITED:      AUG 02, 1993 
              DESCRIPTION:
                                A column is a rectangular area that has the necessary width to display a single item on the list.  

              IDENTIFIED BY:    
                    "WRITE":    D EN^DDIOL("   COLUMN #"_$P($G(^(0)),U),"","?0")

358.21,.01      LIST COLUMN NUMBER     0;1 NUMBER (Multiply asked)

                INPUT TRANSFORM:  K:+X'=X!(X>4)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      AUG 02, 1993 
                HELP-PROMPT:      You can specify the position and height of up to 4 columns. Defaults will be used where needed. 
                DESCRIPTION:      The order that the columns will be filled. Column 1 will first be filled with items, then column
                                  2, etc.  

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


358.21,.02      LIST COLUMN'S STARTING ROW 0;2 NUMBER

                WHAT ROW SHOULD THE LIST COLUMN START IN? (OPTIONAL)   
                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 Y=+Y+1
                LAST EDITED:      AUG 02, 1993 
                HELP-PROMPT:      What row should the column begin in? 
                DESCRIPTION:      The row, relative to the block, that the column should begin in. This is optional, since default
                                  values can be used.  

                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.21,.03      LIST COLUMN'S STARTING COLUMN 0;3 NUMBER

                WHAT BLOCK COLUMN SHOULD THE LIST COLUMN START IN? (OPTIONAL)   
                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 Y=+Y+1
                LAST EDITED:      SEP 30, 1993 
                HELP-PROMPT:      At what block column should the list column begin at? The first subcolumn of the list column will 
                                  start one character to the right of this. 
                DESCRIPTION:       The column (# of characters to the right) that the list column should begin in, relative to the
                                  block. It is optional, since a default value can be used.  

                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.21,.04      LIST COLUMN HEIGHT     0;4 NUMBER

                HOW MANY LINES HIGH SHOULD THE LIST COLUMN BE? (OPTIONAL)   
                INPUT TRANSFORM:  K:+X'=X!(X>200)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      AUG 02, 1993 
                HELP-PROMPT:      How many lines should the column cover? 
                DESCRIPTION:       The number of lines the column should occupy. This is optional - if not supplied the column will
                                  extend to the bottom of the block.  




358.2,2       SUBCOLUMN NUMBER       2;0 Multiple #358.22

              LAST EDITED:      APR 13, 1993 
              DESCRIPTION:       A subcolumn contains one field of the entry on the list. The subcolumn order is the order, from
                                left to right, that the subcolumns will appear in.  

              IDENTIFIED BY:    
                    "WRITE":    D ID1^IBDFU5

358.22,.01      SUBCOLUMN NUMBER       0;1 NUMBER (Required) (Multiply asked)

                Number of the subcolumn, subcolumns being numbered 1-6, left-to-right   
                INPUT TRANSFORM:  K:+X'=X!(X>6)!(X<1)!(X?.E1"."1N.N)!($D(^IBE(358.2,DA(1),2,"B",X))) X
                LAST EDITED:      APR 13, 1993 
                HELP-PROMPT:      The SUBCOLUMN NUMBER determines the order in which the subcolumns will display. There are at most 
                                  6 subcolumns, numbered 1-6. 
                DESCRIPTION:
                                   The order that the subcolumn will appear on the form.  

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

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


358.22,.02      SUBCOLUMN HEADER       0;2 FREE TEXT

                WHAT TEXT SHOULD APPEAR AT THE TOP OF THE SUBCOLUMN?   
                INPUT TRANSFORM:  K:$L(X)>150!($L(X)<1) X
                LAST EDITED:      APR 14, 1993 
                HELP-PROMPT:      What text should appear at the top of the subcolumn? 
                DESCRIPTION:
                                   The text that will appear at the top of the subcolumn.  


358.22,.03      SUBCOLUMN WIDTH        0;3 NUMBER

                HOW WIDE SHOULD THE SUBCOLUMN BE?   
                INPUT TRANSFORM:  K:+X'=X!(X>150)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      APR 14, 1993 
                HELP-PROMPT:      How wide should the subcolumn be? 
                DESCRIPTION:       The width of the subcolumn. If the subcolumn contains a MARKING AREA then the width of the
                                  MARKING AREA overrides what ever this is.  


358.22,.04      TYPE OF SUBCOLUMN      0;4 SET (Required)

                SUBCOLUMN CONTAINS TEXT, OR FOR MARKING? (TEXT/MARKING)   
                                  '1' FOR TEXT; 
                                  '2' FOR MARKING; 
                LAST EDITED:      APR 28, 1993 
                HELP-PROMPT:      Enter '1' if the subcolumn will contain text, '2' if it will be for the user to mark his 
                                  selections. 
                DESCRIPTION:       The subcolumn can contain either text, derived from what is returned by the PACKAGE INTERFACE,
                                  or a MARKING AREA, which is meant to be written in to select an entry on the list.  


358.22,.05      SUBCOLUMN'S DATA       0;5 NUMBER

                WHAT DATA SHOULD BE CONTAINED IN THE SUBCOLUMN?   
                INPUT TRANSFORM:K:+X'=X!(X>7)!(X<1)!(X?.E1"."1N.N)!($P($G(^IBE(358.6,+$P($G(^IBE(358.2,DA(1),0)),U,11),2)),U,(2*X)-
                                1)="")!((X=1)&'$P($G(^IBE(358.6,+$P($G(^IBE(358.2,DA(1),0)),U,11),2)),U,17)) X
                LAST EDITED:    JUL 19, 1994 
                HELP-PROMPT:    WHAT DATA SHOULD BE CONTAINED IN THE SUBCOLUMN? 
                DESCRIPTION:     The Package Interface returns a record, which is composed of fields. This identifies which field
                                goes in the subcolumn.  

                EXECUTABLE HELP:D HELP2^IBDFU5
                NOTES:          XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


358.22,.06      MARKING AREA         0;6 POINTER TO IMP/EXP MARKING AREA FILE (#358.91)

                TYPE OF MARKING AREA   
                LAST EDITED:    APR 14, 1993 
                HELP-PROMPT:    What type of marking area should appear in the subcolumn? 
                DESCRIPTION:
                                 This identifies which MARKING AREA should go in the subcolumn.  


358.22,.07      ALLOW EDITING OF TEXT? 0;7 SET

                ALLOW EDITING OF THE TEXT APPEARING IN THIS SUBCOLUMN? (YES/NO)   
                                '0' FOR NO; 
                                '1' FOR YES; 
                LAST EDITED:    APR 28, 1993 
                HELP-PROMPT:    Is it okey to edit the text appearing in this subcolumn? 
                DESCRIPTION:     This determines whether or not the user, when selecting items to appear on the list, will be able
                                to edit the text appearing in the subcolum. This is ignored if the subcolumn contains a MARKING
                                AREA.  


358.22,.08      DO NOT UNDERLINE MARKING AREA? 0;8 SET

                                '0' FOR NO; 
                                '1' FOR YES; 
                LAST EDITED:    JUN 07, 1994 
                HELP-PROMPT:    Enter YES if you do NOT want this subcolumn underlined. 

358.22,.09      DATA QUALIFIER       0;9 POINTER TO IMP/EXP AICS DATA QUALIFIERS FILE (#358.98)

                LAST EDITED:    OCT 20, 1994 

358.22,.1       SELECTION RULE       0;10 SET

                                '0' FOR ANY NUMBER; 
                                '1' FOR EXACTLY ONE; 
                                '2' FOR AT MOST ONE (0 or 1); 
                                '3' FOR AT LEAST ONE (1 or more); 
                LAST EDITED:    JAN 23, 1996 
                HELP-PROMPT:    Which rule applies to the choices the user can make in this subcolumn? 
                DESCRIPTION:    A selection rule can be applied to a subcolumn used to make selections, i.e., one that contains
                                marking areas.  





      FILES POINTED TO                      FIELDS

IMP/EXP AICS DATA QUALIFIERS 
                   (#358.98)      SUBCOLUMN NUMBER:DATA QUALIFIER (#.09)

IMP/EXP ENCOUNTER FORM BLOCK 
                   (#358.1)       BLOCK (#.02)

IMP/EXP MARKING AREA (#358.91)    SUBCOLUMN NUMBER:MARKING AREA (#.06)

IMP/EXP PACKAGE INTERFACE 
                   (#358.6)       SELECTION ROUTINE (#.11)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):