Oakland 2017 risk score for safe discharge after acute lower gastrointestinal bl
Oakland 2017 risk score for safe discharge after acute lower gastrointestinal bleeding. Points from age (0-2), sex (male 1), previous LGIB admission (1), caller-assigned blood on digital rectal examination (1), heart rate (0-3), systolic BP (0-5), and hemoglobin g/dL (0-22); max 35. safe_discharge when score ≤8 (derivation cutoff, not a later US validation). Not a discharge order or LGIB diagnosis. magent does not examine the rectum or assay hemoglobin. Hemoglobin g/dL or g/L.
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/oakland
| 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.005 | 316 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"age": 35,
"dre_blood": false,
"heart_rate_bpm": 65,
"hemoglobin_g_dl": 16.5,
"hemoglobin_g_l": 165,
"previous_lgib_admission": false,
"sex": "female",
"systolic_mm_hg": 165
},
{
"age": 35,
"dre_blood": false,
"heart_rate_bpm": 65,
"hemoglobin_g_dl": 16.5,
"hemoglobin_g_l": 165,
"previous_lgib_admission": false,
"sex": "female",
"systolic_mm_hg": 165
}
]
},
"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": {
"age": {
"description": "Age in years (integer 16-120). Oakland 2017: \u226439 \u2192 0, 40-69 \u2192 1, \u226570 \u2192 2.",
"type": "integer"
},
"dre_blood": {
"description": "Blood on digital rectal examination as assigned by the caller (Oakland 2017). true scores 1. magent does not examine the rectum.",
"type": "boolean"
},
"heart_rate_bpm": {
"description": "Heart rate in beats per minute (integer 30-220). Oakland 2017: <70 \u2192 0, 70-89 \u2192 1, 90-109 \u2192 2, \u2265110 \u2192 3.",
"type": "integer"
},
"hemoglobin_g_dl": {
"description": "Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. Oakland 2017 bands start at 3.6 g/dL: 3.6-6.9 \u2192 22, 7.0-8.9 \u2192 17, 9.0-10.9 \u2192 13, 11.0-12.9 \u2192 8, 13.0-15.9 \u2192 4, \u226516.0 \u2192 0. Values <3.6 after conversion are rejected. magent does not assay hemoglobin.",
"type": "number"
},
"hemoglobin_g_l": {
"description": "Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both. Values <3.6 g/dL after conversion are rejected.",
"type": "number"
},
"previous_lgib_admission": {
"description": "Previous admission for lower GI bleeding as assigned by the caller (Oakland 2017). true scores 1.",
"type": "boolean"
},
"sex": {
"description": "Sex as assigned by the caller. female scores 0; male scores 1.",
"enum": [
"female",
"male"
],
"type": "string"
},
"systolic_mm_hg": {
"description": "Systolic blood pressure in mm Hg (50-250). Oakland 2017: 50-89 \u2192 5, 90-119 \u2192 4, 120-129 \u2192 3, 130-159 \u2192 2, \u2265160 \u2192 0. magent does not read a blood pressure.",
"type": "number"
}
},
"required": [
"age",
"sex",
"previous_lgib_admission",
"dre_blood",
"heart_rate_bpm",
"systolic_mm_hg"
],
"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"
}