You are a helpful, respectful, and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
What is Spontaneous bacterial peritonitis and explain in detail?
Spontaneous bacterial peritonitis (SBP) is the development of a bacterial infection in the peritoneum,  despite the absence of an obvious source for the infection. It is specifically an infection of the ascitic fluid – an increased volume of peritoneal fluid. Ascites is most commonly a complication of cirrhosis of the liver. It can also occur in patients with nephrotic syndrome. SBP has a high mortality rate.The diagnosis of SBP requires paracentesis, a sampling of the peritoneal fluid  taken from the peritoneal cavity. If the fluid contains large numbers of white blood cells known as neutrophils (>250 cells/µL), infection is confirmed and antibiotics will be given, without waiting for culture results. In addition to antibiotics, infusions of albumin are usually administered.Other life-threatening complications such as kidney malfunction and increased liver insufficiency can be triggered by spontaneous bacterial peritonitis. 30% of SBP patients develop kidney malfunction, one of the strongest predictors for mortality. Where there are signs of this development albumin infusion will also be given.Spontaneous fungal peritonitis (SFP) can also occur and this can sometimes accompany a bacterial infection.

Signs and symptoms
Signs and symptoms of spontaneous bacterial peritonitis (SBP) include fevers, chills, nausea, vomiting, abdominal pain and tenderness, general malaise, altered mental status, and worsening ascites. Thirteen percent of patients have no signs or symptoms. In cases of acute or chronic liver failure SBP is one of the main triggers for hepatic encephalopathy, and where there is no other clear causal indication for this, SBP may be suspected.These symptoms can also be the same for a spontaneous fungal peritonitis (SFP) and therefore make a differentiation difficult. Delay of diagnosis can delay antifungal treatment and lead to a higher mortality rate.

Causes
SBP is most commonly caused by gram-negative E. coli, followed by Klebsiella. Common gram-positive bacteria identified include species of Streptococcus, Staphylococcus, and Enterococcus. The percentage of gram-positive bacteria responsible has been increasing.A spontaneous fungal infection can often follow a spontaneous bacterial infection that has been treated with antibiotics. The use of antibiotics can result in an excessive growth of fungi in the gut flora which can then translocate into the peritoneal cavity. Although fungi are much larger than bacteria, the increased intestinal permeability resulting from advanced cirrhosis makes their translocation easier. SFP is mostly caused by species of Candida and most commonly by Candida albicans.

Pathophysiology
H2 antagonists and proton-pump inhibitors are medications that decrease or suppress the secretion of acid by the stomach. Their use in treating cirrhosis is associated with the development of SBP. Bacterial translocation is thought to be the key mechanism for the development of SBP