{"uid":"cap_Ri76rfBE6V0k-Ouw3K-67","slug":"callery-2013-fistula-risk-score-calculator-pancreatoduodenectomy-9dbefd31","name":"Callery 2013 Fistula Risk Score Calculator (Pancreatoduodenectomy)","description":"Callery 2013 Fistula Risk Score after pancreatoduodenectomy: gland texture firm 0 / soft 2; pathology PDAC or pancreatitis 0 / other (ampullary, duodenal, cystic, islet cell) 1; duct mm ≥5 0, ≥4 1, ≥3 2, ≥2 3, else 4; EBL mL ≤400 0, 401–700 1, 701–1000 2, >1000 3. Max 10. Bands negligible 0, low 1–2, intermediate 3–6, high 7–10. magent does not palpate the gland or measure EBL. Not a CR-POPF diagnosis, not an ISGPS grade, not Ranson or BISAP. Not a medical device.","url":"https://api.magentlab.com/api/calc/fistula_risk","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":["gland_texture","pathology","duct_mm","ebl_ml"],"properties":{"ebl_ml":{"type":"number","description":"Caller-assigned estimated blood loss in mL, number 0–10000 (Callery 2013). ≤400 scores 0; 401–700 scores 1; 701–1000 scores 2; >1000 scores 3. magent does not measure EBL."},"duct_mm":{"type":"number","description":"Caller-assigned pancreatic duct diameter in mm, number 0.5–20 (Callery 2013 integer-mm table). ≥5 scores 0; ≥4 scores 1; ≥3 scores 2; ≥2 scores 3; else 4 (so 4.0–4.999 scores 1; 1.5 and ≤1 score 4). magent does not measure the duct."},"pathology":{"enum":["pdac_or_pancreatitis","other"],"type":"string","description":"Caller-assigned pathology (Callery 2013). pdac_or_pancreatitis (pancreatic ductal adenocarcinoma or pancreatitis) scores 0. other (ampullary, duodenal, cystic, or islet cell) scores 1."},"gland_texture":{"enum":["firm","soft"],"type":"string","description":"Caller-assigned pancreatic gland texture at pancreatoduodenectomy (Callery 2013). firm or soft. firm scores 0; soft scores 2. magent does not palpate the gland."}}}},"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_6BRfDCrJPPIqiL-Z06iL7","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":"Computes the Callery 2013 Fistula Risk Score after pancreatoduodenectomy from four caller-supplied clinical factors: gland texture, pathology type, pancreatic duct diameter, and estimated blood loss.","exampleAgentPrompt":"Can you calculate the Callery 2013 Fistula Risk Score for a patient who had a Whipple — soft gland texture, pathology was ampullary (so 'other'), pancreatic duct is 3mm, and estimated blood loss was 550mL?","exampleUseCases":[{"title":"Post-Whipple fistula risk stratification","prompt":"I need the Fistula Risk Score for a patient after pancreatoduodenectomy: the gland texture is soft, pathology is PDAC, duct diameter is 4.5mm, and estimated blood loss was 380mL — what band does that fall into?"},{"title":"High-risk case identification pre-discharge","prompt":"Can you run the Callery fistula risk score for a patient with a soft pancreas, duodenal adenoma pathology (other), 2mm duct, and 800mL blood loss? I want to know if they're in the high-risk band."},{"title":"Comparing risk across two surgical cases","prompt":"Score the fistula risk for two cases: first, firm gland, PDAC pathology, duct 5mm, EBL 300mL; second, soft gland, cystic pathology, duct 2mm, EBL 1100mL — and tell me the risk band for each."}],"resultDescription":"Returns a numeric Fistula Risk Score from 0 to 10 and a corresponding risk band label (negligible, low, intermediate, or high), computed from the four Callery 2013 criteria: gland texture, pathology, duct diameter, and estimated blood loss.","failureModes":["Missing required query parameters (gland_texture, pathology, duct_mm, ebl_ml) return a validation error","duct_mm outside the accepted range (0.5–20) may cause a scoring error","Invalid enum values for gland_texture or pathology return a 400-level error","Payment failure (x402 protocol) prevents the call from completing","Values at edge boundaries (e.g. duct_mm exactly 4.0) must be interpreted per Callery scoring table"],"whenToPreferThis":"Use this endpoint when you need a validated, reproducible implementation of the Callery 2013 Fistula Risk Score for post-pancreatoduodenectomy patients — particularly when integrating the score into surgical decision-support workflows or clinical documentation. Prefer this over manual calculation to avoid arithmetic errors in the scoring table. Not appropriate for diagnosing CR-POPF, assigning ISGPS grades, or for pancreatitis severity scoring (use Ranson or BISAP endpoints instead).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:57:28.140Z","isFirstParty":false}