dbo.SXACRPreference 
Default Table Name  SXACRPreference 
Definition  This table is used for storing various customizable preferences for the clinical review tab 

dbo.SXACRPreference Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SiteID    smallint  NO  Identifies the unique distributed database ID where the row was inserted. Distributed databases are no longer supported so this column is deprecated. 
Build    int  NO  Identifies the build number and patch level of the software that inserted/updated this row. The format is the Build number followed by 3 digits for the patch level which is typically 000. The build number is tied to specific versions of the software, e.g. Sunrise 15.3 is Build 5021, Sunrise 16.3 is Build 5503. 
TouchedBy    varchar(50)  NO  Information about the user that last updated the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
TouchedWhen    datetime  NO  The date and time that the row was last updated and will be based on the Enterprise time zone. 
CreatedBy    varchar(50)  NO  Information about the user that created the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
CreatedWhen    datetime  NO  The date and time that the row was created and will be based on the Enterprise time zone. 
Active    bit  NO  Denotes whether the row is active or not, 0 means the row has been soft deleted or deactivated. 
CRPreferenceID(PK)    int  NO  Auto generated unique primary key value. 
PreferenceKey    bigint  NO  store the entity key. For Example: to store this user's preference you will save the UserGUID, or if you want to save a location specific preference you could store the locationGUID 
PreferenceKeyType    int  NO  An enumerated type with the following list of possible values: 1 = [User], 
Level1Column    bigint  YES  Store the first level column value of the preference that this favorite will be for. For Example: This preference is for section/set. Level1Column will store "PatCareDocGUID" value. 
Level1ColumnType    int  YES  Store the type of level 1 column. For Example: Level1Column was PatCareDocGUID so store the name of the column here. (PatCareDocGUID = 1) 
Level2Column    bigint  YES  Store the second level column value of the preference that this favorite will be for. For Example: This preference is for section/set Level2Column will store "ObsEntryItemGUID" value. 
Level2ColumnType    int  YES  Store the type of level 2 column. For Example: Level 2 Column was ObsEntryItemGUID so store the name of the column here. (ObsEntryItemGUID = 1) 
FavoriteValue    varchar(30)  NO  store the preference item value. For Example: the 'FontColor' the user chooses is 'Red', or 'True' he wants to 'Hide' a tile, or 'True' to enable 'Scroll Bars.' Store 'Red', 'True', or 'True' 
FavoriteType    int  NO  An enumerated type with the following list of possible values: 1 = [Default],2 = [ScrollBar], 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.SXACRPreference Primary and Unique Keys 
Key Name  Key Type  Keys 
SXACRPreferencePK  PrimaryKey  CRPreferenceID