{"uid":"cap_92DQSp1gBawLRcK-wdqzM","slug":"rome-iv-infant-functional-diarrhea-calculator-benninga-2016-g5-dc42456d","name":"Rome IV Infant Functional Diarrhea Calculator (Benninga 2016 G5)","description":"Benninga 2016 Rome IV G5 Functional Diarrhea. rome_iv_infant_diarrhea is true iff daily_painless_recurrent_4_or_more_large_unformed_stools, symptoms_last_more_than_4_weeks, onset_between_6_and_60_months, and no_failure_to_thrive_if_caloric_intake_adequate. Rome IV is 4 or more stools (not Rome III's 3). Sleep-stool criterion was dropped and is not a flag. Caller assigns four flags. magent does not examine the child. Not a diagnosis, not adult Rome IV diarrhea, not a malabsorption workup.","url":"https://api.magentlab.com/api/calc/rome_iv_infant_diarrhea","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["daily_painless_recurrent_4_or_more_large_unformed_stools","symptoms_last_more_than_4_weeks","onset_between_6_and_60_months","no_failure_to_thrive_if_caloric_intake_adequate"],"properties":{"onset_between_6_and_60_months":{"type":"boolean","description":"Onset between 6 and 60 months of age, as assigned (Benninga 2016 Rome IV G5). true or false as assigned by the caller. magent does not examine the child."},"symptoms_last_more_than_4_weeks":{"type":"boolean","description":"Symptoms last more than 4 weeks, as assigned (Benninga 2016 Rome IV G5). true or false as assigned by the caller. magent does not examine the child."},"no_failure_to_thrive_if_caloric_intake_adequate":{"type":"boolean","description":"No failure to thrive if caloric intake is adequate, as assigned (Benninga 2016 Rome IV G5). true or false as assigned by the caller. magent does not examine the child."},"daily_painless_recurrent_4_or_more_large_unformed_stools":{"type":"boolean","description":"Daily, painless, recurrent passage of 4 or more large, unformed stools, as assigned (Benninga 2016 Rome IV G5; Rome IV is 4 or more, not Rome III's 3). true or false as assigned by the caller. magent does not examine the child."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ldPScAns2YtwuyeqCD0fV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates four Rome IV G5 criteria flags to determine whether an infant meets the diagnostic criteria for functional diarrhea (Benninga 2016).","exampleAgentPrompt":"Check Rome IV G5 infant functional diarrhea for a patient: they do have daily painless recurrent 4 or more large unformed stools, symptoms have lasted more than 4 weeks, onset was between 6 and 60 months of age, and there is no failure to thrive given adequate caloric intake.","exampleUseCases":[{"title":"Pediatric clinic Rome IV screening","prompt":"I need to check if this 18-month-old meets Rome IV G5 functional diarrhea criteria — they have daily painless recurrent passage of 4 or more large unformed stools, symptoms going on for 6 weeks, onset was at 14 months, and they're growing fine with adequate calories. Does the calculator say yes?"},{"title":"EHR decision-support integration check","prompt":"Run the Rome IV G5 infant functional diarrhea rule with these flags: daily painless recurrent 4 or more large unformed stools is true, symptoms lasting more than 4 weeks is true, onset between 6 and 60 months is true, and no failure to thrive with adequate intake is false — what does it return?"},{"title":"Rome III vs Rome IV threshold clarification","prompt":"My patient is a 2-year-old who passes 4 unformed stools daily without pain, symptoms for 5 weeks, onset at 9 months, and no growth failure with adequate diet — does the Benninga 2016 Rome IV G5 rule classify this as functional diarrhea? I want to confirm with the 4-stool threshold, not Rome III's 3."}],"resultDescription":"Returns a boolean field rome_iv_infant_diarrhea indicating true if all four Rome IV G5 criteria are met (daily painless recurrent ≥4 large unformed stools, symptoms >4 weeks, onset 6–60 months, no failure to thrive given adequate caloric intake), and false otherwise. No diagnosis is issued; the result is a rule-based flag.","failureModes":["Missing any of the four required boolean query parameters returns a validation error","Passing non-boolean values for flags causes a schema error","Caller misinterprets result as a clinical diagnosis rather than a criteria-matching flag","Applying to patients outside the 6–60 month age window (onset flag must be set by caller — endpoint does not verify age independently)","Confusion with Rome III 3-stool threshold may cause incorrect flag assignment by caller"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic Rome IV G5 functional diarrhea criteria check for infants, specifically per the Benninga 2016 framework with the 4-stool threshold. Prefer this over manual lookup when building clinical decision-support tools, EHR integrations, or pediatric gastroenterology screening workflows. Do not use for adult Rome IV IBS/diarrhea criteria (a separate endpoint exists), malabsorption workup, or when a clinical examination is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T13:14:04.504Z","isFirstParty":false}