ICD-10-CM

Outpatient vs Inpatient Coding Guidelines — Key Differences

📅 March 2026 📖 13 min read ✍️ Clear CPC Team
Outpatient vs Inpatient Coding Guidelines — Key Differences

ICD-10-CM has two distinct sets of guidelines depending on the care setting — one for outpatient encounters and one for inpatient admissions. These guidelines differ in meaningful ways, and applying the wrong set of rules to the wrong setting is one of the most consistently tested error types on the CPC exam. If you confuse the outpatient uncertain diagnosis rule with the inpatient rule, you will get the question wrong every time — and the exam writers know this.

This guide walks through every major difference between the two guideline sets, explains why the rules differ, and shows you exactly how the CPC exam tests these distinctions. If you need a broader overview of ICD-10-CM before diving in, start with What Is ICD-10-CM and the ICD-10-CM Official Coding Guidelines.

Where the Guidelines Come From

The ICD-10-CM Official Guidelines for Coding and Reporting are published annually by CMS and the NCHS (National Center for Health Statistics). The guidelines are organized into four sections:

  • Section I — Conventions, General Coding Guidelines, and Chapter-Specific Guidelines. These apply to all healthcare settings.
  • Section II — Selection of Principal Diagnosis. These apply exclusively to inpatient hospital admissions.
  • Section III — Reporting Additional Diagnoses. These also apply exclusively to inpatient hospital admissions.
  • Section IV — Diagnostic Coding and Reporting Guidelines for Outpatient Services. These apply to outpatient encounters including physician offices, clinics, ambulatory surgery centers, emergency departments, and other outpatient facilities.

Understanding this structure matters because Section I rules apply everywhere, but Sections II and III apply only to inpatient settings and Section IV applies only to outpatient settings. When you see a CPC exam question, your first job is to determine which setting the scenario describes — that tells you which sections of the guidelines govern your code selection.

The CPC exam primarily tests outpatient coding (Section IV) since CPCs work mainly in physician office and outpatient settings. However, the exam regularly includes questions that test whether you can distinguish between the two guideline sets, which is why understanding both is essential.

The Fundamental Difference: Diagnosis Certainty

The single most important difference between inpatient and outpatient coding is how you handle uncertain or unconfirmed diagnoses. This rule is tested on virtually every CPC exam.

Inpatient Rule — Code Uncertain Diagnoses as if Confirmed

In the inpatient setting, Section II of the guidelines instructs coders to code diagnoses documented as “probable,” “suspected,” “likely,” “questionable,” “possible,” or “still to be ruled out” as if the condition exists. The reasoning is practical: inpatient admissions involve extended stays with ongoing workups, and the diagnosis at discharge — even if uncertain — represents the best clinical understanding of why the patient was admitted and treated.

Example: A patient is admitted with chest pain. After two days of testing, the discharge summary states “probable acute myocardial infarction.” In the inpatient setting, you code the acute myocardial infarction as the principal diagnosis — not the chest pain — because the guidelines direct you to treat “probable” diagnoses as confirmed.

Outpatient Rule — NEVER Code Uncertain Diagnoses

In the outpatient setting, Section IV explicitly prohibits coding diagnoses qualified as “probable,” “suspected,” “questionable,” “rule out,” “compatible with,” “consistent with,” or “working diagnosis.” Instead, you code the condition to the highest degree of certainty — which usually means coding the signs and symptoms that brought the patient in.

Example: A patient presents to the physician’s office with chest pain. The physician documents “rule out acute myocardial infarction” and orders cardiac enzymes and an ECG. In the outpatient setting, you code only the chest pain (R07.9 or a more specific chest pain code) — you never code the myocardial infarction because it has not been confirmed.

Why This Difference Exists

The distinction exists because of the nature of the encounter. An inpatient admission typically represents a completed diagnostic workup — the patient was admitted, studied, and treated over days. The discharge diagnosis, even if uncertain, reflects the culmination of that process. An outpatient encounter, by contrast, is often a snapshot — the patient comes in, the physician evaluates, and the patient leaves, sometimes before test results return. Coding an unconfirmed diagnosis in the outpatient setting would overstate what is actually known at the time of the encounter.

Principal Diagnosis vs First-Listed Diagnosis

The terminology itself differs between settings, and using the wrong term signals confusion about which guideline set applies. For a deep dive on this distinction, see Principal Diagnosis vs First-Listed Diagnosis.

Inpatient: Principal Diagnosis (Section II)

The principal diagnosis is defined as “the condition established after study to be chiefly responsible for occasioning the admission of the patient to the hospital for care.” Key points:

  • It is determined after the full workup is complete, not at the time of admission.
  • If two or more conditions equally meet the definition, either may be selected as principal diagnosis.
  • If a symptom is followed by contrasting or comparative diagnoses, the symptom code is sequenced first, but coding conventions or guidelines may override this.
  • If the admission is for a complication of surgery or other medical care, the complication code is the principal diagnosis.

Outpatient: First-Listed Diagnosis (Section IV)

The first-listed diagnosis is the diagnosis, condition, problem, or other reason for the encounter shown in the medical record to be chiefly responsible for the services provided. Key points:

  • It reflects the reason for the encounter, not the result of a completed workup.
  • For outpatient surgery, code the reason for the surgery as the first-listed diagnosis, even if the findings are different. If the postoperative diagnosis is different, code the postoperative diagnosis since it is the most definitive.
  • Chronic conditions that are managed, treated, or monitored during the visit can be coded. Chronic conditions that exist but are not addressed during the encounter should not be coded.

Additional Diagnosis Reporting

How you report secondary diagnoses also differs significantly between settings.

Inpatient: Report All Conditions That Affect Care (Section III)

For inpatient coding, report additional diagnoses when the condition:

  • Required clinical evaluation, or
  • Required therapeutic treatment, or
  • Required diagnostic procedures, or
  • Extended the length of stay, or
  • Required increased nursing care or monitoring.

Previous conditions that are no longer active (resolved prior conditions) should not be coded as additional diagnoses in the inpatient setting. However, history Z-codes can be used when a previous condition is relevant to current care.

Outpatient: Report What Is Addressed

For outpatient coding, code all documented conditions that coexist at the time of the encounter and that require or affect patient care, treatment, or management. Do not code conditions that were previously treated and no longer exist. Importantly:

  • Chronic conditions being managed with medications are coded each visit — for example, a patient on insulin for type 2 diabetes has the diabetes coded at every visit where it is addressed.
  • Conditions documented as “history of” are coded with the appropriate Z-code, not the active disease code.
  • Do not code conditions the physician documents but does not address or manage during the encounter.

Side-by-Side Comparison Table

Guideline Area Inpatient (Sections II & III) Outpatient (Section IV)
Uncertain diagnoses (probable, suspected, rule out) Code as if confirmed Never code — use signs/symptoms instead
Primary diagnosis term Principal diagnosis First-listed diagnosis
Primary diagnosis basis Condition after study chiefly responsible for admission Reason for the encounter/services provided
Additional diagnoses All conditions that affect care, extend stay, or require treatment Only conditions addressed or managed during the visit
Chronic conditions Code if they affect care during the admission Code if managed or monitored during the visit
Signs and symptoms Do not code if the definitive diagnosis is known Code when no definitive diagnosis is confirmed
Sequencing guidance Section II + ICD-10-CM sequencing rules Section IV + general sequencing conventions
Applies to settings Hospital inpatient admissions only Physician offices, clinics, ASCs, EDs, outpatient hospitals

For a broader look at sequencing rules that apply across both settings, see ICD-10-CM Sequencing Rules.

Settings Classification — What Counts as Outpatient

This is another point the CPC exam tests. The following settings are always classified as outpatient for coding purposes:

  • Physician offices and clinics
  • Hospital outpatient departments
  • Ambulatory surgery centers (ASCs)
  • Emergency departments (even within a hospital, unless the patient is formally admitted)
  • Observation stays (including patients in observation status overnight)
  • Urgent care centers
  • Same-day surgery facilities

A common exam trap: a patient who stays overnight in the hospital under observation status is still an outpatient. Observation is not an admission. Only a formal inpatient admission order changes the patient’s status to inpatient. This distinction matters because it determines which set of guidelines governs all coding decisions for that encounter.

How the CPC Exam Tests These Differences

The CPC exam tests outpatient vs inpatient guidelines in several predictable patterns. Recognizing these patterns from your practice exams will help you answer faster on test day.

Pattern 1: The Uncertain Diagnosis Scenario

The question presents a clinical scenario with a documented “probable,” “suspected,” or “rule out” diagnosis and asks you to select the correct ICD-10-CM code. The answer choices include both the uncertain condition code and the signs/symptoms code. Your job is to identify the setting — if it is outpatient (the most common scenario on the CPC exam), the correct answer is always the signs/symptoms code.

Pattern 2: The Terminology Trap

The question asks you to identify the “principal diagnosis” in what is clearly an outpatient scenario, or the “first-listed diagnosis” in an inpatient scenario. The correct answer choice uses the proper terminology for the setting described.

Pattern 3: The Chronic Condition Question

The scenario describes a patient seen in the office for a specific complaint who also has documented chronic conditions. The question asks which diagnoses to report. The correct answer includes only the conditions addressed during the visit — unaddressed chronic conditions are not coded in outpatient settings.

Pattern 4: Additional Diagnosis Selection

The scenario presents multiple documented conditions and asks which should be reported as additional diagnoses. In the outpatient setting, only conditions that affect patient care or management during that specific visit qualify.

Practical Application: Coding the Same Patient in Both Settings

To solidify the difference, consider a patient with documented chest pain and a notation of “suspected unstable angina.”

If coded as an outpatient visit:

  • First-listed diagnosis: Chest pain (R07.9 or more specific)
  • Do not code unstable angina — it is only suspected
  • Code any other conditions addressed during the visit

If coded as an inpatient admission:

  • Principal diagnosis: Unstable angina (I20.0) — coded as confirmed per inpatient rules
  • Additional diagnoses: Any conditions that affected care during the stay
  • Chest pain is not separately coded because the definitive diagnosis (unstable angina) explains the symptom

This single example demonstrates every major difference: the uncertain diagnosis rule, the terminology difference, and the approach to sign/symptom coding. If you understand this example thoroughly, you can answer most CPC exam questions about setting-specific guidelines correctly.

🧪 Test Yourself: Outpatient vs Inpatient Guidelines

5 quick questions drawn from this guide. Click an answer to check it — explanations appear as you go.

1. A key difference between inpatient and outpatient diagnosis coding is that outpatient coders:

In the outpatient setting, uncertain diagnoses are not coded; report the documented signs, symptoms, or findings instead. Inpatient coding may code uncertain diagnoses as if they exist.

2. “First-listed diagnosis” is the outpatient equivalent of the inpatient:

Outpatient coding uses “first-listed”; inpatient uses “principal diagnosis” (per UHDDS).

3. Which uncertain-diagnosis instruction applies to INPATIENT coding?

For inpatient discharges, a still-uncertain diagnosis (“probable,” “suspected”) may be coded as though established — the opposite of outpatient rules.

4. Which setting is considered “outpatient” for these guidelines?

Outpatient encompasses office visits, observation, ED, and ambulatory surgery — anywhere the patient is not formally admitted as an inpatient.

5. For a routine outpatient encounter with a chronic condition, the chronic condition:

Chronic conditions may be coded and reported as many times as the patient receives care for them.

Frequently Asked Questions

What is the most important difference between outpatient and inpatient coding guidelines?

The uncertain diagnosis rule. In inpatient coding, diagnoses documented as probable, suspected, or rule out are coded as if confirmed. In outpatient coding, uncertain diagnoses are never coded — you code only the confirmed signs, symptoms, or conditions instead.

Is the emergency department considered inpatient or outpatient?

The emergency department is an outpatient setting. Even though it is located within a hospital, patients in the ED are outpatients unless they receive a formal inpatient admission order. Outpatient coding guidelines (Section IV) apply to all ED encounters.

Is observation status considered inpatient or outpatient?

Observation status is outpatient, even if the patient stays overnight. Observation is not an inpatient admission. Outpatient coding guidelines apply to patients in observation status. Only a formal admission order changes the patient to inpatient status.

What is the difference between principal diagnosis and first-listed diagnosis?

Principal diagnosis is used in inpatient coding and means the condition established after study to be chiefly responsible for the admission. First-listed diagnosis is used in outpatient coding and means the diagnosis chiefly responsible for the services provided during the encounter. They are defined differently and governed by different guideline sections.

Does the CPC exam focus on inpatient or outpatient coding?

The CPC exam primarily tests outpatient coding since Certified Professional Coders typically work in physician offices and outpatient facilities. However, the exam does test your understanding of the differences between inpatient and outpatient guidelines, so you need to know both sets of rules.