Hartley 2021 NIVO
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.
Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
283 msmedian answer time
$0.005listed price per call
$0.007price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.magentlab.com/api/calc/nivo
| Category | Everything else |
|---|---|
| Provider host | api.magentlab.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-28 | valid payment request | 402 | $0.007 | 283 ms |
Example input (from the provider)
{
"body": {
"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
}
]
},
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"items": {
"items": {
"properties": {
"atrial_fibrillation": {
"description": "Persistent AF, new AF, or paroxysmal AF even if in sinus rhythm at NIV start (Hartley 2021). true or false. 1 point if true. magent does not interpret the ECG.",
"type": "boolean"
},
"chest_radiograph_consolidation": {
"description": "Chest radiograph consolidation as assigned by the caller (Hartley 2021). true or false. 1 point if true. magent does not interpret radiographs.",
"type": "boolean"
},
"emrcd": {
"description": "Hartley 2021 extended MRC dyspnoea as assigned by the caller. 1_to_4 scores 0; 5a scores 2; 5b scores 3. 5a and 5b are mutually exclusive. magent does not interview the patient.",
"enum": [
"1_to_4",
"5a",
"5b"
],
"type": "string"
},
"gcs_le_14": {
"description": "GCS \u226414 prior to ventilation as assigned by the caller (Hartley 2021). true or false. 1 point if true. magent does not measure GCS.",
"type": "boolean"
},
"ph_lt_7_25": {
"description": "Arterial pH <7.25 as assigned by the caller (Hartley 2021). true or false. 1 point if true. magent does not measure pH.",
"type": "boolean"
},
"time_to_acidaemia_gt_12h": {
"description": ">12 h from hospital arrival to index acidaemia as assigned by the caller (Hartley 2021). true or false. 2 points if true. magent does not clock admission time.",
"type": "boolean"
}
},
"required": [
"chest_radiograph_consolidation",
"gcs_le_14",
"atrial_fibrillation",
"ph_lt_7_25",
"time_to_acidaemia_gt_12h",
"emrcd"
],
"type": "object"
},
"maxItems": 25,
"minItems": 1,
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"const": "POST",
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}