Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
||||||
| location_business_line_id | VARCHAR | 36 | null |
|
|
||||||
| service_plan_id | VARCHAR | 36 | null |
|
|
||||||
| maladaptive_behavior_id | VARCHAR | 36 | √ | null |
|
|
|||||
| name | VARCHAR | 255 | null |
|
|
||||||
| operational_definition | TEXT | 65535 | √ | null |
|
|
|||||
| examples | TEXT | 65535 | √ | null |
|
|
|||||
| non_examples | TEXT | 65535 | √ | null |
|
|
|||||
| current_behavior | TEXT | 65535 | √ | null |
|
|
|||||
| target_behavior | TEXT | 65535 | √ | null |
|
|
|||||
| rationale | TEXT | 65535 | √ | null |
|
|
|||||
| start_date | DATE | 10 | null |
|
|
||||||
| end_date | DATE | 10 | √ | null |
|
|
|||||
| status | VARCHAR | 20 | ONGOING |
|
|
||||||
| previous_behavior_id | VARCHAR | 36 | √ | null |
|
|
Navigation-only link to the behavior this one superseded due to a measurement-type change. Never read by ServicePlanItemLineageService or trend aggregation - see source_item_id for that. |
||||
| measure_id | VARCHAR | 36 | √ | null |
|
|
|||||
| behavior_goal_id | VARCHAR | 36 | √ | null |
|
|
|||||
| is_active | BIT | 1 | 1 |
|
|
||||||
| is_data_collection_enabled | BIT | 1 | 1 |
|
|
||||||
| created_at | TIMESTAMP | 19 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| updated_at | TIMESTAMP | 19 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| created_by | VARCHAR | 36 | √ | null |
|
|
|||||
| updated_by | VARCHAR | 36 | √ | null |
|
|
|||||
| category_type | VARCHAR | 30 | √ | null |
|
|
|||||
| domain_id | VARCHAR | 36 | √ | null |
|
|
|||||
| discriminative_stimulus_id | VARCHAR | 36 | √ | null |
|
|
|||||
| teaching_objective_id | VARCHAR | 36 | √ | null |
|
|
|||||
| selected_teaching_material_id | VARCHAR | 36 | √ | null |
|
|
|||||
| selected_teaching_procedure_id | VARCHAR | 36 | √ | null |
|
|
|||||
| procedures_explanation | TEXT | 65535 | √ | null |
|
|
|||||
| reinforcer_assessment_summary | TEXT | 65535 | √ | null |
|
|
|||||
| source_item_id | VARCHAR | 36 | √ | null |
|
|
Self-FK - the item this was carried forward from on clone (issue #196, Phase 6) |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_sp_replacement_behaviors_location | Performance | Asc/Asc | location_business_line_id + is_active |
| idx_sp_replacement_behaviors_plan | Performance | Asc | service_plan_id |
| idx_sp_replacement_behaviors_status | Performance | Asc | status |
| idx_sp_replacement_source_item | Performance | Asc | source_item_id |