From 672091d19a0fab6cfb21bb72587a64caca1d138c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Trevi=C3=B1o?= Date: Fri, 27 Nov 2026 16:25:01 -0600 Subject: [PATCH] Client for extract fields taken from columns --- openapi.json | 8 ++++++++ src/app/api/models/extract.ts | 3 +++ 2 files changed, 11 insertions(+) diff --git a/openapi.json b/openapi.json index ca0cacd..77e232e 100644 --- a/openapi.json +++ b/openapi.json @@ -184,6 +184,14 @@ ], "title": "Column" }, + "columns": { + "additionalProperties": { + "type": "string" + }, + "default": {}, + "title": "Columns", + "type": "object" + }, "concept_map": { "anyOf": [ { diff --git a/src/app/api/models/extract.ts b/src/app/api/models/extract.ts index f3253f8..69490cb 100644 --- a/src/app/api/models/extract.ts +++ b/src/app/api/models/extract.ts @@ -13,6 +13,9 @@ import { Position } from '../models/position'; */ export interface Extract { column: (string | Array); + columns?: { +[key: string]: string; +}; concept_map?: (string | null); entity: 'identity' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy' | 'breast_treatment' | 'clinical_note' | 'death' | 'mchat' | 'ados2' | 'eeg'; formats?: {