Following the relief of constipation, maintenance with adequate exercise, fluid intake, and high-fiber diet is recommended. Treatment
A limited number of cases require urgent medical intervention or will result in severe consequences.The treatment of constipation should focus on the underlying cause if known. The National Institute of Health and Care Excellence (NICE) break constipation in adults into two categories - chronic constipation of unknown cause and constipation due to opiates.In chronic constipation of unknown cause, the main treatment involves the increased intake of water and fiber (either dietary or as supplements). The routine use of laxatives or enemas is discouraged, as having bowel movements may come to be dependent upon their use. Fiber supplements
Soluble fiber supplements such as psyllium are generally considered first-line treatment for chronic constipation, compared to insoluble fibers such as wheat bran. Side effects of fiber supplements include bloating, flatulence, diarrhea, and possible malabsorption of iron, calcium, and some medications. However, patients with opiate-induced constipation will likely not benefit from fiber supplements. Laxatives
If laxatives are used, milk of magnesia or polyethylene glycol are recommended as first-line agents due to their low cost and safety. Stimulants should only be used if this is not effective. In cases of chronic constipation, polyethylene glycol appears superior to lactulose. Prokinetics may be used to improve gastrointestinal motility. A number of new agents have shown positive outcomes in chronic constipation; these include prucalopride and lubiprostone. Cisapride is widely available in third world countries, but has been withdrawn in most of the west.
Distal intestinal obstruction syndrome (DIOS) involves obstruction of the distal part of the small intestines by thickened intestinal content  and occurs in about 20% of mainly adult individuals with cystic fibrosis. DIOS was previously known as meconium ileus equivalent, a name which highlights its similarity to the intestinal obstruction seen in newborn infants with cystic fibrosis. DIOS tends to occur in older individuals with pancreatic insufficiency. Individuals with DIOS may be predisposed to bowel obstruction, though it is a separate entity than true constipation. Signs and symptoms
Signs and symptoms of DIOS include a sudden onset of crampy abdominal pain, vomiting, and a palpable mass (often in the right lower quadrant) in the abdomen. The characteristic abdominal pain is typically located in the center or right lower quadrant of the abdomen. X-rays of the abdomen may reveal stool in the colon and air-fluid levels in the small intestines. Diagnosis
A complete history and physical examination can be suggestive, especially if a palpable mass in the right lower quadrant of the abdomen is present (though this can be present in the absence of DIOS). Ultrasound and computed tomography (CT) imaging of the abdomen can confirm the diagnosis by demonstrating dilated loops of intestine with material in the intestinal lumen with bubbles. Air-fluid levels may be seen in those affected by DIOS. Classification
DIOS is sometimes classified by the degree of obstruction as incomplete or complete DIOS. Differential diagnosis
Additional diagnoses which may present with similar symptoms to DIOS include severe constipation, appendicitis, and intussusception.