action_plan

0 rows


Description

service user’s action plan details

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id uuid 2147483647 null
action_plan_activity.action_plan_id fk_action_plan_idR

service user’s action plan unique identifier

referral_id uuid 2147483647 null
referral.id fk_referral_idR

service user’s action plan referral unique identifier

number_of_sessions int4 10 null

number of sessions the service user will have

created_by_id text 2147483647 null
auth_user.id fk_created_by_idR

who the service user’s action plan was created by

created_at timestamptz 35,6 null

when the service user’s action plan was created

submitted_by_id text 2147483647 null
auth_user.id fk_submitted_by_idR

who submitted the service user’s action plan

submitted_at timestamptz 35,6 null

when the service user’s action plan was submitted for approval

approved_at timestamptz 35,6 null

when the service user’s action plan was approved

approved_by_id text 2147483647 null
auth_user.id fk_action_plan_approved_byR

who approved the service user’s action plan

Indexes

Constraint Name Type Sort Column(s)
action_plan_pkey Primary key Asc id
idx_action_plan_referral_id Performance Asc referral_id

Relationships