codes and candidates, each holding code objects with system, code, display, confidence, anchor, and severity_qualifier_suggestions.
The top level
Deciding whether a medical entity should be coded is a difficult and often subjective decision. Every diagnosis, symptom, or health context in a clinical note should not be coded. For instance, a symptom should only be coded if it is not commonly associated with one of the patient’s diagnoses. A chronic condition should only be coded if it affects patient care. Therefore, two lists are returned at the top level:codes and candidates.
codescontains the medical entities that the model confidently predicts should be coded.candidatescontains entities that are clinically relevant but not strictly required — optional codes that may warrant human review.
Each code object
Each list contains code objects. Each object represents one medical entity (condition, symptom, health context, medication, or procedure, depending on the coding system).Sequencing
For coding systems where order affects reimbursement — ICD-10-CM and ICD-10-PCS — Medera returns codes in clinical-significance order. The principal diagnosis or principal procedure appears first, followed by secondary diagnoses and additional procedures. You can use the position of a code in thecodes array directly without re-sorting.
Sequencing is currently in alpha for ICD-10-CM and ICD-10-PCS. See the feature matrix for availability per system.
Confidence calibration
Codes without an anchor are never returned. Codes that score
LOW or below are filtered or moved to candidates.
What’s next
Quickstart
Send your first request.
How it works
Request structure, best practices.
Coding Systems
Feature matrix per system.
Encounter Coding
Use case walkthrough.