Ottawa Heart Failure Risk Scale (OHFRS; Stiell 2013 derivation)
Ottawa Heart Failure Risk Scale (OHFRS; Stiell 2013 derivation). Ten caller-assigned flags (stroke/TIA 1, intubation 2, arrival HR >=110 2, arrival SaO2 <90% 1, walk-test HR >=110 or unable 1, new ischemic ECG 2, urea >=12 mmol/L 1, CO2 >=35 mmol/L 2, troponi…
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
Ottawa Heart Failure Risk Scale (OHFRS; Stiell 2013 derivation). Ten caller-assigned flags (stroke/TIA 1, intubation 2, arrival HR >=110 2, arrival SaO2 <90% 1, walk-test HR >=110 or unable 1, new ischemic ECG 2, urea >=12 mmol/L 1, CO2 >=35 mmol/L 2, troponin at MI level 2, NT-proBNP >=5000 ng/L 1); integer points, max 15. Derivation SAE risk 2.8% to 89.0%. Not a medical device, not a disposition or discharge order, not EHMRG. magent does not walk the patient or read the ECG.
Tags: ohfrs · heart-failure · emergency · stiell · calculator · bazaar
Call contract
- Method
- POST
- Input
- HTTP request
- Output
- json
- Last paid call
- 2026-10-13
{
"items": [
{
"co2_ge_35_mmol_l": false,
"history_stroke_or_tia": false,
"hr_arrival_ge_110": false,
"intubation_respiratory_distress": false,
"new_ischemic_ecg": false,
"ntprobnp_ge_5000": false,
"sao2_lt_90_arrival": false,
"troponin_mi_level": false,
"urea_ge_12_mmol_l": false,
"walk_test_hr_ge_110_or_unable": false
},
{
"co2_ge_35_mmol_l": false,
"history_stroke_or_tia": false,
"hr_arrival_ge_110": false,
"intubation_respiratory_distress": false,
"new_ischemic_ecg": false,
"ntprobnp_ge_5000": false,
"sao2_lt_90_arrival": false,
"troponin_mi_level": false,
"urea_ge_12_mmol_l": false,
"walk_test_hr_ge_110_or_unable": false
}
]
}{
"count": 2,
"items": [
{
"citation": {
"authors": "Stiell IG, Clement CM, Brison RJ, et al.",
"doi": "10.1111/acem.12056",
"id": "stiell-2013",
"pmid": "23570474",
"source": "Acad Emerg Med. 2013;20(1):17-26",
"title": "A risk scoring system to identify emergency department patients with heart failure at high risk for serious adverse events"
},
"components": [
{
"factor": "history_stroke_or_tia",
"points": 0,
"present": false
},
{
"factor": "intubation_respiratory_distress",
"points": 0,
"present": false
},
{
"factor": "hr_arrival_ge_110",
"points": 0,
"present": false
},
{
"factor": "sao2_lt_90_arrival",
"points": 0,
"present": false
},
{
"factor": "walk_test_hr_ge_110_or_unable",
"points": 0,
"present": false
},
{
"factor": "new_ischemic_ecg",
"points": 0,
"present": false
},
{
"factor": "urea_ge_12_mmol_l",
"points": 0,
"present": false
},
{
"factor": "co2_ge_35_mmol_l",
"points": 0,
"present": false
},
{
"factor": "troponin_mi_level",
"points": 0,
"present": false
},
{
"factor": "ntprobnp_ge_5000",
"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": "ohfrs",
"formula_expression": "OHFRS = history_stroke_or_tia(1) + intubation_respiratory_distress(2) + hr_arrival_ge_110(2) + sao2_lt_90_arrival(1) + walk_test_hr_ge_110_or_unable(1) + new_ischemic_ecg(2) + urea_ge_12_mmol_l(1) + co2_ge_35_mmol_l(2) + troponin_mi_level(2) + ntprobnp_ge_5000(1); Stiell 2013 derivation; max 15; SAE risk varied from 2.8% to 89.0%; admission thresholds of total score 1, 2, or 3 had sensitivities 95.2 / 80.6 / 64.5%",
"max_score": 15,
"score": 0
},
{
"citation": {
"authors": "Stiell IG, Clement CM, Brison RJ, et al.",
"doi": "10.1111/acem.12056",
"id": "stiell-2013",
"pmid": "23570474",
"source": "Acad Emerg Med. 2013;20(1):17-26",
"title": "A risk scoring system to identify emergency department patients with heart failure at high risk for serious adverse events"
},
"components": [
{
"factor": "history_stroke_or_tia",
"points": 0,
"present": false
},
{
"factor": "intubation_respiratory_distress",
"points": 0,
"present": false
},
{
"factor": "hr_arrival_ge_110",
"points": 0,
"present": false
},
{
"factor": "sao2_lt_90_arrival",
"points": 0,
"present": false
},
{
"factor": "walk_test_hr_ge_110_or_unable",
"points": 0,
"present": false
},
{
"factor": "new_ischemic_ecg",
"points": 0,
"present": false
},
{
"factor": "urea_ge_12_mmol_l",
"points": 0,
"present": false
},
{
"factor": "co2_ge_35_mmol_l",
"points": 0,
"present": false
},
{
"factor": "troponin_mi_level",
"points": 0,
"present": false
},
{
"factor": "ntprobnp_ge_5000",
"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": "ohfrs",
"formula_expression": "OHFRS = history_stroke_or_tia(1) + intubation_respiratory_distress(2) + hr_arrival_ge_110(2) + sao2_lt_90_arrival(1) + walk_test_hr_ge_110_or_unable(1) + new_ischemic_ecg(2) + urea_ge_12_mmol_l(1) + co2_ge_35_mmol_l(2) + troponin_mi_level(2) + ntprobnp_ge_5000(1); Stiell 2013 derivation; max 15; SAE risk varied from 2.8% to 89.0%; admission thresholds of total score 1, 2, or 3 had sensitivities 95.2 / 80.6 / 64.5%",
"max_score": 15,
"score": 0
}
],
"path": "/api/calc/ohfrs"
}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/39111.jsonfor the price and payment options. - Pay. Call
GET https://api.magentlab.com/api/calc/ohfrs. 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/ohfrs"
# -> 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/ohfrs");
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/ohfrs")
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/ohfrs
- Machine-readable
/resources/39111.json