Table of Contents
Principal diagnosis and first-listed diagnosis are two separate terms used in two different healthcare settings, and they are governed by two different sections of the ICD-10-CM Official Guidelines. Using the wrong term — or applying the wrong selection rules — is one of the most predictable mistakes on the CPC exam, and the exam writers design questions specifically to catch this error.
The distinction matters because the rules for selecting each one are fundamentally different. The principal diagnosis is determined after the patient has been fully evaluated during an inpatient admission. The first-listed diagnosis reflects the reason the patient showed up for an outpatient visit. Same patient, same complaint — different settings produce different diagnosis selections. This guide covers both terms in detail, explains the selection rules for each, and shows you the exam patterns that test this distinction. For a broader comparison of inpatient and outpatient rules, see Outpatient vs Inpatient Coding Guidelines.
Definitions Side by Side
Understanding starts with the precise definitions from the ICD-10-CM guidelines.
| Term | Setting | Guideline Section | Definition |
|---|---|---|---|
| Principal Diagnosis | Inpatient | Section II | The condition established after study to be chiefly responsible for occasioning the admission of the patient to the hospital for care |
| First-Listed Diagnosis | Outpatient | Section IV | The diagnosis, condition, problem, or other reason for the encounter shown in the medical record to be chiefly responsible for the services provided |
The key phrase in the principal diagnosis definition is “after study.” This means the coding decision happens at the end of the admission, after all tests, evaluations, and treatments are complete. The physician reviews everything that happened during the stay and determines which condition was primarily responsible for the admission.
The key phrase in the first-listed diagnosis definition is “chiefly responsible for the services provided.” This means the coding decision is based on the reason for the encounter — why the patient came in and what services were delivered during that specific visit.
Principal Diagnosis — Inpatient Rules (Section II)
The principal diagnosis applies exclusively to inpatient hospital admissions. Section II of the ICD-10-CM coding guidelines contains the selection rules.
The “After Study” Requirement
The principal diagnosis is not necessarily the admitting diagnosis. A patient may be admitted with chest pain (the admitting diagnosis), but after a two-day workup, the discharge summary may identify acute myocardial infarction as the condition that caused the admission. In this case, acute myocardial infarction is the principal diagnosis — it was established after study.
This “after study” concept is critical because it means the principal diagnosis can change during the course of the admission as more clinical information becomes available. The final determination happens at discharge when the attending physician documents the discharge summary.
Uncertain Diagnoses as Principal Diagnosis
In the inpatient setting, if the diagnosis at discharge is documented as “probable,” “suspected,” “likely,” “questionable,” “possible,” or “rule out,” you code it as if confirmed. This means an uncertain diagnosis can serve as the principal diagnosis in inpatient coding. This rule is the opposite of the outpatient rule and is one of the most heavily tested distinctions on the CPC exam.
Example: A patient is admitted with abdominal pain. After imaging and lab work, the discharge summary states “probable acute cholecystitis.” In inpatient coding, acute cholecystitis is the principal diagnosis — you code it as confirmed per Section II guidelines.
Two or More Conditions Equally Meeting the Definition
When two or more diagnoses equally meet the criteria for principal diagnosis, either may be sequenced first. There is no guideline mandate for which one takes priority when they are truly equal. However, if coding conventions or specific guidelines provide sequencing direction (such as “Code first” instructions), those override the coder’s choice.
Two or More Comparative or Contrasting Conditions
When the attending physician documents two or more comparative or contrasting diagnoses (such as “gastritis vs. peptic ulcer”), either condition may be sequenced first. Both conditions are coded as if confirmed per the uncertain diagnosis rule.
Symptoms Followed by Contrasting Diagnoses
When a symptom is followed by contrasting or comparative diagnoses, the symptom code is sequenced first, followed by the contrasting diagnoses. However, coding conventions in the Tabular List may override this general rule.
Original Treatment Plan Not Carried Out
If the patient is admitted for a specific procedure but the procedure is not performed due to a change in clinical status or other circumstances, the condition that prompted the planned procedure is still the principal diagnosis. The fact that the procedure was canceled does not change the principal diagnosis selection.
First-Listed Diagnosis — Outpatient Rules (Section IV)
The first-listed diagnosis applies to all outpatient encounters including physician offices, clinics, ambulatory surgery centers (ASCs), emergency departments, hospital outpatient departments, observation stays, and urgent care centers. Section IV of the guidelines contains the selection rules.
Reason for the Encounter
The first-listed diagnosis is the condition chiefly responsible for the services provided during the encounter. Unlike the principal diagnosis, it is not determined “after study” — it reflects the reason the patient presented and the services delivered during that specific visit.
Example: A patient presents to the physician’s office with a sore throat. The physician performs an examination and a rapid strep test. The test is negative, but the diagnosis is documented as “pharyngitis.” The first-listed diagnosis is pharyngitis — that is what drove the services provided.
Uncertain Diagnoses Are Never First-Listed
In outpatient coding, you never code diagnoses qualified as probable, suspected, rule out, questionable, or working diagnosis. Instead, you code the signs and symptoms that are documented and known. This is the fundamental difference from inpatient coding.
Example: A patient presents to the emergency department with headache and visual disturbances. The ED physician documents “rule out temporal arteritis” and orders labs. The first-listed diagnosis is the headache (or a more specific headache code), not temporal arteritis — because the diagnosis has not been confirmed.
Outpatient Surgery
For outpatient surgery, code the reason for the surgery as the first-listed diagnosis. If the postoperative diagnosis is known and differs from the preoperative diagnosis, code the postoperative diagnosis as the first-listed because it is the most definitive.
Example: A patient is scheduled for excision of a suspicious skin lesion (preoperative diagnosis: skin lesion). Pathology returns during the encounter showing basal cell carcinoma (postoperative diagnosis). The first-listed diagnosis is basal cell carcinoma because it is the most definitive diagnosis.
Chronic Conditions in Outpatient Settings
Chronic conditions that are managed, treated, or monitored during the visit should be coded. Chronic conditions that are documented in the medical record but not addressed during the encounter should not be coded. This is different from inpatient coding, where chronic conditions affecting care during the admission are reported.
Encounters for Circumstances Other Than Disease
When a patient presents for a service other than treatment of an active disease — such as a screening exam, vaccination, or aftercare visit — a Z-code is typically the first-listed diagnosis.
Key Differences Summarized
| Selection Factor | Principal Diagnosis (Inpatient) | First-Listed Diagnosis (Outpatient) |
|---|---|---|
| Timing of determination | After study — at discharge | At the time of the encounter |
| Uncertain diagnoses | Code as if confirmed | Never code — use signs/symptoms |
| Basis for selection | Condition chiefly responsible for the admission | Reason for the encounter / services provided |
| Guideline section | Section II | Section IV |
| Applies to | Hospital inpatient admissions only | Physician offices, clinics, ASCs, EDs, observation, outpatient hospitals |
| Chronic conditions | Code if they affect care during the stay | Code only if addressed during the visit |
| Can it change? | Yes — evolves during the admission as workup proceeds | No — based on the encounter as documented |
How the CPC Exam Tests This Distinction
The CPC exam tests principal vs first-listed diagnosis in several predictable patterns. Recognizing these patterns from your practice exams will help you answer faster.
Pattern 1 — The Terminology Trap
The question describes an outpatient scenario and asks you to identify the “principal diagnosis,” or describes an inpatient scenario and asks for the “first-listed diagnosis.” The correct answer uses the proper terminology for the setting described. If the scenario is an office visit, the answer choices that use “principal diagnosis” language are incorrect by definition.
Pattern 2 — The Uncertain Diagnosis Switch
The question presents a clinical scenario with a documented “probable” or “suspected” diagnosis. One answer choice codes the uncertain diagnosis (correct for inpatient), and another codes the signs/symptoms (correct for outpatient). You must identify the setting to determine which answer is correct. The CPC exam primarily tests outpatient scenarios, so the signs/symptoms answer is more frequently correct — but read the scenario carefully.
Pattern 3 — The Chronic Condition Trap
An outpatient scenario lists multiple documented chronic conditions alongside the reason for the visit. The question asks which diagnoses to report. The correct answer includes only the conditions addressed during the encounter — unaddressed chronic conditions are not coded in outpatient settings.
Pattern 4 — Outpatient Surgery Sequencing
The question presents a surgical scenario where the preoperative diagnosis differs from the postoperative diagnosis. The correct first-listed diagnosis is the postoperative diagnosis because it is the most definitive.
Common Mistakes to Avoid
Using “principal diagnosis” in an outpatient context. The term principal diagnosis applies only to inpatient admissions. In outpatient settings, the correct term is first-listed diagnosis. Using the wrong terminology signals confusion about which guideline section governs the scenario.
Coding uncertain diagnoses in outpatient settings. This is the number one mistake. In outpatient coding, probable, suspected, and rule-out diagnoses are never coded. Code the signs and symptoms instead.
Assuming the admitting diagnosis equals the principal diagnosis. The principal diagnosis is determined after study, not at the time of admission. A patient admitted for chest pain may have a principal diagnosis of acute myocardial infarction — determined after the workup is complete.
Coding unaddressed chronic conditions in outpatient visits. Just because a chronic condition appears in the medical record does not mean it should be coded on every outpatient visit. It must be managed, treated, or monitored during that specific encounter.
Practical Application
Consider a patient with documented abdominal pain and a notation of “suspected appendicitis.”
If this is an inpatient admission: The principal diagnosis is appendicitis — coded as confirmed per inpatient rules. The abdominal pain is not coded separately because the definitive diagnosis explains the symptom.
If this is an outpatient encounter (such as an ED visit without admission): The first-listed diagnosis is abdominal pain — coded as a sign/symptom because appendicitis has not been confirmed. The suspected appendicitis is not coded.
This single example demonstrates every major difference between the two terms. If you understand this example thoroughly, you can answer most CPC exam questions about diagnosis selection correctly. For the complete set of ICD-10-CM sequencing rules that apply after the first diagnosis is selected, see the linked guide.
5 quick questions drawn from this guide. Click an answer to check it — explanations appear as you go.
1. The principal diagnosis is defined (UHDDS) as the condition:
2. “Principal diagnosis” applies to which setting?
3. If two conditions equally meet the definition of principal diagnosis, the coder may:
4. For outpatient surgery, if a diagnosis is documented, the first-listed diagnosis is:
5. A frequent mistake with these terms is:
Frequently Asked Questions
What is the difference between principal diagnosis and first-listed diagnosis?
Principal diagnosis is used in inpatient coding and is defined as the condition established after study to be chiefly responsible for the admission. First-listed diagnosis is used in outpatient coding and is the condition chiefly responsible for the services provided during the encounter. They are governed by different guideline sections and follow different selection rules, particularly regarding uncertain diagnoses.
Can a probable diagnosis be the first-listed diagnosis?
No. In outpatient coding, diagnoses documented as probable, suspected, questionable, or rule out are never coded. You code the confirmed signs, symptoms, or conditions instead. A probable diagnosis can only be coded as if confirmed in the inpatient setting, where it can serve as the principal diagnosis.
Is the emergency department considered inpatient or outpatient?
The emergency department is an outpatient setting. Patients in the ED use the first-listed diagnosis and follow Section IV outpatient coding guidelines unless they receive a formal inpatient admission order. Even if the patient stays overnight in the ED or is placed in observation, they remain outpatient unless formally admitted.
Does the CPC exam test inpatient or outpatient diagnosis selection?
The CPC exam primarily tests outpatient coding and first-listed diagnosis selection since CPCs typically work in outpatient settings. However, the exam regularly includes questions that test whether you understand the difference between inpatient and outpatient rules, so you need to know both sets of selection criteria.
What diagnosis is first-listed for outpatient surgery?
For outpatient surgery, the reason for the surgery is the first-listed diagnosis. If the postoperative diagnosis differs from the preoperative diagnosis, the postoperative diagnosis is coded as first-listed because it is the most definitive. For example, if a patient undergoes excision of a lesion and pathology reveals malignancy, the malignancy is the first-listed diagnosis.
