Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | INT | 10 | √ | null |
|
|
||
| uuid | BINARY | 16 | √ | NULL |
|
|
||
| pid | INT | 10 | null |
|
|
fk to patient_data.pid |
||
| status | VARCHAR | 100 | √ | 'active' |
|
|
fk to list_options.option_id where list_id=Care_Team_Status |
|
| team_name | VARCHAR | 255 | √ | NULL |
|
|
||
| note | TEXT | 65535 | √ | NULL |
|
|
||
| date_created | DATETIME | 19 | √ | current_timestamp() |
|
|
||
| date_updated | DATETIME | 19 | √ | current_timestamp() |
|
|
||
| created_by | BIGINT | 19 | √ | NULL |
|
|
fk to users.id for user who created this record |
|
| updated_by | BIGINT | 19 | √ | NULL |
|
|
fk to users.id for user who last updated this record |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| uuid | Must be unique | Asc | uuid |
