# Example 1: Criteria Met
# Pain 5 days/mo, related to defecation, not constipation-only, no other cause
rome_iv_child_ibs(5, 1, 0, 0, 0, 0)
# Example 2: Not Met (Pain resolves with constipation treatment)
# Pain 10 days/mo, change in form, but resolves when constipation fixed
rome_iv_child_ibs(10, 0, 0, 1, 1, 0)
Run the code above in your browser using DataLab