Hartley 2021 NIVO: consolidation, GCS ≤14, AF, and pH <7.25 score 1 each; time to acida…
Hartley 2021 NIVO: consolidation, GCS ≤14, AF, and pH <7.25 score 1 each; time to acidaemia >12 h scores 2; eMRCD 1_to_4 → 0, 5a → 2, 5b → 3 (cannot score both). Returns 0–9 and Table 4 bands 0-2 / 3-4 / 5-6 / 7-9 with grouped in-hospital mortality 5.0 / 16.8…
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
Hartley 2021 NIVO: consolidation, GCS ≤14, AF, and pH <7.25 score 1 each; time to acidaemia >12 h scores 2; eMRCD 1_to_4 → 0, 5a → 2, 5b → 3 (cannot score both). Returns 0–9 and Table 4 bands 0-2 / 3-4 / 5-6 / 7-9 with grouped in-hospital mortality 5.0 / 16.8 / 41.2 / 71.4%. Not HACOR, DECAF, APACHE II, or a weaning predictor. Not a medical device.
Tags: nivo · copd · niv · respiratory · calculator · bazaar
Call contract
- Method
- POST
- Input
- HTTP request
- Output
- json
- Last paid call
- 2026-10-13
{
"items": [
{
"atrial_fibrillation": false,
"chest_radiograph_consolidation": false,
"emrcd": "1_to_4",
"gcs_le_14": false,
"ph_lt_7_25": false,
"time_to_acidaemia_gt_12h": false
},
{
"atrial_fibrillation": false,
"chest_radiograph_consolidation": false,
"emrcd": "1_to_4",
"gcs_le_14": false,
"ph_lt_7_25": false,
"time_to_acidaemia_gt_12h": false
}
]
}{
"count": 2,
"items": [
{
"atrial_fibrillation": false,
"chest_radiograph_consolidation": false,
"citation": {
"authors": "Hartley T, Lane ND, Steer J, et al.",
"doi": "10.1183/13993003.04042-2020",
"id": "hartley-2021",
"pmid": "33479109",
"source": "Eur Respir J. 2021;58(2):2004042",
"title": "The Noninvasive Ventilation Outcomes (NIVO) score: prediction of in-hospital mortality in exacerbations of COPD requiring assisted ventilation"
},
"components": [
{
"factor": "chest_radiograph_consolidation",
"points": 0,
"present": false
},
{
"factor": "gcs_le_14",
"points": 0,
"present": false
},
{
"factor": "atrial_fibrillation",
"points": 0,
"present": false
},
{
"factor": "ph_lt_7_25",
"points": 0,
"present": false
},
{
"factor": "time_to_acidaemia_gt_12h",
"points": 0,
"present": false
},
{
"factor": "emrcd",
"points": 0,
"present": false,
"value": "1_to_4"
}
],
"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.",
"emrcd": "1_to_4",
"formula": "nivo",
"formula_expression": "NIVO = chest_radiograph_consolidation + gcs_le_14 + atrial_fibrillation + ph_lt_7_25 + time_to_acidaemia_gt_12h + emrcd; consolidation true -> 1; GCS <=14 prior to ventilation -> 1; AF (persistent, new, or paroxysmal even if sinus at NIV start) true -> 1; pH <7.25 -> 1; time from hospital arrival to index acidaemia >12 h -> 2; eMRCD 1_to_4 -> 0, 5a -> 2, 5b -> 3; cannot score both 5a and 5b; Hartley 2021 validation Table 4 bands 0-2 / 3-4 / 5-6 / 7-9; max 9",
"gcs_le_14": false,
"in_hospital_mortality_percent": 5,
"max_score": 9,
"nivo_band": "0_to_2",
"ph_lt_7_25": false,
"score": 0,
"time_to_acidaemia_gt_12h": false
},
{
"atrial_fibrillation": false,
"chest_radiograph_consolidation": false,
"citation": {
"authors": "Hartley T, Lane ND, Steer J, et al.",
"doi": "10.1183/13993003.04042-2020",
"id": "hartley-2021",
"pmid": "33479109",
"source": "Eur Respir J. 2021;58(2):2004042",
"title": "The Noninvasive Ventilation Outcomes (NIVO) score: prediction of in-hospital mortality in exacerbations of COPD requiring assisted ventilation"
},
"components": [
{
"factor": "chest_radiograph_consolidation",
"points": 0,
"present": false
},
{
"factor": "gcs_le_14",
"points": 0,
"present": false
},
{
"factor": "atrial_fibrillation",
"points": 0,
"present": false
},
{
"factor": "ph_lt_7_25",
"points": 0,
"present": false
},
{
"factor": "time_to_acidaemia_gt_12h",
"points": 0,
"present": false
},
{
"factor": "emrcd",
"points": 0,
"present": false,
"value": "1_to_4"
}
],
"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.",
"emrcd": "1_to_4",
"formula": "nivo",
"formula_expression": "NIVO = chest_radiograph_consolidation + gcs_le_14 + atrial_fibrillation + ph_lt_7_25 + time_to_acidaemia_gt_12h + emrcd; consolidation true -> 1; GCS <=14 prior to ventilation -> 1; AF (persistent, new, or paroxysmal even if sinus at NIV start) true -> 1; pH <7.25 -> 1; time from hospital arrival to index acidaemia >12 h -> 2; eMRCD 1_to_4 -> 0, 5a -> 2, 5b -> 3; cannot score both 5a and 5b; Hartley 2021 validation Table 4 bands 0-2 / 3-4 / 5-6 / 7-9; max 9",
"gcs_le_14": false,
"in_hospital_mortality_percent": 5,
"max_score": 9,
"nivo_band": "0_to_2",
"ph_lt_7_25": false,
"score": 0,
"time_to_acidaemia_gt_12h": false
}
],
"path": "/api/calc/nivo"
}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/39112.jsonfor the price and payment options. - Pay. Call
GET https://api.magentlab.com/api/calc/nivo. 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/nivo"
# -> 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/nivo");
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/nivo")
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/nivo
- Machine-readable
/resources/39112.json