Truelove and Witts 1955 ulcerative colitis severity
Truelove and Witts 1955 ulcerative colitis severity. severe iff stools_per_day >= 6 with macroscopic blood and at least one of fever, tachycardia, anemia, and esr_raised; mild iff stools_per_day <= 4, macroscopic_blood false, and no systemic flags; otherwise moderately_severe. Caller assigns flags from the 1955 table (fever mean evening >37.5 C or 37.8 C on 2 of 4 days; pulse >90; Hb 75% or less; ESR >30). magent does not examine the patient. Not a diagnosis, not Mayo UC, not PUCAI.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.magentlab.com/api/calc/truelove_witts
| Category | Everything else |
|---|---|
| Provider host | api.magentlab.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-28 | valid payment request | 402 | $0.007 | 280 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"anemia": false,
"esr_raised": false,
"fever": false,
"macroscopic_blood": false,
"stools_per_day": 2,
"tachycardia": false
},
{
"anemia": false,
"esr_raised": false,
"fever": false,
"macroscopic_blood": false,
"stools_per_day": 2,
"tachycardia": false
}
]
},
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"items": {
"items": {
"properties": {
"anemia": {
"description": "Anaemia as assigned by the caller using the 1955 definition: haemoglobin 75% or less, allowance made for recent transfusion. true or false. Not the later 10.5 g/dL restatement. magent does not measure haemoglobin.",
"type": "boolean"
},
"esr_raised": {
"description": "E.S.R. much raised as assigned by the caller using the 1955 definition: more than 30 mm in one hour. true or false. magent does not measure ESR.",
"type": "boolean"
},
"fever": {
"description": "Fever as assigned by the caller using the 1955 definition: mean evening temperature more than 99.5 F (37.5 C), or a temperature of 100 F (37.8 C) or more on at least two days out of four. true or false. magent does not measure temperature.",
"type": "boolean"
},
"macroscopic_blood": {
"description": "Macroscopic blood in stools as in the 1955 severe column (with macroscopic blood). true or false as assigned by the caller. The 1955 mild column allows no more than small amounts; assign false when blood is absent or no more than small amounts. magent does not examine the stool.",
"type": "boolean"
},
"stools_per_day": {
"description": "Number of stools (motions) per day as assigned by the caller (integer 0-40). The 1955 mild column is four or less; the severe column is six or more. magent does not count stools.",
"type": "integer"
},
"tachycardia": {
"description": "Tachycardia as assigned by the caller using the 1955 definition: mean pulse rate more than 90 per minute. true or false. magent does not measure pulse.",
"type": "boolean"
}
},
"required": [
"stools_per_day",
"macroscopic_blood",
"fever",
"tachycardia",
"anemia",
"esr_raised"
],
"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"
}