code
Code Condition
Convert natural language condition to ICD-10-CM codes.
Uses an AI agent with function calling to implement the proper ICD-10 coding workflow:
- Normalize input: Expand abbreviations (DM2 → diabetes mellitus type 2)
- Alphabetic index lookup: Find candidate codes
- Tabular verification: Verify codes and check instructional notes
- Combination code check: Look for single codes covering multiple conditions
- Structured response: Return codes with reasoning and confidence
Example request:
{
"condition": "DM2 w/ CKD stage 3",
"include_hcc": true
}
Example response:
{
"success": true,
"codes_mentioned": ["E11.22", "N18.3"],
"reasoning": "Type 2 diabetes with chronic kidney disease...",
"confidence": "high",
"warnings": [],
"tool_calls_made": [...],
"tokens_used": 1234
}
Note: This endpoint requires Pro or Enterprise tier.
post/api/v1/code
Request
- Base URL: https://api.accurecord.io (the document declares no server; this is the origin it was published from)
- URL: https://api.accurecord.io/api/v1/code
- Auth: none declared
Headers
x-api-keystring nullable
Request body
Example request
{
"condition": "DM2 with CKD stage 3"
}Response
Coding result. data is OPEN — keys are added over time and a client must ignore ones it does not know rather than reject the response.
Example response
{
"data": {
"confidence": "high",
"pipeline": "v2"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.