Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| docID | int identity | 4 | √ | null |
|
|
Primary key - Unique identifier for each patient document |
||||
| patientID | int | 4 | √ | null |
|
|
Patient reference - Links to Patient table for the patient this document belongs to |
||||
| docDate | smalldatetime | 16 | √ | null |
|
|
Document date - Date associated with the document content or creation |
||||
| comments | varchar | 100 | √ | null |
|
|
Document comments - Comments or description about the document |
||||
| docNameID | int | 4 | √ | null |
|
|
Document name reference - Links to document name/type lookup table |
||||
| docStatusID | int | 4 | √ | null |
|
|
Document status reference - Links to document status lookup table |
||||
| docGroupID | int | 4 | √ | null |
|
|
Document group reference - Links to document group/category lookup table |
||||
| docFileName | varchar | 100 | √ | null |
|
|
File name - Name of the uploaded document file |
||||
| dateUpload | datetime | 16,3 | null |
|
|
Upload date - Date when the document was uploaded to the system |
|||||
| userUpload | int | 4 | √ | null |
|
|
Uploaded by user - UserID of the person who uploaded the document |
||||
| contentType | varchar | 100 | √ | null |
|
|
Content type - MIME type of the uploaded file (PDF, DOC, JPG, etc.) |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK__PatientDocs__3E681DFB | Primary key | Asc | docID |
