Nashef 2012 EuroSCORE II Table 6 logistic in-hospital mortality after adult cardiac sur…
Nashef 2012 EuroSCORE II Table 6 logistic in-hospital mortality after adult cardiac surgery. Age Xi is 1 if age <= 60, else age - 59. Renal function is a caller-assigned creatinine-clearance band or dialysis; magent does not run Cockcroft-Gault. Returns logit…
by api.magentlab.com · discovered, not yet claimed by its owner · updated 2026-10-13
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
Nashef 2012 EuroSCORE II Table 6 logistic in-hospital mortality after adult cardiac surgery. Age Xi is 1 if age <= 60, else age - 59. Renal function is a caller-assigned creatinine-clearance band or dialysis; magent does not run Cockcroft-Gault. Returns logit and estimated_probability_percent from the unrounded logit. Not additive EuroSCORE I, not a medical device, and Nashef 2012 publishes no low/intermediate/high percent cuts.
Tags: euroscore-ii · cardiac-surgery · mortality · emergency · calculator · bazaar
Call contract
- Method
- POST
- Input
- HTTP request
- Output
- json
- Last paid call
- 2026-10-13
{
"items": [
{
"active_endocarditis": false,
"age": 60,
"ccs_class_4": false,
"chronic_lung_disease": false,
"critical_preoperative_state": false,
"extracardiac_arteriopathy": false,
"insulin_dependent_diabetes": false,
"lv_function": "good",
"nyha": 1,
"poor_mobility": false,
"previous_cardiac_surgery": false,
"pulmonary_hypertension": "none",
"recent_mi": false,
"renal": "cc_gt_85",
"sex": "male",
"thoracic_aorta": false,
"urgency": "elective",
"weight_of_procedure": "isolated_cabg"
},
{
"active_endocarditis": false,
"age": 60,
"ccs_class_4": false,
"chronic_lung_disease": false,
"critical_preoperative_state": false,
"extracardiac_arteriopathy": false,
"insulin_dependent_diabetes": false,
"lv_function": "good",
"nyha": 1,
"poor_mobility": false,
"previous_cardiac_surgery": false,
"pulmonary_hypertension": "none",
"recent_mi": false,
"renal": "cc_gt_85",
"sex": "male",
"thoracic_aorta": false,
"urgency": "elective",
"weight_of_procedure": "isolated_cabg"
}
]
}{
"count": 2,
"items": [
{
"active_endocarditis": false,
"age_step": 1,
"age_years": 60,
"ccs_class_4": false,
"chronic_lung_disease": false,
"citation": {
"authors": "Nashef SAM, Roques F, Sharples LD, Nilsson J, Smith C, Goldstone AR, Lockowandt U",
"doi": "10.1093/ejcts/ezs043",
"id": "nashef-2012",
"pmid": "22378855",
"source": "Eur J Cardiothorac Surg. 2012;41(4):734-745",
"title": "EuroSCORE II"
},
"critical_preoperative_state": 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.",
"estimated_probability_percent": 0.5,
"extracardiac_arteriopathy": false,
"formula": "euroscore_ii",
"formula_expression": "y = -5.324537 + 0.0285181*age_step + female + renal + extracardiac_arteriopathy + poor_mobility + previous_cardiac_surgery + chronic_lung_disease + active_endocarditis + critical_preoperative_state + insulin_dependent_diabetes + nyha + ccs_class_4 + lv_function + recent_mi + pulmonary_hypertension + urgency + weight_of_procedure + thoracic_aorta (Nashef 2012 Table 6 multivariable); age_step = 1 if age <= 60 else (age - 59); female 0.2196434; renal cc_gt_85 0, cc_51_85 0.303553, cc_le_50 0.8592256, dialysis 0.6421508; extracardiac_arteriopathy 0.5360268; poor_mobility 0.2407181; previous_cardiac_surgery 1.118599; chronic_lung_disease 0.1886564; active_endocarditis 0.6194522; critical_preoperative_state 1.086517; insulin_dependent_diabetes 0.3542749; nyha 1 0, 2 0.1070545, 3 0.2958358, 4 0.5597929; ccs_class_4 0.2226147; lv_function good 0, moderate 0.3150652, poor 0.8084096, very_poor 0.9346919; recent_mi 0.1528943; pulmonary_hypertension none 0, moderate 0.1788899, severe 0.3491475; urgency elective 0, urgent 0.3174673, emergency 0.7039121, salvage 1.362947; weight_of_procedure isolated_cabg 0, single_non_cabg 0.0062118, two 0.5521478, three_plus 0.9724533; thoracic_aorta 0.6527205; estimated_probability_percent = 100 * exp(y) / (1 + exp(y))",
"insulin_dependent_diabetes": false,
"logit": -5.296,
"lv_function": "good",
"nyha": 1,
"poor_mobility": false,
"previous_cardiac_surgery": false,
"pulmonary_hypertension": "none",
"recent_mi": false,
"renal": "cc_gt_85",
"sex": "male",
"thoracic_aorta": false,
"urgency": "elective",
"weight_of_procedure": "isolated_cabg"
},
{
"active_endocarditis": false,
"age_step": 1,
"age_years": 60,
"ccs_class_4": false,
"chronic_lung_disease": false,
"citation": {
"authors": "Nashef SAM, Roques F, Sharples LD, Nilsson J, Smith C, Goldstone AR, Lockowandt U",
"doi": "10.1093/ejcts/ezs043",
"id": "nashef-2012",
"pmid": "22378855",
"source": "Eur J Cardiothorac Surg. 2012;41(4):734-745",
"title": "EuroSCORE II"
},
"critical_preoperative_state": 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.",
"estimated_probability_percent": 0.5,
"extracardiac_arteriopathy": false,
"formula": "euroscore_ii",
"formula_expression": "y = -5.324537 + 0.0285181*age_step + female + renal + extracardiac_arteriopathy + poor_mobility + previous_cardiac_surgery + chronic_lung_disease + active_endocarditis + critical_preoperative_state + insulin_dependent_diabetes + nyha + ccs_class_4 + lv_function + recent_mi + pulmonary_hypertension + urgency + weight_of_procedure + thoracic_aorta (Nashef 2012 Table 6 multivariable); age_step = 1 if age <= 60 else (age - 59); female 0.2196434; renal cc_gt_85 0, cc_51_85 0.303553, cc_le_50 0.8592256, dialysis 0.6421508; extracardiac_arteriopathy 0.5360268; poor_mobility 0.2407181; previous_cardiac_surgery 1.118599; chronic_lung_disease 0.1886564; active_endocarditis 0.6194522; critical_preoperative_state 1.086517; insulin_dependent_diabetes 0.3542749; nyha 1 0, 2 0.1070545, 3 0.2958358, 4 0.5597929; ccs_class_4 0.2226147; lv_function good 0, moderate 0.3150652, poor 0.8084096, very_poor 0.9346919; recent_mi 0.1528943; pulmonary_hypertension none 0, moderate 0.1788899, severe 0.3491475; urgency elective 0, urgent 0.3174673, emergency 0.7039121, salvage 1.362947; weight_of_procedure isolated_cabg 0, single_non_cabg 0.0062118, two 0.5521478, three_plus 0.9724533; thoracic_aorta 0.6527205; estimated_probability_percent = 100 * exp(y) / (1 + exp(y))",
"insulin_dependent_diabetes": false,
"logit": -5.296,
"lv_function": "good",
"nyha": 1,
"poor_mobility": false,
"previous_cardiac_surgery": false,
"pulmonary_hypertension": "none",
"recent_mi": false,
"renal": "cc_gt_85",
"sex": "male",
"thoracic_aorta": false,
"urgency": "elective",
"weight_of_procedure": "isolated_cabg"
}
],
"path": "/api/calc/euroscore_ii"
}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/39183.jsonfor the price and payment options. - Pay. Call
GET https://api.magentlab.com/api/calc/euroscore_ii. 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
- 5 calls · 2 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/euroscore_ii"
# -> 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/euroscore_ii");
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/euroscore_ii")
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/euroscore_ii
- Machine-readable
/resources/39183.json