Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
|||
| encounter_id | VARCHAR | 36 | null |
|
|
|||
| sp_caregiver_competency_id | VARCHAR | 36 | null |
|
|
|||
| caregiver_id | VARCHAR | 36 | √ | null |
|
|
||
| competency_name_snapshot | VARCHAR | 255 | √ | null |
|
|
||
| competency_description_snapshot | TEXT | 65535 | √ | null |
|
|
||
| occurred_at | DATETIME | 19 | null |
|
|
|||
| duration_minutes | INT | 10 | √ | null |
|
|
||
| delivery_method | VARCHAR | 50 | √ | null |
|
|
||
| trials_total | INT | 10 | 0 |
|
|
|||
| trials_independent | INT | 10 | 0 |
|
|
|||
| independence_percentage | DECIMAL | 5,2 | √ | null |
|
|
||
| notes | TEXT | 65535 | √ | null |
|
|
||
| recorded_by | VARCHAR | 36 | √ | null |
|
|
||
| created_at | DATETIME | 19 | CURRENT_TIMESTAMP |
|
|
|||
| updated_at | DATETIME | 19 | CURRENT_TIMESTAMP |
|
|
|||
| created_by | VARCHAR | 36 | √ | null |
|
|
||
| updated_by | VARCHAR | 36 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_cg_deliveries_competency | Performance | Asc | sp_caregiver_competency_id |
| idx_cg_deliveries_enc_competency | Performance | Asc/Asc | encounter_id + sp_caregiver_competency_id |
| idx_cg_deliveries_encounter | Performance | Asc | encounter_id |
| idx_cg_deliveries_occurred | Performance | Asc | occurred_at |