Skip to content
MedicalCoreCoding

Try a topic like assisted living, critical care or a code like 99214.

ICD-10-CM

Chapter 1: Infectious and Parasitic Diseases (A00–B99)

How to code sepsis from first signs to septic shock, handle HIV and COVID-19, and add organism and resistance codes in the right place.

  • 7 min read
  • Updated
On this page · 7 sections

Part 1 of 5

One infection, four levels

Sepsis is the body's whole-system reaction to an infection. The classification gives each level its own code, and each level is built on the one below it.

Picture it · the sepsis staircase

1Localized infectionJ18.92SepsisA41.93Severe sepsisR65.204Septic shockR65.21
  1. 1. Localized infection J18.9Pneumonia, UTI, cellulitis. No sepsis documented.
  2. 2. Sepsis A41.9Systemic infection. Organism known? Use A41.01, A41.51 and so on.
  3. 3. Severe sepsis R65.20Sepsis with acute organ dysfunction. Add the organ code (N17.9, J96.00).
  4. 4. Septic shock R65.21Circulatory failure with severe sepsis. Never first-listed.
Each step up adds a code to the one below it. The systemic infection code (A41.-) always comes first; the R65.2- code and organ codes follow.

The rules sit in guideline I.C.1.d. In plain words:

  • Sepsis. Assign the code for the underlying systemic infection. If the organism is not stated, that is A41.9, Sepsis, unspecified organism. A named organism has its own code (for example A41.01 for methicillin susceptible Staphylococcus aureus, A41.51 for E. coli).
  • Severe sepsis means sepsis with acute organ dysfunction. You need at least two codes: the systemic infection first, then R65.20, then a code for each organ that is failing. The Tabular List note at R65.2 says "use additional code to identify specific acute organ dysfunction", for example acute kidney failure (N17.-) or acute respiratory failure (J96.0-).
  • Septic shock is circulatory failure with severe sepsis. Sequence the infection, then R65.21, then the other organ codes.
  • An R65.2- code can never be the principal diagnosis. Septic shock cannot either (I.C.1.d.2, I.C.1.d.3).
Example

E. coli urinary sepsis with kidney injury

The patient is admitted with sepsis due to E. coli from a urinary tract infection. The note says the acute kidney injury is due to the sepsis.

  1. A41.51: sepsis due to E. coli (the systemic infection comes first)
  2. R65.20: severe sepsis, because an organ is failing from the sepsis
  3. N17.9: the acute kidney injury
  4. N39.0: the localized infection (urinary tract infection)
  5. B96.20: the organism for N39.0, which carries a "use additional code" note for the infectious agent

Septic shock would change step 2 to R65.21.

Sepsis with a localized infection

Guideline I.C.1.d.4 turns on when sepsis appears:

SituationFirst-listedThen
Admitted with sepsis and a localized infection such as pneumoniaSepsis code (A41.-)The localized infection code
Admitted with pneumonia; sepsis develops after admissionPneumonia codeSepsis (and severe sepsis) codes
Severe sepsis arises during the stay (not present on admission)The reason for the admissionInfection and R65.2- as secondary

Look-alikes that are not sepsis

  • Bacteremia (bacteria in the blood without sepsis) is R78.81. It is not a sepsis code, and A41 has an Excludes1 note for bacteremia NOS.
  • Urosepsis is not a diagnosis the Index can code. It has no default code, so the coder must query the provider (I.C.1.d.1.a.ii).
  • Negative blood cultures do not rule out sepsis when the provider documents it, but the guideline says the provider should be queried (I.C.1.d.1.a.i).
  • Sepsis from a procedure. Code the postprocedural infection first (for example T81.41XA, superficial incisional infection), then T81.44XA, sepsis following a procedure, then the organism. If septic shock follows, use T81.12XA, not R65.21 (I.C.1.d.5).
  • Sepsis from a non-infectious cause such as a burn or injury: if that condition is the principal diagnosis, it goes first, then the infection (I.C.1.d.6). Do not add R65.1- when you use R65.2-.

Part 2 of 5

Which HIV code?

Guideline I.C.1.a. HIV is coded only when confirmed. "Confirmed" does not need a lab result in the record: the provider's statement that the patient is HIV positive or has an HIV-related illness is enough. This is an exception to the inpatient rule that lets you code "probable" diagnoses (Section II.H).

The record saysCodeWhy
AIDS, HIV disease, or any HIV-related illnessB20I.C.1.a.2.a. Once an HIV-related illness has appeared, B20 for life.
HIV positive, no symptoms or related illnessZ21I.C.1.a.2.e. B20 and Z21 have Excludes1 notes against each other.
Inconclusive HIV test resultR75I.C.1.a.2.f. Never used once B20 has been diagnosed.
HIV-positive person managed on antiretrovirals, no related illnessZ21 (and optionally Z79.899)I.C.1.a.2.j
Asymptomatic person tested for HIV (screening)Z11.4I.C.1.a.2.i. Not used if HIV signs or symptoms are present.
HIV exposure prevention medicine (PrEP) visitZ29.81I.C.1.a.2.k, plus codes for any documented risk factors.

Sequencing

  • Admitted for an HIV-related condition: B20 first, then each HIV-related condition (I.C.1.a.2.b). The note at B20 says to use additional codes for all manifestations.
  • Admitted for something unrelated (such as a broken wrist): the unrelated condition is first and B20 is a secondary diagnosis (I.C.1.a.2.c).
  • Newly diagnosed or not does not change the order (I.C.1.a.2.d).
  • Pregnancy: an O98.7- code comes first, then B20 or Z21 (I.C.1.a.2.h).
  • Symptoms and a test: a patient with signs of HIV who comes for testing gets the signs and symptoms coded, with Z71.7 added if counselling is given. Z11.4 is not used (I.C.1.a.2.i).
Example

Well-controlled HIV and a broken wrist

A patient with documented AIDS falls and breaks the lower end of the right radius (closed). The injury is the reason for the admission.

  1. S52.501A: unspecified fracture of the lower end of right radius, initial encounter (the unrelated condition is first)
  2. B20: HIV disease, as a secondary diagnosis

Part 3 of 5

Confirmed only

Guideline I.C.1.g.1. Code U07.1 only when the provider documents COVID-19. A positive test is not required in the record, but the diagnostic statement is.

  • "Suspected," "possible," "probable" or "inconclusive" COVID-19: do not assign U07.1. Code the signs and symptoms instead (cough R05.1, fever R50.9, shortness of breath R06.02). If there is also actual or suspected exposure, add Z20.822.
  • A positive test in a person with no symptoms and no provider diagnosis: query the provider, because a false positive is possible (I.C.1.g.1.h).
  • Sequencing: U07.1 first, then the manifestation codes (I.C.1.g.1.b), unless another guideline sets the order, such as obstetrics, sepsis or transplant complications.

Manifestation codes that go with U07.1

Documented asAdd to U07.1
Pneumonia due to COVID-19J12.82
Acute bronchitis due to COVID-19J20.8
Lower respiratory infection NOSJ22
ARDS due to COVID-19J80
Acute respiratory failureJ96.0- (fifth character for hypoxia, etc.)

Other COVID encounters

  • Exposure, no illness: Z20.822
  • Screening, including pre-operative testing: Z11.52
  • Past COVID-19: Z86.16
  • Follow-up after resolved COVID-19, negative test, no leftover problems: Z09 with Z86.16

Part 4 of 5

Add the organism when the code does not name it

Some infections live in other chapters (UTI, cellulitis, cholecystitis), and their codes do not say which germ caused them. Guideline I.C.1.b: add a code from B95 (strep, staph, enterococcus), B96 (other bacteria) or B97 (viruses) after the infection code. The Tabular List tells you with a "use additional code" note.

Example

Cellulitis with an organism

Cellulitis of the right lower leg due to methicillin susceptible Staphylococcus aureus.

  • L03.115: cellulitis of right lower limb
  • B95.61: MSSA as the cause of a disease classified elsewhere

MRSA

Guideline I.C.1.e.

  • Combination code exists (sepsis A41.02, pneumonia J15.212): use only that code. Do not add B95.62 and do not add Z16.11.
  • No combination code (wound infection, urinary tract infection, cellulitis): code the condition plus B95.62. Still no Z16.11.
  • Colonization or carrier (for example "MRSA nasal swab positive", no infection): Z22.322. The same for MSSA is Z22.321.
  • Both colonization and infection in one admission: Z22.322 and the MRSA infection code may both be assigned.

Resistance to other drugs (Z16)

Guideline I.C.1.c: when the record says an infection is resistant to an antibiotic, add a code from Z16 after the infection code, but only when the infection code does not already show resistance. Z16 has a "code first the infection" note, and an Excludes1 note for MRSA sepsis, MRSA pneumonia and A49.02.

Example

ESBL E. coli urinary infection

A urinary tract infection due to E. coli that the provider documents as ESBL (extended spectrum beta lactamase) resistant.

  1. N39.0: urinary tract infection
  2. B96.20: E. coli as the cause
  3. Z16.12: ESBL resistance

Part 5 of 5

Practice cases

Pick the codes, then read why each answer is right or wrong.

questions
12questions
exam time
15 minexam time
to pass
70%to pass
Choose a mode

End of the chapter: check what you remember

  • Sepsis: code the systemic infection first (A41.-), then R65.20 or R65.21 and one code for each acute organ dysfunction
  • A localized infection such as pneumonia goes first only when sepsis was not there at admission
  • HIV: B20 for AIDS or any HIV-related illness, Z21 for a positive person with no illness, R75 for an inconclusive test
  • COVID-19 is coded only when the provider confirms it; otherwise code the symptoms
  • Organism and resistance codes (B95-B97, Z16.-) are add-ons, and MRSA combination codes already say it all
Take the ICD-10-CM practice test12 questions on the ICD-10-CM guidelines