Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Id | int identity | 4 | √ | null |
|
|
||||||||||||
ReferralId | int | 4 | null |
|
|
|||||||||||||
InvestigationTypeId | int | 4 | null |
|
|
|||||||||||||
DateRequested | datetime | 16,3 | √ | null |
|
|
||||||||||||
DatePerformed | datetime | 16,3 | √ | null |
|
|
||||||||||||
DateReported | datetime | 16,3 | √ | null |
|
|
||||||||||||
OrganisationId | int | 4 | √ | null |
|
|
||||||||||||
AnatomicalSite1Id | int | 4 | √ | null |
|
|
||||||||||||
AnatomicalSite2Id | int | 4 | √ | null |
|
|
||||||||||||
AnatomicalSite3Id | int | 4 | √ | null |
|
|
||||||||||||
AnatomicalSideId | int | 4 | √ | null |
|
|
||||||||||||
InvestigationOutcomeId | int | 4 | √ | null |
|
|
||||||||||||
BiopsyTakenId | int | 4 | √ | null |
|
|
||||||||||||
RequestedById | int | 4 | √ | null |
|
|
||||||||||||
ReportText | nvarchar | 1073741823 | √ | null |
|
|
||||||||||||
TNMStage | nvarchar | 1073741823 | √ | null |
|
|
||||||||||||
TNMVersion | nvarchar | 1073741823 | √ | null |
|
|
||||||||||||
TNM_Rad_TValueId | int | 4 | √ | null |
|
|
||||||||||||
TNM_Rad_TLetterId | int | 4 | √ | null |
|
|
||||||||||||
TNM_Rad_NValueId | int | 4 | √ | null |
|
|
||||||||||||
TNM_Rad_NLetterId | int | 4 | √ | null |
|
|
||||||||||||
TNM_Rad_MValueId | int | 4 | √ | null |
|
|
||||||||||||
TNM_Rad_MLetterId | int | 4 | √ | null |
|
|
||||||||||||
TNM_Rad_VersionId | int | 4 | √ | null |
|
|
||||||||||||
TNMRadVersion_Id | int | 4 | √ | null |
|
|
||||||||||||
ActivityId | int | 4 | √ | null |
|
|
||||||||||||
DateDeleted | datetime | 16,3 | √ | null |
|
|
||||||||||||
InformationForPatient | nvarchar | 1073741823 | √ | null |
|
|
||||||||||||
TNM_Rad_EditionId | int | 4 | √ | null |
|
|
||||||||||||
TNMRadEdition_Id | int | 4 | √ | null |
|
|
||||||||||||
PortalId | uniqueidentifier | 16 | (newid()) |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PK_dbo.Investigations | Primary key | Asc | Id |
IX_ActivityId | Performance | Asc | ActivityId |
IX_AnatomicalSideId | Performance | Asc | AnatomicalSideId |
IX_AnatomicalSite1Id | Performance | Asc | AnatomicalSite1Id |
IX_AnatomicalSite2Id | Performance | Asc | AnatomicalSite2Id |
IX_AnatomicalSite3Id | Performance | Asc | AnatomicalSite3Id |
IX_InvestigationOutcomeId | Performance | Asc | InvestigationOutcomeId |
IX_InvestigationPerformedSort | Performance | Asc/Asc/Desc | Id + ReferralId + DatePerformed |
IX_InvestigationTypeId | Performance | Asc | InvestigationTypeId |
IX_OrganisationId | Performance | Asc | OrganisationId |
IX_ReferralId | Performance | Asc | ReferralId |
IX_TNM_Rad_MLetterId | Performance | Asc | TNM_Rad_MLetterId |
IX_TNM_Rad_MValueId | Performance | Asc | TNM_Rad_MValueId |
IX_TNM_Rad_NLetterId | Performance | Asc | TNM_Rad_NLetterId |
IX_TNM_Rad_NValueId | Performance | Asc | TNM_Rad_NValueId |
IX_TNM_Rad_TLetterId | Performance | Asc | TNM_Rad_TLetterId |
IX_TNM_Rad_TValueId | Performance | Asc | TNM_Rad_TValueId |
IX_TNMRadEdition_Id | Performance | Asc | TNMRadEdition_Id |
IX_TNMRadVersion_Id | Performance | Asc | TNMRadVersion_Id |