# Example 1: Diagnosis Met
# 3 months duration, Regurgitation, After meal, Not sleep, No retching, No other cause
rome_iv_rumination_syndrome(3, 1, 1, 1, 1, 1)
# Example 2: Not Met (Vomiting is preceded by retching)
# 3 months duration, Retching precedes (0 for no_retching)
rome_iv_rumination_syndrome(3, 1, 1, 1, 0, 1)
Run the code above in your browser using DataLab