STANDARD DATA DICTIONARY #232.5 -- CPE ROLE FILE                                                                  3/24/25    PAGE 1
STORED IN ^EDPB(232.5,  (4 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                     (VERSION 2.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains the user role settings.  


              DD ACCESS: @
              RD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @

POINTED TO BY: ROLE field (#.06) of the TRACKING STAFF File (#231.7) 
               ROLES field (#.01) of the ROLES sub-field (#232.13) of the EDP REPORT TEMPLATE File (#232.1) 
               ROLES field (#.01) of the ROLES sub-field (#232.63) of the EDP WORKSHEET SPECIFICATION File (#232.6) 
               ROLES field (#.01) of the ROLES sub-field (#232.712) of the EDP WORKSHEET SECTION File (#232.71) 
               ROLES field (#.01) of the ROLES sub-field (#232.728) of the EDP WORKSHEET COMPONENT File (#232.72) 
               

CROSS
REFERENCED BY: ROLE(B), ABBREVIATION(C)

INDEXED BY:    ABBREVIATION & XML ABBREVIATION & ROLE (C)




232.5,.01     ROLE                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>60!($L(X)<3) X
              LAST EDITED:      MAR 13, 2012 
              HELP-PROMPT:      Answer must be 3-60 characters in length. 
              DESCRIPTION:
                                This is the role for use in the EDIS application.  

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

              RECORD INDEXES:   C (#1090)

232.5,.02     ABBREVIATION           0;2 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>3!($L(X)<1) X
              LAST EDITED:      MAR 13, 2012 
              HELP-PROMPT:      Answer must be 1-3 characters in length. 
              DESCRIPTION:
                                The abbreviation for the role.  

              CROSS-REFERENCE:  232.5^C 
                                1)= S ^EDPB(232.5,"C",$E(X,1,30),DA)=""
                                2)= K ^EDPB(232.5,"C",$E(X,1,30),DA)
                                This index holds the abbreviation as well as the IEN for each role.  


              RECORD INDEXES:   C (#1090)

232.5,.03     XML ABBREVIATION       0;3 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<2) X
              LAST EDITED:      MAR 13, 2012 
              HELP-PROMPT:      Answer must be 2-7 characters in length. 
              DESCRIPTION:      This is the xml abbreviation for the role. Previously, logic had been hardcoded to check the role
                                type.  
                                 
                                'P' = "@md" 'N' = "@rn" 'R' = "@res" 
                                 
                                These values will remain the same, however they are now part of the file, and can be more easily
                                enhanced to add roles in the future. The roles will now be able to be built without having to
                                release a KIDS build to do so. All role settings are now table driven.  
                                 
                                This is accessed and used to build information out of the CLRSTAFF tag in EDPQDBS.  

              TECHNICAL DESCR:  Any time a new role is added, the UI will need to change to be able to consume the new role type.
                                In addition to this field, the XML ROLE NAME will need to be entered in order to pass the needed
                                information back to the client application.  
                                 
                                There is flexibility in the use of these two fields, however they MUST be defined when creating a
                                new role.  
                                 
                                For example: 
                                 Currently for the role of 'Provider', the XML ABBREVIATION field is "@md", and the XML ROLE NAME
                                is 'providers'. As long as these fields are unique to this role, the API's will build meaningful
                                information for the client to consume.  

              RECORD INDEXES:   C (#1090)

232.5,.04     DEFAULT WORKSHEET      0;4 POINTER TO EDP WORKSHEET SPECIFICATION FILE (#232.6)

              LAST EDITED:      APR 22, 2009 
              HELP-PROMPT:      Enter the default worksheet for this role. 

232.5,.05     DEFAULT BOARD          0;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
              LAST EDITED:      JUL 13, 2009 
              HELP-PROMPT:      Answer must be 1-30 characters in length. 

232.5,.06     ALLOW ACUITY EDIT      0;6 SET

                                '0' FOR NO; 
                                '1' FOR YES; 
              LAST EDITED:      JUL 15, 2009 

232.5,.07     XML STAFF NAME         0;7 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<2) X
              LAST EDITED:      MAR 13, 2012 
              HELP-PROMPT:      Answer must be 2-30 characters in length. 
              DESCRIPTION:      This holds the staff name that is related to building the XML needed for the client portion of the
                                application. This is built from the LOAD tag in EDPBST.  

              TECHNICAL DESCR:  This is a value such as '@rn' or '@md' that was previously hard-coded. This was changed to be a
                                part of the file.  



      FILES POINTED TO                      FIELDS

EDP WORKSHEET SPECIFICATION 
                   (#232.6)       DEFAULT WORKSHEET (#.04)


File #232.5

  Record Indexes:

  C (#1090)    RECORD    REGULAR    IR    LOOKUP & SORTING
      Short Descr:  Index by site and area
        Set Logic:  S ^EDPB(232.5,"C",X(1),X(2),X(3),DA)=""
       Kill Logic:  K ^EDPB(232.5,"C",X(1),X(2),X(3),DA)
       Whole Kill:  K ^EDPB(232.5,"C")
             X(1):  ABBREVIATION  (232.5,.02)  (Subscr 1)  (forwards)
             X(2):  XML ABBREVIATION  (232.5,.03)  (Subscr 2)  (forwards)
             X(3):  ROLE  (232.5,.01)  (Subscr 3)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):