{
  "x402Version": 2,
  "id": 38804,
  "slug": "38804",
  "resource": "https://api.magentlab.com/api/calc/shfm",
  "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, 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.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "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": {
          "example": {
            "count": 2,
            "items": [
              {
                "ace_inhibitor": true,
                "age": 60,
                "allopurinol": false,
                "arb": false,
                "beta_blocker": true,
                "biv_icd": false,
                "biv_pacemaker": false,
                "citation": {
                  "authors": "Levy WC, Mozaffarian D, Linker DT, Sutradhar SC, Anker SD, Cropp AB, et al.",
                  "doi": "10.1161/CIRCULATIONAHA.105.584102",
                  "id": "levy-2006-shfm",
                  "pmid": "16534009",
                  "source": "Circulation. 2006;113(11):1424-1433",
                  "title": "The Seattle Heart Failure Model: Prediction of Survival in Heart Failure"
                },
                "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.",
                "diuretic_furosemide_eq_mg_kg_day": 0,
                "ef_percent": 30,
                "formula": "shfm",
                "formula_expression": "score = sum(ln(HR)*x); S(t)=exp(-0.0405*t)**exp(score) for t years 0-5; Levy 2006 Table 2 multivariate HRs (italic β=ln(HR); medication/device = patient-already-on column); 1/2/3-year survival % round 1 decimal; age/10 * ln(1.090); male ln(1.089) (forced); NYHA * ln(1.600); (100/EF)*ln(1.030); ischemic ln(1.354); min(SBP,160)/10 * ln(0.877); furosemide-eq mg/kg/day * ln(1.178) (furosemide 80 = torsemide 40 = bumetanide 3); allopurinol ln(1.571); if Na<138: (138-Na)*ln(1.050); (100/cholesterol)*ln(2.206); if Hb<16: (16-Hb)*ln(1.124); if Hb>16: (Hb-16)*ln(1.336); min(%lymphocytes,47)/5 * ln(0.897); max(uric_acid,3.4)*ln(1.064); ACEI ln(0.77); beta-blocker ln(0.66); ARB ln(0.85); K-sparing diuretic ln(0.74); statin ln(0.63); BiV pacemaker ln(1.00); ICD ln(0.73); BiV-ICD ln(0.79); devices mutually exclusive; not a diagnosis or treatment/device order",
                "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,
                "score": -0.1089,
                "sex": "male",
                "sodium_meq_l": 140,
                "statin": false,
                "survival_1y_percent": 96.4,
                "survival_2y_percent": 93,
                "survival_3y_percent": 89.7,
                "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,
                "citation": {
                  "authors": "Levy WC, Mozaffarian D, Linker DT, Sutradhar SC, Anker SD, Cropp AB, et al.",
                  "doi": "10.1161/CIRCULATIONAHA.105.584102",
                  "id": "levy-2006-shfm",
                  "pmid": "16534009",
                  "source": "Circulation. 2006;113(11):1424-1433",
                  "title": "The Seattle Heart Failure Model: Prediction of Survival in Heart Failure"
                },
                "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.",
                "diuretic_furosemide_eq_mg_kg_day": 0,
                "ef_percent": 30,
                "formula": "shfm",
                "formula_expression": "score = sum(ln(HR)*x); S(t)=exp(-0.0405*t)**exp(score) for t years 0-5; Levy 2006 Table 2 multivariate HRs (italic β=ln(HR); medication/device = patient-already-on column); 1/2/3-year survival % round 1 decimal; age/10 * ln(1.090); male ln(1.089) (forced); NYHA * ln(1.600); (100/EF)*ln(1.030); ischemic ln(1.354); min(SBP,160)/10 * ln(0.877); furosemide-eq mg/kg/day * ln(1.178) (furosemide 80 = torsemide 40 = bumetanide 3); allopurinol ln(1.571); if Na<138: (138-Na)*ln(1.050); (100/cholesterol)*ln(2.206); if Hb<16: (16-Hb)*ln(1.124); if Hb>16: (Hb-16)*ln(1.336); min(%lymphocytes,47)/5 * ln(0.897); max(uric_acid,3.4)*ln(1.064); ACEI ln(0.77); beta-blocker ln(0.66); ARB ln(0.85); K-sparing diuretic ln(0.74); statin ln(0.63); BiV pacemaker ln(1.00); ICD ln(0.73); BiV-ICD ln(0.79); devices mutually exclusive; not a diagnosis or treatment/device order",
                "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,
                "score": -0.1089,
                "sex": "male",
                "sodium_meq_l": 140,
                "statin": false,
                "survival_1y_percent": 96.4,
                "survival_2y_percent": 93,
                "survival_3y_percent": 89.7,
                "total_cholesterol_mg_dl": 180,
                "uric_acid_mg_dl": 6,
                "weight_kg": 80
              }
            ],
            "path": "/api/calc/shfm"
          },
          "type": "json"
        }
      },
      "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"
      }
    }
  },
  "tags": [
    "seattle-hf",
    "heart-failure",
    "hemodynamics",
    "survival",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T14:57:35.661Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T14:57:35.495Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "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": {
            "example": {
              "count": 2,
              "items": [
                {
                  "ace_inhibitor": true,
                  "age": 60,
                  "allopurinol": false,
                  "arb": false,
                  "beta_blocker": true,
                  "biv_icd": false,
                  "biv_pacemaker": false,
                  "citation": {
                    "authors": "Levy WC, Mozaffarian D, Linker DT, Sutradhar SC, Anker SD, Cropp AB, et al.",
                    "doi": "10.1161/CIRCULATIONAHA.105.584102",
                    "id": "levy-2006-shfm",
                    "pmid": "16534009",
                    "source": "Circulation. 2006;113(11):1424-1433",
                    "title": "The Seattle Heart Failure Model: Prediction of Survival in Heart Failure"
                  },
                  "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.",
                  "diuretic_furosemide_eq_mg_kg_day": 0,
                  "ef_percent": 30,
                  "formula": "shfm",
                  "formula_expression": "score = sum(ln(HR)*x); S(t)=exp(-0.0405*t)**exp(score) for t years 0-5; Levy 2006 Table 2 multivariate HRs (italic β=ln(HR); medication/device = patient-already-on column); 1/2/3-year survival % round 1 decimal; age/10 * ln(1.090); male ln(1.089) (forced); NYHA * ln(1.600); (100/EF)*ln(1.030); ischemic ln(1.354); min(SBP,160)/10 * ln(0.877); furosemide-eq mg/kg/day * ln(1.178) (furosemide 80 = torsemide 40 = bumetanide 3); allopurinol ln(1.571); if Na<138: (138-Na)*ln(1.050); (100/cholesterol)*ln(2.206); if Hb<16: (16-Hb)*ln(1.124); if Hb>16: (Hb-16)*ln(1.336); min(%lymphocytes,47)/5 * ln(0.897); max(uric_acid,3.4)*ln(1.064); ACEI ln(0.77); beta-blocker ln(0.66); ARB ln(0.85); K-sparing diuretic ln(0.74); statin ln(0.63); BiV pacemaker ln(1.00); ICD ln(0.73); BiV-ICD ln(0.79); devices mutually exclusive; not a diagnosis or treatment/device order",
                  "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,
                  "score": -0.1089,
                  "sex": "male",
                  "sodium_meq_l": 140,
                  "statin": false,
                  "survival_1y_percent": 96.4,
                  "survival_2y_percent": 93,
                  "survival_3y_percent": 89.7,
                  "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,
                  "citation": {
                    "authors": "Levy WC, Mozaffarian D, Linker DT, Sutradhar SC, Anker SD, Cropp AB, et al.",
                    "doi": "10.1161/CIRCULATIONAHA.105.584102",
                    "id": "levy-2006-shfm",
                    "pmid": "16534009",
                    "source": "Circulation. 2006;113(11):1424-1433",
                    "title": "The Seattle Heart Failure Model: Prediction of Survival in Heart Failure"
                  },
                  "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.",
                  "diuretic_furosemide_eq_mg_kg_day": 0,
                  "ef_percent": 30,
                  "formula": "shfm",
                  "formula_expression": "score = sum(ln(HR)*x); S(t)=exp(-0.0405*t)**exp(score) for t years 0-5; Levy 2006 Table 2 multivariate HRs (italic β=ln(HR); medication/device = patient-already-on column); 1/2/3-year survival % round 1 decimal; age/10 * ln(1.090); male ln(1.089) (forced); NYHA * ln(1.600); (100/EF)*ln(1.030); ischemic ln(1.354); min(SBP,160)/10 * ln(0.877); furosemide-eq mg/kg/day * ln(1.178) (furosemide 80 = torsemide 40 = bumetanide 3); allopurinol ln(1.571); if Na<138: (138-Na)*ln(1.050); (100/cholesterol)*ln(2.206); if Hb<16: (16-Hb)*ln(1.124); if Hb>16: (Hb-16)*ln(1.336); min(%lymphocytes,47)/5 * ln(0.897); max(uric_acid,3.4)*ln(1.064); ACEI ln(0.77); beta-blocker ln(0.66); ARB ln(0.85); K-sparing diuretic ln(0.74); statin ln(0.63); BiV pacemaker ln(1.00); ICD ln(0.73); BiV-ICD ln(0.79); devices mutually exclusive; not a diagnosis or treatment/device order",
                  "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,
                  "score": -0.1089,
                  "sex": "male",
                  "sodium_meq_l": 140,
                  "statin": false,
                  "survival_1y_percent": 96.4,
                  "survival_2y_percent": 93,
                  "survival_3y_percent": 89.7,
                  "total_cholesterol_mg_dl": 180,
                  "uric_acid_mg_dl": 6,
                  "weight_kg": 80
                }
              ],
              "path": "/api/calc/shfm"
            },
            "type": "json"
          }
        },
        "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}