Client for study-field corrections and multi-column extract

This commit is contained in:
Roberto Treviño
2026-11-27 01:45:16 -06:00
parent 0e4d838d44
commit 07212a2083
4 changed files with 40 additions and 13 deletions
+7 -1
View File
@@ -1,8 +1,14 @@
/* eslint-disable */
/* Code generated by ng-openapi-gen DO NOT EDIT. */
/**
* One field of one record as a reviewer read it in the source document: an identity
* field (a mistyped record number) or a study's (a stage the scan made unreadable).
*/
export interface Correction {
field: 'record_number' | 'full_name' | 'curp' | 'nss' | 'birth_date' | 'sex';
entity?: 'identity' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy' | 'breast_treatment' | 'clinical_note' | 'death' | 'mchat' | 'ados2' | 'eeg';
field: string;
record: string;
value: string;
}
+1 -1
View File
@@ -12,7 +12,7 @@ import { Position } from '../models/position';
* and `formats` as in `map`.
*/
export interface Extract {
column: string;
column: (string | Array<string>);
concept_map?: (string | null);
entity: 'identity' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy' | 'breast_treatment' | 'clinical_note' | 'death' | 'mchat' | 'ados2' | 'eeg';
formats?: {