STANDARD DATA DICTIONARY #101.75 -- OR M CODE PLUGIN FILE                                                         5/26/26    PAGE 1
STORED IN ^OR(101.75,  (6 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                      (VERSION 3.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
A M Plugin entry contains a reference to a executable M code. The purpose of the code is based off where the M plugin in is being
called from. The M plugin can be called from an INFORMATION PANEL #101.71 and from an EDITOR #101.74.  
 
Information Panel: An information Panel can use one of two plugin entries. This is determine by the user creating the information
panel and the developer creating the M plugin. A single Plugin and perform both functions or a single plugin can perform one of the
functions below: 
  1. Should the information panel entry show to the user in the User 
     Interface (UI).  
  2. Help build/perform the detail action of an information panel 
     entry if it shows to the patient.  
 
Editor: An editor will use the same plugin; however, the plugin will perform two functions.  
  1. When an end user is loading the editor the plugin in is use to help 
     control the UI layout and functionality.  
  2. When an ued user is completing the editor in teh calling 
     applications. The plugin will do both of the following: 
 
     a. Validate the passed in data. Return error message to the calling 
        application if the data fails validation and quit.  
     b. Save the data to VistA and return agreed upon data to the 
        calling application. If the data passes validation.  



POINTED TO BY: EVALUATION CODE field (#13) 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) 
               DETAIL CODE field (#32) 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) 
               PLUGIN field (#40) of the EDITOR File (#101.74) 
               LONGLIST LOOKUP field (#32) of the LAYOUT sub-field (#101.743) of the EDITOR File (#101.74) 
               


INDEXED BY:    NAME (B)


    LAST MODIFIED: MAY 26,2026@00:44

101.75,.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:      JAN 24, 2024 
              HELP-PROMPT:      Enter the name of the plugin 3-64 characters. 
              DESCRIPTION:
                                This is the name of the plugin entry.  

              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.75,DA)>0 D EN^DDIOL($C(7)_"IN USE - CANNOT BE DELETED")

              FIELD INDEX:      B (#1737)    REGULAR    IR    LOOKUP & SORTING
                  Short Descr:  This is the B xref redone a new style xref
                  Description:  This cross-reference replaces the standard B cross-reference to contain the complete .01 field
                                value.  
                    Set Logic:  S ^OR(101.75,"B",$E(X,1,64),DA)=""
                   Kill Logic:  K ^OR(101.75,"B",$E(X,1,64),DA)
                   Whole Kill:  K ^OR(101.75,"B")
                         X(1):  NAME  (101.75,.01)  (Subscr 1)  (Len 64)  (forwards)


101.75,1      ROUTINE                0;2 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>16!($L(X)<3) X
              MAXIMUM LENGTH:   16
              LAST EDITED:      JAN 24, 2024 
              HELP-PROMPT:      Enter the name of the routine 3-16 characters 
              DESCRIPTION:
                                This is the routine the plugin should call.  


101.75,2      ENTRY POINT            0;3 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>16!($L(X)<1) X
              MAXIMUM LENGTH:   16
              LAST EDITED:      JAN 24, 2024 
              HELP-PROMPT:      Enter the name of the entry point 1-16 characters. 
              DESCRIPTION:
                                This is the entry point in the Routine the plug in code should call.  


101.75,3      TYPE                   0;4 SET

                                'L' FOR LONGLIST; 
              LAST EDITED:      JAN 24, 2024 
              HELP-PROMPT:      Select the type of M plugin. 
              DESCRIPTION:
                                This field is used to marked the type of M plugin. Currently the only value supported is LongList.  


101.75,4      MANDATORY PARAMETER    0;5 SET (BOOLEAN Data Type)

              LAST EDITED:      JAN 16, 2025 
              HELP-PROMPT:      Select Yes to required a parameter. 
              DESCRIPTION:
                                This field stores if the plugin needs parameters to complete it's evaluation.  


101.75,10     SHORT DESCRIPTION      10;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>120!($L(X)<3) X
              MAXIMUM LENGTH:   120
              LAST EDITED:      JAN 24, 2024 
              HELP-PROMPT:      Enter a short description describing the plug 3-120 characters. 
              DESCRIPTION:
                                This is a short description describing the purpose of the plug in.  


101.75,20     DESCRIPTION            20;0   WORD-PROCESSING #101.752   (IGNORE "|")

              LAST EDITED:      JAN 11, 2024 

                LAST EDITED:      JAN 24, 2024 
                HELP-PROMPT:      Enter the details of the plugin. 
                DESCRIPTION:      This field should contains any technical details about the Plugin entry. This should also contain
                                  any information that is needed to help describe how to set the Parameter field (#40) in the
                                  Editor file (#101.73).  





INPUT TEMPLATE(S):

PRINT TEMPLATE(S):
OR PRINT M PLUGIN             APR 10, 2024@15:12  USER #0                                                   OR M CODE PLUGIN DETAIL

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):