Healthcare Compliance Best Practices · · 7 min read

What is MDM in Medical Coding, and why does it drive reimbursement?

What medical decision making (MDM) is in medical coding, its three elements and four levels, and how it drives E/M code selection since 2021.

What is MDM in Medical Coding? Understanding Its Role and Importance

The short version: MDM in medical coding is medical decision making, the measure of the cognitive work behind an evaluation and management (E/M) visit. It is scored across three elements and four levels, and since 2021 it is one of the two accepted ways (the other is total time) to select the level of an office E/M code.

If you code or audit E/M services, MDM in medical coding is the concept you cannot afford to get wrong. Since the 2021 overhaul of the office and outpatient E/M rules, history and physical exam no longer decide the visit level. The code you report now rests on either medical decision making or total time. This guide explains what MDM is, the three elements and four levels that define it, the rule for combining them, and why the note has to match the level you bill.

What MDM means in medical coding

Medical decision making describes the complexity of establishing a diagnosis and choosing a management option. It reflects how sick the patient is, how much information the clinician had to gather and analyze, and how much risk the plan carries. The American Medical Association defines MDM through three elements, and a visit earns an overall MDM level based on how those elements combine. That overall level maps directly to a specific E/M code.

Element one: number and complexity of problems addressed

This element counts the problems the clinician evaluated and managed during the encounter, weighted by how serious and stable they are. A single self-limited or minor problem sits at the straightforward end. One stable chronic illness is low. A chronic illness with a mild exacerbation, two or more stable chronic illnesses, or a new problem with an uncertain prognosis is moderate. A chronic illness with severe exacerbation, or an acute condition that threatens life or bodily function, is high. A problem only counts if the note shows it was actually addressed, not merely listed.

Element two: amount and complexity of data reviewed

This element measures the data the clinician ordered, reviewed, and analyzed. It spans reviewing prior notes and test results, ordering laboratory or imaging studies, using an independent historian when the patient cannot give a reliable history, interpreting a test personally, and discussing management with another clinician. The categories rise from minimal, to limited, to moderate, to extensive as the volume and sophistication of that analysis grows. Every item counted has to be visible in the record.

Element three: risk of complications and morbidity

This element captures the risk of the patient management decisions made at the visit, including the risks of the treatments considered. Minimal risk is straightforward, and low risk is low. Prescription drug management is a common example of moderate risk, which is one reason many behavioral health medication visits land at a moderate level. Decisions such as drug therapy that requires intensive monitoring for toxicity, or a decision about hospitalization for a patient in crisis, reflect high risk.

The four levels of MDM

MDM has four levels: straightforward, low, moderate, and high. Each level corresponds to a code within the E/M family. For a new office patient, straightforward is 99202, low is 99203, moderate is 99204, and high is 99205. For an established office patient, straightforward is 99212, low is 99213, moderate is 99214, and high is 99215. Choosing the right level is a matter of matching documented complexity to the correct level, not rounding up to protect revenue or rounding down out of caution.

The two of three rule

You do not need all three elements to reach a level. To qualify for a given level of MDM, at least two of the three elements must meet or exceed that level. A visit with moderate problems and moderate risk reaches moderate MDM even if the data element is minimal. This rule is where audits often turn: a note may claim a moderate or high visit, but if only one element is supported by the documentation, the level is not met and the claim is exposed.

How MDM drives E/M level selection since 2021

Before 2021, the E/M level depended on scoring history, exam, and MDM together. Effective January 2021, the office and outpatient visit codes (99202 through 99215) changed so the level is chosen by MDM or by total time on the date of the encounter. In 2023, the same framework extended to most other E/M categories, including hospital, emergency department, nursing facility, and home visits. History and exam are still performed and documented as clinically appropriate, but they no longer set the level. For behavioral health clinicians who bill E/M for medication management, this means the note has to make the MDM elements explicit, since psychotherapy service codes are billed separately and follow their own rules.

How to get this right

Pick the level from the documented reality of the visit, then confirm the note proves it. Name the problems addressed and their status, show the data that was ordered or reviewed, and make the risk of the plan clear, including prescriptions and any crisis decisions. Do not rely on a rich history or exam to carry a visit, because they no longer count toward the level. When you bill a moderate or high visit, check that at least two of the three elements independently support that level before the claim goes out. Consistent, specific documentation is what survives a payer audit.

How Adentris helps

Adentris is an AI platform for revenue integrity and documentation compliance built for behavioral health and substance use disorder programs, and level-of-service risk like MDM is exactly what it is designed to catch. It works on top of the EHR you already use, connecting by API or HL7 where available with systems such as Alleva, Pimsy, Kipu, Epic, and Athenahealth, or through a secure web agent otherwise, so there is no migration. It reviews notes in real time and flags missing or weak elements before the claim is submitted, including medical necessity and the documentation that has to support the level billed, then drafts the correction for the clinician to accept. Compliance leaders get a live view of documentation risk across every site and program, and a paired appeals and denials module supports the claims that still get challenged. To see it on your own charts, book a 30-minute call with our team.

Frequently asked questions

What is MDM in medical coding?

MDM in medical coding stands for medical decision making, the measure of the cognitive complexity of an evaluation and management visit. It is scored across three elements, the number and complexity of problems addressed, the amount and complexity of data reviewed, and the risk of complications, and it produces one of four levels that maps to a specific E/M code.

What are the three elements of MDM?

The three elements are the number and complexity of problems addressed, the amount and complexity of data reviewed and analyzed, and the risk of complications and morbidity from the visit and its management options. Each element is rated across the same four levels of complexity. The documentation in the note must support the rating claimed for each element.

How many MDM elements must be met to reach a level?

At least two of the three elements must meet or exceed a level for the visit to qualify for that level. This is the two of three rule. A visit can reach moderate MDM on problems and risk alone, for example, even when the data element is minimal.

Did MDM replace history and exam for choosing the E/M level?

Yes, for level selection. Since 2021 for office visits, and since 2023 for most other E/M categories, the level is chosen by MDM or total time, not by scoring history and exam. Clinicians still perform and document history and exam when it is clinically appropriate, but those components no longer determine the code.

Adentris Content Team
Written by Adentris Content Team

The Adentris team writes on denials, payer audits, coding and documentation compliance for behavioral health, SUD and other providers, drawing on the Adentris AI platform.

Read next