Oakland 2017 risk score for safe discharge after acute lower gastrointestinal bleeding
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 hemoglo…
by api.magentlab.com · discovered, not yet claimed by its owner · updated 2026-10-12
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: oakland · lgib · gi-bleed · discharge · calculator · bazaar
Call contract
- Method
- POST
- Input
- HTTP request
- Output
- json
- Last paid call
- 2026-10-12
{
"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
}
]
}{
"count": 2,
"items": [
{
"age_years": 35,
"citation": {
"authors": "Oakland K, Jairath V, Uberoi R, Guy R, Ayaru L, Mortensen N, Murphy MF, Collins GS",
"doi": "10.1016/s2468-1253(17)30150-4",
"id": "oakland-2017",
"pmid": "28651935",
"source": "Lancet Gastroenterol Hepatol. 2017;2(9):635-643",
"title": "Derivation and validation of a novel risk score for safe discharge after acute lower gastrointestinal bleeding: a modelling study"
},
"components": [
{
"factor": "age",
"points": 0,
"present": false,
"value": 35
},
{
"factor": "sex",
"points": 0,
"present": false,
"value": "female"
},
{
"factor": "previous_lgib_admission",
"points": 0,
"present": false
},
{
"factor": "dre_blood",
"points": 0,
"present": false
},
{
"factor": "heart_rate",
"points": 0,
"present": false,
"value": 65
},
{
"factor": "systolic",
"points": 0,
"present": false,
"value": 165
},
{
"factor": "hemoglobin",
"points": 0,
"present": false,
"value": 16.5
}
],
"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.",
"dre_blood": false,
"formula": "oakland",
"formula_expression": "Oakland = age (≤39:0, 40-69:1, ≥70:2) + male 1 + previous_lgib_admission 1 + dre_blood 1 + HR (<70:0, 70-89:1, 90-109:2, ≥110:3) + SBP (50-89:5, 90-119:4, 120-129:3, 130-159:2, ≥160:0) + Hb g/dL (3.6-6.9:22, 7.0-8.9:17, 9.0-10.9:13, 11.0-12.9:8, 13.0-15.9:4, ≥16.0:0); Oakland 2017 derivation; max 35; safe_discharge ≤8",
"heart_rate_bpm": 65,
"hemoglobin_g_dl": 16.5,
"max_score": 35,
"oakland_band": "safe_discharge",
"previous_lgib_admission": false,
"score": 0,
"sex": "female",
"systolic_mm_hg": 165
},
{
"age_years": 35,
"citation": {
"authors": "Oakland K, Jairath V, Uberoi R, Guy R, Ayaru L, Mortensen N, Murphy MF, Collins GS",
"doi": "10.1016/s2468-1253(17)30150-4",
"id": "oakland-2017",
"pmid": "28651935",
"source": "Lancet Gastroenterol Hepatol. 2017;2(9):635-643",
"title": "Derivation and validation of a novel risk score for safe discharge after acute lower gastrointestinal bleeding: a modelling study"
},
"components": [
{
"factor": "age",
"points": 0,
"present": false,
"value": 35
},
{
"factor": "sex",
"points": 0,
"present": false,
"value": "female"
},
{
"factor": "previous_lgib_admission",
"points": 0,
"present": false
},
{
"factor": "dre_blood",
"points": 0,
"present": false
},
{
"factor": "heart_rate",
"points": 0,
"present": false,
"value": 65
},
{
"factor": "systolic",
"points": 0,
"present": false,
"value": 165
},
{
"factor": "hemoglobin",
"points": 0,
"present": false,
"value": 16.5
}
],
"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.",
"dre_blood": false,
"formula": "oakland",
"formula_expression": "Oakland = age (≤39:0, 40-69:1, ≥70:2) + male 1 + previous_lgib_admission 1 + dre_blood 1 + HR (<70:0, 70-89:1, 90-109:2, ≥110:3) + SBP (50-89:5, 90-119:4, 120-129:3, 130-159:2, ≥160:0) + Hb g/dL (3.6-6.9:22, 7.0-8.9:17, 9.0-10.9:13, 11.0-12.9:8, 13.0-15.9:4, ≥16.0:0); Oakland 2017 derivation; max 35; safe_discharge ≤8",
"heart_rate_bpm": 65,
"hemoglobin_g_dl": 16.5,
"max_score": 35,
"oakland_band": "safe_discharge",
"previous_lgib_admission": false,
"score": 0,
"sex": "female",
"systolic_mm_hg": 165
}
],
"path": "/api/calc/oakland"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/39560.jsonfor the price and payment options. - Pay. Call
GET https://api.magentlab.com/api/calc/oakland. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 3 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2 | 600s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 600
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {},
"type": "string"
}Examples
curl "https://api.magentlab.com/api/calc/oakland"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.magentlab.com/api/calc/oakland");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.magentlab.com/api/calc/oakland")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.magentlab.com
- Endpoint
- https://api.magentlab.com/api/calc/oakland
- Machine-readable
/resources/39560.json