System Codes Overview (Multiple System Codes)
A System Code is a system within a Caché namespace that is associated with one or more programs. System Codes are separate operating environments in myAvatar . RADplus Utilities, within the myAvatar PM application, is capable of defining multiple user-defined System Codes, provided that this functionality is enabled within the specific myAvatar PM system. Each of these user-defined system codes is associated with one or more programs in the System Code Definition phase. Upon initial installation, the myAvatar PM application contains only one system code for a given facility (Cachénamespace). This system code is referred to as the Root System Code. The Root System Code is associated with all of the programs defined within the application.
- The root system code is associated with all programs in myAvatar , and can contain sub-system codes. When myAvatar PM is installed, one root system code is set up per facility.
Multiple System Code Functionality
-
Sub-system codes can contain a section of programs of the root system code.
-
Once multiple system code functionality is enabled, all current users and user roles will have access to the root system code. System administrators are assigned to new system codes and root system codes. All other users must be manually assigned to new system codes.
-
Sub-system codes display in the status bar at the bottom of the Web browser, separated by a colon.
-
For example, the sub-system code “Sub” under the system code SAMPLE, displays as “SAMPLE:Sub” in the Web browser screen.
-
-
Multiple system code functionality is enabled by a Netsmart system administrator.
-
When a user logs in to a Sub System Code, they must add the Root System Code as a prefix to the Sub System Code name. For example, to log in to a LIVE Sub System Code named CLINIC, you need to enter the System Code as LIVECLINIC. If this Sub System Code were in UAT, you would enter UATCLINIC.
Table Impact of Multiple System Code Functionality
In myAvatar PM systems and associated child systems with or without Multiple System Code functionality enabled, all episode-based tables, including those built in Table Definition, contain a table column named "user_row_access_code" to support the use of this functionality for ODBC access control. This table column is used for reporting to filter out the appropriate data according to user permissions. Users are set up to view only the data that is associated with certain system codes. This logic applies to widgets as well as reports.
The "user_row_access_code" field is populated with any one of three possible values:
- 0 = The current row is not valid for the current user.
- 1 = The current row is valid for the current user within the current system code.
- 2 = The current row is valid for the current user, but not within the current system code.
If Multiple System Code functionality is disabled, the value in this table column is equal to 1.
