| rome_ii_ibs_criteria | R Documentation |
Evaluates the **Rome II criteria** for diagnosing Irritable Bowel Syndrome (IBS) in adults. Diagnosis requires recurrent abdominal pain or discomfort for at least 12 weeks (which need not be consecutive) in the preceding 12 months, along with two or more specific features related to pain relief, and changes in stool frequency or consistency. This classification system has been largely superseded by Rome III and Rome IV.
rome_ii_ibs_criteria(abdominal_pain_discomfort_12mo, pain_relief_by_defecation,
pain_onset_associated_with_frequency_change,
pain_onset_associated_with_consistency_change,
no_structural_disease_excluded)
abdominal_pain_discomfort_12mo |
Numeric (0 or 1). Recurrent abdominal pain or discomfort for at least 12 weeks in the past 12 months. (1 = Yes). |
pain_relief_by_defecation |
Numeric (0 or 1). Pain relieved by defecation. (1 = Yes). |
pain_onset_associated_with_frequency_change |
Numeric (0 or 1). Pain onset associated with a change in frequency of stool. (1 = Yes). |
pain_onset_associated_with_consistency_change |
Numeric (0 or 1). Pain onset associated with a change in stool consistency/appearance [Image of bristol stool scale chart] . (1 = Yes). |
no_structural_disease_excluded |
Numeric (0 or 1). After appropriate evaluation, are there **no** structural or organic diseases to explain the symptoms? (1 = Yes). |
A list containing:
Diagnosis |
"Criteria Met for Irritable Bowel Syndrome (IBS)" or "Criteria Not Met". |
IBS_Features_Count |
The number of positive associated features (max 3, requires >= 2 for diagnosis). |
Thompson WG, Longstreth GF, Drossman DA, et al. Functional bowel disorders and functional abdominal pain. Gut. 1999;45 Suppl 2:II43-7.
# Example 1: Diagnosis Met
# Pain 12mo (1), Pain relief by defecation (1), Change frequency (1), Change consistency (0)
# Result: Meets Criteria (2 features met)
rome_ii_ibs_criteria(1, 1, 1, 0, 1)
# Example 2: Not Met (Insufficient features)
# Pain 12mo (1), Only Pain relief by defecation (1)
# Result: Criteria Not Met (Only 1 feature met)
rome_ii_ibs_criteria(1, 1, 0, 0, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.