Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| configID | int identity | 4 | √ | null |
|
|
Primary key - Unique identifier for each configuration item |
||||||||||||||||||||||||||||||||||||||||
| configDesc | varchar | 50 | √ | null |
|
|
Configuration description - Descriptive name of the configuration option |
||||||||||||||||||||||||||||||||||||||||
| configComments | varchar | 200 | √ | null |
|
|
Configuration comments - Additional details about the configuration item |
||||||||||||||||||||||||||||||||||||||||
| configType | int | 4 | √ | null |
|
|
Configuration type - Type or category of configuration (System, User, Patient, etc.) |
||||||||||||||||||||||||||||||||||||||||
| Temp_ID | int | 4 | √ | null |
|
|
Temporary ID - Temporary identifier for data migration or processing |
||||||||||||||||||||||||||||||||||||||||
| fkConfigID | int | 4 | √ | null |
|
|
Parent config reference - Links to parent configuration for hierarchical settings |
||||||||||||||||||||||||||||||||||||||||
| fkPatientID | int | 4 | √ | null |
|
|
Patient reference - Links to Patient table if configuration is patient-specific |
||||||||||||||||||||||||||||||||||||||||
| fkProviderID | int | 4 | √ | null |
|
|
Provider reference - Links to AccessUser table if configuration is provider-specific |
||||||||||||||||||||||||||||||||||||||||
| Deleted | bit | 1 | √ | ((0)) |
|
|
Deleted flag - Soft delete flag for audit trail purposes |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK__CustomConfig__4C77DCDE | Primary key | Asc | configID |
| IX_ConfigID | Performance | Asc | configID |
| IX_fkConfigID | Performance | Asc | fkConfigID |
