# Example 1: Diagnosis Met
# Chronic pain, pain worsens, other FGID excluded, chronic duration met
rome_iv_narcotic_bowel_syndrome(1, 1, 1, 1, 1)
# Example 2: Not Met (Pain does not worsen)
# Chronic pain, but pain is stable (0 for pain_worsens_with_dose_escalation)
rome_iv_narcotic_bowel_syndrome(1, 0, 1, 1, 1)
Run the code above in your browser using DataLab