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?: {