import type * as Corti from "../../../../index.mjs"; /** * @example * { * system: ["icd10cm-outpatient", "cpt"], * context: [{ * type: "text", * text: "Short arm splint applied in ED for pain control." * }] * } * * @example * { * system: ["icd10cm-outpatient"], * context: [{ * type: "text", * text: "Patient presents with uncontrolled type 2 diabetes." * }], * filter: { * include: [{ * property: "code", * op: "is-a", * value: ["E11"] * }] * } * } */ export interface CodesGeneralPredictRequest { /** List of coding systems for prediction */ system: Corti.CommonCodingSystemEnum[]; /** Select either `text` or `documentId` as input context to the model for code prediction. Evidence indices in the response map to this array. */ context: Corti.CommonAiContext[]; /** Optional filter to restrict predicted codes. */ filter?: Corti.CodesFilter; }