cURL
Codes
Predict Codes
Predict medical codes from provided context.
This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10 (international), ICD-10-UK, CIM-10-FR, ICD-10-GM, OPCS-4, OPS, CCAM and CPT codes based on input text string or documentId.
More than one code system may be defined in a single request.
Code prediction requests have two possible values for context:
-
-
The response includes two sets of results:
-
-
All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).
More than one code system may be defined in a single request.
Code prediction requests have two possible values for context:
-
text: One set of code prediction results will be returned based on all input text defined.-
documentId: Code prediction will be based on that defined document only.The response includes two sets of results:
-
Codes: Codes predicted by the model.-
Candidates: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://docs.corti.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Input your token
Headers
Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.
Example:
"base"
Body
application/json
List of coding systems for prediction
Required array length:
1 - 15 elementsAvailable options:
icd10cm-inpatient, icd10cm-outpatient, icd10pcs, cpt, icd10int-inpatient, icd10int-outpatient, icd10uk-inpatient, icd10uk-outpatient, cim10fr-inpatient, cim10fr-outpatient, icd10gm-inpatient, icd10gm-outpatient, opcs4, ops, ccam Example:
["icd10cm-outpatient", "cpt"]Select either text or documentId as input context to the model for code prediction. Evidence indices in the response map to this array.
- Text
- DocumentID
Optional filter to restrict predicted codes.
Response
List of predicted codes and candidate codes per system defined in the request, including evidence supporting the code prediction.