{
  "x402Version": 2,
  "id": 39557,
  "slug": "39557",
  "resource": "https://api.magentlab.com/api/calc/ho_index",
  "description": "Ho 2004 day-3 IV-steroid score for severe UC (0–9): mean stools (<4 → 0; 4 ≤ x < 6 → 1; 6 ≤ x ≤ 9 → 2; x > 9 → 4), caller-assigned colonic dilatation (+4), albumin <30 g/L (+1; 30 is not low). Failure: 0–1 → 11%, 2–3 → 43%, ≥4 → 85% (ROC ≥4). Not Travis, not Truelove and Witts, not a colectomy order. magent does not count stools, read films, or measure albumin.",
  "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": [
              {
                "albumin_g_dl": 3.5,
                "albumin_g_l": 35,
                "colonic_dilatation": false,
                "mean_stool_frequency": 3
              },
              {
                "albumin_g_dl": 3.5,
                "albumin_g_l": 35,
                "colonic_dilatation": false,
                "mean_stool_frequency": 3
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "albumin_g_l": 35,
                "citation": {
                  "authors": "Ho GT, Mowat C, Goddard CJ, Fennell JM, Shah NB, Prescott RJ, Satsangi J",
                  "doi": "10.1111/j.1365-2036.2004.01945.x",
                  "id": "ho-2004",
                  "pmid": "15142197",
                  "source": "Aliment Pharmacol Ther. 2004;19(10):1079-1087",
                  "title": "Predicting the outcome of severe ulcerative colitis: development of a novel risk score to aid early selection of patients for second-line medical therapy or surgery"
                },
                "colonic_dilatation": false,
                "components": [
                  {
                    "factor": "mean_stool_frequency",
                    "points": 0,
                    "present": false,
                    "value": 3
                  },
                  {
                    "factor": "colonic_dilatation",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hypoalbuminaemia",
                    "points": 0,
                    "present": false,
                    "value": 35
                  }
                ],
                "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": "ho_index",
                "formula_expression": "Ho 2004 day-3 IV-steroid severe UC: stool_points(<4 → 0; 4 ≤ mean_stool_frequency < 6 → 1; 6 ≤ x ≤ 9 → 2; x > 9 → 4) + colonic_dilatation (true → 4) + hypoalbuminaemia (albumin_g_l < 30 → 1); max 9; medical-therapy failure 0–1 → 11%, 2–3 → 43%, ≥4 → 85% (ROC operating point ≥4)",
                "hypoalbuminaemia": false,
                "max_score": 9,
                "mean_stool_frequency": 3,
                "medical_failure_percent": 11,
                "risk": "low",
                "score": 0,
                "score_ge_4": false
              },
              {
                "albumin_g_l": 35,
                "citation": {
                  "authors": "Ho GT, Mowat C, Goddard CJ, Fennell JM, Shah NB, Prescott RJ, Satsangi J",
                  "doi": "10.1111/j.1365-2036.2004.01945.x",
                  "id": "ho-2004",
                  "pmid": "15142197",
                  "source": "Aliment Pharmacol Ther. 2004;19(10):1079-1087",
                  "title": "Predicting the outcome of severe ulcerative colitis: development of a novel risk score to aid early selection of patients for second-line medical therapy or surgery"
                },
                "colonic_dilatation": false,
                "components": [
                  {
                    "factor": "mean_stool_frequency",
                    "points": 0,
                    "present": false,
                    "value": 3
                  },
                  {
                    "factor": "colonic_dilatation",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hypoalbuminaemia",
                    "points": 0,
                    "present": false,
                    "value": 35
                  }
                ],
                "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": "ho_index",
                "formula_expression": "Ho 2004 day-3 IV-steroid severe UC: stool_points(<4 → 0; 4 ≤ mean_stool_frequency < 6 → 1; 6 ≤ x ≤ 9 → 2; x > 9 → 4) + colonic_dilatation (true → 4) + hypoalbuminaemia (albumin_g_l < 30 → 1); max 9; medical-therapy failure 0–1 → 11%, 2–3 → 43%, ≥4 → 85% (ROC operating point ≥4)",
                "hypoalbuminaemia": false,
                "max_score": 9,
                "mean_stool_frequency": 3,
                "medical_failure_percent": 11,
                "risk": "low",
                "score": 0,
                "score_ge_4": false
              }
            ],
            "path": "/api/calc/ho_index"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "albumin_g_dl": {
                          "description": "Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.",
                          "type": "number"
                        },
                        "albumin_g_l": {
                          "description": "Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Ho 2004 hypoalbuminaemia is <30 g/L (30 is not low). magent does not assay albumin.",
                          "type": "number"
                        },
                        "colonic_dilatation": {
                          "description": "Caller-assigned colonic dilatation (Ho 2004). true scores 4; false scores 0. magent does not read an abdominal film and does not invent a centimetre cutoff.",
                          "type": "boolean"
                        },
                        "mean_stool_frequency": {
                          "description": "Mean stool frequency over the first 3 days of IV steroids, as assigned by the caller (number 0-40). Ho 2004: <4 scores 0; 4 ≤ x < 6 scores 1; 6 ≤ x ≤ 9 scores 2; x > 9 scores 4. Exactly 6 and exactly 9 score 2. magent does not count stools.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "mean_stool_frequency",
                        "colonic_dilatation"
                      ],
                      "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": [
    "ho-index",
    "ulcerative-colitis",
    "gi",
    "albumin",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:03:59.483Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-12T14:03:59.338Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "albumin_g_dl": 3.5,
                  "albumin_g_l": 35,
                  "colonic_dilatation": false,
                  "mean_stool_frequency": 3
                },
                {
                  "albumin_g_dl": 3.5,
                  "albumin_g_l": 35,
                  "colonic_dilatation": false,
                  "mean_stool_frequency": 3
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "albumin_g_l": 35,
                  "citation": {
                    "authors": "Ho GT, Mowat C, Goddard CJ, Fennell JM, Shah NB, Prescott RJ, Satsangi J",
                    "doi": "10.1111/j.1365-2036.2004.01945.x",
                    "id": "ho-2004",
                    "pmid": "15142197",
                    "source": "Aliment Pharmacol Ther. 2004;19(10):1079-1087",
                    "title": "Predicting the outcome of severe ulcerative colitis: development of a novel risk score to aid early selection of patients for second-line medical therapy or surgery"
                  },
                  "colonic_dilatation": false,
                  "components": [
                    {
                      "factor": "mean_stool_frequency",
                      "points": 0,
                      "present": false,
                      "value": 3
                    },
                    {
                      "factor": "colonic_dilatation",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hypoalbuminaemia",
                      "points": 0,
                      "present": false,
                      "value": 35
                    }
                  ],
                  "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": "ho_index",
                  "formula_expression": "Ho 2004 day-3 IV-steroid severe UC: stool_points(<4 → 0; 4 ≤ mean_stool_frequency < 6 → 1; 6 ≤ x ≤ 9 → 2; x > 9 → 4) + colonic_dilatation (true → 4) + hypoalbuminaemia (albumin_g_l < 30 → 1); max 9; medical-therapy failure 0–1 → 11%, 2–3 → 43%, ≥4 → 85% (ROC operating point ≥4)",
                  "hypoalbuminaemia": false,
                  "max_score": 9,
                  "mean_stool_frequency": 3,
                  "medical_failure_percent": 11,
                  "risk": "low",
                  "score": 0,
                  "score_ge_4": false
                },
                {
                  "albumin_g_l": 35,
                  "citation": {
                    "authors": "Ho GT, Mowat C, Goddard CJ, Fennell JM, Shah NB, Prescott RJ, Satsangi J",
                    "doi": "10.1111/j.1365-2036.2004.01945.x",
                    "id": "ho-2004",
                    "pmid": "15142197",
                    "source": "Aliment Pharmacol Ther. 2004;19(10):1079-1087",
                    "title": "Predicting the outcome of severe ulcerative colitis: development of a novel risk score to aid early selection of patients for second-line medical therapy or surgery"
                  },
                  "colonic_dilatation": false,
                  "components": [
                    {
                      "factor": "mean_stool_frequency",
                      "points": 0,
                      "present": false,
                      "value": 3
                    },
                    {
                      "factor": "colonic_dilatation",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hypoalbuminaemia",
                      "points": 0,
                      "present": false,
                      "value": 35
                    }
                  ],
                  "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": "ho_index",
                  "formula_expression": "Ho 2004 day-3 IV-steroid severe UC: stool_points(<4 → 0; 4 ≤ mean_stool_frequency < 6 → 1; 6 ≤ x ≤ 9 → 2; x > 9 → 4) + colonic_dilatation (true → 4) + hypoalbuminaemia (albumin_g_l < 30 → 1); max 9; medical-therapy failure 0–1 → 11%, 2–3 → 43%, ≥4 → 85% (ROC operating point ≥4)",
                  "hypoalbuminaemia": false,
                  "max_score": 9,
                  "mean_stool_frequency": 3,
                  "medical_failure_percent": 11,
                  "risk": "low",
                  "score": 0,
                  "score_ge_4": false
                }
              ],
              "path": "/api/calc/ho_index"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "albumin_g_dl": {
                            "description": "Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.",
                            "type": "number"
                          },
                          "albumin_g_l": {
                            "description": "Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Ho 2004 hypoalbuminaemia is <30 g/L (30 is not low). magent does not assay albumin.",
                            "type": "number"
                          },
                          "colonic_dilatation": {
                            "description": "Caller-assigned colonic dilatation (Ho 2004). true scores 4; false scores 0. magent does not read an abdominal film and does not invent a centimetre cutoff.",
                            "type": "boolean"
                          },
                          "mean_stool_frequency": {
                            "description": "Mean stool frequency over the first 3 days of IV steroids, as assigned by the caller (number 0-40). Ho 2004: <4 scores 0; 4 ≤ x < 6 scores 1; 6 ≤ x ≤ 9 scores 2; x > 9 scores 4. Exactly 6 and exactly 9 score 2. magent does not count stools.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "mean_stool_frequency",
                          "colonic_dilatation"
                        ],
                        "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"
  }
}