inflammation of the peritoneum lining the abdominal cavity as the result of infectious, autoimmune, or chemical processes. Primary peritonitis is due to infection of the peritoneal cavity via hematogenous or lymphatic spread and without intra-abdominal source. Secondary peritonitis arises from the abdominal cavity itself through rupture or abscess of intra-abdominal organs.