{
  "x402Version": 2,
  "id": 38976,
  "slug": "38976",
  "resource": "https://api.magentlab.com/api/calc/pcdai",
  "description": "Hyams 1991 Pediatric Crohn's Disease Activity Index (PCDAI): eleven caller-assigned item points. hematocrit and esr are 0, 2.5, or 5; the other nine are 0, 5, or 10. magent sums only (max 100) and does not return activity bands. magent does not examine the child or assign hematocrit age/sex tables. Not a diagnosis. Not CDAI, SES-CD, or PUCAI.",
  "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": [
              {
                "abdomen": 0,
                "abdominal_pain": 0,
                "albumin": 0,
                "esr": 0,
                "extra_intestinal": 0,
                "height": 0,
                "hematocrit": 0,
                "perirectal": 0,
                "stools": 0,
                "weight": 0,
                "well_being": 0
              },
              {
                "abdomen": 0,
                "abdominal_pain": 0,
                "albumin": 0,
                "esr": 0,
                "extra_intestinal": 0,
                "height": 0,
                "hematocrit": 0,
                "perirectal": 0,
                "stools": 0,
                "weight": 0,
                "well_being": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "abdomen": 0,
                "abdominal_pain": 0,
                "albumin": 0,
                "citation": {
                  "authors": "Hyams JS, Ferry GD, Mandel FS, et al.",
                  "doi": "10.1097/00005176-199105000-00001",
                  "id": "hyams-1991",
                  "pmid": "1678008",
                  "source": "J Pediatr Gastroenterol Nutr. 1991;12(4):439-447",
                  "title": "Development and validation of a pediatric Crohn's disease activity index"
                },
                "components": [
                  {
                    "factor": "abdominal_pain",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "stools",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "well_being",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "hematocrit",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "esr",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "albumin",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "weight",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "height",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "abdomen",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "perirectal",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "extra_intestinal",
                    "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.",
                "esr": 0,
                "extra_intestinal": 0,
                "formula": "pcdai",
                "formula_expression": "PCDAI = abdominal_pain + stools + well_being + hematocrit + esr + albumin + weight + height + abdomen + perirectal + extra_intestinal; Hyams 1991 caller-assigned item points; hematocrit and esr 0, 2.5, or 5; remaining items 0, 5, or 10; max 100; no published activity bands",
                "height": 0,
                "hematocrit": 0,
                "max_score": 100,
                "perirectal": 0,
                "score": 0,
                "stools": 0,
                "weight": 0,
                "well_being": 0
              },
              {
                "abdomen": 0,
                "abdominal_pain": 0,
                "albumin": 0,
                "citation": {
                  "authors": "Hyams JS, Ferry GD, Mandel FS, et al.",
                  "doi": "10.1097/00005176-199105000-00001",
                  "id": "hyams-1991",
                  "pmid": "1678008",
                  "source": "J Pediatr Gastroenterol Nutr. 1991;12(4):439-447",
                  "title": "Development and validation of a pediatric Crohn's disease activity index"
                },
                "components": [
                  {
                    "factor": "abdominal_pain",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "stools",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "well_being",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "hematocrit",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "esr",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "albumin",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "weight",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "height",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "abdomen",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "perirectal",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "extra_intestinal",
                    "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.",
                "esr": 0,
                "extra_intestinal": 0,
                "formula": "pcdai",
                "formula_expression": "PCDAI = abdominal_pain + stools + well_being + hematocrit + esr + albumin + weight + height + abdomen + perirectal + extra_intestinal; Hyams 1991 caller-assigned item points; hematocrit and esr 0, 2.5, or 5; remaining items 0, 5, or 10; max 100; no published activity bands",
                "height": 0,
                "hematocrit": 0,
                "max_score": 100,
                "perirectal": 0,
                "score": 0,
                "stools": 0,
                "weight": 0,
                "well_being": 0
              }
            ],
            "path": "/api/calc/pcdai"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "abdomen": {
                          "description": "Caller-assigned Hyams 1991 PCDAI abdomen points (integer 0, 5, or 10): 0 no tenderness, no mass; 5 tenderness, or mass without tenderness; 10 tenderness, involuntary guarding, definite mass. magent does not examine the child.",
                          "type": "integer"
                        },
                        "abdominal_pain": {
                          "description": "Caller-assigned Hyams 1991 PCDAI abdominal pain points (integer 0, 5, or 10): 0 none; 5 mild (brief, does not interfere with activities); 10 moderate/severe (daily, longer lasting, affects activities, nocturnal). magent does not examine the child.",
                          "type": "integer"
                        },
                        "albumin": {
                          "description": "Caller-assigned Hyams 1991 PCDAI albumin points (integer 0, 5, or 10): 0 for albumin ≥3.5 g/dL; 5 for 3.1-3.4; 10 for ≤3.0. magent does not assay albumin. magent does not examine the child.",
                          "type": "integer"
                        },
                        "esr": {
                          "description": "Caller-assigned Hyams 1991 PCDAI erythrocyte sedimentation rate points (number 0, 2.5, or 5): 0 for ESR <20 mm/h; 2.5 for 20-50; 5 for >50. magent does not assay ESR. magent does not examine the child.",
                          "type": "number"
                        },
                        "extra_intestinal": {
                          "description": "Caller-assigned Hyams 1991 PCDAI extra-intestinal manifestation points (integer 0, 5, or 10): 0 none; 5 one; 10 two or more (fever ≥38.5°C for 3 days over the past week, arthritis, uveitis, erythema nodosum, pyoderma gangrenosum). magent does not examine the child.",
                          "type": "integer"
                        },
                        "height": {
                          "description": "Caller-assigned Hyams 1991 PCDAI height points (integer 0, 5, or 10): at diagnosis 0 <1 channel decrease, 5 ≥1 and <2 channel decrease, 10 ≥2 channel decrease; at follow-up 0 height velocity ≥-1 SD, 5 <-1 SD and >-2 SD, 10 ≤-2 SD. magent does not measure height. magent does not examine the child.",
                          "type": "integer"
                        },
                        "hematocrit": {
                          "description": "Caller-assigned Hyams 1991 PCDAI hematocrit points (number 0, 2.5, or 5). The paper's age- and sex-specific hematocrit table is applied by the caller. magent does not assign that table. magent does not examine the child.",
                          "type": "number"
                        },
                        "perirectal": {
                          "description": "Caller-assigned Hyams 1991 PCDAI perirectal disease points (integer 0, 5, or 10): 0 none, asymptomatic tags; 5 1-2 indolent fistula, scant drainage, no tenderness; 10 active fistula, drainage, tenderness, or abscess. magent does not examine the child.",
                          "type": "integer"
                        },
                        "stools": {
                          "description": "Caller-assigned Hyams 1991 PCDAI stools per day points (integer 0, 5, or 10): 0 for 0-1 liquid stools, no blood; 5 for up to 2 semi-formed with small blood, or 2-5 liquid; 10 for gross bleeding, or ≥6 liquid, or nocturnal diarrhea. magent does not examine the child.",
                          "type": "integer"
                        },
                        "weight": {
                          "description": "Caller-assigned Hyams 1991 PCDAI weight points (integer 0, 5, or 10): 0 weight gain or voluntary stable/loss; 5 involuntary stable or weight loss 1-9%; 10 weight loss ≥10%. magent does not examine the child.",
                          "type": "integer"
                        },
                        "well_being": {
                          "description": "Caller-assigned Hyams 1991 PCDAI patient functioning / general well-being points (integer 0, 5, or 10): 0 no limitation of activities, well; 5 occasional difficulty in maintaining age-appropriate activities; 10 frequent limitation of activities, very poor. magent does not examine the child.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "abdominal_pain",
                        "stools",
                        "well_being",
                        "hematocrit",
                        "esr",
                        "albumin",
                        "weight",
                        "height",
                        "abdomen",
                        "perirectal",
                        "extra_intestinal"
                      ],
                      "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": [
    "pcdai",
    "crohns",
    "pediatric",
    "gi",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T10:36:34.113Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T10:36:33.994Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "abdomen": 0,
                  "abdominal_pain": 0,
                  "albumin": 0,
                  "esr": 0,
                  "extra_intestinal": 0,
                  "height": 0,
                  "hematocrit": 0,
                  "perirectal": 0,
                  "stools": 0,
                  "weight": 0,
                  "well_being": 0
                },
                {
                  "abdomen": 0,
                  "abdominal_pain": 0,
                  "albumin": 0,
                  "esr": 0,
                  "extra_intestinal": 0,
                  "height": 0,
                  "hematocrit": 0,
                  "perirectal": 0,
                  "stools": 0,
                  "weight": 0,
                  "well_being": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "abdomen": 0,
                  "abdominal_pain": 0,
                  "albumin": 0,
                  "citation": {
                    "authors": "Hyams JS, Ferry GD, Mandel FS, et al.",
                    "doi": "10.1097/00005176-199105000-00001",
                    "id": "hyams-1991",
                    "pmid": "1678008",
                    "source": "J Pediatr Gastroenterol Nutr. 1991;12(4):439-447",
                    "title": "Development and validation of a pediatric Crohn's disease activity index"
                  },
                  "components": [
                    {
                      "factor": "abdominal_pain",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "stools",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "well_being",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "hematocrit",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "esr",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "albumin",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "weight",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "height",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "abdomen",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "perirectal",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "extra_intestinal",
                      "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.",
                  "esr": 0,
                  "extra_intestinal": 0,
                  "formula": "pcdai",
                  "formula_expression": "PCDAI = abdominal_pain + stools + well_being + hematocrit + esr + albumin + weight + height + abdomen + perirectal + extra_intestinal; Hyams 1991 caller-assigned item points; hematocrit and esr 0, 2.5, or 5; remaining items 0, 5, or 10; max 100; no published activity bands",
                  "height": 0,
                  "hematocrit": 0,
                  "max_score": 100,
                  "perirectal": 0,
                  "score": 0,
                  "stools": 0,
                  "weight": 0,
                  "well_being": 0
                },
                {
                  "abdomen": 0,
                  "abdominal_pain": 0,
                  "albumin": 0,
                  "citation": {
                    "authors": "Hyams JS, Ferry GD, Mandel FS, et al.",
                    "doi": "10.1097/00005176-199105000-00001",
                    "id": "hyams-1991",
                    "pmid": "1678008",
                    "source": "J Pediatr Gastroenterol Nutr. 1991;12(4):439-447",
                    "title": "Development and validation of a pediatric Crohn's disease activity index"
                  },
                  "components": [
                    {
                      "factor": "abdominal_pain",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "stools",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "well_being",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "hematocrit",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "esr",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "albumin",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "weight",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "height",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "abdomen",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "perirectal",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "extra_intestinal",
                      "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.",
                  "esr": 0,
                  "extra_intestinal": 0,
                  "formula": "pcdai",
                  "formula_expression": "PCDAI = abdominal_pain + stools + well_being + hematocrit + esr + albumin + weight + height + abdomen + perirectal + extra_intestinal; Hyams 1991 caller-assigned item points; hematocrit and esr 0, 2.5, or 5; remaining items 0, 5, or 10; max 100; no published activity bands",
                  "height": 0,
                  "hematocrit": 0,
                  "max_score": 100,
                  "perirectal": 0,
                  "score": 0,
                  "stools": 0,
                  "weight": 0,
                  "well_being": 0
                }
              ],
              "path": "/api/calc/pcdai"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "abdomen": {
                            "description": "Caller-assigned Hyams 1991 PCDAI abdomen points (integer 0, 5, or 10): 0 no tenderness, no mass; 5 tenderness, or mass without tenderness; 10 tenderness, involuntary guarding, definite mass. magent does not examine the child.",
                            "type": "integer"
                          },
                          "abdominal_pain": {
                            "description": "Caller-assigned Hyams 1991 PCDAI abdominal pain points (integer 0, 5, or 10): 0 none; 5 mild (brief, does not interfere with activities); 10 moderate/severe (daily, longer lasting, affects activities, nocturnal). magent does not examine the child.",
                            "type": "integer"
                          },
                          "albumin": {
                            "description": "Caller-assigned Hyams 1991 PCDAI albumin points (integer 0, 5, or 10): 0 for albumin ≥3.5 g/dL; 5 for 3.1-3.4; 10 for ≤3.0. magent does not assay albumin. magent does not examine the child.",
                            "type": "integer"
                          },
                          "esr": {
                            "description": "Caller-assigned Hyams 1991 PCDAI erythrocyte sedimentation rate points (number 0, 2.5, or 5): 0 for ESR <20 mm/h; 2.5 for 20-50; 5 for >50. magent does not assay ESR. magent does not examine the child.",
                            "type": "number"
                          },
                          "extra_intestinal": {
                            "description": "Caller-assigned Hyams 1991 PCDAI extra-intestinal manifestation points (integer 0, 5, or 10): 0 none; 5 one; 10 two or more (fever ≥38.5°C for 3 days over the past week, arthritis, uveitis, erythema nodosum, pyoderma gangrenosum). magent does not examine the child.",
                            "type": "integer"
                          },
                          "height": {
                            "description": "Caller-assigned Hyams 1991 PCDAI height points (integer 0, 5, or 10): at diagnosis 0 <1 channel decrease, 5 ≥1 and <2 channel decrease, 10 ≥2 channel decrease; at follow-up 0 height velocity ≥-1 SD, 5 <-1 SD and >-2 SD, 10 ≤-2 SD. magent does not measure height. magent does not examine the child.",
                            "type": "integer"
                          },
                          "hematocrit": {
                            "description": "Caller-assigned Hyams 1991 PCDAI hematocrit points (number 0, 2.5, or 5). The paper's age- and sex-specific hematocrit table is applied by the caller. magent does not assign that table. magent does not examine the child.",
                            "type": "number"
                          },
                          "perirectal": {
                            "description": "Caller-assigned Hyams 1991 PCDAI perirectal disease points (integer 0, 5, or 10): 0 none, asymptomatic tags; 5 1-2 indolent fistula, scant drainage, no tenderness; 10 active fistula, drainage, tenderness, or abscess. magent does not examine the child.",
                            "type": "integer"
                          },
                          "stools": {
                            "description": "Caller-assigned Hyams 1991 PCDAI stools per day points (integer 0, 5, or 10): 0 for 0-1 liquid stools, no blood; 5 for up to 2 semi-formed with small blood, or 2-5 liquid; 10 for gross bleeding, or ≥6 liquid, or nocturnal diarrhea. magent does not examine the child.",
                            "type": "integer"
                          },
                          "weight": {
                            "description": "Caller-assigned Hyams 1991 PCDAI weight points (integer 0, 5, or 10): 0 weight gain or voluntary stable/loss; 5 involuntary stable or weight loss 1-9%; 10 weight loss ≥10%. magent does not examine the child.",
                            "type": "integer"
                          },
                          "well_being": {
                            "description": "Caller-assigned Hyams 1991 PCDAI patient functioning / general well-being points (integer 0, 5, or 10): 0 no limitation of activities, well; 5 occasional difficulty in maintaining age-appropriate activities; 10 frequent limitation of activities, very poor. magent does not examine the child.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "abdominal_pain",
                          "stools",
                          "well_being",
                          "hematocrit",
                          "esr",
                          "albumin",
                          "weight",
                          "height",
                          "abdomen",
                          "perirectal",
                          "extra_intestinal"
                        ],
                        "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"
  }
}