{
  "x402Version": 2,
  "id": 39558,
  "slug": "39558",
  "resource": "https://api.magentlab.com/api/calc/ses_cd",
  "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.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "ileum_affected_surface": 0,
                "ileum_narrowings": 0,
                "ileum_ulcerated_surface": 0,
                "ileum_ulcers": 0,
                "left_colon_affected_surface": 0,
                "left_colon_narrowings": 0,
                "left_colon_ulcerated_surface": 0,
                "left_colon_ulcers": 0,
                "rectum_affected_surface": 0,
                "rectum_narrowings": 0,
                "rectum_ulcerated_surface": 0,
                "rectum_ulcers": 0,
                "right_colon_affected_surface": 0,
                "right_colon_narrowings": 0,
                "right_colon_ulcerated_surface": 0,
                "right_colon_ulcers": 0,
                "transverse_colon_affected_surface": 0,
                "transverse_colon_narrowings": 0,
                "transverse_colon_ulcerated_surface": 0,
                "transverse_colon_ulcers": 0
              },
              {
                "ileum_affected_surface": 0,
                "ileum_narrowings": 0,
                "ileum_ulcerated_surface": 0,
                "ileum_ulcers": 0,
                "left_colon_affected_surface": 0,
                "left_colon_narrowings": 0,
                "left_colon_ulcerated_surface": 0,
                "left_colon_ulcers": 0,
                "rectum_affected_surface": 0,
                "rectum_narrowings": 0,
                "rectum_ulcerated_surface": 0,
                "rectum_ulcers": 0,
                "right_colon_affected_surface": 0,
                "right_colon_narrowings": 0,
                "right_colon_ulcerated_surface": 0,
                "right_colon_ulcers": 0,
                "transverse_colon_affected_surface": 0,
                "transverse_colon_narrowings": 0,
                "transverse_colon_ulcerated_surface": 0,
                "transverse_colon_ulcers": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Daperno M, D'Haens G, Van Assche G, et al.",
                  "doi": "10.1016/s0016-5107(04)01878-4",
                  "id": "daperno-2004",
                  "pmid": "15472670",
                  "source": "Gastrointest Endosc. 2004;60(4):505-512",
                  "title": "Development and validation of a new, simplified endoscopic activity score for Crohn's disease: the SES-CD."
                },
                "components": [
                  {
                    "factor": "ileum_ulcers",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "ileum_ulcerated_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "ileum_affected_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "ileum_narrowings",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "right_colon_ulcers",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "right_colon_ulcerated_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "right_colon_affected_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "right_colon_narrowings",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "transverse_colon_ulcers",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "transverse_colon_ulcerated_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "transverse_colon_affected_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "transverse_colon_narrowings",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "left_colon_ulcers",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "left_colon_ulcerated_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "left_colon_affected_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "left_colon_narrowings",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "rectum_ulcers",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "rectum_ulcerated_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "rectum_affected_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "rectum_narrowings",
                    "points": 0,
                    "present": true,
                    "value": 0
                  }
                ],
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "ses_cd",
                "formula_expression": "SES-CD = sum of ulcers, ulcerated_surface, affected_surface, and narrowings (each integer 0-3) in ileum, right_colon, transverse_colon, left_colon, and rectum; Daperno 2004 caller-assigned; max 60; unexamined segments 0 as assigned by the caller; no published activity bands",
                "max_score": 60,
                "score": 0
              },
              {
                "citation": {
                  "authors": "Daperno M, D'Haens G, Van Assche G, et al.",
                  "doi": "10.1016/s0016-5107(04)01878-4",
                  "id": "daperno-2004",
                  "pmid": "15472670",
                  "source": "Gastrointest Endosc. 2004;60(4):505-512",
                  "title": "Development and validation of a new, simplified endoscopic activity score for Crohn's disease: the SES-CD."
                },
                "components": [
                  {
                    "factor": "ileum_ulcers",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "ileum_ulcerated_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "ileum_affected_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "ileum_narrowings",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "right_colon_ulcers",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "right_colon_ulcerated_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "right_colon_affected_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "right_colon_narrowings",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "transverse_colon_ulcers",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "transverse_colon_ulcerated_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "transverse_colon_affected_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "transverse_colon_narrowings",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "left_colon_ulcers",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "left_colon_ulcerated_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "left_colon_affected_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "left_colon_narrowings",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "rectum_ulcers",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "rectum_ulcerated_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "rectum_affected_surface",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "rectum_narrowings",
                    "points": 0,
                    "present": true,
                    "value": 0
                  }
                ],
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "ses_cd",
                "formula_expression": "SES-CD = sum of ulcers, ulcerated_surface, affected_surface, and narrowings (each integer 0-3) in ileum, right_colon, transverse_colon, left_colon, and rectum; Daperno 2004 caller-assigned; max 60; unexamined segments 0 as assigned by the caller; no published activity bands",
                "max_score": 60,
                "score": 0
              }
            ],
            "path": "/api/calc/ses_cd"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "ileum_affected_surface": {
                          "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.",
                          "type": "integer"
                        },
                        "ileum_narrowings": {
                          "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.",
                          "type": "integer"
                        },
                        "ileum_ulcerated_surface": {
                          "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.",
                          "type": "integer"
                        },
                        "ileum_ulcers": {
                          "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.",
                          "type": "integer"
                        },
                        "left_colon_affected_surface": {
                          "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.",
                          "type": "integer"
                        },
                        "left_colon_narrowings": {
                          "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.",
                          "type": "integer"
                        },
                        "left_colon_ulcerated_surface": {
                          "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.",
                          "type": "integer"
                        },
                        "left_colon_ulcers": {
                          "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.",
                          "type": "integer"
                        },
                        "rectum_affected_surface": {
                          "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.",
                          "type": "integer"
                        },
                        "rectum_narrowings": {
                          "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.",
                          "type": "integer"
                        },
                        "rectum_ulcerated_surface": {
                          "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.",
                          "type": "integer"
                        },
                        "rectum_ulcers": {
                          "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.",
                          "type": "integer"
                        },
                        "right_colon_affected_surface": {
                          "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.",
                          "type": "integer"
                        },
                        "right_colon_narrowings": {
                          "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.",
                          "type": "integer"
                        },
                        "right_colon_ulcerated_surface": {
                          "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.",
                          "type": "integer"
                        },
                        "right_colon_ulcers": {
                          "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.",
                          "type": "integer"
                        },
                        "transverse_colon_affected_surface": {
                          "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.",
                          "type": "integer"
                        },
                        "transverse_colon_narrowings": {
                          "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.",
                          "type": "integer"
                        },
                        "transverse_colon_ulcerated_surface": {
                          "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.",
                          "type": "integer"
                        },
                        "transverse_colon_ulcers": {
                          "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.",
                          "type": "integer"
                        }
                      },
                      "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"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "ses-cd",
    "crohns",
    "endoscopy",
    "gi",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T13:58:01.371Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-12T13:58:01.214Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "ileum_affected_surface": 0,
                  "ileum_narrowings": 0,
                  "ileum_ulcerated_surface": 0,
                  "ileum_ulcers": 0,
                  "left_colon_affected_surface": 0,
                  "left_colon_narrowings": 0,
                  "left_colon_ulcerated_surface": 0,
                  "left_colon_ulcers": 0,
                  "rectum_affected_surface": 0,
                  "rectum_narrowings": 0,
                  "rectum_ulcerated_surface": 0,
                  "rectum_ulcers": 0,
                  "right_colon_affected_surface": 0,
                  "right_colon_narrowings": 0,
                  "right_colon_ulcerated_surface": 0,
                  "right_colon_ulcers": 0,
                  "transverse_colon_affected_surface": 0,
                  "transverse_colon_narrowings": 0,
                  "transverse_colon_ulcerated_surface": 0,
                  "transverse_colon_ulcers": 0
                },
                {
                  "ileum_affected_surface": 0,
                  "ileum_narrowings": 0,
                  "ileum_ulcerated_surface": 0,
                  "ileum_ulcers": 0,
                  "left_colon_affected_surface": 0,
                  "left_colon_narrowings": 0,
                  "left_colon_ulcerated_surface": 0,
                  "left_colon_ulcers": 0,
                  "rectum_affected_surface": 0,
                  "rectum_narrowings": 0,
                  "rectum_ulcerated_surface": 0,
                  "rectum_ulcers": 0,
                  "right_colon_affected_surface": 0,
                  "right_colon_narrowings": 0,
                  "right_colon_ulcerated_surface": 0,
                  "right_colon_ulcers": 0,
                  "transverse_colon_affected_surface": 0,
                  "transverse_colon_narrowings": 0,
                  "transverse_colon_ulcerated_surface": 0,
                  "transverse_colon_ulcers": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Daperno M, D'Haens G, Van Assche G, et al.",
                    "doi": "10.1016/s0016-5107(04)01878-4",
                    "id": "daperno-2004",
                    "pmid": "15472670",
                    "source": "Gastrointest Endosc. 2004;60(4):505-512",
                    "title": "Development and validation of a new, simplified endoscopic activity score for Crohn's disease: the SES-CD."
                  },
                  "components": [
                    {
                      "factor": "ileum_ulcers",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "ileum_ulcerated_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "ileum_affected_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "ileum_narrowings",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "right_colon_ulcers",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "right_colon_ulcerated_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "right_colon_affected_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "right_colon_narrowings",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "transverse_colon_ulcers",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "transverse_colon_ulcerated_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "transverse_colon_affected_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "transverse_colon_narrowings",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "left_colon_ulcers",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "left_colon_ulcerated_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "left_colon_affected_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "left_colon_narrowings",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "rectum_ulcers",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "rectum_ulcerated_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "rectum_affected_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "rectum_narrowings",
                      "points": 0,
                      "present": true,
                      "value": 0
                    }
                  ],
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "ses_cd",
                  "formula_expression": "SES-CD = sum of ulcers, ulcerated_surface, affected_surface, and narrowings (each integer 0-3) in ileum, right_colon, transverse_colon, left_colon, and rectum; Daperno 2004 caller-assigned; max 60; unexamined segments 0 as assigned by the caller; no published activity bands",
                  "max_score": 60,
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "Daperno M, D'Haens G, Van Assche G, et al.",
                    "doi": "10.1016/s0016-5107(04)01878-4",
                    "id": "daperno-2004",
                    "pmid": "15472670",
                    "source": "Gastrointest Endosc. 2004;60(4):505-512",
                    "title": "Development and validation of a new, simplified endoscopic activity score for Crohn's disease: the SES-CD."
                  },
                  "components": [
                    {
                      "factor": "ileum_ulcers",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "ileum_ulcerated_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "ileum_affected_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "ileum_narrowings",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "right_colon_ulcers",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "right_colon_ulcerated_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "right_colon_affected_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "right_colon_narrowings",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "transverse_colon_ulcers",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "transverse_colon_ulcerated_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "transverse_colon_affected_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "transverse_colon_narrowings",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "left_colon_ulcers",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "left_colon_ulcerated_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "left_colon_affected_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "left_colon_narrowings",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "rectum_ulcers",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "rectum_ulcerated_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "rectum_affected_surface",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "rectum_narrowings",
                      "points": 0,
                      "present": true,
                      "value": 0
                    }
                  ],
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "ses_cd",
                  "formula_expression": "SES-CD = sum of ulcers, ulcerated_surface, affected_surface, and narrowings (each integer 0-3) in ileum, right_colon, transverse_colon, left_colon, and rectum; Daperno 2004 caller-assigned; max 60; unexamined segments 0 as assigned by the caller; no published activity bands",
                  "max_score": 60,
                  "score": 0
                }
              ],
              "path": "/api/calc/ses_cd"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "ileum_affected_surface": {
                            "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.",
                            "type": "integer"
                          },
                          "ileum_narrowings": {
                            "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.",
                            "type": "integer"
                          },
                          "ileum_ulcerated_surface": {
                            "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.",
                            "type": "integer"
                          },
                          "ileum_ulcers": {
                            "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.",
                            "type": "integer"
                          },
                          "left_colon_affected_surface": {
                            "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.",
                            "type": "integer"
                          },
                          "left_colon_narrowings": {
                            "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.",
                            "type": "integer"
                          },
                          "left_colon_ulcerated_surface": {
                            "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.",
                            "type": "integer"
                          },
                          "left_colon_ulcers": {
                            "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.",
                            "type": "integer"
                          },
                          "rectum_affected_surface": {
                            "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.",
                            "type": "integer"
                          },
                          "rectum_narrowings": {
                            "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.",
                            "type": "integer"
                          },
                          "rectum_ulcerated_surface": {
                            "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.",
                            "type": "integer"
                          },
                          "rectum_ulcers": {
                            "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.",
                            "type": "integer"
                          },
                          "right_colon_affected_surface": {
                            "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.",
                            "type": "integer"
                          },
                          "right_colon_narrowings": {
                            "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.",
                            "type": "integer"
                          },
                          "right_colon_ulcerated_surface": {
                            "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.",
                            "type": "integer"
                          },
                          "right_colon_ulcers": {
                            "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.",
                            "type": "integer"
                          },
                          "transverse_colon_affected_surface": {
                            "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.",
                            "type": "integer"
                          },
                          "transverse_colon_narrowings": {
                            "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.",
                            "type": "integer"
                          },
                          "transverse_colon_ulcerated_surface": {
                            "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.",
                            "type": "integer"
                          },
                          "transverse_colon_ulcers": {
                            "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.",
                            "type": "integer"
                          }
                        },
                        "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"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}