# magent Rome IV Pancreatic Sphincter of Oddi Disorder (SOD) Calculator

> magent Rome IV Pancreatic Sphincter of Oddi Disorder (SOD) Calculator is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

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).

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/rome_iv_pancreatic_sod
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magent-rome-iv-pancreatic-sphincter-of-oddi-disorder-sod-calculator-d8f07ca4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yaXMsAG35VntupaR2znHW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability magent-rome-iv-pancreatic-sphincter-of-oddi-disorder-sod-calculator-d8f07ca4
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-rome-iv-pancreatic-sphincter-of-oddi-disorder-sod-calculator-d8f07ca4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
