{"uid":"cap_1iDGMpXw3UBbZEQnU89vt","slug":"magent-ses-cd-calculator-daperno-2004-4f828fa8","name":"magent SES-CD Calculator (Daperno 2004)","description":"Daperno 2004 simplified endoscopic activity score for Crohn's disease (SES-CD): caller-assigned integers 0-3 for ulcers, ulcerated_surface, affected_surface, and narrowings in ileum, right_colon, transverse_colon, left_colon, and rectum (20 params). magent sums only (max 60). Unexamined segments are 0 as assigned by the caller. Daperno 2004 did not publish remission or response bands; magent returns score and max_score only. magent does not perform endoscopy. Not CDEIS and not Best 1976 CDAI.","url":"https://api.magentlab.com/api/calc/ses_cd","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":["ileum_ulcers","ileum_ulcerated_surface","ileum_affected_surface","ileum_narrowings","right_colon_ulcers","right_colon_ulcerated_surface","right_colon_affected_surface","right_colon_narrowings","transverse_colon_ulcers","transverse_colon_ulcerated_surface","transverse_colon_affected_surface","transverse_colon_narrowings","left_colon_ulcers","left_colon_ulcerated_surface","left_colon_affected_surface","left_colon_narrowings","rectum_ulcers","rectum_ulcerated_surface","rectum_affected_surface","rectum_narrowings"],"properties":{"ileum_ulcers":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD ulcers for the ileum (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large >2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"rectum_ulcers":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD ulcers for the rectum (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large >2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"ileum_narrowings":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD narrowings for the ileum (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"left_colon_ulcers":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD ulcers for the left colon (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large >2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"rectum_narrowings":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD narrowings for the rectum (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"right_colon_ulcers":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD ulcers for the right colon (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large >2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"left_colon_narrowings":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD narrowings for the left colon (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"ileum_affected_surface":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD affected surface for the ileum (integer 0-3; Table 1: 0 unaffected / 1 <50% / 2 50–75% / 3 >75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"right_colon_narrowings":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD narrowings for the right colon (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"ileum_ulcerated_surface":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the ileum (integer 0-3; Table 1: 0 none / 1 <10% / 2 10–30% / 3 >30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"rectum_affected_surface":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD affected surface for the rectum (integer 0-3; Table 1: 0 unaffected / 1 <50% / 2 50–75% / 3 >75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"transverse_colon_ulcers":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD ulcers for the transverse colon (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large >2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"rectum_ulcerated_surface":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the rectum (integer 0-3; Table 1: 0 none / 1 <10% / 2 10–30% / 3 >30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"left_colon_affected_surface":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD affected surface for the left colon (integer 0-3; Table 1: 0 unaffected / 1 <50% / 2 50–75% / 3 >75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"transverse_colon_narrowings":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD narrowings for the transverse colon (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"left_colon_ulcerated_surface":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the left colon (integer 0-3; Table 1: 0 none / 1 <10% / 2 10–30% / 3 >30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"right_colon_affected_surface":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD affected surface for the right colon (integer 0-3; Table 1: 0 unaffected / 1 <50% / 2 50–75% / 3 >75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"right_colon_ulcerated_surface":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the right colon (integer 0-3; Table 1: 0 none / 1 <10% / 2 10–30% / 3 >30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"transverse_colon_affected_surface":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD affected surface for the transverse colon (integer 0-3; Table 1: 0 unaffected / 1 <50% / 2 50–75% / 3 >75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."},"transverse_colon_ulcerated_surface":{"type":"integer","description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the transverse colon (integer 0-3; Table 1: 0 none / 1 <10% / 2 10–30% / 3 >30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy."}}}},"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_nZEa5c_ptk0j0qvrcaFg-","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 Simple Endoscopic Score for Crohn's Disease (SES-CD) by summing caller-assigned integer scores (0–3) across five bowel segments and four lesion variables","exampleAgentPrompt":"Calculate the SES-CD score for a patient with ileum findings: ulcers 2, ulcerated surface 1, affected surface 2, narrowings 0; right colon: ulcers 1, ulcerated surface 1, affected surface 1, narrowings 0; transverse colon: all 0; left colon: ulcers 1, ulcerated surface 0, affected surface 1, narrowings 0; rectum: ulcers 0, ulcerated surface 0, affected surface 1, narrowings 0.","exampleUseCases":[{"title":"Post-colonoscopy Crohn's scoring","prompt":"I just finished documenting a colonoscopy for a Crohn's patient — ileum ulcers 3, ulcerated surface 2, affected surface 2, narrowings 1; right colon ulcers 2, ulcerated surface 1, affected surface 2, narrowings 0; transverse colon all 0; left colon ulcers 1, ulcerated surface 1, affected surface 1, narrowings 0; rectum all 0. Can you compute the SES-CD total score for me?"},{"title":"Tracking disease activity over time","prompt":"For my Crohn's patient follow-up visit, here are the new endoscopy segment scores — ileum: ulcers 1, ulcerated surface 1, affected surface 1, narrowings 0; right colon: ulcers 0, ulcerated surface 0, affected surface 1, narrowings 0; transverse, left colon, and rectum all zeros. What's the SES-CD score now compared to a possible max of 60?"},{"title":"Research data pipeline scoring","prompt":"I have a dataset entry with colonoscopy segment values for a Crohn's study subject: ileum ulcers 0, ulcerated surface 0, affected surface 1, narrowings 0; right colon ulcers 2, ulcerated surface 2, affected surface 2, narrowings 1; transverse colon ulcers 1, ulcerated surface 1, affected surface 1, narrowings 0; left colon all 0; rectum all 0. Please calculate the Daperno SES-CD total."}],"resultDescription":"Returns the computed SES-CD integer total score (sum of all 20 caller-supplied segment-variable integers, maximum 60) and the max_score value of 60. Does not return remission thresholds, response bands, or endoscopic interpretations — only the numeric score and ceiling.","failureModes":["Missing any of the 20 required query parameters returns an error","Non-integer or out-of-range values (outside 0–3) for any parameter may return a validation error","Network timeout or service unavailability returns a 5xx error","Incorrect segment naming in query params returns a 400 or parameter error"],"whenToPreferThis":"Use this endpoint when you need a fast, automated computation of the Daperno 2004 SES-CD score from already-coded endoscopic segment findings. Prefer it over manual calculation to avoid arithmetic errors across 20 variables. Note: this is NOT a CDEIS calculator (Crohn's Disease Endoscopic Index of Severity) and NOT the Best 1976 CDAI (Crohn's Disease Activity Index) — use only when specifically the SES-CD total is required. Remission or response band thresholds are not returned and must be applied by the caller using external clinical references.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:55:56.906Z","isFirstParty":false}