# Example 1: Diagnosis Met (Toddler's Diarrhea)
# Age 24mo, 4 stools/day, Loose stools, Duration 6 weeks, Normal growth, No other cause
rome_iv_infant_functional_diarrhea(1, 1, 1, 1, 1, 1)
# Example 2: Not Met (Failure to Thrive)
# All criteria met, but child is failing to thrive (0 for no_failure_to_thrive)
rome_iv_infant_functional_diarrhea(1, 1, 1, 1, 0, 1)
Run the code above in your browser using DataLab