Home › Guides › Medical Coding with AI (Without the Compliance Risk)

Can AI Do Medical Coding? How It Works and Where People Still Matter

AI turning a clinical note into billing codes, with unclear charts sent to a human coder A paper-cutout illustration. On the left a clinical note has a few highlighted lines. A small amber spark sits beside it, and the highlighted lines lead to three code tags. Two of the tags flow into a finished claim marked with a check. The third leads to a flagged chart in front of a simple head-and-shoulders figure: the human coder who handles the unclear cases.

Yes, AI can do medical coding. Specialist tools read clinical notes, pull out the diagnoses and procedures, and assign ICD-10 and CPT codes. For many routine visits they do it with no human involved at all. But they don't replace coders. Every serious coding tool sends unclear or complicated charts to a person, and the rules that govern coding apply to the software just as they apply to the people.

This guide covers what AI coding really does, how it works under the hood, where general chatbots like ChatGPT and Claude fit in, and the rules you need to know before you put any of it to work.

Medical Coding with AI (Without the Compliance Risk)

Medical Coding with AI (Without the Compliance Risk): Use AI as a second set of eyes on your coding, without letting it make the call.

See the course

The short answer

AI can be used for medical coding in three main ways:

  • Autonomous coding. The software codes a chart from start to finish and sends the codes straight to billing. It only does this when it's confident. Everything else goes to a person.
  • Computer-assisted coding (CAC). The software suggests codes and a human coder reviews, edits and approves them. This is a common setup in hospital coding departments.
  • General AI assistants. Tools like ChatGPT and Claude can explain guidelines, summarize a de-identified note, or suggest possible codes for a coder to check. They are not certified coding engines, and what they produce isn't authoritative.

The way to think about it: AI handles the volume, and people handle the judgment calls.

Get the Friday briefing for medical billers

One short email a week: the latest AI news for medical billing, our newest tool reviews and new free guides like this one.

Unsubscribe anytime. By subscribing you agree to our Privacy Policy.

How AI medical coding works

Most coding tools follow the same basic path from note to claim.

1. It reads the documentation

The tool takes in the clinical record: physician notes, operative reports, discharge summaries, radiology and pathology reports. Most of it is unstructured text written by busy clinicians, full of abbreviations and shorthand.

2. It pulls out what matters

Using natural language processing (NLP) and machine learning, the tool finds the clinically relevant pieces: diagnoses, symptoms, procedures, laterality, severity, and whether a condition is confirmed or only suspected. This is the step people mean when they ask whether AI can extract medical billing codes. The extraction is the hard part. Once the tool knows "left distal radius fracture, closed, initial encounter," finding the matching code is comparatively easy.

3. It maps findings to codes

The extracted concepts are matched to ICD-10-CM diagnosis codes, ICD-10-PCS procedure codes for inpatient facility claims, and CPT or HCPCS codes for professional and outpatient services. Good tools also apply coding edits, such as checks for code pairs that shouldn't be billed together.

4. It applies the official rules

Coding isn't just matching words to codes. The ICD-10-CM Official Guidelines decide things like sequencing, when to code a symptom versus a diagnosis, and how to handle "rule out" conditions. An AI tool has to follow the same guidelines a human coder would. It also has to use the current code set, which updates every October 1 for ICD-10-CM, with some April 1 updates too.

5. It decides who finishes the job

This is what separates a useful tool from a risky one. The software scores its own confidence. Charts it's sure about go straight through ("touchless" coding). Charts with missing information, conflicting documentation, or anything that needs judgment get routed to a human coder, often with the suggested codes and the reasoning attached.

The specialist tools

Most AI coding software is bought by hospitals and health systems, and some by physician groups. A few of the names you'll run into:

  • Solventum 360 Encompass Autonomous Coding System (formerly 3M) is built for facility coding teams. It codes qualified visits on its own and sends the rest, or any visit picked for QA, to a coder.
  • Optum Enterprise CAC and CDI 3D is aimed at hospital coding departments. It reviews medical records, suggests codes for coders, and flags cases with documentation gaps or denial risk.
  • Fathom sells autonomous facility and professional coding to health systems, physician groups, outpatient clinics, health plans and RCM vendors.
  • CodaMetrix focuses on professional-fee coding for health systems in areas like radiology, pathology and endoscopy, with human review where it's needed.
  • Nym serves health systems and physician groups, emergency departments among them. It gives a traceable rationale for each code and routes uncertain charts to coders.

Two things to keep in mind when you read their marketing. First, none of them replaces coders outright. Each one hands uncertain charts to a person. Second, most of the automation rates and accuracy figures you'll see are the vendors' own claims. Ask for results on charts like yours, from your specialty and your payer mix, before you trust a headline number. Our tool pages compare these options in detail.

Medical Coding with AI (Without the Compliance Risk)
Course · Medical Coding with AI (Without the Compliance Risk)

AI can help you code. It can't sign off for you.

This course shows you how to use AI to look up codes, check documentation against guidelines, and spot missed modifiers, while keeping you, the coder, firmly in charge of every final decision.

Can ChatGPT or Claude do medical coding?

Kind of, and only as a helper. General AI assistants are good at explaining things and working with text. They're not licensed code sets, and they don't follow coding rules the way a certified engine does. Their suggestions can be wrong or out of date. The American Medical Association states plainly that "AI-generated outputs are not a substitute for CPT content and should not be treated as authoritative CPT guidance."

That still leaves plenty of useful work for them.

Understanding a guideline. If a rule confuses you, ask for a plain-English explanation and an example:

Explain an ICD-10-CM coding guideline in plain EnglishPrompt library
Explain the ICD-10-CM Official Guidelines rule on [topic, e.g., coding uncertain diagnoses in the outpatient setting] in plain English.

Give me:
1. The rule in 3 to 4 sentences, without jargon.
2. Two short examples: one where the rule applies and one where it doesn't, each with a one-line reason.
3. The section of the official guidelines I should check to confirm it (e.g., Section IV.H), plus any exceptions.

If you're unsure of a detail or a section number, say so instead of guessing. Keep it under 250 words.

Summarizing a de-identified note. Strip every identifier first: names, dates, record numbers, locations, anything that could point back to a patient.

List the diagnoses, symptoms and procedures in a de-identified notePrompt library
I'm pasting a de-identified clinical note below. Using only this note, list every diagnosis, symptom and procedure it documents.

Return a table with these columns:
- Finding
- Type (diagnosis, symptom or procedure)
- Status (confirmed, suspected or ruled out)
- Details (laterality, severity, acuity, encounter type; write "Not found" if not documented)
- Supporting quote (the exact sentence from the note)
- Note section (e.g., HPI, Assessment, Plan)

Don't assign codes yet. If a finding's status is unclear or the note contradicts itself, mark it "Unclear" and explain in one line below the table instead of guessing.

Note:
[paste de-identified note]

Getting candidate codes for a coder to check. Treat the output as a starting point, not an answer:

Get candidate ICD-10-CM codes for a coder to verifyPrompt library
I'm pasting a de-identified clinical note below. Using only this note, suggest possible ICD-10-CM codes for a [setting, e.g., outpatient office visit].

Return a table with these columns:
- Suggested code
- Code description
- Why you chose it
- Supporting quote and note section (e.g., "Assessment: ...")
- Documentation needed to support it, and whether the note has it (Yes, Partly or Not found)

List the codes in the order you'd sequence them. Follow the official guidelines for this setting on suspected and "rule out" conditions. Below the table, under "Query the provider," list anything missing or unclear that a coder should query the provider about. If you're unsure whether a code exists or is current, say so instead of guessing. I will verify every code against the official code set.

Note:
[paste de-identified note]

Writing a provider query. This is one of the most practical uses:

Write a neutral provider queryPrompt library
Write a short, neutral provider query asking a physician to clarify [documentation gap, e.g., the type and acuity of heart failure].

De-identified clinical indicators from the record: [paste the relevant documentation, e.g., "BNP elevated, on IV furosemide, note says 'CHF'"]

Rules:
- Don't lead the provider toward a specific answer or mention payment.
- Cite only the clinical indicators above as the reason for the query.
- If you offer multiple choice, give clinically reasonable options plus "Other" and "Unable to determine."
- Keep it under 100 words.

A certified coder should check every code against the current official code set and guidelines before anything goes on a claim. If your team runs prompts like these every day, you can save them as reusable AI setups for your billing team, and our collection of AI instructions for billing teams has more to start from.

The rules you can't skip

Patient information and HIPAA

Identifiable patient notes, also called protected health information (PHI), can only go into a setup that's covered by a business associate agreement (BAA). For the big general assistants, that's a short list:

OpenAI
signs a BAA for sales-managed ChatGPT Enterprise and Edu accounts, for its API, and for individual verified U.S. clinicians on ChatGPT for Clinicians. ChatGPT Business isn't eligible (OpenAI BAA help).
Anthropic
covers PHI only under its HIPAA-ready Claude Enterprise plan or a HIPAA-configured API with a BAA, and some features are excluded (Anthropic BAA).

If you're using a personal or standard chat account, never paste in an identifiable patient note. De-identify first, or don't use it.

CPT licensing

CPT codes belong to the AMA, and its CPT licensing AI FAQ is strict. Every use of CPT content needs permission or a license. Retrieval-based AI and internal machine learning are allowed only under the AMA's AI Addendum. Using the CPT data file to train or fine-tune models, or uploading it to public AI systems, is prohibited. If you're evaluating a coding vendor, ask how they license CPT. If you're tempted to upload the CPT file to a chatbot to "teach" it, don't.

ICD-10 is required for everyone

Under HIPAA, every covered entity has to use ICD-10 code sets, not just Medicare and Medicaid providers (CMS ICD-10). The same code sets and the same official guidelines apply whether a person or a machine does the coding.

Where AI coding works best, and where it struggles

AI tends to do well with:

  • High-volume, repetitive encounters with consistent documentation, such as many radiology reads, routine office visits and straightforward ED visits
  • Catching codes a busy coder might miss
  • Flagging documentation gaps before a claim goes out

It struggles with:

  • Complex inpatient stays with many conditions and tricky sequencing
  • Thin, contradictory or copy-pasted documentation
  • Situations where the right answer depends on clinical judgment or a provider query

The tools that work well are the ones that know these limits and hand off the hard charts.

Getting started

If you run or work in a coding team, here's a sensible way in:

  1. Start with the boring charts. Pick one high-volume, low-complexity area and pilot there.
  2. Keep people in the loop. Have coders audit a sample of the AI's touchless output, especially early on.
  3. Measure on your own data. Compare accuracy, denial rates and turnaround against your current baseline, not a vendor's brochure.
  4. Check the paperwork. Confirm the BAA, how the vendor licenses CPT, and how quickly it adopts each annual code update.
  5. Use general assistants for learning, not billing. They're great for explanations and drafts, but they don't replace a certified tool or a certified coder.

When it's time to measure a pilot against your baseline, paste in your own figures and let the AI do the arithmetic:

Compare an AI coding pilot against your baselinePrompt library
I'm comparing an AI coding pilot against our current coding baseline. Using only the figures below, calculate each measure and show your working.

Baseline (before AI), period: [dates]
- Charts coded: [number]
- Charts audited: [number]; audited charts with a coding error: [number]
- Claims submitted: [number]; claims denied for coding reasons: [number]
- Average coding turnaround: [days or hours]

Pilot (with AI), period: [dates]
- Charts coded: [number]; charts coded touchless: [number]
- Charts audited: [number]; audited charts with a coding error: [number]
- Claims submitted: [number]; claims denied for coding reasons: [number]
- Average coding turnaround: [days or hours]

Return a table with these columns: Measure, Baseline, Pilot, Change, Working. Include touchless rate, audit accuracy rate, coding denial rate and turnaround. Write "Not found" for any measure I haven't given figures for. Below the table, in up to three sentences, flag anything that limits the comparison, such as small audit samples or periods of different length. Don't add benchmarks or figures I didn't provide.

Frequently asked questions about Can AI Do Medical Coding? How It Works and Where People Still Matter

Can AI do medical coding on its own?

For some charts, yes. Autonomous coding tools code routine, well-documented encounters without human involvement. Anything uncertain or complex goes to a human coder, and most organizations also audit a sample of the automated work.

Will AI replace medical coders?

Not outright. Every major coding tool sends uncertain charts to a person. The role is shifting toward reviewing AI output, handling complex cases, auditing and writing provider queries.

How does AI medical coding work?

It reads clinical documentation, uses natural language processing to pick out diagnoses and procedures, maps them to ICD-10 and CPT codes, applies the official coding guidelines and edits, and then either sends confident results to billing or routes the chart to a coder.

Can AI extract medical billing codes from clinical notes?

Yes. Pulling diagnoses, procedures and supporting details out of free-text notes and turning them into codes is the core of what AI coding tools do. Accuracy depends heavily on how clear and complete the documentation is.

Can I use ChatGPT for medical coding?

You can use it to explain guidelines, summarize de-identified notes, and suggest possible codes for a coder to verify. Its output isn't authoritative, and it isn't a licensed code set. Don't put identifiable patient information into it unless you're on a plan covered by a BAA, such as sales-managed ChatGPT Enterprise or the API with a signed BAA.

Is AI medical coding accurate?

It can be very accurate on routine charts, but most published accuracy and automation figures come from the vendors themselves. Test any tool on your own charts and keep human audits in place.

Is it legal to use AI for medical coding?

Yes, as long as you follow the same rules as always: HIPAA for patient data, the official ICD-10 guidelines, and AMA licensing terms for CPT content. Responsibility for the codes on a claim still sits with your organization, not the software.

Course · Medical Coding with AI (Without the Compliance Risk)

Code with more confidence, and stay compliant

Medical Coding with AI shows you where AI fits in coding work and where it doesn't belong. It covers:

  • Using AI to research ICD-10-CM, CPT and HCPCS codes
  • Checking documentation for gaps before you assign codes
  • Catching modifier and bundling issues
  • Why AI suggestions can be wrong, and how to verify them against official sources
  • Compliance risks, including upcoding, and how to avoid them

$19.99 a month after a 3-day free trial. Cancel anytime.

Found this useful? Get more every Friday

The Friday briefing for medical billers: what changed in AI for medical billing this week, our latest tool reviews and new free guides, in one short email.

Unsubscribe anytime. By subscribing you agree to our Privacy Policy.

Related guides

Medical Coding with AI (Without the Compliance Risk)

AI for Medical Coding: What It Can Do and How to Use It Well

Medical Coding with AI (Without the Compliance Risk)

How to Use ChatGPT for Medical Coding (Safely and Usefully)

AI Basics for Medical Billers and Coders

How to Use AI for Medical Billing: A Practical Getting-Started Guide

Course: Medical Coding with AI (Without the Compliance Risk)Code smarter, stay compliant

See the course