{"slug":"api-magentlab-com-api-calc-shfm-232f0b","title":"Levy 2006 Seattle Heart Failure Model 1-, 2-, and 3-year survival from Table 2 m","host":"api.magentlab.com","method":"POST","resource":"https://api.magentlab.com/api/calc/shfm","category":"other","description":"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","price_listed":0.005,"price_asked":0.007,"state":"overcharges","state_label":"Asked 1.4x its listed price for its own example","checks_7d":1,"answered_7d":1,"latency_ms_median":346,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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"},"output_schema":{"$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 ≥138 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). Enters as 100/cholesterol with Table 2 HR 2.206. magent does not assay lipids.","type":"number"},"uric_acid_mg_dl":{"description":"Serum uric acid in mg/dL (0.5-25). Table 2: per mg/dL when >3.4, HR 1.064; values <3.4 are truncated to 3.4. magent does not assay uric acid.","type":"number"},"weight_kg":{"description":"Body weight in kg (20-250) used only to convert the furosemide-equivalent diuretic dose to mg/kg/day. magent does not weigh the patient.","type":"number"}},"required":["age","sex","nyha","ef_percent","ischemic","sbp_mm_hg","weight_kg","loop_diuretic_furosemide_eq_mg_day","allopurinol","sodium_meq_l","total_cholesterol_mg_dl","hemoglobin_g_dl","lymphocyte_percent","uric_acid_mg_dl","ace_inhibitor","beta_blocker","arb","k_sparing_diuretic","statin","biv_pacemaker","icd","biv_icd"],"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"},"history":[{"day":"2026-09-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":false,"latency_ms":346,"error":null}],"description_full":"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.","last_updated":"2026-09-28T13:44:38.479Z","schemes":["exact"]}