> "You are never going to know every body system. You are going to know how to walk into one."
Prerequisites
- 7
- 8
- 9
Learning Objectives
- Apply a repeatable method for approaching a body system you have not coded before.
- Code infectious disease, including the organism question and the sepsis sequencing rules.
- Use the Table of Neoplasms correctly and sequence neoplasm encounters, including chemotherapy.
- Distinguish an active malignancy from a personal history code and say what changes.
- Apply the diabetes conventions, including the 'with' convention in operation.
- Code anemia associated with other conditions and apply the sequencing instructions.
- Recognize the structure of the mental and behavioral chapter and its documentation demands.
- Apply the pain coding rules, including when a G89 code is used and how it sequences.
In This Chapter
- Overview
- Learning Paths
- 10.1 How to approach an unfamiliar body system
- 10.2 Infectious and parasitic disease, and the organism question
- 10.3 Sepsis, severe sepsis, and septic shock: the sequencing that trips everyone
- 10.4 Neoplasms and the Table: behavior, site, and the six columns
- 10.5 Primary, secondary, and the history codes that replace them
- 10.6 Endocrine: diabetes and the "with" convention in practice
- 10.7 Blood and blood-forming organs
- 10.8 Mental, behavioral, and neurodevelopmental disorders
- 10.9 The nervous system, pain coding, and the G89 category
- 10.10 Five charts, coded
- 🗂️ The Encounter
- Conclusion
- Key Terms
- Spaced Review
Chapter 10: Coding Common Conditions: Infectious Disease, Neoplasms, Endocrine, Blood, Mental Health, and the Nervous System
"You are never going to know every body system. You are going to know how to walk into one." — constructed
Overview
This is the first chapter where you code charts.
Chapters 7, 8, and 9 built the machinery: the structure, the lookup, the rules. Here it meets six ICD-10-CM chapters and the specific guidance that governs each — the part of the Official Guidelines called Section I.C, which is by far the longest part of the document and the part where the actual arguments live.
A word about how to read this chapter and the two after it. There is no useful way to teach every condition in six body systems, and this book will not pretend to. What these chapters do is different and more durable: they teach the rules that decide the cases that get argued about, and they teach a method for entering a system you have never coded.
So you will find sepsis here in detail, because sepsis sequencing is genuinely hard and genuinely tested. You will find the neoplasm table walked completely, because it is the most-used table in the book. You will find the diabetes conventions in operation, because Chapter 9 gave you the "with" rule and this is where you watch it work. And you will not find an exhaustive tour of endocrinology, because that is what the code book is for.
Every code in this chapter is illustrative and must be verified in the current year's book. ICD-10-CM changes every October 1, and the chapter-specific guidelines change with it.
In this chapter, you will learn to:
- Apply a repeatable method for an unfamiliar body system
- Code infectious disease, the organism question, and sepsis sequencing
- Use the Table of Neoplasms and sequence neoplasm encounters
- Distinguish active malignancy from personal history
- Apply the diabetes conventions in practice
- Code anemia with its sequencing instructions
- Recognize what the mental and behavioral chapter demands of documentation
- Apply the pain coding rules and the G89 category
Learning Paths
🎓 Certification — §10.3 (sepsis) and §10.4 (the neoplasm table) are the two most heavily tested sections in Part II. §10.6 and §10.9 follow closely.
💼 New Coder — §10.1 is the method you will use for the rest of your career. Then work every
🔢 Code Itin the chapter before reading its answer.💵 Biller / AR — §10.5 (history versus active) and §10.9 (pain) explain two common categories of denial. Skim the rest.
🏥 Practice Manager — §10.6, because diabetes coding is where most primary care practices lose the most specificity, and Chapter 36 puts a number on it.
10.1 How to approach an unfamiliar body system
You will be handed a chart from a specialty you have never coded. This is the method.
ENTERING A BODY SYSTEM YOU DO NOT KNOW — six steps
1. READ THE CHAPTER'S GUIDELINES FIRST.
Section I.C, the chapter for this body system. Before you open
the Tabular. Fifteen minutes, and it tells you which arguments
the classification has already had.
2. READ THE CHAPTER'S OPENING NOTES in the Tabular.
Includes, Excludes1, Excludes2, and any "use additional code"
at the CHAPTER level. These govern everything below.
3. SKIM THE BLOCK HEADINGS.
Twenty seconds. It tells you how the chapter is carved up and
where your condition probably lives.
4. FIND THE COMBINATION CODES.
Most chapters have a few, and they are where the specificity
and the money are. Ch. 7 §7.8.
5. FIND THE SEQUENCING RULES.
Which conditions have a fixed order? Which have "code first"?
Most chapters have two or three and they generate most errors.
6. NOW CODE THE CHART.
Index → Tabular, as always.
── AND WHAT NOT TO DO ──────────────────────────────────────────
Do not start by looking up the condition. You will land in the
right category with none of the context that governs it.
Step 1 is the one people skip and it is the highest-yield fifteen minutes available. Section I.C's chapter-specific guidance exists because the Cooperating Parties found that these particular body systems generate recurring disputes. Reading it first means you meet the answer before you meet the question.
This chapter and the next two are, in effect, step 1 done for you across twelve body systems. Then you do it yourself for the thirteenth.
10.2 Infectious and parasitic disease, and the organism question
Chapter 1 of ICD-10-CM: A00–B99.
Remember §7.2: chapters 1 through 5 are organized by etiology or category of disease, not by body system, and they take precedence. An infection classified by its organism lives here, not in the chapter for the organ it infected.
But not every infection lives here, and the distinction is the first thing to get right.
| Where an infection is coded | Example |
|---|---|
| Chapter 1, when the classification files it there by organism or disease | tuberculosis, HIV disease, most systemic infections |
| The body-system chapter, when the classification files it by site | most pneumonias (chapter 10), most urinary tract infections (chapter 14), cellulitis (chapter 12) |
The Tabular decides, not you. A great many site-specific infections are coded from the body-system chapter with an additional code from chapter 1 to identify the organism, and the instruction to do so is printed at the category.
The organism question
The recurring pattern across infectious disease:
Code the infection, then use an additional code to identify the infectious agent — when the Tabular instructs it and when the organism is documented.
Both conditions matter. The instruction has to be there, and the organism has to be documented. A urine culture in the record showing an organism is not the same as the provider documenting the infection as caused by it — although in practice the two are frequently connected, and where the Tabular's "use additional code" instruction exists, a documented culture result identifying the organism is generally usable.
Where the organism is not documented, you code the infection without it. That is an unspecified code (Chapter 7 §7.9), it is correct, and it is a candidate for a query where the record contains a result the provider has not tied to the diagnosis.
HIV — the rule that catches everyone
The HIV guidance is specific, examined constantly, and has one feature that surprises people.
| Documentation | Code |
|---|---|
| HIV-related illness, or a documented HIV-related condition | B20, HIV disease |
| Asymptomatic HIV infection with no HIV-related illness ever documented | Z21, asymptomatic HIV infection status |
| Inconclusive serology, no diagnosis | the inconclusive-serology code |
And the rule that catches everyone: once a patient has been assigned B20, they are always assigned B20. A patient who has had an HIV-related condition does not revert to Z21 when that condition resolves. Z21 is for patients who have never had one.
Sequencing: where a patient is admitted or seen for an HIV-related condition, B20 is sequenced first, followed by the codes for the related conditions. Where the patient is seen for an unrelated condition, that condition is sequenced first and B20 follows.
⚖️ Compliance Check
HIV status is protected in ways other diagnoses are not.
Beyond HIPAA's general protections (Chapter 5 §5.7), many states have specific statutes governing disclosure of HIV status, with requirements that exceed the federal baseline and that sometimes require separate written authorization for disclosures HIPAA would permit under treatment, payment, or operations.
For a coder this is mostly a minimum necessary question with sharper edges: an appeal packet, a records release, or a query that discloses HIV status where it is not needed for the purpose is a more serious exposure than the same disclosure of an unremarkable diagnosis.
Know your state's rule. This is one of the places where "verify locally" is not boilerplate.
10.3 Sepsis, severe sepsis, and septic shock: the sequencing that trips everyone
The single most tested sequencing in ICD-10-CM, and the one that most reliably separates coders who have read Section I.C from those who have not.
The three states, and why they are different
| What it is | How it is coded | |
|---|---|---|
| Sepsis | a systemic infection | the code for the underlying systemic infection |
| Severe sepsis | sepsis with associated acute organ dysfunction | the infection code, plus a severe sepsis code, plus a code for each acute organ dysfunction |
| Septic shock | circulatory failure associated with severe sepsis | the infection code, plus the septic shock code, plus the organ dysfunction codes |
The rules, in the order you apply them
1. Code the underlying systemic infection first. If the organism is documented, code it
specifically. If not, A41.9 — sepsis, unspecified organism — is available and is correct where the
record does not specify.
2. Sepsis alone does not get a severe sepsis code. This is the error that produces most of the
overcoding in this area. Severe sepsis requires documented acute organ dysfunction. No organ
dysfunction, no R65.2- code.
3. Severe sepsis requires a minimum of two codes, and usually three or more: the underlying
infection, then R65.20 (severe sepsis without septic shock) or R65.21 (with septic shock), then a
code for each acute organ dysfunction.
4. The associated organ dysfunction must be documented as associated with the sepsis. If the documentation does not link them — and this is a genuine and common ambiguity — query. The organ dysfunction may be due to something else entirely.
5. Septic shock is coded as R65.21 and, per the guidance, indicates the presence of severe
sepsis; the underlying systemic infection is still sequenced first.
SEPSIS SEQUENCING — the decision
Is there a documented systemic infection?
│
└─ YES ──► CODE THE INFECTION FIRST. Always.
│
▼
Is there documented ACUTE ORGAN DYSFUNCTION
associated with the sepsis?
│
├─ NO ───► DONE. Sepsis alone.
│ Do NOT add a severe sepsis code.
│
└─ YES ──► Add R65.20 (severe sepsis without shock)
│ or R65.21 (with septic shock)
│
▼
Add a code for EACH acute organ
dysfunction documented.
── AND THE ONE TO QUERY ────────────────────────────────────
Organ dysfunction documented, but NOT documented as
associated with the sepsis. Do not assume the link.
The dysfunction may be due to something else.
🔢 Code It
Four sepsis scenarios. [constructed teaching examples; verify all codes currently]
(a) "Sepsis due to Escherichia coli." Nothing else documented. → The E. coli sepsis code. One code. No severe sepsis code — no organ dysfunction documented.
(b) "Sepsis, organism unknown. Acute respiratory failure secondary to sepsis." → A41.9 (sepsis, unspecified organism), then R65.20 (severe sepsis without septic shock), then J96.0- for the acute respiratory failure. Three codes, because organ dysfunction is documented and documented as secondary to the sepsis.
(c) "Sepsis, organism unknown. Acute kidney injury." → A41.9. And then a decision. The acute kidney injury is documented; it is not documented as associated with the sepsis. Query. Do not assume the link, and do not assign R65.20 on the strength of two conditions appearing on the same page.
(d) "Septic shock due to Streptococcus pneumoniae pneumonia." → The pneumonia/sepsis codes per the index and Tabular for the underlying infection, then R65.21 (severe sepsis with septic shock), then codes for any documented acute organ dysfunction.
The plausible wrong answers, named:
- Coding R65.20 for scenario (a). Sepsis is not severe sepsis. This is the most common error in the section.
- Sequencing R65.20 first. The underlying infection is always first.
- Assuming the link in scenario (c). Two conditions in one note is not a documented association, and this is Chapter 4 §4.7 in a new costume.
- Coding SIRS. Note that the classification's treatment of systemic inflammatory response syndrome and its relationship to sepsis has been revised over time — verify the current guidance in Section I.C.1 rather than applying a remembered rule.
🎓 Exam Watch
Sepsis appears on every diagnosis credential and the question is almost always one of these:
"How many codes?" — testing whether the candidate adds a severe sepsis code without documented organ dysfunction.
"Which is sequenced first?" — the underlying systemic infection, always.
"The note documents sepsis and acute kidney injury." — testing whether the candidate assumes the association. The answer is that severe sepsis requires the dysfunction to be documented as associated with the sepsis.
The single highest-value thing to hold: sepsis ≠ severe sepsis, and the difference is documented acute organ dysfunction.
10.4 Neoplasms and the Table: behavior, site, and the six columns
Chapter 2 of ICD-10-CM: C00–D49. And the Table of Neoplasms, which Chapter 8 §8.9 introduced and which this section walks properly.
The six columns
THE TABLE OF NEOPLASMS — site down the left, behavior across
┌──────── MALIGNANT ────────┐
SITE Primary Secondary Ca in situ Benign Uncertain Unspecified
behavior behavior
─────────────────────────────────────────────────────────────────────────────────
Colon
sigmoid C18.7 C78.5 D01.0 D12.5 D37.4 D49.0
ROW = the anatomical site ► from the documentation
COLUMN = the BEHAVIOR ► from the PATHOLOGY REPORT or
the provider's documentation
YOU MUST KNOW THE COLUMN BEFORE YOU CAN USE THE TABLE.
A coder who guesses the column has guessed the diagnosis.
The columns, defined:
- Malignant primary — the malignancy's site of origin
- Malignant secondary — a metastatic site; the malignancy spread here from elsewhere
- Carcinoma in situ — malignant cells confined to the layer of origin, not invasive
- Benign — not malignant
- Uncertain behavior — the pathologist could not determine whether it is benign or malignant. This is a specific pathological finding, not a coder's uncertainty.
- Unspecified behavior — the documentation does not say. This is the NOS column (Chapter 8 §8.7), and it means the record is silent.
⚠️ Where Claims Die
Confusing "uncertain behavior" with "unspecified behavior."
They are one column apart in the table and they mean entirely different things.
Uncertain behavior is a pathological conclusion: the specimen was examined and the pathologist could not classify it. That is a real, documented finding.
Unspecified behavior means nobody said. The record does not tell you.
A coder who uses the uncertain-behavior column because they are uncertain has reported a pathological finding that was never made. The distinction is between the pathologist's uncertainty and yours, and only one of them is codeable.
The lookup, and the step that is not optional
The Table of Neoplasms is not the index and it is not the Tabular. It is a locator, and the two-step rule still applies:
- The Alphabetic Index first, actually — because many neoplasms have specific entries by histologic type (the morphology), and where a specific entry exists, it governs over the table. Look up the histologic term the pathology report uses.
- Then the table, by site and behavior, where no specific entry directs otherwise.
- Then the Tabular, always, for the instructional notes.
Step 1 is the one that gets skipped. A coder who goes straight to the table for a specifically named tumor type will land in the right site row with the wrong code, because the classification files many morphologies by name.
Sequencing neoplasm encounters
The rules that decide most real claims:
When treatment is directed at the malignancy, the malignancy is sequenced first.
When the encounter is solely for administration of chemotherapy, immunotherapy, or radiation therapy, the appropriate Z51.- code is sequenced first and the malignancy second. This is one of the clearest sequencing rules in the book and it is examined constantly.
When the encounter is for management of a complication of the malignancy or its treatment — anemia, dehydration, nausea — the guidance addresses each; some complications are sequenced first, and the chapter-specific guidance says which. Read Section I.C.2.
When a primary malignancy has been excised and there is no further treatment directed to it, and no evidence of remaining malignancy — you are in §10.5's territory.
🎓 Exam Watch
The chemotherapy sequencing question is guaranteed. "A patient with colon cancer presents for the sole purpose of receiving chemotherapy. What is sequenced first?"
The Z51.11 encounter code, not the malignancy. The malignancy is second.
The distractor is always the cancer, because it feels like the more important diagnosis. The rule is about the reason for the encounter (Chapter 9 §9.3), and the reason was the chemotherapy.
The variant that catches people: the patient comes for chemotherapy and is treated for dehydration. Now the encounter is not solely for chemotherapy, and Section I.C.2's guidance on complications governs. Read it.
10.5 Primary, secondary, and the history codes that replace them
The distinction that decides whether a patient has cancer.
While the malignancy is active
Code it — primary site, and secondary sites where documented. A patient with metastatic disease has both: the primary and each secondary site, and the sequencing depends on the reason for the encounter.
Where the primary site is unknown, the classification has a code for that. Where the primary was previously excised and metastatic disease remains, the secondary sites are coded as active and the primary becomes a history code.
When it becomes history
When a primary malignancy has been previously excised or eradicated, there is no further treatment directed to that site, and there is no evidence of any remaining malignancy at that site, a code from category Z85 — personal history of malignant neoplasm — is used.
Three conditions, all required: excised or eradicated, no further treatment, no evidence remaining.
A patient on ongoing therapy does not have a history code. Adjuvant chemotherapy is treatment directed to the site. Surveillance imaging alone, with no treatment, generally is not.
ACTIVE MALIGNANCY vs. PERSONAL HISTORY (Z85)
The malignancy is present, Excised or eradicated
or treatment is directed at it AND no further treatment
AND no evidence remaining
► Code the malignancy ► Code Z85.-
────────────────────────────────────────────────────────────────
THE THREE CONDITIONS ARE CONJUNCTIVE. All three, or it is
still active.
────────────────────────────────────────────────────────────────
Why it matters beyond accuracy: a history code and an active malignancy code describe completely different patients to a coverage policy, to a quality measure, and to a risk-adjustment model. Coding an active malignancy for a patient in remission overstates their burden; coding history for a patient in treatment understates it. Both are errors and they are not symmetric in consequence.
10.6 Endocrine: diabetes and the "with" convention in practice
Chapter 4 of ICD-10-CM: E00–E89. And the place where Chapter 9 §9.7 stops being abstract.
The structure
Diabetes mellitus occupies a block of categories, distinguished by cause:
| Category | What it is |
|---|---|
| E08 | Diabetes mellitus due to underlying condition |
| E09 | Drug- or chemical-induced diabetes mellitus |
| E10 | Type 1 diabetes mellitus |
| E11 | Type 2 diabetes mellitus |
| E13 | Other specified diabetes mellitus |
The fourth character identifies the complication category — kidney, ophthalmic, neurological, circulatory, and others — and the fifth and sixth narrow it further. These are combination codes (Chapter 7 §7.8): one code carrying the diabetes, the complication, and the assertion that they are related.
Default: where the type is not documented, the classification defaults to type 2. That is a guideline, it is in Section I.C.4, and it is examined.
The "with" convention in operation
Chapter 9 §9.7 gave you the rule. Diabetes is where you watch it work, because the Alphabetic Index links diabetes to a long list of conditions under "with".
Which means: for those linked conditions, a coder may report the combination code without an explicitly documented causal statement. The classification has already made the judgment.
And the three boundaries still apply, and diabetes is exactly where they get stretched:
- Only the linked conditions. A condition the Index does not list under "with" is not presumed related, no matter how plausible the relationship.
- Documentation stating they are unrelated defeats it.
- Where chapter-specific guidance requires documented linkage, that governs.
🔢 Code It
The diabetes conventions, four ways. [constructed teaching examples]
(a) "Type 2 diabetes mellitus. Stage 3a chronic kidney disease." No stated linkage. The Index links diabetes and chronic kidney disease under "with." → The combination code for type 2 diabetes with diabetic chronic kidney disease, plus the CKD stage code. The classification presumes the relationship. (And note the second code: the combination code identifies the complication category; the stage is reported additionally, and the Tabular instructs it.)
(b) "Type 2 diabetes mellitus. Stage 3a chronic kidney disease, which the patient's nephrologist attributes to long-standing hypertension rather than to diabetes." → Two separate codes. The presumption is defeated by documentation stating the conditions are unrelated. Code the diabetes without the complication and the CKD separately.
(c) "Type 2 diabetes mellitus. Osteoarthritis of the right knee." → Two separate codes, no linkage. The classification does not link these under "with," so Chapter 4 §4.7 governs and a relationship would require documentation. This is Exercise 9.15's point.
(d) "Diabetes mellitus, uncontrolled." Type not documented. → Type 2 by default, per Section I.C.4. And note that "uncontrolled" is not itself a codeable axis — the classification asks about hyperglycemia or hypoglycemia specifically, and "uncontrolled" is a term to query if the specific state matters.
The plausible wrong answers, named:
- Reporting the combination code in (c) because diabetes and joint disease are clinically associated. They are not linked by the classification. Case Study 1 of Chapter 9.
- Defaulting to type 1 in (d). The default is type 2.
- Omitting the CKD stage code in (a). The combination code says diabetic kidney disease; it does not say which stage, and the Tabular instructs the additional code.
Long-term drug therapy
The classification carries status codes for long-term use of insulin and of other antidiabetic agents, and the Tabular instructs their use with certain diabetes categories. The specific codes and their descriptors have been revised — the distinctions among insulin, oral agents, and injectable non-insulin agents have been refined more than once. Verify the current codes and the current instruction rather than applying a remembered pairing.
The general rule to hold: where a patient is on long-term therapy and the Tabular instructs an additional status code, report it. It is easy to omit, it costs nothing on a fee-for-service claim, and Chapter 36 explains what it costs elsewhere.
10.7 Blood and blood-forming organs
Chapter 3 of ICD-10-CM: D50–D89.
Mostly straightforward, with one pattern worth knowing because it recurs and because it has a sequencing instruction.
Anemia associated with another condition
Several anemia codes exist specifically for anemia in another disease process, and they carry "code first" instructions (Chapter 8 §8.6):
| Anemia | Sequencing |
|---|---|
| Anemia in neoplastic disease | Code first the neoplasm |
| Anemia in chronic kidney disease | Code first the underlying chronic kidney disease |
| Anemia due to antineoplastic chemotherapy | Code first the neoplasm, and the adverse effect of the drug |
The pattern: these are manifestation-side codes, the underlying condition is sequenced first, and the Tabular tells you. §8.6.
The error to avoid: coding a generic anemia code when a specific "anemia in…" code exists. It is less specific, it loses the relationship, and the specific code is usually right there in the index under the anemia main term.
And the reverse error: using an "anemia in…" code where the underlying condition is not documented. The code asserts a relationship; the relationship must be supportable.
10.8 Mental, behavioral, and neurodevelopmental disorders
Chapter 5 of ICD-10-CM: F01–F99.
The coding is not structurally difficult. What is difficult is that this chapter demands documentation that clinicians frequently do not produce in the form the classification wants.
What the classification asks for
Specificity along axes clinicians do not always document: severity, episode, presence of psychotic features, remission status, and — for substance-related disorders — use versus abuse versus dependence, which the classification treats as a hierarchy with specific rules about which is reported when more than one is documented.
The substance-use hierarchy is the part to know. The guidance addresses what to do when a patient's record documents more than one level for the same substance, and the general shape is that only one code is assigned, at the level that the documentation supports as most severe. Verify the current guidance in Section I.C.5.
Dementia
The dementia categories were substantially expanded, adding severity levels (mild, moderate, severe) and behavioral and psychological disturbance specifiers. Several dementia codes carry "code first" instructions directing that the underlying physiological condition be sequenced first.
The documentation demand is real: the classification now asks for a severity the record frequently does not state, and the unspecified option exists and costs what §7.9 said it costs.
⚖️ Compliance Check
Mental and behavioral health diagnoses carry heightened confidentiality obligations, and in some circumstances — particularly substance use disorder records from certain federally assisted programs — a separate federal regulation applies with requirements that exceed HIPAA's, including on redisclosure.
For a coder and a biller the practical effects are on minimum necessary and on what goes into an appeal packet or a records release. A substance use disorder diagnosis disclosed where it was not needed is a materially more serious exposure than an ordinary diagnosis, and the applicable rules may not be the ones you learned in HIPAA training.
Verify with your compliance officer, particularly if your organization touches behavioral health or substance use treatment. This is a genuinely specialized area and a summary is not adequate preparation for it.
10.9 The nervous system, pain coding, and the G89 category
Chapter 6 of ICD-10-CM: G00–G99. And the pain rules, which are the most practically useful content in this section for an outpatient coder.
The two kinds of pain code
Site-specific pain codes live in the body-system chapters. Account 10-4471's M25.561 is one:
pain in the right knee, in the musculoskeletal chapter.
Category G89 contains pain codes classified by type and cause rather than by site: acute pain, chronic pain, neoplasm-related pain, postoperative pain, post-thoracotomy pain.
They are used together, and the rules about when and in what order are the tested part.
The rules
1. G89 is not assigned if the underlying (definitive) diagnosis is known, unless the reason for the encounter is pain management rather than management of the underlying condition. That distinction — is this encounter about the pain, or about the disease? — governs most of the section.
2. Where the encounter is for pain control or pain management, the G89 code is sequenced first, and the underlying condition is coded additionally.
3. Where the encounter is for treatment of the underlying condition and pain is incidental, code the underlying condition; G89 is not assigned.
4. Site-specific pain codes and G89 codes may be used together — the site code identifies where, the G89 code identifies the type (acute, chronic, neoplasm-related) — and sequencing depends on the reason for the encounter.
5. Postoperative pain: routine post-surgical pain is not coded; it is expected. Pain that is not routine — documented as such — is coded, and the guidance distinguishes postoperative pain associated with a complication from postoperative pain that is not.
THE PAIN DECISION
Is the definitive underlying diagnosis known?
│
├─ NO ───► Code the SITE-SPECIFIC PAIN code.
│ (Account 10-4471 is here.)
│
└─ YES ──► Is this encounter FOR PAIN MANAGEMENT?
│
├─ YES ──► G89 code FIRST, then the
│ underlying condition.
│
└─ NO ───► Code the underlying condition.
Do NOT assign G89.
Acute versus chronic in G89 is a documentation question the classification does not define by duration. There is no time rule. The provider's documentation of "acute" or "chronic" governs, and where neither is documented, the classification has an unspecified option.
⚠️ Where Claims Die
Assigning a chronic pain code because the pain has lasted a long time.
ICD-10-CM does not define acute versus chronic pain by duration, and a coder who applies a three-month rule they read somewhere is applying a clinical definition the classification did not adopt.
The provider's documentation governs. If the record says chronic, code chronic. If it says nothing, do not supply it — this is Chapter 4 §4.7, and "it has been going on for a year" is inference.
The same trap operates in reverse: a pain documented as chronic that started last week is coded as chronic, because the provider said so.
10.10 Five charts, coded
Work these before reading the reasoning. [All constructed. Verify every code currently.]
Chart 1
Office visit. "Type 2 diabetes mellitus with diabetic peripheral neuropathy, stable on gabapentin. Also stage 3a chronic kidney disease. Continue metformin and lisinopril."
The reasoning. Two complications are in play and they are handled differently. The neuropathy is explicitly documented as diabetic — no convention needed, the provider said so. The chronic kidney disease is not linked, and the "with" convention supplies the presumption (§10.6). Both are addressed at this encounter — the medications are being continued for them. Code the combination codes for both complications, plus the CKD stage code, plus long-term drug therapy status where the Tabular instructs it.
The contrast with Account 10-4471 is exact and worth noticing: there, the CKD appeared on the problem list and was not addressed. Here it is. Chapter 9 §9.7's two questions, answered differently because the note is different.
Chart 2
Emergency department, patient admitted. "Sepsis due to urinary tract infection. Acute kidney injury secondary to sepsis. Blood cultures pending."
The reasoning. Underlying infection first — the UTI-related sepsis code per the index, with organism unspecified since cultures are pending. Then R65.20, because acute organ dysfunction is documented and documented as secondary to the sepsis. Then the acute kidney injury code. Then the UTI itself if the Tabular instructs it. Three to four codes.
What would change it: if the kidney injury were documented without the word "secondary" or any other link, you would query rather than assume (§10.3).
Chart 3
Oncology clinic. "Patient presents for scheduled chemotherapy for sigmoid colon adenocarcinoma. Also has anemia secondary to chemotherapy. Tolerated infusion well."
The reasoning. The encounter is for chemotherapy administration, so the Z51.11 encounter code is sequenced first (§10.4). Then the malignancy. Then the anemia — and note the "code first" instruction attached to the anemia-due-to-chemotherapy code, plus the adverse effect of the drug (§10.7).
The trap: sequencing the cancer first. It is the more serious diagnosis and it is not the reason for the encounter.
Chart 4
Office visit. "Personal history of breast cancer, right, treated with lumpectomy and radiation four years ago. No evidence of recurrence. Surveillance mammogram ordered. Also hypertension, stable."
The reasoning. All three §10.5 conditions are met — excised, no further treatment, no evidence remaining — so this is a Z85 personal history code, not an active malignancy. Plus the encounter code for the screening/surveillance study, plus the hypertension.
The trap: coding the breast cancer as active. Four years, no treatment, no evidence — this patient does not have cancer, and coding it as though they do misdescribes them to every downstream user.
Chart 5
Pain clinic. "Patient with known lumbar spinal stenosis presents for management of chronic low back pain. Epidural steroid injection performed."
The reasoning. The definitive diagnosis is known and the encounter is for pain management — which is §10.9's rule 2. The G89 chronic pain code is sequenced first, then the spinal stenosis, then the site-specific low back pain code if the record supports reporting it additionally.
The trap: coding the stenosis first because it is the "real" diagnosis. The encounter was for pain management, and the guidance is explicit about the sequencing that follows.
🗂️ The Encounter
🗂️ The Encounter
What this chapter contributes: the diabetes line, coded properly and completely.
Chapter 9 established why E11.9 is correct for March 14 — the addressed question, not the linkage question. This chapter puts it in the endocrine chapter's own terms.
```text ACCOUNT 10-4471 — DIAGNOSIS B, in the endocrine chapter's structure
THE NOTE SAYS Assessment 1: "Type 2 diabetes mellitus - stable. Continue metformin 1000 mg twice daily. Hemoglobin A1c ordered today to reassess control." Problem list: Chronic kidney disease, stage 3a Medications: metformin 1000 mg BID
THE STRUCTURE (§10.6) E08 due to underlying condition E09 drug or chemical induced E10 TYPE 1 E11 TYPE 2 ◄── documented E13 other specified
4th character = COMPLICATION CATEGORY E11.9 = "without complications"WHAT E11.9 ASSERTS ► Type 2 diabetes mellitus ► WITHOUT complications
WHAT E11.9 THEREFORE ASSUMES That no diabetic complication was addressed at this encounter. Which is TRUE of this encounter -- the assessment addresses the diabetes itself, orders an A1c, and continues metformin. Nothing else.
AND THE ONE THING TO NOTICE "Stable" is not a codeable axis. Neither is "uncontrolled." The classification asks about hyperglycemia and hypoglycemia SPECIFICALLY, and neither is documented here. E11.9 is correct and there is nothing to query -- the record is complete for what it describes. ```
The long-term drug therapy question. The patient is on metformin. The classification carries status codes for long-term antidiabetic drug therapy, and the Tabular instructs their use with certain categories. Whether one applies here depends on the current instruction attached to E11, and the codes and pairings in this area have been revised more than once — verify the current Tabular instruction rather than applying a remembered rule.
This is a real and unglamorous finding, and it is the kind of thing an internal audit catches: a status code the Tabular instructs, omitted because it does not affect the fee-for-service payment.
What this settles. That E11.9 is correct, complete for this encounter, and requires no query. The record says what it says and the code says the same thing.
What it does not settle. Whether the encounter should have addressed the kidney disease — which is not a coding question at all. Chapter 36 §36.7 takes it up, and the answer involves the word MEAT and a number.
Open questions: Q1, Q5, and Q6 remain open. Q2 stays partially resolved — correct for this encounter, sufficiency deferred to Chapter 36, and this chapter has added nothing that changes either half.
Conclusion
Six body systems, and a method for the seventh.
What was decided in this chapter. A six-step method for entering an unfamiliar body system, whose first step — read the chapter-specific guidelines before you open the Tabular — is the one everyone skips and the highest-yield fifteen minutes available. That chapter 1 of ICD-10-CM does not hold every infection, and the Tabular decides which. The organism question, and its two conditions: the instruction must be there and the organism must be documented. The HIV rules, including that B20 is permanent and Z21 is only for patients who have never had an HIV-related condition. Sepsis sequencing — the underlying infection first, always; sepsis is not severe sepsis; severe sepsis requires documented acute organ dysfunction documented as associated; and where it is not associated, you query rather than assume. The Table of Neoplasms and its six columns, with the distinction between the pathologist's uncertainty and yours, and the step people skip: the index first, for histologic type. The chemotherapy sequencing rule that is guaranteed on every exam. The three conjunctive conditions that convert an active malignancy into a history code. The diabetes structure, the type-2 default, and the "with" convention watched in operation with all three of its boundaries intact. The anemia codes with their "code first" instructions. What the mental and behavioral chapter demands of documentation, and the heightened confidentiality that attaches to it. And the pain rules: G89 versus site-specific, the pain-management question that governs sequencing, and the fact that the classification has no duration rule for chronic pain.
What remains open. Six more body systems, and the ones with the hardest conventions.
The bridge to Chapter 11. Circulatory, respiratory, digestive, musculoskeletal, genitourinary, and obstetrics — and the conventions there are harder than these. Hypertension carries assumed relationships that surprise people. Myocardial infarction has a time rule that actually exists. Chronic kidney disease has a staging convention. Respiratory failure has a sequencing rule that depends on why the patient was admitted. And obstetric coding takes priority over everything, including the body system a condition would otherwise belong to. Chapter 11 is the harder half of applied diagnosis coding.
Key Terms
Neoplasm behavior — the classification of a neoplasm as malignant primary, malignant secondary, carcinoma in situ, benign, uncertain behavior, or unspecified behavior. Determines the Table of Neoplasms column and must be documented. (Ch.10)
Primary site — the site where a malignancy originated. (Ch.10)
Secondary site — a metastatic site to which a malignancy spread. (Ch.10)
Carcinoma in situ — malignant cells confined to the layer of origin, not invasive. (Ch.10)
Uncertain behavior — a pathological conclusion that the specimen could not be classified as benign or malignant. Not the coder's uncertainty. (Ch.10)
Unspecified behavior — the documentation does not state the behavior. (Ch.10)
Sepsis — a systemic infection, coded with the code for the underlying systemic infection. (Ch.10)
Severe sepsis — sepsis with associated acute organ dysfunction; requires the infection code, a severe sepsis code, and a code for each acute organ dysfunction. (Ch.10)
Septic shock — circulatory failure associated with severe sepsis, coded additionally with the underlying infection still sequenced first. (Ch.10)
Personal history of malignant neoplasm (Z85) — used when a primary malignancy has been excised or eradicated, there is no further treatment directed to the site, and there is no evidence of remaining malignancy. All three conditions required. (Ch.10)
Diabetes "with" linkage — the classification's presumption of a causal relationship between diabetes and the conditions the Alphabetic Index links to it under "with," permitting combination coding without an explicit provider statement. Bounded by Chapter 9 §9.7's three limits. (Ch.10)
Anemia in neoplastic disease — an anemia code carrying a "code first" instruction directing the neoplasm to be sequenced first. (Ch.10)
Dementia coding — categories requiring severity and behavioral specifiers, several carrying "code first" instructions for the underlying physiological condition. (Ch.10)
G89 — the category of pain codes classified by type and cause rather than site. Assigned when the underlying diagnosis is unknown, or when the encounter is for pain management. (Ch.10)
Spaced Review
-
A note documents "sepsis, organism unspecified" and "acute respiratory failure." The respiratory failure is not documented as related to the sepsis. State what you code and what you do.
-
(Chapter 9) A patient with type 2 diabetes has osteoarthritis. Neither is linked in the documentation. May you code them as related? Now change the second condition to chronic kidney disease. Explain both answers with the same rule.
-
State the three conditions that must all be met before a malignancy becomes a Z85 history code.
-
(Chapter 7) A patient presents solely for chemotherapy for a known malignancy. What is sequenced first, and what is the general rule it is an instance of?
-
A patient with known lumbar stenosis is seen for management of chronic low back pain. What is sequenced first, and what would change if the encounter had been for the stenosis itself?