{"uid":"cap_q0_I4WY4YLtQ0dz04q2BQ","slug":"rome-iv-functional-gallbladder-disorder-calculator-cotton-2016-cc94bce4","name":"Rome IV Functional Gallbladder Disorder Calculator (Cotton 2016)","description":"Cotton 2016 Rome IV E1a functional gallbladder disorder. rome_iv_functional_gallbladder is true iff nested E1 biliary pain and absence of gallstones or other structural pathology. low_ef_on_gallbladder_scintigraphy and normal_liver_enzymes_conjugated_bilirubin_amylase_lipase are supportive and not required. Caller assigns nine flags. magent does not read ultrasound, EUS, or HIDA or decide cholecystectomy. Not a diagnosis, not biliary SOD, not pancreatic SOD.","url":"https://api.magentlab.com/api/calc/rome_iv_functional_gallbladder","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":["epigastric_or_ruq_pain","builds_to_steady_level_lasts_30_min_or_longer","occurring_at_different_intervals_not_daily","severe_enough_to_interrupt_activities_or_ed_visit","not_significantly_related_to_bowel_movements","not_significantly_relieved_by_postural_change_or_acid_suppression","absence_of_gallstones_or_other_structural_pathology","low_ef_on_gallbladder_scintigraphy","normal_liver_enzymes_conjugated_bilirubin_amylase_lipase"],"properties":{"epigastric_or_ruq_pain":{"type":"boolean","description":"Epigastric or right upper quadrant pain, as assigned (Cotton 2016 Rome IV E1 biliary pain). true or false as assigned by the caller. magent does not examine the patient."},"low_ef_on_gallbladder_scintigraphy":{"type":"boolean","description":"Low ejection fraction on gallbladder scintigraphy, a supportive criterion that is not required for rome_iv_functional_gallbladder (Cotton 2016). true or false as assigned by the caller. magent does not read HIDA or decide cholecystectomy."},"occurring_at_different_intervals_not_daily":{"type":"boolean","description":"Pain occurring at different intervals (not daily), as assigned (Cotton 2016 E1). true or false as assigned by the caller. magent does not take a history."},"not_significantly_related_to_bowel_movements":{"type":"boolean","description":"Pain not significantly related to bowel movements, as assigned (Cotton 2016 E1). true or false as assigned by the caller. magent does not take a history."},"builds_to_steady_level_lasts_30_min_or_longer":{"type":"boolean","description":"Pain builds to a steady level and lasts 30 minutes or longer, as assigned (Cotton 2016 E1). true or false as assigned by the caller. magent does not take a history."},"severe_enough_to_interrupt_activities_or_ed_visit":{"type":"boolean","description":"Pain severe enough to interrupt usual activities or lead to an emergency department visit, as assigned (Cotton 2016 E1). true or false as assigned by the caller. magent does not take a history."},"absence_of_gallstones_or_other_structural_pathology":{"type":"boolean","description":"Absence of gallstones or other structural pathology, as assigned (Cotton 2016 Rome IV E1a). true or false as assigned by the caller. magent does not read ultrasound, EUS, or other imaging."},"normal_liver_enzymes_conjugated_bilirubin_amylase_lipase":{"type":"boolean","description":"Normal liver enzymes, conjugated bilirubin, and amylase/lipase, a supportive criterion that is not required for rome_iv_functional_gallbladder (Cotton 2016). true or false as assigned by the caller. magent does not read laboratory results."},"not_significantly_relieved_by_postural_change_or_acid_suppression":{"type":"boolean","description":"Pain not significantly relieved by postural change or acid suppression, as assigned (Cotton 2016 E1). 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_SnFBQxpyS0nuOxKjc2Fv1","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 nine caller-assigned clinical flags to determine whether a patient meets the Rome IV E1a criteria for functional gallbladder disorder, with supportive scintigraphy and lab flags.","exampleAgentPrompt":"Can you check if this patient meets Rome IV functional gallbladder disorder criteria? They have epigastric pain, it builds to a steady level and lasts over 30 minutes, occurs at different intervals (not daily), is severe enough to interrupt activities, is not related to bowel movements, is not relieved by posture or acid suppression, there are no gallstones or structural pathology found, ejection fraction on scintigraphy is low, and liver enzymes, bilirubin, amylase, and lipase are all normal.","exampleUseCases":[{"title":"Acalculous biliary pain Rome IV screening","prompt":"I have a patient with recurrent right upper quadrant pain, no gallstones on imaging, pain lasting over 30 minutes at a steady level, occurring at different intervals not daily, severe enough to send her to the ED, not related to bowel movements, not relieved by posture or acid suppression, low EF on HIDA, and normal liver enzymes and lipase — does she meet Rome IV functional gallbladder disorder criteria?"},{"title":"Post-cholecystectomy workup exclusion","prompt":"Before considering functional gallbladder disorder, can you run the Rome IV E1a check on this patient? He has epigastric pain, it's not daily, lasts 30+ minutes, is severe, unrelated to bowel movements, not relieved by antacids or posture change, no gallstones, scintigraphy ejection fraction is normal, and labs including bilirubin and amylase are normal."},{"title":"Clinical documentation support for billing","prompt":"For documentation purposes, does this patient satisfy Cotton 2016 Rome IV functional gallbladder disorder? Criteria: epigastric or RUQ pain true, steady level ≥30 min true, not daily true, severe enough for ED true, not related to bowel movements true, not relieved by posture or acid suppression true, no gallstones or structural pathology true, low EF on scintigraphy false, normal liver enzymes and amylase true."}],"resultDescription":"Returns a boolean field rome_iv_functional_gallbladder indicating whether the patient satisfies Rome IV E1a functional gallbladder disorder criteria (Cotton 2016), based on the caller-assigned flags for biliary pain characteristics and absence of structural pathology, plus supportive scintigraphy and lab flags which are informational but not required.","failureModes":["Missing any of the nine required boolean query parameters returns a validation error","Non-boolean values for flag parameters cause schema rejection","Network or payment (x402) failures prevent the call from completing","Misclassification risk if caller assigns flags incorrectly — the endpoint trusts caller input entirely"],"whenToPreferThis":"Use this endpoint when you need a deterministic, codified evaluation of Cotton 2016 Rome IV E1a functional gallbladder disorder criteria from pre-assigned clinical boolean flags. It is not a diagnostic tool, does not interpret imaging or labs directly, and does not cover biliary sphincter of Oddi dysfunction or pancreatic SOD — use sibling endpoints for those disorders or other Rome IV subtypes. Prefer this over manual criteria lookup when automating clinical documentation, EHR integration, or decision support pipelines that require a structured, auditable Rome IV E1a result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:52:49.242Z","isFirstParty":false}