Ghanem 2012 Table 5 bedside preoperative mortality predictor
Ghanem 2012 Table 5 bedside preoperative mortality predictor. Inpatient 6, sepsis 4, poor functional status (total ADL assistance) 3, disseminated cancer 1, age (≥80 → 2; 70–79 → 1; 65–69 → 0.5; else 0), cardiac 5, pulmonary 3, renal 1, liver 1, chronic stero…
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
Ghanem 2012 Table 5 bedside preoperative mortality predictor. Inpatient 6, sepsis 4, poor functional status (total ADL assistance) 3, disseminated cancer 1, age (≥80 → 2; 70–79 → 1; 65–69 → 0.5; else 0), cardiac 5, pulmonary 3, renal 1, liver 1, chronic steroid 1, >10% weight loss 1, bleeding disorder 1, DNR 1, obesity −1. Range −1 to 30. Figure 3: <1% died in 0–5, 73% in 20–30. Not a go/no-go for surgery.
Tags: pmp · preoperative · mortality · nsqip · calculator · bazaar
Call contract
- Method
- POST
- Input
- HTTP request
- Output
- json
- Last paid call
- 2026-10-13
{
"items": [
{
"age": 50,
"bleeding_disorder": false,
"cardiac_comorbidity": false,
"disseminated_cancer": false,
"dnr": false,
"inpatient": false,
"liver_comorbidity": false,
"obesity": true,
"poor_functional_status": false,
"pulmonary_comorbidity": false,
"renal_comorbidity": false,
"sepsis": false,
"steroid_chronic": false,
"weight_loss_gt_10_percent": false
},
{
"age": 50,
"bleeding_disorder": false,
"cardiac_comorbidity": false,
"disseminated_cancer": false,
"dnr": false,
"inpatient": false,
"liver_comorbidity": false,
"obesity": true,
"poor_functional_status": false,
"pulmonary_comorbidity": false,
"renal_comorbidity": false,
"sepsis": false,
"steroid_chronic": false,
"weight_loss_gt_10_percent": false
}
]
}{
"count": 2,
"items": [
{
"age_years": 50,
"citation": {
"authors": "Vaid S, Bell T, Grim R, Ahuja V",
"doi": "10.7812/TPP/12-019",
"id": "ghanem-2012",
"pmid": "23251111",
"source": "Perm J. 2012;16(4):10-16",
"title": "Predicting Risk of Death in General Surgery Patients on the Basis of Preoperative Variables Using American College of Surgeons National Surgical Quality Improvement Program Data"
},
"components": [
{
"factor": "inpatient",
"points": 0,
"present": false
},
{
"factor": "sepsis",
"points": 0,
"present": false
},
{
"factor": "poor_functional_status",
"points": 0,
"present": false
},
{
"factor": "disseminated_cancer",
"points": 0,
"present": false
},
{
"factor": "age",
"points": 0,
"present": false,
"value": 50
},
{
"factor": "cardiac_comorbidity",
"points": 0,
"present": false
},
{
"factor": "pulmonary_comorbidity",
"points": 0,
"present": false
},
{
"factor": "renal_comorbidity",
"points": 0,
"present": false
},
{
"factor": "liver_comorbidity",
"points": 0,
"present": false
},
{
"factor": "steroid_chronic",
"points": 0,
"present": false
},
{
"factor": "weight_loss_gt_10_percent",
"points": 0,
"present": false
},
{
"factor": "bleeding_disorder",
"points": 0,
"present": false
},
{
"factor": "dnr",
"points": 0,
"present": false
},
{
"factor": "obesity",
"points": -1,
"present": true
}
],
"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.",
"figure3_died_percent": null,
"formula": "pmp",
"formula_expression": "PMP = inpatient 6 + sepsis 4 + poor_functional_status 3 + disseminated_cancer 1 + age (>=80 -> 2; 70-79 -> 1; 65-69 -> 0.5; <65 -> 0) + cardiac_comorbidity 5 + pulmonary_comorbidity 3 + renal_comorbidity 1 + liver_comorbidity 1 + steroid_chronic 1 + weight_loss_gt_10_percent 1 + bleeding_disorder 1 + dnr 1 + obesity -1; Ghanem 2012 Table 5 bedside scoresheet; published range -1 through 30; Figure 3 <1% died in 0-5 and 73% died in 20-30; pmp_ge_20 is the 20-30 interval isolate",
"max_score": 30,
"pmp_ge_20": false,
"score": -1,
"score_interval": null
},
{
"age_years": 50,
"citation": {
"authors": "Vaid S, Bell T, Grim R, Ahuja V",
"doi": "10.7812/TPP/12-019",
"id": "ghanem-2012",
"pmid": "23251111",
"source": "Perm J. 2012;16(4):10-16",
"title": "Predicting Risk of Death in General Surgery Patients on the Basis of Preoperative Variables Using American College of Surgeons National Surgical Quality Improvement Program Data"
},
"components": [
{
"factor": "inpatient",
"points": 0,
"present": false
},
{
"factor": "sepsis",
"points": 0,
"present": false
},
{
"factor": "poor_functional_status",
"points": 0,
"present": false
},
{
"factor": "disseminated_cancer",
"points": 0,
"present": false
},
{
"factor": "age",
"points": 0,
"present": false,
"value": 50
},
{
"factor": "cardiac_comorbidity",
"points": 0,
"present": false
},
{
"factor": "pulmonary_comorbidity",
"points": 0,
"present": false
},
{
"factor": "renal_comorbidity",
"points": 0,
"present": false
},
{
"factor": "liver_comorbidity",
"points": 0,
"present": false
},
{
"factor": "steroid_chronic",
"points": 0,
"present": false
},
{
"factor": "weight_loss_gt_10_percent",
"points": 0,
"present": false
},
{
"factor": "bleeding_disorder",
"points": 0,
"present": false
},
{
"factor": "dnr",
"points": 0,
"present": false
},
{
"factor": "obesity",
"points": -1,
"present": true
}
],
"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.",
"figure3_died_percent": null,
"formula": "pmp",
"formula_expression": "PMP = inpatient 6 + sepsis 4 + poor_functional_status 3 + disseminated_cancer 1 + age (>=80 -> 2; 70-79 -> 1; 65-69 -> 0.5; <65 -> 0) + cardiac_comorbidity 5 + pulmonary_comorbidity 3 + renal_comorbidity 1 + liver_comorbidity 1 + steroid_chronic 1 + weight_loss_gt_10_percent 1 + bleeding_disorder 1 + dnr 1 + obesity -1; Ghanem 2012 Table 5 bedside scoresheet; published range -1 through 30; Figure 3 <1% died in 0-5 and 73% died in 20-30; pmp_ge_20 is the 20-30 interval isolate",
"max_score": 30,
"pmp_ge_20": false,
"score": -1,
"score_interval": null
}
],
"path": "/api/calc/pmp"
}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/38953.jsonfor the price and payment options. - Pay. Call
GET https://api.magentlab.com/api/calc/pmp. 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/pmp"
# -> 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/pmp");
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/pmp")
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/pmp
- Machine-readable
/resources/38953.json