{"uid":"cap_0EUqNj3-JCsMixxYV6qmA","slug":"rome-iv-c4-functional-bloating-distension-criteria-calculator-b6c8f1bc","name":"Rome IV C4 Functional Bloating/Distension Criteria Calculator","description":"Mearin 2016 Rome IV C4 bloating/distension. rome_iv_bloating is true iff last-3-months criteria with 6-month onset, recurrent bloating or distension ≥1 day/week that predominates, and insufficient criteria for IBS, functional constipation, functional diarrhea, or PDS. Caller assigns three flags. magent does not examine the patient. Not a diagnosis. Adult C4 only. Not child, not IBS, not functional constipation, not functional diarrhea, not PDS or functional dyspepsia.","url":"https://api.magentlab.com/api/calc/rome_iv_bloating","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":["criteria_last_3_months_onset_6_months","recurrent_bloating_or_distension_ge_1_day_week_predominant","insufficient_criteria_for_ibs_fc_diarrhea_pds"],"properties":{"criteria_last_3_months_onset_6_months":{"type":"boolean","description":"Criteria fulfilled for the last 3 months with symptom onset at least 6 months prior to diagnosis, as assigned (Mearin 2016 C4). true or false as assigned by the caller. magent does not take a history."},"insufficient_criteria_for_ibs_fc_diarrhea_pds":{"type":"boolean","description":"Insufficient criteria for IBS, functional constipation, functional diarrhea, or postprandial distress syndrome, as assigned by the caller (Mearin 2016 C4). true or false. magent does not apply those other boxes."},"recurrent_bloating_or_distension_ge_1_day_week_predominant":{"type":"boolean","description":"Recurrent bloating or visible distension, on average at least 1 day per week, that predominates over other bowel symptoms (Mearin 2016 C4). true or false as assigned by the caller. magent does not examine the patient."}}}},"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_aQEvrD2vaHVeyTwGnG4dv","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 (Mearin 2016) C4 criteria for functional bloating or distension in adults, returning a boolean result based on three caller-assigned flags.","exampleAgentPrompt":"Check if this patient meets Rome IV C4 functional bloating criteria: symptoms have been present for the last 3 months with onset at least 6 months ago (true), recurrent bloating or visible distension at least 1 day per week that predominates over other bowel symptoms (true), and they don't meet criteria for IBS, functional constipation, functional diarrhea, or PDS (true).","exampleUseCases":[{"title":"Gastroenterology clinic Rome IV screening","prompt":"I need to check whether my adult GI patient meets Rome IV C4 criteria for functional bloating — they've had symptoms for the last 3 months with onset 6+ months ago, bloating predominates at least one day per week, and they don't qualify for IBS, functional constipation, functional diarrhea, or PDS. Can you run that through the Rome IV bloating calculator?"},{"title":"Clinical research patient eligibility check","prompt":"We're enrolling patients in a functional bloating study and need to confirm Rome IV C4 eligibility. The patient has had symptoms for the past 3 months onset over 6 months ago: yes, recurrent predominant bloating/distension at least once a week: yes, insufficient criteria for IBS/FC/diarrhea/PDS: yes. Does this patient meet the Rome IV C4 functional bloating criteria?"},{"title":"EHR automation for GI triage","prompt":"As part of our automated GI triage workflow, check Rome IV C4 functional bloating for a patient where all three flags are assigned: 3-month criteria with 6-month onset is true, predominant weekly bloating/distension is true, and insufficient criteria for other functional GI disorders is true."}],"resultDescription":"Returns a JSON object containing a rome_iv_bloating boolean field: true if all three Rome IV C4 criteria flags are met (3-month duration with 6-month onset, predominant weekly bloating/distension, and insufficient criteria for IBS/FC/functional diarrhea/PDS), false otherwise. This is a computational result, not a clinical diagnosis.","failureModes":["Missing required query parameters — returns an error if any of the three boolean flags are omitted","Invalid parameter types — non-boolean values cause a validation error","Network or server error returning unexpected response","Payment failure via x402 protocol preventing API access"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic computation of Rome IV C4 functional bloating/distension criteria for adults based on pre-assigned clinical flags. Prefer this when you have already evaluated the patient for IBS, functional constipation, functional diarrhea, and PDS and need a consistent, reference-based boolean result. Not suitable for pediatric patients, IBS evaluation, or scenarios where the caller cannot pre-assign the three required criteria flags.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:10:51.366Z","isFirstParty":false}