Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | INT | 10 | √ | null |
|
|
|||||
| fvc_uuid | BINARY | 16 | null |
|
|
fk to form_vitals_calculation.uuid |
|||||
| vitals_column | VARCHAR | 64 | null |
|
|
Component type: bps, bpd, pulse, etc. |
|||||
| value | DECIMAL | 12,6 | √ | NULL |
|
|
Calculated numeric component value |
||||
| value_string | VARCHAR | 255 | √ | NULL |
|
|
Calculated non-numeric component value |
||||
| value_unit | VARCHAR | 16 | √ | NULL |
|
|
Unit for this component value |
||||
| component_order | INT | 10 | 0 |
|
|
Display order for components |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_component_order | Performance | Asc/Asc | fvc_uuid + component_order |
| idx_vitals_column | Performance | Asc | vitals_column |
| unq_fvc_component | Must be unique | Asc/Asc | fvc_uuid + vitals_column |