Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | uuid | 2147483647 | null |
|
|
|||||
superseded_by_id | uuid | 2147483647 | √ | null |
|
|
||||
created_at | timestamptz | 35,6 | null |
|
|
|||||
created_by | text | 2147483647 | null |
|
|
|||||
reason_for_change | text | 2147483647 | √ | null |
|
|
||||
referral_id | uuid | 2147483647 | null |
|
|
|||||
completion_deadline | date | 13 | √ | null |
|
|
when the intervention should be completed by |
|||
further_information | text | 2147483647 | √ | null |
|
|
further information about the service user |
|||
maximum_enforceable_days | int4 | 10 | √ | null |
|
|
the maximum number of enforceable/RAR days that can be used |
|||
reason_for_referral | text | 2147483647 | √ | null |
|
|
||||
reason_for_referral_before_allocation | text | 2147483647 | √ | null |
|
|
||||
reason_for_referral_further_information | text | 2147483647 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
referral_details_pkey | Primary key | Asc | id |
idx_referral_detail_referral_id | Performance | Asc | referral_id |
referral_details_superseded_by_id_key | Must be unique | Asc | superseded_by_id |
referral_details_superseded_ix | Must be unique | Asc | superseded_by_id |