United States

Common ICD-10 coding errors: sepsis, 7th characters & OBGYN sequencing

September 30, 2026 | Daniel Doll

Abstract coding and coding audits to help you stay compliant and get paid.

An ARIA specialist assists with a practice's medical coding.

Some parts of ICD-10 trip up even experienced coders, not because the rules change often, but because some of them are genuinely unintuitive.

Sepsis needs a specific code order. The 7th character depends on the patient's clinical status, not which visit number it is. And, OBGYN coding has its own sequencing logic that doesn't work like anything else in the code set.

With helpful insight from the coding experts at CompuGroup Medical, this article offers a working reference for all three, plus a few related trouble spots.

Coding sepsis, severe sepsis, and septic shock

Sepsis coding starts with the underlying infection, not a sepsis-specific code. Assign a code for the causal organism based on documentation. When the organism isn't specified, use A41.9 (Sepsis, unspecified organism)—but don't reach for it by default if the documentation actually names one, such as A41.01 for sepsis due to methicillin-susceptible Staphylococcus aureus.

Severe sepsis requires a minimum of two codes: the underlying infection, followed by a code from category R65.2 (R65.20 for severe sepsis without septic shock, R65.21 with septic shock). Septic shock requires a minimum of three: the underlying infection, R65.21 (or T81.12 if it's postprocedural), and at least one code for the resulting acute organ dysfunction, such as J96.01 for acute hypoxic respiratory failure.

"You cannot just assume that the infection is from one certain organism or another. You have to go by the documentation," said Certified Professional Coder Krista Gencarelli, CPC, CPMA, CEDC, ARIA Health Services.

Postprocedural sepsis requires documentation of a causal relationship between the infection and the procedure—it can't be assumed just because sepsis developed after surgery. When that relationship is documented, code from T81.41–T81.43 or T81.49 (or the equivalent O86.0- codes for an obstetrical wound), then the infectious agent, then the same severe sepsis or septic shock logic above. The one exception: postprocedural septic shock uses T81.12 instead of R65.21.

Five sepsis coding errors to avoid

Even when the sequencing rules are followed correctly, a handful of recurring mistakes still account for most sepsis-related denials.

  • Sequencing: R65.2- can never be the principal diagnosis. It has to follow the code for the underlying infectious agent
  • Excludes1 conflicts: sepsis (A40–A41) and bacteremia (R78.81) carry an Excludes1 note and cannot be coded together
  • Duplicate R65 codes: only one code from category R65 is allowed per encounter—never more than one
  • Urosepsis: this is a term providers use often, but it has no default ICD-10 code and isn't synonymous with sepsis plus a UTI. Query the provider for a more specific diagnosis rather than assuming
  • Missing organ dysfunction codes: when severe sepsis or septic shock is present, the organ dysfunction codes are required, not optional, and are easy to leave off
Krista Gencarelli, CPC, CPMA, CEDC<br>Certified Professional Coder, ARIA Health Services
Providers love to use "urosepsis," and while it is a condition, it isn't recognized with a specific ICD-10 code. We can't just assume that it's synonymous with sepsis and a UTI—you have to query the provider for a more specific diagnosis.
Krista Gencarelli, CPC, CPMA, CEDC
Certified Professional Coder, ARIA Health Services

Understanding the 7th character: A, D, and S

This is the rule that trips people up most: the 7th character describes where the patient is in their clinical treatment, not which encounter number this is or whether a new provider is seeing them. A patient can see three different providers in one week and still be coded "A" the entire time, if all three encounters are part of active treatment.

"It has nothing to do with the provider. It has to do with the patient and where they are in their clinical pathway of care," said Coding Supervisor Brad Sirota, CPC, CPMA, ARIA Health Services.

  • A—Active treatment: used for every encounter where the patient is receiving active treatment for the condition. CMS considers surgical treatment, emergency department treatment, initial evaluation of the condition, and ongoing evaluation and treatment (by the same or a different physician) all part of active treatment
  • D—Subsequent/routine care: used once active treatment has ended and the patient is in the recovery phase. This covers cast changes or removal, follow-up x-rays to check healing, removal of fixation devices, medication adjustments related to the injury, and physical or occupational therapy
  • S—Sequela: used for a complication that develops as a direct result of the original condition—a scar from a healed burn, for example. Sequela codes are always listed secondary to the code for the residual condition itself (in a scar case, the scar code comes first, with the injury-and-sequela code second), and the original injury code is never the principal diagnosis at that point

According to Brad, "Your sequela code will never be listed as primary. It's always going to be listed as secondary or tertiary to your primary diagnosis code."

For example, if a patient fractures an ankle, is splinted in the ED, and is referred to orthopedics, where surgery is scheduled and performed a few days later—every one of those encounters uses "A." Two weeks later, a post-op check with routine imaging and a medication refill uses "D." A physical therapist's initial evaluation four weeks out still uses "D," even though it's that provider's first time seeing the patient, because the patient has moved into the recovery phase of the same injury.

Infographic summarizing the rules for the 7th character ICD-10 coding including the differences among A, D, and S and five sepsis coding errors to watch.

Quick reference for the ICD-10 7th character (A/D/S) and the five most common sepsis coding errors.

OBGYN coding: Chapter 15 sequencing rules

For OBGYN coding, Chapter 15 (O00–O9A) codes take sequencing priority over codes from any other chapter, and they're used exclusively on the maternal record—never on the newborn's chart.

  • Incidental pregnancy: when a provider documents that a pregnancy is incidental to the reason for the visit—a fractured finger, for instance—code the presenting problem first, then add Z33.1 (Pregnant state, incidental). Z33.1 replaces any other Chapter 15 code in that scenario, and it requires the provider to state the condition isn't affecting the pregnancy; that connection can't be assumed
Krista Gencarelli, CPC, CPMA, CEDC<br>Certified Professional Coder, ARIA Health Services
We can't assume causality. We can't assume a connection here, or an impact on the pregnancy.
Krista Gencarelli, CPC, CPMA, CEDC
Certified Professional Coder, ARIA Health Services
  • Trimesters and weeks: first trimester is less than 14 weeks, 0 days; second is 14 weeks through 27 weeks, 6 days; third is 28 weeks through delivery. Separately, a Z3A code denoting completed weeks of gestation should be added as the final diagnosis (not used for abortive outcomes, terminations, or postpartum conditions)—"completed weeks" means full 7-day increments, so a patient at 35 weeks and 6 days is still coded Z3A.35
  •  Routine prenatal visits: use Z34 (Encounter for supervision of normal pregnancy) alone—no other Chapter 15 code can accompany it, since adding one would contradict the "normal" designation
  • High-risk pregnancy: use a code from category O09 as the first-listed diagnosis, and add other Chapter 15 codes as needed to specify the risk factor (advanced maternal age, prior obstetrical history, multiples, or pre-existing versus pregnancy-induced conditions like chronic hypertension versus gestational hypertension)
  • Delivery and postpartum: O80 (full-term uncomplicated delivery) is always principal and can't be paired with any other Chapter 15 code. A Z37 code captures the delivery outcome on the mother's record only. The postpartum period covers the six weeks after delivery; routine follow-up during that window uses a Z39 code, while Chapter 15 codes can still apply afterward if the provider documents the condition as pregnancy-related

Injury coding: superficial injuries, nerve and vessel involvement, and iatrogenic injuries

Sepsis isn't the only area where sequencing challenges coders—injury coding has its own rules about what gets coded together, what comes first, and what shouldn't use a Chapter 19 code at all.

  • Superficial injuries: abrasions and contusions aren't coded separately when they occur at the same site as a more severe injury
  • Nerve and blood vessel damage: when a primary injury also causes minor nerve or vessel damage, the primary injury is sequenced first, with the nerve or vessel injury coded as an additional, secondary code
  • Iatrogenic injuries: an illness, injury, or side effect caused by a provider, treatment, or diagnostic procedure doesn't use Chapter 19 injury codes at all—it's captured with the appropriate complication code instead

Keep claims in order with auditing and provider training

Experts to help navigate the rules and reduce denials

Abstract coding and coding audits to help you stay compliant and get paid.

Adverse effect, poisoning, underdosing, and toxic effect: what's the difference?

Adverse effect, poisoning, underdosing, and toxic effect: these four terms get used almost interchangeably in conversation, but ICD-10 treats each one as a distinct concept with its own coding logic.

  • Adverse effect: a correctly prescribed and correctly administered drug causes a harmful, unintended reaction
  • Poisoning: improper use of a medication—overdose, wrong route, or wrong drug—coded with an added intent category (accidental, intentional self-harm, assault, or undetermined)
  • Underdosing: the patient takes less medication than prescribed or stops it on their own initiative. When coding underdosing, add a Z-code from the social determinants of health range to capture why—cost, access, or compliance issues are common drivers worth documenting
  • Toxic effect: a harmful substance is ingested or otherwise comes into contact with the patient, outside the context of a prescribed medication

For the complete official language behind these rules, the CMS/CDC ICD-10-CM Official Guidelines for Coding and Reporting remain the definitive source, and AAPC's coding resources are a useful secondary reference for worked examples.

Frequently Asked Questions

Can R65.2- (severe sepsis) ever be listed as a primary diagnosis?

No. It must always be sequenced after the code for the underlying infectious agent that caused the sepsis.

Is urosepsis the same as sepsis in ICD-10?

No. Urosepsis has no default ICD-10 code and shouldn't be assumed to mean sepsis plus a urinary tract infection. The provider should be queried for a more specific diagnosis.

What's the difference between the 7th character A and D?

A is used for every encounter where the patient is receiving active treatment for the condition, regardless of visit number or provider. D is used once active treatment has ended and the patient has moved into routine recovery care, such as follow-up imaging or physical therapy.

Can the Z34 code be used with other Chapter 15 codes?

No. Z34 (encounter for supervision of a normal pregnancy) must be used alone, since pairing it with any other Chapter 15 code would contradict the designation of a normal, uncomplicated pregnancy.

Related Articles