{"uid":"cap_yaXMsAG35VntupaR2znHW","slug":"magent-rome-iv-pancreatic-sphincter-of-oddi-disorder-sod-calculator-d8f07ca4","name":"magent Rome IV Pancreatic Sphincter of Oddi Disorder (SOD) Calculator","description":"Cotton 2016 Rome IV E2 pancreatic sphincter of Oddi disorder. rome_iv_pancreatic_sod is true iff documented recurrent episodes of pancreatitis, other etiologies of pancreatitis excluded, negative endoscopic ultrasound, and abnormal sphincter manometry. Caller assigns four flags. magent does not read EUS, manometry, labs, or imaging. Not a diagnosis, not biliary SOD, not functional gallbladder, not a sphincterotomy recommendation.","url":"https://api.magentlab.com/api/calc/rome_iv_pancreatic_sod","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":["documented_recurrent_episodes_of_pancreatitis","other_etiologies_of_pancreatitis_excluded","negative_endoscopic_ultrasound","abnormal_sphincter_manometry"],"properties":{"abnormal_sphincter_manometry":{"type":"boolean","description":"Abnormal sphincter manometry, as assigned (Cotton 2016 Rome IV E2). true or false as assigned by the caller. magent does not read sphincter manometry."},"negative_endoscopic_ultrasound":{"type":"boolean","description":"Negative endoscopic ultrasound, as assigned (Cotton 2016 Rome IV E2). true or false as assigned by the caller. magent does not read endoscopic ultrasound."},"other_etiologies_of_pancreatitis_excluded":{"type":"boolean","description":"Other etiologies of pancreatitis excluded, as assigned (Cotton 2016 Rome IV E2). true or false as assigned by the caller. magent does not read labs or imaging."},"documented_recurrent_episodes_of_pancreatitis":{"type":"boolean","description":"Documented recurrent episodes of pancreatitis (typical pain with amylase or lipase >3 times normal and/or imaging evidence of acute pancreatitis), as assigned (Cotton 2016 Rome IV E2). One caller flag; magent does not split amylase versus imaging. true or false as assigned by the caller. magent does not read labs or imaging."}}}},"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_7JLCsx60vOCcbMMkIbv7A","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 clinical boolean flags against the Cotton 2016 Rome IV E2 criteria to determine whether a patient meets the definition of pancreatic sphincter of Oddi disorder (SOD).","exampleAgentPrompt":"Does this patient meet Rome IV E2 criteria for pancreatic sphincter of Oddi disorder? They have documented recurrent episodes of pancreatitis: yes, other etiologies excluded: yes, negative endoscopic ultrasound: yes, and abnormal sphincter manometry: yes.","exampleUseCases":[{"title":"Pancreatic SOD workup review","prompt":"I'm reviewing a pancreatitis patient — they have documented recurrent pancreatitis episodes, we've excluded other causes, their endoscopic ultrasound came back negative, and manometry was abnormal. Do they meet the Rome IV E2 criteria for pancreatic SOD?"},{"title":"Ruling out pancreatic SOD pre-procedure","prompt":"Before I consider any intervention, does this patient technically qualify for Rome IV pancreatic sphincter of Oddi disorder? Recurrent pancreatitis: yes, other etiologies excluded: yes, EUS negative: yes, but sphincter manometry was normal."},{"title":"Teaching case classification","prompt":"For this teaching case: the patient has documented recurrent pancreatitis, other causes have been excluded, endoscopic ultrasound is negative, and sphincter manometry is abnormal — apply the Cotton 2016 Rome IV E2 criteria and tell me if the rome_iv_pancreatic_sod flag is true or false."}],"resultDescription":"Returns a boolean field rome_iv_pancreatic_sod indicating whether all four Rome IV E2 criteria are satisfied: documented recurrent pancreatitis, exclusion of other etiologies, negative EUS, and abnormal sphincter manometry. This is a logical classification result, not a clinical diagnosis or treatment recommendation.","failureModes":["Missing any of the four required boolean query parameters returns a validation error","Passing non-boolean values for the flags causes a schema error","Network or API errors return standard HTTP error codes","Result reflects only the caller-assigned flags; any flag assigned incorrectly by the caller will produce an incorrect classification"],"whenToPreferThis":"Use this endpoint when you need to programmatically apply the Cotton 2016 Rome IV E2 criteria for pancreatic sphincter of Oddi disorder specifically — not biliary SOD, not functional gallbladder disorder. Prefer this when all four clinical determination flags (recurrent pancreatitis episodes, exclusion of other etiologies, EUS result, and manometry result) have already been assessed by a clinician and you need a consistent, rule-based boolean classification output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:50:11.178Z","isFirstParty":false}