DxMedical Coding HubLearn · Research · Share

E/M level calculator for office visits: MDM or time

By Medical Coding Hub · Published

Since 2021, an office visit is leveled one of two ways: by medical decision making (MDM) or by total time on the date of the encounter. MDM has three elements, and the rule that trips people up is that only two of the three have to reach a level. One strong element cannot carry the visit alone, and one weak element cannot sink it. Change the selections below and watch which two elements set the code.

Not billing, coding or legal advice.This page is a learning aid built from the public sources listed below. Payers, contracts and code sets change; check the current official guidelines and your payer’s policy before you bill. It stores nothing you enter, and you should never type real patient information into it.

1. Problems addressed

Tick what was addressed at this visit. The highest row ticked sets the element.

Straightforward (minimal)
Low
Moderate
High
2. Data reviewed and analyzed

Count each unique source, test or order once. Ordering a test includes reviewing its result.

Category 1: tests and documents
Prior external notes reviewed (each unique source)0
Test results reviewed (each unique test)2
Tests ordered (each unique test)0
Category 2
Category 3

Limited: 2 tests or documents (2 needed).

3. Risk of patient management

The risk of the management decisions made at the visit, including options considered and not chosen.

Medical decision making: two of three elements must be met or exceeded

Problems
Moderate
Meets the visit level
Data
Low
Below the visit level
Risk
Moderate
Meets the visit level

Sorted, the three elements are Low, Moderate, Moderate. The middle one is the level two elements reach: Moderate MDM.

By MDM
99214
Moderate medical decision making
99213
20 minutes met or exceeded

You may select the level by either method. Here MDM supports the higher code, 99214, provided the note documents it.

The rule, written as math

Give each element a level from 1 (straightforward) to 4 (high). Because two of the three must be met or exceeded, the visit level is the median, the middle value once the three are sorted:

MDM level = median(problems, data, risk)

Problems moderate, data limited, risk moderate gives moderate. Problems high, data minimal, risk low gives low: the single high element is not enough. If total time supports a higher level than MDM, or the reverse, either may be used, as long as the note documents the basis.

Codes and time thresholds

MDM levelNew patientMinutes (met or exceeded)Established patientMinutes (met or exceeded)
Straightforward99202159921210
Low99203309921320
Moderate99204459921430
High99205609921540

99211 is the exception: an established patient visit that may not require the presence of a physician or other qualified health care professional. It has no MDM level and no time threshold. A patient is new when they have had no professional services from the physician, or from another physician of the exact same specialty and subspecialty in the same group practice, within the past three years.

The three elements, in plain words

1. Number and complexity of problems addressed

A problem counts when it is evaluated or treated at the encounter, not merely listed. A chronic illness is “stable” only when the patient is at their treatment goal; a patient with persistently uncontrolled blood pressure is not stable even if nothing has changed.

LevelAny one of these
Straightforward1 self-limited or minor problem
Low2 or more self-limited or minor problems; 1 stable chronic illness; 1 acute, uncomplicated illness or injury; 1 stable acute illness
Moderate1 or more chronic illnesses with exacerbation, progression or side effects of treatment; 2 or more stable chronic illnesses; 1 undiagnosed new problem with uncertain prognosis; 1 acute illness with systemic symptoms; 1 acute, complicated injury
High1 or more chronic illnesses with severe exacerbation, progression or side effects of treatment; 1 acute or chronic illness or injury that poses a threat to life or bodily function

The table also lists one hospital-setting entry at the low level (an acute, uncomplicated illness or injury requiring hospital inpatient or observation level of care), left out of this office-visit calculator.

2. Amount and complexity of data reviewed and analyzed

LevelRequirement
StraightforwardMinimal or none.
Low (limited)One of two: any combination of 2 unique tests ordered, test results reviewed or prior external notes reviewed; or an assessment requiring an independent historian.
ModerateOne of three categories: (1) any combination of 3 from tests ordered, results reviewed, external notes reviewed and independent historian; (2) independent interpretation of a test performed by another professional; (3) discussion of management or test interpretation with an external professional or appropriate source.
High (extensive)Two of the same three categories.

Three details change counts in practice. Ordering a test includes reviewing its result, so the same test is not counted twice. A test you bill the interpretation for yourself does not count as data. And an independent historian is someone such as a parent, guardian or witness who supplies history the patient cannot reliably give; translation does not qualify.

3. Risk of complications, morbidity or mortality of patient management

Risk is about the management decisions made at the visit, including options considered but not selected after shared decision making. The examples in the AMA table are examples only. The ones most often relied on in an office are prescription drug management (moderate) and a decision regarding hospitalization (high).

Where this calculator stops

  • Prolonged services. When time is used and it runs well past the top code, CPT has add-on code 99417 and Medicare has its own code, G2212, with different starting points: CMS lists 89 minutes or more for 99205 and 69 minutes or more for 99215 before the first unit of G2212. Check the CMS booklet in the sources.
  • Other settings. Hospital, emergency department, nursing facility and home visits use the same MDM table but different codes and times. This page covers office or other outpatient visits only.
  • Medical necessity.A level supported by the table still has to be medically necessary for the patient’s condition, and the documentation has to show the work. The calculator cannot judge either.

Questions people ask

How is the level of an office visit chosen since 2021?

For office or other outpatient visits (99202-99215) the level is chosen by either the level of medical decision making or the total time the physician or other qualified health care professional personally spent on the date of the encounter. History and exam must be medically appropriate but no longer count toward the level.

What does "2 of 3" mean in medical decision making?

MDM has three elements: the number and complexity of problems addressed, the amount and complexity of data reviewed and analyzed, and the risk of patient management. To qualify for a level, two of the three elements must meet or exceed that level, so the visit level is the middle value of the three.

How many minutes are needed for 99213 and 99214?

When total time on the date of the encounter is used, 20 minutes must be met or exceeded for 99213 and 30 minutes for 99214. For 99212 it is 10 minutes and for 99215 it is 40. New patient visits 99202-99205 need 15, 30, 45 and 60 minutes.

What time counts toward total time?

Time personally spent by the physician or other qualified health care professional on the day of the encounter, face-to-face or not: preparing, examining, counseling, ordering, documenting, communicating results and coordinating care. Time on activities normally performed by clinical staff, and time spent on other separately reported services, does not count.

Sources

How this page was made: written with AI assistance from the sources above and checked against them on December 5, 2026. It has not been reviewed line by line by a certified coder. CPT is a registered trademark of the American Medical Association; code descriptions here are paraphrased, not the official text.

Keep going