Levy 2006 Seattle Heart Failure Model 1-, 2-, and 3-year survival from Table 2 m
Levy 2006 Seattle Heart Failure Model 1-, 2-, and 3-year survival from Table 2 multivariate HRs. Score = sum of ln(HR)*x; S(t)=exp(-0.0405*t)**exp(score). Age, sex, NYHA, EF, ischemic etiology, SBP, furosemide-eq diuretic, labs, and already-on ACEI, beta-blocker, ARB, K-sparing diuretic, statin, BiV, ICD, or BiV-ICD. Caller assigns class, etiology, and therapy. magent does not measure labs or blood pressure. Not a diagnosis, prescription, or device order.
Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
346 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/shfm
| 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 | 346 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"ace_inhibitor": true,
"age": 60,
"allopurinol": false,
"arb": false,
"beta_blocker": true,
"biv_icd": false,
"biv_pacemaker": false,
"ef_percent": 30,
"hemoglobin_g_dl": 14,
"icd": false,
"ischemic": false,
"k_sparing_diuretic": false,
"loop_diuretic_furosemide_eq_mg_day": 0,
"lymphocyte_percent": 25,
"nyha": 2,
"sbp_mm_hg": 120,
"sex": "male",
"sodium_meq_l": 140,
"statin": false,
"total_cholesterol_mg_dl": 180,
"uric_acid_mg_dl": 6,
"weight_kg": 80
},
{
"ace_inhibitor": true,
"age": 60,
"allopurinol": false,
"arb": false,
"beta_blocker": true,
"biv_icd": false,
"biv_pacemaker": false,
"ef_percent": 30,
"hemoglobin_g_dl": 14,
"icd": false,
"ischemic": false,
"k_sparing_diuretic": false,
"loop_diuretic_furosemide_eq_mg_day": 0,
"lymphocyte_percent": 25,
"nyha": 2,
"sbp_mm_hg": 120,
"sex": "male",
"sodium_meq_l": 140,
"statin": false,
"total_cholesterol_mg_dl": 180,
"uric_acid_mg_dl": 6,
"weight_kg": 80
}
]
},
"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": {
"ace_inhibitor": {
"description": "Patient already on an ACE inhibitor as assigned by the caller (true or false). Table 2 already-on HR 0.77. Not a prescription.",
"type": "boolean"
},
"age": {
"description": "Age in years (integer 14-100). Levy 2006 Table 2: per decade, multivariate HR 1.090. magent does not take a date of birth.",
"type": "integer"
},
"allopurinol": {
"description": "Current allopurinol as assigned by the caller (true or false). Table 2 multivariate HR 1.571. magent does not prescribe allopurinol.",
"type": "boolean"
},
"arb": {
"description": "Patient already on an angiotensin-receptor blocker as assigned by the caller (true or false). Table 2 already-on HR 0.85. Not a prescription.",
"type": "boolean"
},
"beta_blocker": {
"description": "Patient already on a beta-blocker as assigned by the caller (true or false). Table 2 already-on HR 0.66. Not a prescription.",
"type": "boolean"
},
"biv_icd": {
"description": "Patient already has a biventricular ICD as assigned by the caller (true or false). Table 2 already-on HR 0.79. Mutually exclusive with biv_pacemaker and icd. Not a device order.",
"type": "boolean"
},
"biv_pacemaker": {
"description": "Patient already has a biventricular pacemaker (without ICD) as assigned by the caller (true or false). Table 2 already-on HR 1.00. Mutually exclusive with icd and biv_icd. Not a device order.",
"type": "boolean"
},
"ef_percent": {
"description": "Left-ventricular ejection fraction in percent (1-80). Enters as 100/EF with Table 2 HR 1.030. magent does not interpret an echocardiogram.",
"type": "number"
},
"hemoglobin_g_dl": {
"description": "Hemoglobin in g/dL (4-22). Table 2: if Hb<16, (16-Hb) with HR 1.124 per g/dL; if Hb>16, (Hb-16) with HR 1.336 per g/dL. magent does not assay hemoglobin.",
"type": "number"
},
"icd": {
"description": "Patient already has an ICD (without biventricular pacing) as assigned by the caller (true or false). Table 2 already-on HR 0.73. Mutually exclusive with biv_pacemaker and biv_icd. Not a device order.",
"type": "boolean"
},
"ischemic": {
"description": "Ischemic etiology as assigned by the caller (true or false). Table 2 multivariate HR 1.354. magent does not assign etiology.",
"type": "boolean"
},
"k_sparing_diuretic": {
"description": "Patient already on a potassium-sparing diuretic as assigned by the caller (true or false). Table 2 already-on HR 0.74. Not a prescription.",
"type": "boolean"
},
"loop_diuretic_furosemide_eq_mg_day": {
"description": "Daily loop-diuretic dose as furosemide milligram equivalent (0-1000). Paper conversion: furosemide 80 = torsemide 40 = bumetanide 3. Divided by weight_kg; Table 2 HR 1.178 per mg/kg/day. magent does not prescribe a diuretic.",
"type": "number"
},
"lymphocyte_percent": {
"description": "Percent lymphocytes (0-100). Table 2: per 5% when <47%, HR 0.897; values >47% are truncated to 47. magent does not assay a CBC.",
"type": "number"
},
"nyha": {
"description": "NYHA class 1-4 as assigned by the caller (integer). Levy 2006 Table 2 multivariate HR 1.600 per class. magent does not examine the patient.",
"enum": [
1,
2,
3,
4
],
"type": "integer"
},
"sbp_mm_hg": {
"description": "Systolic blood pressure in mm Hg (50-250). Table 2: per 10 mm Hg, HR 0.877, truncated at 160 (SBP 180 is scored as 160). magent does not measure blood pressure.",
"type": "number"
},
"sex": {
"description": "Sex used by the forced Table 2 male HR 1.089 (female or male). magent does not assign sex.",
"enum": [
"female",
"male"
],
"type": "string"
},
"sodium_meq_l": {
"description": "Serum sodium in mEq/L (110-160). Table 2: if Na<138, (138-Na) with HR 1.050 per mEq; values \u2265138 add 0. magent does not assay sodium.",
"type": "number"
},
"statin": {
"description": "Patient already on a statin as assigned by the caller (true or false). Table 2 already-on / multivariate HR 0.63. Not a prescription.",
"type": "boolean"
},
"total_cholesterol_mg_dl": {
"description": "Total cholesterol in mg/dL (50-800). Enter