ConceptMap editor, names and CURP shown, catalog codes read
This commit is contained in:
@@ -8,12 +8,13 @@ import { Position } from '../models/position';
|
||||
*
|
||||
* `auto` asks the LLM when one is configured and answering, else applies `patterns`;
|
||||
* with neither, the row is held. Patterns are regexes with one group, per field (the
|
||||
* LLM can propose them from sample documents); their values go through `values` and
|
||||
* `formats` as in `map`.
|
||||
* LLM can propose them from sample documents); their values go through the ConceptMap
|
||||
* and `formats` as in `map`.
|
||||
*/
|
||||
export interface Extract {
|
||||
column: string;
|
||||
entity: 'identity' | 'death' | 'clinical_note' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy';
|
||||
concept_map?: (string | null);
|
||||
entity: 'identity' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy' | 'clinical_note' | 'death';
|
||||
formats?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
@@ -27,9 +28,4 @@ export interface Extract {
|
||||
[key: string]: string;
|
||||
};
|
||||
position?: (Position | null);
|
||||
values?: {
|
||||
[key: string]: {
|
||||
[key: string]: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user