Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
||||||
| location_business_line_id | VARCHAR | 36 | null |
|
|
||||||
| sp_replacement_behavior_id | VARCHAR | 36 | null |
|
|
||||||
| protocol_id | VARCHAR | 36 | null |
|
|
||||||
| protocol_code | VARCHAR | 50 | √ | null |
|
|
|||||
| protocol_name | VARCHAR | 255 | null |
|
|
||||||
| component_type | VARCHAR | 50 | √ | null |
|
|
|||||
| component_type_other | VARCHAR | 255 | √ | null |
|
|
|||||
| encounter_note_id | VARCHAR | 36 | √ | null |
|
|
|||||
| encounter_date | DATE | 10 | √ | null |
|
|
|||||
| is_from_encounter | BIT | 1 | 0 |
|
|
||||||
| description | TEXT | 65535 | √ | null |
|
|
|||||
| modification_date | DATE | 10 | null |
|
|
||||||
| reflect_in_encounter | BIT | 1 | 1 |
|
|
||||||
| reflect_in_chart | BIT | 1 | 0 |
|
|
||||||
| chart_annotation_text | VARCHAR | 255 | √ | 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 |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_component_type | Performance | Asc | component_type |
| idx_encounter_note_id | Performance | Asc | encounter_note_id |
| idx_location_business_line_id | Performance | Asc | location_business_line_id |
| idx_modification_date | Performance | Asc | modification_date |
| idx_protocol_id | Performance | Asc | protocol_id |
| idx_replacement_behavior_id | Performance | Asc | sp_replacement_behavior_id |