A 60-year-old female with PMHx of DM type 2, chronic diastolic heart failure, and hypercholesterolemia is evaluated in the emergency department because of a 6-hour history of chills and diffuse abdominal pain. She has a history of end-stage renal disease and uses home peritoneal dialysis five times per day. Her temperature is 101.1°F, pulse is 86/min, respirations are 26/min, and blood pressure is 112/78 mm Hg. Physical examination shows diffuse abdominal tenderness, with erythema surrounding the catheter site. Microscopic analysis of her peritoneal fluid reveals leukocytosis with a neutrophil predominance. The attending noted on the Discharge Summary as a Discharge Diagnosis: Catheter-associated Peritonitis, ESRD, DM type 2, chronic diastolic heart failure, and hypercholesterolemia. Which of the following ICD-10-CM codes is reported as the primary diagnosis for this scenario?
a. T85.71XA
b. N18.6
c. I50.32
d. K65.9