Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
||||||
| sp_maladaptive_behavior_id | VARCHAR | 36 | null |
|
|
||||||
| hypothesized_function_id | VARCHAR | 36 | null |
|
|
||||||
| effective_start_date | DATE | 10 | null |
|
|
||||||
| effective_end_date | DATE | 10 | √ | null |
|
|
|||||
| is_active | BIT | 1 | 1 |
|
|
||||||
| created_at | DATETIME | 19 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| updated_at | DATETIME | 19 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| created_by | VARCHAR | 36 | √ | null |
|
|
|||||
| updated_by | VARCHAR | 36 | √ | null |
|
|
|||||
| determination_method | VARCHAR | 30 | √ | null |
|
|
FBA method: INDIRECT_ASSESSMENT, DESCRIPTIVE_ASSESSMENT, FUNCTIONAL_ANALYSIS, COMBINED_METHODS, CLINICAL_JUDGMENT, UNKNOWN |
||||
| evidence_rationale | TEXT | 65535 | √ | null |
|
|
Evidence or rationale supporting this function hypothesis |
||||
| confidence_level | VARCHAR | 20 | √ | null |
|
|
Confidence level: LOW, MEDIUM, HIGH |
||||
| is_primary | BIT | 1 | 0 |
|
|
Whether this is the primary function for this behavior |
|||||
| last_review_date | DATE | 10 | √ | null |
|
|
Date when this function hypothesis was last reviewed |
||||
| last_reviewed_by | VARCHAR | 36 | √ | null |
|
|
User who last reviewed this function hypothesis |
||||
| review_notes | TEXT | 65535 | √ | null |
|
|
Notes from the last review |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_function_assignments_behavior | Performance | Asc | sp_maladaptive_behavior_id |
| idx_function_assignments_function | Performance | Asc | hypothesized_function_id |
| idx_function_assignments_primary | Performance | Asc/Asc | sp_maladaptive_behavior_id + is_primary |
| uk_function_assignment | Must be unique | Asc/Asc/Asc | sp_maladaptive_behavior_id + hypothesized_function_id + effective_start_date |