HAS-BLED Score Calculator is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).
Computes the HAS-BLED bleeding risk score for patients with atrial fibrillation from discrete clinical flags
Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.
Returns the computed HAS-BLED score (integer 0–9) based on the nine clinical flags, along with a risk interpretation (e.g., low, moderate, or high bleeding risk) and a citation to the published scoring system.
GEThttps://api.magentlab.com/api/calc/has_bled?utm_source=zero.xyzUse this endpoint when you need a deterministic, citation-backed HAS-BLED bleeding risk score for an atrial fibrillation patient — particularly when deciding whether to initiate or continue anticoagulation therapy. Prefer this over general-purpose LLM reasoning for clinical scoring, as it guarantees the published formula is applied correctly and consistently.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"path": "/api/calc/has_bled",
"count": 2,
"items": [
{
"score": 2,
"formula": "has_bled",
"citation": {
"id": "pisters-2010",
"doi": "10.1378/chest.10-0134",
"title": "A novel user-friendly score (HAS-BLED) to assess 1-year risk of major bleeding in patients with atrial fibrillation: the Euro Heart Survey",
"source": "Chest. 2010;138(5):1093-1100",
"authors": "Pisters R, Lane DA, Nieuwlaat R, de Vos CB, Crijns HJ, Lip GYH"
},
"age_years": 78,
"max_score": 9,
"components": [
{
"factor": "hypertension",
"points": 1,
"present": true
},
{
"factor": "abnormal_renal",
"points": 0,
"present": false
},
{
"factor": "abnormal_liver",
"points": 0,
"present": false
},
{
"factor": "stroke",
"points": 0,
"present": false
},
{
"factor": "bleeding",
"points": 0,
"present": false
},
{
"factor": "labile_inr",
"points": 0,
"present": false
},
{
"value": 78,
"factor": "elderly_age_gt_65",
"points": 1,
"present": true
},
{
"factor": "drugs",
"points": 0,
"present": false
},
{
"factor": "alcohol",
"points": 0,
"present": false
}
],
"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_expression": "HAS-BLED = hypertension + abnormal_renal + abnormal_liver + stroke + bleeding + labile_inr + elderly(age>65) + drugs + alcohol; max 9"
},
{
"score": 2,
"formula": "has_bled",
"citation": {
"id": "pisters-2010",
"doi": "10.1378/chest.10-0134",
"title": "A novel user-friendly score (HAS-BLED) to assess 1-year risk of major bleeding in patients with atrial fibrillation: the Euro Heart Survey",
"source": "Chest. 2010;138(5):1093-1100",
"authors": "Pisters R, Lane DA, Nieuwlaat R, de Vos CB, Crijns HJ, Lip GYH"
},
"age_years": 78,
"max_score": 9,
"components": [
{
"factor": "hypertension",
"points": 1,
"present": true
},
{
"factor": "abnormal_renal",
"points": 0,
"present": false
},
{
"factor": "abnormal_liver",
"points": 0,
"present": false
},
{
"factor": "stroke",
"points": 0,
"present": false
},
{
"factor": "bleeding",
"points": 0,
"present": false
},
{
"factor": "labile_inr",
"points": 0,
"present": false
},
{
"value": 78,
"factor": "elderly_age_gt_65",
"points": 1,
"present": true
},
{
"factor": "drugs",
"points": 0,
"present": false
},
{
"factor": "alcohol",
"points": 0,
"present": false
}
],
"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_expression": "HAS-BLED = hypertension + abnormal_renal + abnormal_liver + stroke + bleeding + labile_inr + elderly(age>65) + drugs + alcohol; max 9"
}
]
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"