STANDARD DATA DICTIONARY #101.74 -- EDITOR FILE                                                                   5/26/26    PAGE 1
STORED IN ^ORE(101.74,  (5 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                     (VERSION 3.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains entries to create one of two types of dynamic editor. 
 
Delphi Editor: An entry in the file for a Delphi Editors contains the different parts of the editor as discrete fields under the
LAYOUT multiple # #101.743. These fields determine the type of control, where the control should appear and how the control should
act in the User Interface (UI).  
 
HTML Dialog Editor: This entry contains two pointer to the WEB CONTENT FILE,#101.76. The HTML Dialog Editor use a JSON Data Model
Schema and a JSON UI Control Schema file to determine how the editor should appear and act in the UI.  
 
Both Editor use an entry in the OR M PLUGIN FILE; #101.75. This entry is used to modify the UI layout and possible data when the
calling application request to show an editor. This plugin entry is also used to validate and save the data to correct files in
VistA. If the data does not pass validation and error message will be returned to the calling application. Each editor type can
also create a note if defined to do so 



POINTED TO BY: EDITOR field (#34) of the ITEMS sub-field (#101.71123) of the LOCATION sub-field (#101.7112) of the RESPONSIBLE 
                   PACKAGE sub-field (#101.711) of the PANELS UI File (#101.71) 
               

CROSS
REFERENCED BY: NAME(B)

    LAST MODIFIED: MAY 26,2026@00:44

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

              INPUT TRANSFORM:  K:$L(X)>64!($L(X)<3)!'(X'?1P.E) X
              MAXIMUM LENGTH:   64
              LAST EDITED:      DEC 14, 2023 
              HELP-PROMPT:      Enter the name of the editor 3-64 characters. 
              PRE-LOOKUP:       I $G(DIC(0))["L",'$G(ORIMGR) K X D EN^DDIOL("Entries cannot be added, modified, or deleted.","","!?
                                5")
              DELETE TEST:      1,0)= I $$INUSE^ORDD71(101.74,DA)>0 D EN^DDIOL($C(7)_"IN USE - CANNOT BE DELETED")

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


101.74,1      DISPLAY NAME           0;2 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>100!($L(X)<3) X
              MAXIMUM LENGTH:   100
              LAST EDITED:      JAN 18, 2024 
              HELP-PROMPT:      Enter the display name 3-100 characters. 
              DESCRIPTION:
                                This is the display text that will appear in CPRS when showing the editor.  


101.74,2      INACTIVE               0;3 SET (BOOLEAN Data Type)

              LAST EDITED:      AUG 15, 2024 
              HELP-PROMPT:      Enter Inactive to inactived this editor. 
              DESCRIPTION:
                                This field is use to mark if the editor should be marked inactived.  


101.74,3      NUM OF COL             0;4 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>20)!(X<1)!(X?.E1"."1.N) X
              LAST EDITED:      DEC 12, 2024 
              HELP-PROMPT:      Enter the number of columns in the editor 1 - 20. 
              DESCRIPTION:
                                This field stores the number of columns that will show in the editor.  


101.74,4      NUM OF ROWS            0;5 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>20)!(X<1)!(X?.E1"."1.N) X
              LAST EDITED:      DEC 15, 2024 
              HELP-PROMPT:      Enter the number of rows for the editor between 1 and 20. 
              DESCRIPTION:
                                This field stores the number of rows that will show in the editor.  


101.74,5      HIDE BUTTONS           0;6 SET (BOOLEAN Data Type)

              LAST EDITED:      AUG 15, 2024 
              HELP-PROMPT:      Hide Save/Cancel buttons in the EDITOR? 
              DESCRIPTION:
                                When set to Yes, this field hides the SAVE/CANCEL buttons in the editor.  


101.74,6      SAVE BUTTON TEXT       0;7 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<2) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      AUG 15, 2024 
              HELP-PROMPT:      Set the save button text. 
              DESCRIPTION:
                                This field stores the label text for the save button in the editor.  


101.74,7      CANCEL BUTTON TEXT     0;8 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<2) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      AUG 15, 2024 
              HELP-PROMPT:      Set the Cancel button text. 
              DESCRIPTION:
                                This field stores the Cancel button label text.  


101.74,8      REFRESH ALL PANELS     0;9 SET (BOOLEAN Data Type)

              LAST EDITED:      OCT 02, 2024 
              HELP-PROMPT:      Select true to refresh all panels when data is save to VistA. 
              DESCRIPTION:      This field let the creator of the editor set if all panels should refresh when data is save to
                                VistA.  


101.74,20     DESCRIPTION            20;0   WORD-PROCESSING #101.742   (IGNORE "|")

              LAST EDITED:      DEC 18, 2023 

                LAST EDITED:      DEC 18, 2023 
                HELP-PROMPT:      Enter the purpose of this editor. 
                DESCRIPTION:
                                  This field stores the purpose of the editor.  




101.74,30     LAYOUT                 30;0 Multiple #101.743

              DESCRIPTION:      Each entry in this multiple determine the type of control to show, where, and modified that can
                                impact the functionality and the display of the control in the UI.  


              PRIMARY KEY:      A (#158)
              Uniqueness Index: C (#1736)
                   File, Field: 1) CELL NAME (101.743,.01)

              INDEXED BY:       CELL NAME (B), CELL NAME (C)

101.743,.01     CELL NAME              0;1 FREE TEXT (Required) (Multiply asked) (Key field)

                INPUT TRANSFORM:  K:$L(X)>100!($L(X)<3) X
                MAXIMUM LENGTH:   100
                LAST EDITED:      JAN 25, 2024 
                HELP-PROMPT:      Answer must be 3-100 characters in length. 
                DESCRIPTION:      The cell name stores the internal name of the cell. This name must be unique in the editor for
                                  the code.  

                FIELD INDEX:      B (#1735)    REGULAR    IR    LOOKUP & SORTING
                    Short Descr:  B xref redone as a new style xref
                    Description:  This cross reference set the B cross reference to the full field lenght.  
                      Set Logic:  S ^ORE(101.74,DA(1),30,"B",$E(X,1,100),DA)=""
                     Kill Logic:  K ^ORE(101.74,DA(1),30,"B",$E(X,1,100),DA)
                     Whole Kill:  K ^ORE(101.74,DA(1),30,"B")
                           X(1):  CELL NAME  (101.743,.01)  (Subscr 1)  (Len 100)  (forwards)

                FIELD INDEX:      C (#1736)    REGULAR    IR    LOOKUP & SORTING
                     Unique for:  Key A (#158), File #101.743
                    Short Descr:  Uniqueness Index for Key 'A' of Subfile #101.743
                      Set Logic:  S ^ORE(101.74,DA(1),30,"C",X,DA)=""
                     Kill Logic:  K ^ORE(101.74,DA(1),30,"C",X,DA)
                     Whole Kill:  K ^ORE(101.74,DA(1),30,"C")
                           X(1):  CELL NAME  (101.743,.01)  (Subscr 1)


101.743,1       EDITOR TYPE            0;2 POINTER TO INFORMATION/EDITOR COMPONENTS FILE (#101.73) (Required)

                INPUT TRANSFORM:  S DIC("S")="I $$ISTYPE^ORDD71(+Y,""P"")=1" D ^DIC K DIC S DIC=$G(DIE),X=+Y K:Y<0 X
                LAST EDITED:      AUG 15, 2024 
                HELP-PROMPT:      Select the prompt value. 
                DESCRIPTION:
                                  This field stores the prompt type of the GUI component that will show in CPRS.  

                SCREEN:           S DIC("S")="I $$ISTYPE^ORDD71(+Y,""P"")=1"
                EXPLANATION:      Allow only prompts to be selected

101.743,2       DISABLED               0;3 SET

                                  'true' FOR YES; 
                                  'false' FOR NO; 
                LAST EDITED:      AUG 15, 2024 
                HELP-PROMPT:      Select if the prompt should be disabled in GUI and if a message should be sent. 
                DESCRIPTION:      Defining a value in this field will show the GUI component as disabled in the editor. If the
                                  value if DISABLED SEND A MESSAGE. An email will be sent.  


101.743,10      LABEL                  10;1 FREE TEXT (Required)

                INPUT TRANSFORM:  K:$L(X)>120!($L(X)<3) X
                MAXIMUM LENGTH:   120
                LAST EDITED:      JAN 17, 2024 
                HELP-PROMPT:      Enter the text that will appear with the component 3-120 characters. 
                DESCRIPTION:
                                  This field stores the user defined text that will appear with the GUI component.  


101.743,11      COLUMN                 10;2 NUMBER (Required)

                INPUT TRANSFORM:  K:+X'=X!(X>10)!(X<1)!(X?.E1"."1.N) X
                LAST EDITED:      JAN 17, 2024 
                HELP-PROMPT:      Enter the column number the GUI component should appear on 1-10. 
                DESCRIPTION:
                                  This field stores what column the GUI component should be placed on.  


101.743,12      ROW                    10;3 NUMBER (Required)

                INPUT TRANSFORM:  K:+X'=X!(X>20)!(X<1)!(X?.E1"."1.N) X
                LAST EDITED:      JAN 17, 2024 
                HELP-PROMPT:      Select the row number the component should appear on 1-20. 
                DESCRIPTION:
                                  This field stores the row number the GUI component should appear on.  


101.743,13      COLUMN SPAN            10;4 NUMBER (Required)

                INPUT TRANSFORM:  K:+X'=X!(X>10)!(X<1)!(X?.E1"."1.N) X
                LAST EDITED:      JAN 17, 2024 
                HELP-PROMPT:      Select the number of column the component should be in 1-10. 
                DESCRIPTION:
                                  This field stores if the GUI component should be in one or more columns.  


101.743,14      ROW SPAN               10;5 NUMBER (Required)

                INPUT TRANSFORM:  K:+X'=X!(X>20)!(X<1)!(X?.E1"."1.N) X
                LAST EDITED:      JAN 17, 2024 
                HELP-PROMPT:      Select the number of rows the component should be in 1-20. 
                DESCRIPTION:
                                  This field stores if the component span across multiple rows.  


101.743,15      REQUIRED               10;6 SET

                                  'true' FOR YES; 
                                  'false' FOR NO; 
                LAST EDITED:      AUG 15, 2024 
                HELP-PROMPT:      Select Yes if this item must be answer by the user. 
                DESCRIPTION:      This field stores if the GUI components should be answer by the user before completing the
                                  editor.  


101.743,16      SET DEFAULT VALUE      10;7 SET

                                  'true' FOR YES; 
                                  'false' FOR NO; 
                LAST EDITED:      AUG 15, 2024 
                HELP-PROMPT:      Select YES if the calling application should set the default value for the prompt. 
                DESCRIPTION:      This field stores if the GUI component should have its default values set when the editor is
                                  display to the user.  


101.743,30      NEED SORT              30;1 SET

                                  'true' FOR YES; 
                                  'false' FOR NO; 
                LAST EDITED:      AUG 15, 2024 
                HELP-PROMPT:      Select Yes if the GUI should sort the list. 
                DESCRIPTION:      This field only applies to GUI components with a list of data. If this field is set to Yes then
                                  the GUI should sort the possible list of values.  

                SCREEN:           S DIC("S")="I $$VCOMBO^ORDD71(.DA)=1"
                EXPLANATION:      Component type must be a combobox or a list box

101.743,31      SHOW POSSIBLE VALUES   30;2 SET

                                  'true' FOR YES; 
                                  'false' FOR NO; 
                LAST EDITED:      AUG 15, 2024 
                HELP-PROMPT:      Set to Yes to show a possible list above the line. 
                DESCRIPTION:
                                  This field only applies to GUI combobox component. This set a smaller possible list of values.  

                SCREEN:           S DIC("S")="I $$VCOMBO^ORDD71(.DA)=1"
                EXPLANATION:      Only set if component is a combobox or a list

101.743,32      LONGLIST LOOKUP        30;3 POINTER TO OR M CODE PLUGIN FILE (#101.75)

                INPUT TRANSFORM:  S DIC("S")="I $$VLONGLIST^ORDD71(DA,Y)=1" D ^DIC K DIC S DIC=$G(DIE),X=+Y K:Y<0 X
                LAST EDITED:      DEC 12, 2024 
                HELP-PROMPT:      Select the M plugin for the Long List lookup. 
                DESCRIPTION:      This field defined which entry in the OR M PLUGIN FILE; #101.75 is used to populate the data for
                                  the Long List Control.  

                SCREEN:           S DIC("S")="I $$VLONGLIST^ORDD71(DA,Y)=1"
                EXPLANATION:      Only allow plugin set to LongList

101.743,40      LONGLIST PARAMETER     40;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>120!($L(X)<1)!($$VLONGP^ORDD71(.DA,X)) X
                MAXIMUM LENGTH:   120
                LAST EDITED:      OCT 23, 2024 
                HELP-PROMPT:      Enter the LongList Parameters 1-120 characters. 
                DESCRIPTION:      This field store any text the calling application should pass back to VistA to perform the look
                                  up to populate the long list component.  

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


101.743,50      HINT                   41;0   WORD-PROCESSING #101.744   (IGNORE "|")

                LAST EDITED:      AUG 15, 2024 

                  LAST EDITED:      AUG 15, 2024 
                  HELP-PROMPT:      Add a hint for the item 
                  DESCRIPTION:
                                    This field stores the hint text that is shown to the user.  






101.74,40     PLUGIN                 40;1 POINTER TO OR M CODE PLUGIN FILE (#101.75) (Required)

              LAST EDITED:      NOV 25, 2024 
              HELP-PROMPT:      Select the M plugin for the layout building and save. 
              DESCRIPTION:
                                This field stores the code that is called when the calling application is laoding the editor.  


101.74,42     DOCUMENT DEFINITION    40;3 POINTER TO TIU DOCUMENT DEFINITION FILE (#8925.1)

              INPUT TRANSFORM:  S DIC("S")="I $P(^(0),U,4)=""DOC""" D ^DIC K DIC S DIC=$G(DIE),X=+Y K:Y<0 X
              LAST EDITED:      NOV 25, 2024 
              HELP-PROMPT:      Select the document definition if the editor should create a note. 
              DESCRIPTION:
                                If this field is set the editor will create a note a when saving data to VistA.  

              SCREEN:           S DIC("S")="I $P(^(0),U,4)=""DOC"""
              EXPLANATION:      Limit to document title only

101.74,43     CAN CHANGE NOTE        40;4 SET (BOOLEAN Data Type)

              LAST EDITED:      AUG 15, 2024 
              HELP-PROMPT:      Select if an user can change the note title. 
              DESCRIPTION:
                                This field determines if an user can set/change the note title associate with the editor.  


101.74,50     SCHEMA                 50;1 POINTER TO WEB CONTENT FILE (#101.76)

              LAST EDITED:      DEC 12, 2024 
              HELP-PROMPT:      Select the JSON Data Model Schema 
              DESCRIPTION:      The Schema field is used to stored a JSON data model schema. A JSON data model schema is a
                                structured framework that defines the format and rules for organizing and validating data in JSON
                                (JavaScript Object Notation) format.  


101.74,51     UISCHEMA               50;2 POINTER TO WEB CONTENT FILE (#101.76)

              LAST EDITED:      DEC 12, 2024 
              HELP-PROMPT:      Select the JSON UI Schema. 
              DESCRIPTION:      The UI Schema field stores a JSON UI schema. A JSON UI schema is a specification that defines the
                                structure and behavior of a UI based on JSON data.  



      FILES POINTED TO                      FIELDS

INFORMATION/EDITOR COMPONENTS 
                   (#101.73)      LAYOUT:EDITOR TYPE (#1)

OR M CODE PLUGIN (#101.75)        PLUGIN (#40)
                                  LAYOUT:LONGLIST LOOKUP (#32)

TIU DOCUMENT DEFINITION (#8925.1)  DOCUMENT DEFINITION (#42)

WEB CONTENT (#101.76)             SCHEMA (#50)
                                  UISCHEMA (#51)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):
ORE PRINT EDITOR              MAR 12, 2025@10:03  USER #0                                                             EDITOR DETAIL

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):