Patient description: A 17 year old boy complains of vomiting, non-bloody diarrhea, abdominal pain, fever, chills and loss of appetite for the past 3 days. He ate a salad at a restaurant prior to his diarrhea onset. Physical exam was remarkable for pallor, jaundice, and diffuse abdominal tenderness. Lab results were as follows: Hemoglobin: 9.7 g/dL Platelet: 110,000 /cu.mm Creatinine: 3.6 mg/dL blood urea nitrogen (BUN): 73 mg/dL direct bilirubin: 2.4 mg/dL lactate dehydrogenase (LDH): 881 IU/L (normal: 110-265 IU/L) Peripheral blood smear showed a moderate number of schistocytes and helmet cells. Shiga-like toxin-producing E. coli (STEC) stx1/stx2 were found in stools. He has no other underlying disease and he is not on any medications.

Clinical trial eligibility criteria: eligible ages (years): 6.0-17.0,  Functional Constipation Irritable Bowel Syndrome With Constipation Male and female participants must be ages 6 to 17 years (FC participants) or ages 7 to 17 years (IBS-C participants) (inclusive) at the time the participant provides assent for the study and parent/guardian/legally authorized representative (LAR) has provided signed consent Participant weighs ≥18 kg at the time the participant provides assent and the parent/guardian/LAR has provided signed consent Participants who meet the modified Rome III for Child/Adolescent FC. For at least 2 months before the Screening Visit, the participant has had 2 or fewer defecations (with each defecation occurring in the absence of any laxative, suppository, or enema use during the preceding 24 hours) in the toilet per week. In addition, participant meets one or more of the following at least once per week for at least 2 months before the screening visit: a. History of retentive posturing or excessive volitional stool retention b. History of painful or hard BMs c. History of large diameter stools that may obstruct the toilet d. Presence of a large fecal mass in the rectum e. At least 1 episode of fecal incontinence per week For IBS-C participants only: Participant meets Rome III for child/adolescent IBS: At least once per week for at least 2 months before the Screening Visit, the participant experienced abdominal discomfort (an uncomfortable sensation not described as pain) or pain associated with 2 or more of the following at least 25% of the time: 1. Improvement with defecation 2. Onset associated with a change in frequency of stool 3. Onset associated with a change in form (appearance) of stool For IBS-C participants only: Participant has an average daytime abdominal pain score of ≥ 1 (at least "a tiny bit") during the 14 days before Visit 3 Participant is willing to discontinue any laxatives used before the Preintervention Visit in favor of the protocol permitted rescue medicine Participant has an average of fewer than 3 SBMs per week during the 14 days before the randomization day and up to the randomization (including the morning eDiary assessments reported before administration of first dose of double-blind study intervention on the randomization day). An SBM is defined as a BM that occurs in the absence of laxative, enema, or suppository use on the calendar day of the BM or the calendar day before the BM Participant or parent/guardian/LAR or caregiver is compliant with eDiary requirements by completing both the morning and evening assessments for 10 out of the 14 days immediately preceding the Randomization Visit Female participants of childbearing potential must have a negative serum pregnancy test at the Screening Visit and a negative urine pregnancy test at the Randomization Visit prior to dosing  For FC participants only: Participant meets Rome III for Child/Adolescent IBS: At least once per week for at least 2 months before the Screening Visit, the participant has experienced abdominal discomfort (an uncomfortable sensation not described as pain) or pain associated with 2 or more of the following at least 25% of the time: 1. Improvement with defecation 2. Onset associated with a change in frequency of stool 3. Onset associated with a change in form (appearance) of stool Participant reports having more than 1 loose, mushy stool (eDiary-recorded stool consistency of 6 on the Pediatric Bristol Stool Form Scale [p-BSFS]) or any watery stool (eDiary-recorded stool consistency of 7 on the p-BSFS) with any SBM that occurred in the absence of laxative use on the calendar day of the BM or the calendar day before the BM during the 14 days before the randomization day and up to the randomization (including the morning eDiary assessments reported before administration of first dose of double-blind study intervention on the randomization day) Participant has a history of non-retentive fecal incontinence Participant has (a) fecal impaction at Visit 2 after failing outpatient clean-out during the Screening Period or (b) fecal impaction at Visit 3 Participant has required manual disimpaction any time prior to randomization Participant currently has both unexplained and clinically significant alarm symptoms (lower GI bleeding [rectal bleeding or heme-positive stool], iron-deficiency anemia, or any unexplained anemia, or weight loss) and systemic signs of infection or colitis, or any neoplastic process Participant has clinically significant findings on a physical examination, vital sign assessment, ECG, or clinical laboratory test as determined by the investigator based on consideration of whether the finding could represent a safety concern or a condition that would be exclusionary, could prevent the participant from performing any protocol assessments, or could confound study assessments Participant has a history of drug or alcohol abuse Participant has any of the following conditions: 1. Celiac disease, or positive serological test for celiac disease and the condition has not been ruled out by endoscopic biopsy 2. Cystic fibrosis 3. Hypothyroidism that is untreated or treated with thyroid hormone at a dose that has not been stable for at least 3 months prior to the Screening Visit 4. Down's syndrome or any other chromosomal disorder 5. Active anal fissure (Note: History of anal fissure is not an exclusion) 6. Anatomic malformations (eg, imperforate anus, anal stenosis, anterior displaced anus) 7. Intestinal nerve or muscle disorders (eg, Hirschprung disease, visceral myopathies, visceral neuropathies) 8. Neuropathic conditions (eg, spinal cord abnormalities, neurofibromatosis, tethered cord, spinal cord trauma) 9. Lead toxicity, hypercalcemia 10. Neurodevelopmental disabilities (early-onset, chronic disorders that share the essential feature of a predominant disturbance in the acquisition of cognitive, motor, language, or social skills, which has a significant and continuing impact on the developmental progress of an individual) producing a cognitive delay that precludes comprehension and completion of the daily eDiary (Electronic handheld device) or other study-related questionnaires (Note: Participants are excluded if the person who will be completing the daily eDiary or other study-related questionnaires meets this criterion.) 11. Inflammatory bowel disease 12. Childhood functional abdominal pain syndrome 13. Childhood functional abdominal pain 14. Poorly treated or poorly controlled psychiatric disorders that might influence his or her ability to participate in the study 15. Lactose intolerance that is associated with abdominal pain or discomfort and could confound the assessments in this study 16. History of cancer other than treated basal cell carcinoma of the skin. (Note: Participants with a history of cancer are allowed provided that the malignancy has been in a complete remission for at least 5 years before the Randomization Visit. A complete remission is defined as the disappearance of all signs of cancer in response to treatment.) 17. History of diabetic neuropathy Participant has an acute or chronic condition that, in the investigator's opinion, would limit the participants' ability to complete or participate in this clinical study