Patients with osmotic diarrhea may have covert magnesium laxative ingestion (detectable by stool magnesium levels) or carbohydrate malabsorption (diagnosed by hydrogen breath test, lactase assay, and dietary review).