dbo.SXADMDiseaseStageRecord 
Default Table Name  SXADMDiseaseStageRecord 
Definition  Table that stores the records of a patient's disease. Each record stores the details about a single diagnosis of a single disease. As updates are made to a disease, the past records are kept and marked inactive. 

dbo.SXADMDiseaseStageRecord 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. 
DiseaseStageRecordID(PK)    int  NO  Auto generated unique primary key value. 
ClientGuid    HVCIDdt  NO  The identifier for the patient who gets a list of a disease stage 
ClientVisitGuid    HVCIDdt  YES  The identifier for a patient's visit 
DiagnosisDate    datetime  YES  The date the doctor diagnosis the patient with the disease. 
DiseaseID(FK)    int  NO  A foreign key to the DiseaseID column in the SXADMDisease table. 
ClassificationID(FK)    int  YES  A foreign key to the ClassificationID column in the SXADMClassification table. 
AjccEditionID(FK)    int  NO  A foreign key to the AjccEditionID column in the SXADMAjccEdition table. 
TValue    varchar(50)  YES  The T value for this particular disease. Stores the size value of a cancer. 
NValue    varchar(50)  YES  The N value for this particular disease. Stores the number of lymph Nodes of a cancer. 
MValue    varchar(50)  YES  The M value for this particular disease. Stores the metasis of a cancer. 
GValue    varchar(50)  YES  The G value for this particular disease. Stores the grad of a cancer. 
Stage    varchar(50)  NO  The stage of the patient's disease 
OriginalDiseaseStageRecordID    int  NO  The id of entries of a particular disease for a particular patient. All updates to a patient's particular disease have the same OriginalDiseaseStageRecordID 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
HasBeenRemoved    bit  NO  Indicates if the records has been removed 
CDSUniqueGUID    HVCIDdt  YES  The current CDS GUID that has been generated 
OtherValue    varchar(50)  YES  Supports AJCC 7th Edition cancer staging data 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
HealthIssueGUID    HVCIDdt  YES  Link to the health issue from CV3HealthIssueDeclaration 
IsPartialDiagnosisDate    bit  NO  Determines whether Diagnosis Date is a PartialDate 
HistologicTypeID(FK)    int  YES  A foreign key to the HistologicTypeID column in the SXADMHistologicType table. 
AssessmentType    int  YES  To store Assessment Type as Enum 

dbo.SXADMDiseaseStageRecord Primary and Unique Keys 
Key Name  Key Type  Keys 
SXADMDiseaseStageRecordPK  PrimaryKey  DiseaseStageRecordID