{"uid":"cap__f4XannOiMp4B65mhJJNA","slug":"rome-iv-infant-constipation-calculator-benninga-2016-g7-c117ba5d","name":"Rome IV Infant Constipation Calculator (Benninga 2016 G7)","description":"Benninga 2016 Rome IV G7. rome_iv_infant_constipation is true iff duration_at_least_1_month and features_met >= 2. features_met always counts five core flags; if toilet_trained also counts incontinence after toileting and stools that may obstruct the toilet. Caller assigns flags including large_fecal_mass_in_rectum. magent does not examine the infant. Not a diagnosis, not adult Rome IV FC, not child H3a.","url":"https://api.magentlab.com/api/calc/rome_iv_infant_constipation","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":["toilet_trained","two_or_fewer_defecations_per_week","history_of_excessive_stool_retention","history_of_painful_or_hard_bowel_movements","history_of_large_diameter_stools","large_fecal_mass_in_rectum","incontinence_after_toileting_at_least_weekly","large_diameter_stools_that_may_obstruct_toilet","duration_at_least_1_month"],"properties":{"toilet_trained":{"type":"boolean","description":"Toilet-trained as assigned (Benninga 2016 Rome IV G7). When true, incontinence_after_toileting_at_least_weekly and large_diameter_stools_that_may_obstruct_toilet count toward features_met. true or false as assigned by the caller. magent does not examine the infant."},"duration_at_least_1_month":{"type":"boolean","description":"Must include 1 month of at least 2 features, as assigned (Benninga 2016 Rome IV G7). true or false as assigned by the caller. magent does not examine the infant."},"large_fecal_mass_in_rectum":{"type":"boolean","description":"Large fecal mass in the rectum, as assigned (Benninga 2016 Rome IV G7; one of five core features). Digital rectal exam is caller-assigned. true or false as assigned by the caller. magent does not examine the infant."},"history_of_large_diameter_stools":{"type":"boolean","description":"History of large-diameter stools, as assigned (Benninga 2016 Rome IV G7; one of five core features). true or false as assigned by the caller. magent does not examine the infant."},"two_or_fewer_defecations_per_week":{"type":"boolean","description":"Two or fewer defecations per week, as assigned (Benninga 2016 Rome IV G7; one of five core features). true or false as assigned by the caller. magent does not examine the infant."},"history_of_excessive_stool_retention":{"type":"boolean","description":"History of excessive stool retention, as assigned (Benninga 2016 Rome IV G7; one of five core features). true or false as assigned by the caller. magent does not examine the infant."},"history_of_painful_or_hard_bowel_movements":{"type":"boolean","description":"History of painful or hard bowel movements, as assigned (Benninga 2016 Rome IV G7; one of five core features). true or false as assigned by the caller. magent does not examine the infant."},"incontinence_after_toileting_at_least_weekly":{"type":"boolean","description":"At least one episode per week of incontinence after the acquisition of toileting skills, as assigned (Benninga 2016 Rome IV G7 extra; counted only when toilet_trained is true). true or false as assigned by the caller. magent does not examine the infant."},"large_diameter_stools_that_may_obstruct_toilet":{"type":"boolean","description":"History of large-diameter stools that may obstruct the toilet, as assigned (Benninga 2016 Rome IV G7 extra; counted only when toilet_trained is true). true or false as assigned by the caller. magent does not examine the infant."}}}},"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_xd3sX3XOLrmI8SpmfFmto","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 Rome IV criteria for functional constipation in infants (G7) based on caller-assigned clinical flags, returning a boolean result and feature count.","exampleAgentPrompt":"Check if this infant meets Rome IV G7 functional constipation criteria: the infant is not yet toilet trained, has had 2 or fewer defecations per week for over a month, has a history of painful bowel movements and excessive stool retention, history of large-diameter stools, and a large fecal mass was found in the rectum.","exampleUseCases":[{"title":"Infant constipation clinical screening","prompt":"I have a 10-month-old who is not toilet trained. Over the past 6 weeks she's had 2 or fewer bowel movements per week, a history of holding back stools, painful or hard bowel movements, and large-diameter stools. No rectal mass was found. Does she meet Rome IV G7 criteria for functional constipation?"},{"title":"Toilet-trained toddler constipation evaluation","prompt":"My 2.5-year-old is toilet trained and has had these symptoms for more than a month: fewer than 2 defecations a week, large-diameter stools that have clogged the toilet, at least weekly soiling after toileting, and a history of straining. Does he meet Rome IV infant constipation criteria including the toilet-trained features?"},{"title":"Clinical note documentation support","prompt":"For a 14-month-old patient (not toilet trained): duration over 1 month is confirmed, two or fewer stools per week is true, stool retention history is true, painful defecation history is false, large-diameter stool history is true, and large fecal mass in rectum is false. How many Rome IV G7 features are met and does the infant qualify?"}],"resultDescription":"Returns a boolean rome_iv_infant_constipation (true if duration_at_least_1_month AND features_met >= 2), an integer features_met count (always counting the five core flags; if toilet_trained is true also counts incontinence_after_toileting_at_least_weekly and large_diameter_stools_that_may_obstruct_toilet), and component flag values as submitted.","failureModes":["Missing required query parameters returns a 4xx error","Boolean parameters passed as non-boolean strings may cause validation failure","Misclassification risk if caller assigns clinical flags incorrectly — the API does not examine the patient","Toilet-trained-specific features are silently ignored in the feature count when toilet_trained is false","Not applicable for adult Rome IV functional constipation or child H3a criteria — wrong criteria will be returned without warning"],"whenToPreferThis":"Choose this endpoint when you need to apply the Benninga 2016 Rome IV G7 criteria specifically for infants (not children or adults), and the caller has already assigned all required clinical flags from physical examination or history. Use this instead of manual scoring to ensure correct feature-count logic, particularly the conditional inclusion of toilet-trained features. Do not use for adult Rome IV FC, child H3a, or when clinical flags have not yet been assessed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:12:53.644Z","isFirstParty":false}