Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
|||
| note_id | VARCHAR | 36 | null |
|
|
|||
| encounter_type_id | VARCHAR | 36 | null |
|
|
|||
| rule_set_id | VARCHAR | 36 | null |
|
|
|||
| findings | JSON | 1073741824 | null |
|
|
|||
| validated_at | TIMESTAMP | 19 | CURRENT_TIMESTAMP |
|
|
|||
| model_id | VARCHAR | 100 | √ | null |
|
|
||
| input_tokens | INT | 10 | √ | null |
|
|
||
| output_tokens | INT | 10 | √ | null |
|
|
||
| latency_ms | BIGINT | 19 | √ | null |
|
|
||
| created_at | TIMESTAMP | 19 | CURRENT_TIMESTAMP |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_ai_valresult_date | Performance | Asc | validated_at |
| idx_ai_valresult_encounter | Performance | Asc | encounter_type_id |
| idx_ai_valresult_note | Performance | Asc | note_id |