{"uid":"cap_bbxL5dh0LDuvMz4ymRJdX","slug":"rome-iv-belching-disorders-b2-calculator-dc2e5ba9","name":"Rome IV Belching Disorders (B2) Calculator","description":"Stanghellini 2016 Rome IV belching disorders (B2). rome_iv_belching is true iff bothersome (severe enough to impact usual activities) belching from the esophagus or stomach more than 3 days a week, last-3-months criteria, 6-month onset, and belching_origin supragastric (B2a) or gastric (B2b). magent does not measure impedance or take a history. Not a diagnosis, not adult aerophagia, not child H1d aerophagia, not bloating, not FD.","url":"https://api.magentlab.com/api/calc/rome_iv_belching","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":["bothersome_belching_more_than_3_days_week","fulfilled_last_3_months","onset_at_least_6_months","belching_origin"],"properties":{"belching_origin":{"enum":["supragastric","gastric"],"type":"string","description":"Caller-assigned origin of excessive belching: supragastric (B2a, from the esophagus) or gastric (B2b, from the stomach) (Stanghellini 2016). Objective impedance distinguishes them in the paper; magent does not measure impedance."},"fulfilled_last_3_months":{"type":"boolean","description":"Criteria fulfilled for the last 3 months, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history."},"onset_at_least_6_months":{"type":"boolean","description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history."},"bothersome_belching_more_than_3_days_week":{"type":"boolean","description":"Bothersome (severe enough to impact usual activities) belching from the esophagus or stomach more than 3 days a week (Stanghellini 2016 Rome IV B2). true or false as assigned by the caller. magent does not take a history."}}}},"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_9cbpDztriR-95kNxzM1ap","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 whether a patient meets the Rome IV criteria for belching disorders (B2), distinguishing supragastric (B2a) and gastric (B2b) subtypes based on caller-assigned clinical flags.","exampleAgentPrompt":"Does this patient meet the Rome IV B2 criteria for belching disorder? Their belching is bothersome and happens more than 3 days a week, the criteria have been fulfilled for the last 3 months, onset was at least 6 months ago, and the origin has been clinically assigned as supragastric.","exampleUseCases":[{"title":"GI symptom screening automation","prompt":"I'm building a GI decision support tool. Can you check if a patient meets Rome IV belching disorder criteria? They have bothersome supragastric belching more than 3 days a week, it's been going on for at least 6 months, and the criteria have been met for the last 3 months."},{"title":"Subtype classification for chart review","prompt":"We're doing a retrospective chart review and need to flag patients with Rome IV gastric belching disorder (B2b). This patient has bothersome belching more than 3 days a week, gastric origin, onset at least 6 months ago, and criteria fulfilled for the past 3 months — do they qualify?"},{"title":"Clinical registry eligibility check","prompt":"Help me determine if this patient is eligible for our functional GI registry. They report bothersome belching more than 3 days a week with a supragastric origin, fulfilling criteria for the last 3 months with onset over 6 months ago — does that meet Rome IV B2a?"}],"resultDescription":"Returns a rome_iv_belching boolean (true/false) indicating whether the patient meets the Rome IV B2 criteria for belching disorders, implicitly reflecting the B2a (supragastric) or B2b (gastric) subtype based on the belching_origin input.","failureModes":["Missing required query parameters (bothersome_belching_more_than_3_days_week, fulfilled_last_3_months, onset_at_least_6_months, belching_origin) returns a validation error","Invalid belching_origin value (not 'supragastric' or 'gastric') causes an enum validation failure","Non-boolean values for boolean parameters cause schema rejection","Network or payment (x402) failures result in no response"],"whenToPreferThis":"Use this endpoint when you need to programmatically evaluate whether a patient meets the Rome IV B2 belching disorder criteria per Stanghellini 2016, and the caller has already assigned clinical values (origin, frequency, duration). Prefer this over manual lookup when embedding Rome IV logic in a clinical decision support pipeline, registry eligibility tool, or GI symptom classifier. Do not use this for aerophagia (adult or pediatric H1d), bloating, or functional dyspepsia — separate Rome IV criteria apply to those conditions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:07:52.023Z","isFirstParty":false}