CEDC study materials
CEDC study resources

Diagnosis Coding: Sepsis, Respiratory Failure, and Present-on-Admission Logic

CEDC · Put your knowledge to work in context.

All case studies

Diagnosis Coding: Sepsis, Respiratory Failure, and Present-on-Admission Logic

A 71-year-old man is admitted from the ED with sepsis due to Klebsiella pneumoniae, acute respiratory failure with hypoxia, and acute kidney injury (AKI). The ED physician documents that the respiratory failure and AKI are present on admission and are due to the sepsis. Blood cultures grew Klebsiella. The patient also has type 2 diabetes with diabetic kidney disease as a chronic condition. The ED note documents the sepsis, respiratory failure, AKI, and diabetes. The facility is coding the inpatient claim (the patient was admitted).

1. Assign the principal diagnosis and the secondary diagnoses for the inpatient claim, and explain the sequencing logic.

Read the worked answer

Principal diagnosis. When a patient is admitted with sepsis and acute organ dysfunction (respiratory failure, AKI), the sepsis is the principal diagnosis, and the organ dysfunction is coded as an additional diagnosis. The sepsis code is A41.9 (sepsis, unspecified organism) - unless the organism is specified. Because Klebsiella pneumoniae is documented, use A41.50 (gram-negative sepsis, unspecified) or the specific A41.59 if the organism maps; the key is that the sepsis is the principal diagnosis.

Secondary diagnoses.

  • Acute respiratory failure with hypoxia: J96.01.
  • Acute kidney injury: N17.9 (acute kidney failure, unspecified) - or the specific N17.x if documented.
  • Type 2 diabetes with diabetic kidney disease: E11.22 (type 2 diabetes with diabetic kidney disease) plus N18.9 (CKD, unspecified stage) if stage is not documented. Do not code E11.22 without the CKD code - the combination code requires the CKD code as an additional diagnosis.

Sequencing: Sepsis (A41.x) principal → respiratory failure (J96.01) → AKI (N17.9) → diabetes with CKD (E11.22 + N18.9). The organ dysfunctions are not the principal diagnosis because the sepsis is the systemic condition driving them.

2. The ED note says the respiratory failure and AKI are 'due to sepsis.' Does that change the coding? Explain the causal-linkage and present-on-admission rules.

Read the worked answer

Causal linkage. When the physician documents that the organ dysfunction is due to the sepsis, the sepsis remains the principal diagnosis and the organ dysfunction is coded as an additional diagnosis - the 'due to' linkage does not make the organ dysfunction the principal diagnosis. (This is the opposite of the old 'sepsis due to' vs. 'sepsis with' confusion; under current guidelines, sepsis with organ dysfunction = sepsis principal, organ dysfunction secondary.)

Present-on-admission (POA). The ED note documents the respiratory failure and AKI as present on admission - the POA indicator on the inpatient claim should be Y for those diagnoses. POA status matters for quality reporting and for some payer logic, but it does not change the code selection itself. It does confirm the conditions were not hospital-acquired.

Do not code the respiratory failure or AKI as the principal diagnosis just because they are 'due to' sepsis. The causal linkage supports the sepsis principal, organ dysfunction secondary structure.

Result: A41.x principal; J96.01, N17.9, E11.22, N18.9 secondary; POA = Y for the acute conditions.