Skip to content
CPC Prep Practice
Coding Rules 8 min read

ICD-10 Diagnosis Sequencing Rules: Principal vs Secondary + CPC Exam Tips

By CPCPrep Team ·

Medical chart with diagnosis notes for ICD-10 coding sequencing

ICD-10 Diagnosis Sequencing: Principal vs Secondary + 8 CPC Exam Scenarios

Which diagnosis goes first? It sounds like a simple question. It is not. The sequencing rules differ by setting, and the CPC exam tests both inpatient and outpatient scenarios. Sequence the wrong code first and the claim fails, even if every individual code is correct.

For the full context on ICD-10 strategy, see the CPC Exam Complete Guide.


Inpatient vs Outpatient: Two Different Rules

Here’s what most guides won’t tell you: inpatient and outpatient sequencing use different terminology on purpose. They are governed by different sections of the CMS Official Guidelines. Treating them as interchangeable is one of the fastest ways to lose points on a CPC exam scenario.

Inpatient: principal diagnosis after study

The inpatient term is “principal diagnosis.” The official CMS definition: the condition established after study to be chiefly responsible for occasioning the admission to the hospital.

The key phrase is “after study.” You do not sequence based on what the patient came in with. You sequence based on what the workup determined. A patient admitted with chest pain who gets a confirmed acute MI: the MI is the principal diagnosis, not chest pain. That workup changed the sequence.

Outpatient: first-listed diagnosis

In the outpatient setting, the term is “first-listed diagnosis.” Per the CMS ICD-10-CM Official Guidelines Section IV: the code for the condition, sign, symptom, or finding chiefly responsible for the outpatient service is listed first.

One difference from inpatient: in outpatient, you cannot code an uncertain diagnosis as if it were confirmed. If the physician documents “possible pneumonia,” you code the sign or symptom, not the unconfirmed condition. In inpatient, you can code uncertain diagnoses as if established.

Why the distinction matters for the CPC exam

CPC exam questions specify the care setting. Read that detail first. Inpatient scenario: apply principal diagnosis rules. Outpatient or clinic scenario: apply first-listed rules. Missing the setting usually means picking the wrong sequence.


What is the principal diagnosis?

Let’s break that down. Inpatient sequencing is where most candidates slow down, because “after study” sounds vague until you see it applied.

Official CMS definition

From the CMS ICD-10-CM Official Guidelines for Coding and Reporting, Section II: “That condition established after study to be chiefly responsible for occasioning the admission to the hospital for care.”

This definition lives in the inpatient section only. Do not apply it to outpatient scenarios.

”After study”: what this means practically

“After study” means after the clinical workup is complete. Tests ordered, results reviewed, attending physician assessment documented. If a patient is admitted for one symptom and diagnostic testing identifies a different underlying condition, the confirmed underlying condition is the principal diagnosis.

Don’t overthink it. Look at the scenario as it’s presented. What did the workup determine? That’s the principal diagnosis.

When you cannot determine the principal diagnosis

Sometimes the workup identifies two conditions, and the documentation does not make clear which one caused the admission. The CMS Guidelines allow either condition to be sequenced first in that situation. On the CPC exam, if a question gives you two equally supported conditions, both sequences may technically be acceptable: the answer choices will reflect that.

If discharge occurs with no confirmed diagnosis at all, a symptom code can serve as the principal diagnosis.


Secondary diagnoses: which ones to code

Here’s the honest answer: not every condition a patient has qualifies as a secondary diagnosis. The rule is whether the condition affected care during the encounter.

Comorbidities that affect care

A comorbidity qualifies as a secondary diagnosis when it requires monitoring, evaluation, therapeutic treatment, or extended hospital stay during this admission. Hypertension that requires medication adjustment during a pneumonia admission: code it. A remote history of appendectomy that has no bearing on this encounter: do not code it.

Conditions that arise during the stay

Complications and conditions that develop during the hospitalization are also coded as secondary diagnoses when they affect care. A post-op pulmonary embolism is a secondary diagnosis. A hospital-acquired infection that requires treatment is a secondary diagnosis. These are not afterthoughts: they affect resource use and the clinical picture.

What NOT to code (incidental findings, history codes)

Incidental findings that do not change care are not coded. A chest X-ray done for pneumonia that incidentally shows a small calcified granuloma: do not add a code for that finding unless the physician documents it as a current condition requiring management.

History codes (personal history Z-codes) are for conditions no longer active. Use them when they affect current management, not as a default for anything in the patient’s chart.


Combination codes: one code, multiple diagnoses

Which brings us to the part most candidates skip: combination codes, and how they change sequencing logic entirely.

A combination code captures two related conditions within a single code. The classic example is diabetic nephropathy: E11.21 covers type 2 diabetes mellitus with diabetic chronic kidney disease, stage 1 through stage 4. You do not add a separate code for the CKD. The combination code includes it.

The practical rule: when a combination code exists, use it. Do not split the conditions into two codes. Do not add a redundant secondary code for something already captured in the combination.

On the CPC exam, combination code questions often include a distractor answer that breaks the combination into two separate codes. That answer is wrong. Focus on the principles. That’s really what they’re testing.

When a combination code exists for the relationship between two conditions, the code structure tells you there is a defined coding rule. Look it up in the Tabular List before deciding to add a second code.


8 CPC exam scenarios

Process of elimination: once you’ve eliminated one code, the whole answer is wrong. These scenarios walk through the actual decision logic.

Scenarios 1-4: Inpatient sequencing

Scenario 1. Patient admitted for chest pain. Workup reveals acute MI. Which is the principal diagnosis?

Principal diagnosis: acute MI (I21.xx). The workup determined the cause of admission. Chest pain (R07.9) is not coded separately once the underlying condition is confirmed.

Scenario 2. Patient admitted with CHF and COPD, both present on admission (POA). After full workup, the attending documents CHF as the condition chiefly responsible for this admission.

Principal diagnosis: CHF. When two conditions are both present on admission and both plausibly responsible, the attending’s documentation guides the sequence. Here the documentation is explicit. Sequence CHF first.

Scenario 3. Elective hip replacement surgery. Post-op, patient develops a pulmonary embolism requiring treatment.

Principal diagnosis: the hip joint replacement procedure. The elective procedure was the reason for admission. The PE developed during the stay and is coded as a secondary complication. The complication does not displace the reason for admission as the principal diagnosis.

Scenario 4. Patient admitted with fever. Full workup completed. Discharged with no confirmed underlying diagnosis.

Principal diagnosis: fever of unknown origin (R50.9). No confirmed diagnosis was established after study. A symptom code is appropriate. In inpatient, when the workup produces no definitive answer, code the condition to the highest degree of certainty documented.

Scenarios 5-8: Outpatient/clinic sequencing

Scenario 5. Annual wellness visit. During the exam, the physician documents hypertension for the first time and initiates treatment.

First-listed: Z00.00 (encounter for general adult medical examination). The reason for the visit was the wellness exam. Hypertension identified during the visit is coded as an additional diagnosis if documented as a current condition to be managed.

Scenario 6. Urgent care visit for UTI symptoms. Urinalysis confirms UTI. Physician prescribes antibiotics.

First-listed: UTI code. The presenting complaint and confirmed condition are the same. Straightforward sequence.

Scenario 7. Clinic visit for diabetes management. The physician also examines and documents a diabetic foot ulcer.

First-listed: diabetes code. The reason for the visit was diabetes management. The foot ulcer, also assessed and documented during the visit, is added as a secondary code. Both conditions were managed during the encounter.

Scenario 8. Patient presents with shortness of breath. Workup ordered but not yet complete at time of documentation. Pleural effusion is identified.

Here is what actually happens: if the diagnosis is confirmed before the encounter ends, code the confirmed condition (pleural effusion) as first-listed. If the diagnosis remains uncertain at the time of coding, code the presenting symptom (shortness of breath). Outpatient rules prohibit coding uncertain diagnoses as confirmed.


Sources

  • CMS ICD-10-CM Official Guidelines for Coding and Reporting, Section II (Principal Diagnosis) and Section IV (Outpatient)
  • AAPC ICD-10-CM guidelines resource
  • medicalbillingandcoding.org: Using ICD-10-CM

Test your diagnosis sequencing: 5-question drill, no account needed.

Practice now in Blitz mode


Related: ICD-10 Excludes1 vs Excludes2 | NCCI Bundling and Modifier 59 | CPC Exam Complete Guide | CPT Excision Guidelines | CPC Exam Body Systems

Sources & References

  1. CMS ICD-10-CM Official Guidelines for Coding and Reporting
  2. CMS ICD-10-CM Tabular List and Index
  3. AAPC ICD-10-CM Coding Resources

Frequently Asked Questions

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

Principal diagnosis is the inpatient term: the condition established after study to be chiefly responsible for the admission. First-listed diagnosis is the outpatient term: the condition that is the primary reason for the visit. They are similar concepts but apply to different care settings and are governed by different sections of the CMS Guidelines.

Can a symptom be the principal diagnosis?

Yes. In inpatient settings, when no definitive diagnosis is established after study, a symptom may serve as the principal diagnosis. In outpatient settings, an uncertain diagnosis cannot be coded as if confirmed: code the symptom or sign instead.

What are secondary diagnoses?

Secondary diagnoses are conditions that affect the patient's care or management during the encounter or stay. Comorbidities, complications, and conditions requiring monitoring all qualify. Incidental findings that do not affect care are not coded.

How do combination codes affect sequencing?

When a combination code captures two related conditions (for example, diabetes with diabetic nephropathy E11.21), use the single combination code. Do not add a separate code for each element of the combination. Splitting a valid combination code is a common CPC exam trap.

Test Your Knowledge

5 quick questions on this topic.

ICD-10 sequencingprincipal diagnosissecondary diagnosisCPC examdiagnosis coding

Related Articles

Ready to practice?

Test your CPC knowledge with real exam-style questions. Free to start.

Start Blitz Mode
CAP Petite Enfance Pratique

Install the app in 3 steps

It's quick, we promise!

  1. 1

    Appuyez sur le bouton Share

    At the bottom of your Safari screen

  2. 2

    Scroll down and tap On the home screen

  3. 3

    Confirmez en appuyant sur Add