Skip to main content

What is AI medical coding?

The AI Glossary

In our classes, we often pause to explain the ideas behind AI and the language used to describe it. These posts grew out of those conversations. They’re for anyone who would like to understand AI better, with no technical background assumed.

AI medical coding uses software to help translate clinical documentation into standardized codes. Codes identify diagnoses, procedures or services for purposes that include billing, reporting and research. In the United States, different code systems serve different roles; they should not be treated as interchangeable labels for the same thing.

A coding assistant might locate relevant phrases, suggest a candidate code and show the supporting documentation. Natural language processing—the use of software to work with language—can help interpret varied wording. Ordinary rules can then check format, required details and permitted combinations.

Finding a condition in a note does not establish that it should be coded for the current encounter. It may be historical, ruled out, mentioned in a family history or insufficiently documented. Coding rules also vary by setting and change over time. The applicable code set and guidelines need to be part of the process.

This makes evidence important. A useful suggestion should show why it was made, what information is missing and whether clarification is needed. A language model should not turn an ambiguous phrase into a more severe diagnosis merely because that code produces a larger payment.

Evaluation should distinguish completeness from overstatement. Capturing a legitimately documented condition can improve the record. Adding an unsupported condition can distort it. More codes, higher reimbursement and higher agreement with previous billing are not interchangeable measures of accuracy.

The consequences extend beyond payment. Codes can influence later clinical interpretation, patient costs, quality measures and research datasets. A change in coding practice may make a population appear sicker without a corresponding change in underlying illness.

For a clinical organization, a bounded first use might identify a possible inconsistency and ask a qualified reviewer to resolve it. The system should preserve the original documentation and record the final decision. Successful automation reduces avoidable work while maintaining the integrity of the record. It does not remove the need to understand what was documented, which rules apply and who is responsible for the submitted claim.

Sources: CMS — ICD-10 Codes and Current Official Coding Guidelines; CMS — Medicare Billing: Submitting Claims

To learn more, take a look at the AI in Health Care Certificate of Specialization from the Advanced Learning Academy at Harvard T.H. Chan School of Public Health. You can take an individual course or work toward the full certificate.


AI is a fast-moving field. This explanation reflects our class discussions and related material at the time of writing. Terminology, capabilities and tools may change.

For suggested additions or corrections, please email me at tpanch@hsph.harvard.edu.

Dr. Trishan Panch
Program Director, AI in Health Care
Harvard T.H. Chan School of Public Health — Advanced Learning Academy

Lead with AI in Health Care

The AI Pragmatist is a monthly newsletter from ALA faculty, with new explainers & essays from the Advanced Learning Academy