sp_maladaptive_behavior_objectives


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id VARCHAR 36 null
location_business_line_id VARCHAR 36 null
sp_maladaptive_behavior_id VARCHAR 36 null
service_plan_maladaptive_behaviors.id sp_maladaptive_behavior_objectives_ibfk_1 C
measure_version_id VARCHAR 36 √ null
objective_type enum('STO', 'LTO') 3 null
objective_number INT 10 null
description TEXT 65535 null
status enum('CURRENT', 'PENDING', 'MET') 7 PENDING
start_date DATE 10 null
expected_met_date DATE 10 √ null
actual_met_date DATE 10 √ null
target_value DECIMAL 10,2 √ null
consecutive_weeks INT 10 √ null
smart_criteria TEXT 65535 √ 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
is_lto BIT 1 0
criterion_operator VARCHAR 20 √ null
criterion_period VARCHAR 20 √ null
duration_count INT 10 √ null
duration_unit VARCHAR 20 √ null
criterion_mode VARCHAR 20 √ null
generation_mode VARCHAR 20 √ null

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
idx_objective_measure_version Performance Asc measure_version_id
idx_objectives_location Performance Asc location_business_line_id
idx_objectives_sp_behavior Performance Asc sp_maladaptive_behavior_id

Relationships