dbo.SXADMStagingRule 
Default Table Name  SXADMStagingRule 
Definition  Rules used to calculate the stage of a disease based on specified TNMG values. 

dbo.SXADMStagingRule 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. 
StagingRuleID(PK)    int  NO  Auto generated unique primary key value. 
DiseaseID(FK)    int  NO  A foreign key to the DiseaseID column in the SXADMDisease table. 
SortSeqNum    smallint  NO  Specifies the order in which rules for a particular disease should be considered 
TValue    varchar(50)  YES  The "T" value of this rule. Can be a specific value or a wildcard. 
NValue    varchar(50)  YES  The "N" value of this rule. Can be a specific value or a wildcard. 
MValue    varchar(50)  YES  The "M" value of this rule. Can be a specific value or a wildcard. 
GValue    varchar(50)  YES  The "G" value of this rule. Can be a specific value or a wildcard. 
Stage    varchar(50)  NO  The disease stage that this rule represents 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
AjccEditionID(FK)    int  YES  A foreign key to the AjccEditionID column in the SXADMAjccEdition table. 
OtherValue    varchar(50)  YES  Supports AJCC 7th Edition cancer staging data 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
Active    bit  NO  Denotes whether the row is active or not, 0 means the row has been soft deleted or deactivated. 
AdditionalInformation    varchar(10)  YES  This table will contain the additional information of SXADMStagingRuleExtension table 
AssessmentType    int  YES  We need to save the assessment type with Staging Rule 

dbo.SXADMStagingRule Primary and Unique Keys 
Key Name  Key Type  Keys 
SXADMStagingRulePK  PrimaryKey  StagingRuleID