Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
HistoID | int identity | 4 | √ | null |
|
|
||||
SpecimenID | varchar | 50 | null |
|
|
|||||
SpecimenTakenDate | datetime | 16,3 | (getdate()+(1)) |
|
|
|||||
PatientSurname | varchar | 60 | √ | null |
|
|
||||
PatientDOB | datetime | 16,3 | √ | null |
|
|
||||
PatientHospitalID | varchar | 20 | √ | null |
|
|
||||
NhsNumber | varchar | 10 | √ | null |
|
|
||||
SpecimenReceiptDate | datetime | 16,3 | √ | (getdate()) |
|
|
||||
SpecimenReportDate | datetime | 16,3 | √ | (getdate()+(2)) |
|
|
||||
RequestingOrganisation | varchar | 5 | √ | null |
|
|
||||
ReportingOrganisation | varchar | 5 | √ | null |
|
|
||||
PathologyType | varchar | 2 | null |
|
|
|||||
PathologySpecialty | varchar | 20 | √ | null |
|
|
||||
HistopathTestName | varchar | 20 | √ | null |
|
|
||||
HistopathReport | varchar | 2147483647 | √ | null |
|
|
||||
Comments | varchar | 2147483647 | √ | null |
|
|
||||
RefConsultantCode | varchar | 8 | √ | null |
|
|
||||
PathologistCode | varchar | 8 | √ | null |
|
|
||||
SnomedDiagnosisCode | varchar | 12 | √ | null |
|
|
||||
SnomedTopographyCode | varchar | 18 | √ | null |
|
|
||||
ReceivedOn | datetime2 | 46 | (getdate()) |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PK_DisHistopathologyImport | Primary key | Asc | HistoID |
IX_DisHistopathologyImport_MRN | Performance | Asc | PatientHospitalID |
IX_DisHistopathologyImport_NHS | Performance | Asc | NhsNumber |