{
  "x402Version": 2,
  "id": 39593,
  "slug": "39593",
  "resource": "https://api.magentlab.com/api/calc/maggic",
  "description": "Pocock 2013 MAGGIC integer score from 13 heart-failure predictors (age, EF, NYHA, creatinine, diabetes, not prescribed beta-blocker, SBP, BMI, HF duration >18 months, current smoker, COPD, male sex, not prescribed ACEI/ARB), including the published age×EF and SBP×EF extras. Returns integer score and Table 4 1-year and 3-year death probabilities for scores 0-50. Not a diagnosis, not a treatment order, not a reason to withhold therapy. magent does not examine the patient.",
  "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": [
              {
                "acei_arb": true,
                "age": 50,
                "beta_blocker": true,
                "bmi_kg_m2": 30,
                "copd": false,
                "creatinine_mg_dl": 0.9,
                "creatinine_umol_l": 80,
                "current_smoker": false,
                "diabetes": false,
                "ef_percent": 55,
                "hf_duration_gt_18_months": false,
                "nyha_class": 1,
                "sex": "female",
                "systolic_mm_hg": 150
              },
              {
                "acei_arb": true,
                "age": 50,
                "beta_blocker": true,
                "bmi_kg_m2": 30,
                "copd": false,
                "creatinine_mg_dl": 0.9,
                "creatinine_umol_l": 80,
                "current_smoker": false,
                "diabetes": false,
                "ef_percent": 55,
                "hf_duration_gt_18_months": false,
                "nyha_class": 1,
                "sex": "female",
                "systolic_mm_hg": 150
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "acei_arb": true,
                "age_years": 50,
                "beta_blocker": true,
                "bmi_kg_m2": 30,
                "citation": {
                  "authors": "Pocock SJ, Ariti CA, McMurray JJV, Maggioni A, Køber L, Squire IB, Swedberg K, Dobson J, Poppe KK, Whalley GA, Doughty RN",
                  "doi": "10.1093/eurheartj/ehs337",
                  "id": "pocock-2013",
                  "pmid": "23186806",
                  "source": "Eur Heart J. 2013;34(19):1404-1413",
                  "title": "Predicting survival in heart failure: a risk score based on 39 372 patients from 30 studies"
                },
                "components": [
                  {
                    "factor": "ef",
                    "points": 0,
                    "present": false,
                    "value": 55
                  },
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 50
                  },
                  {
                    "factor": "systolic_mm_hg",
                    "points": 0,
                    "present": false,
                    "value": 150
                  },
                  {
                    "factor": "bmi",
                    "points": 0,
                    "present": false,
                    "value": 30
                  },
                  {
                    "factor": "creatinine",
                    "points": 0,
                    "present": false,
                    "value": 80
                  },
                  {
                    "factor": "nyha_class",
                    "points": 0,
                    "present": false,
                    "value": 1
                  },
                  {
                    "factor": "diabetes",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "not_prescribed_beta_blocker",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hf_duration_gt_18_months",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "current_smoker",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "copd",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "male_sex",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "not_prescribed_acei_arb",
                    "points": 0,
                    "present": false
                  }
                ],
                "copd": false,
                "creatinine_umol_l": 80,
                "current_smoker": false,
                "death_probability_1y": 0.015,
                "death_probability_3y": 0.039,
                "diabetes": 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.",
                "ef_percent": 55,
                "formula": "maggic",
                "formula_expression": "MAGGIC integer score (Pocock 2013 Figure 2): EF <20 7, 20-24 6, 25-29 5, 30-34 3, 35-39 2, >=40 0; age extra by EF (<30 / 30-39 / >=40): <55 0/0/0, 55-59 1/2/3, 60-64 2/4/5, 65-69 4/6/7, 70-74 6/8/9, 75-79 8/10/12, >=80 10/13/15; SBP extra by EF: <110 5/3/2, 110-119 4/2/1, 120-129 3/1/1, 130-139 2/1/0, 140-149 1/0/0, >=150 0/0/0; BMI <15 6, 15-19 5, 20-24 3, 25-29 2, >=30 0; creatinine umol/L <90 0, 90-109 1, 110-129 2, 130-149 3, 150-169 4, 170-209 5, 210-249 6, >=250 8; NYHA I 0, II 2, III 6, IV 8; male 1; current smoker 1; diabetes 3; COPD 2; HF duration >18 months 2; not prescribed beta-blocker 3; not prescribed ACEI/ARB 1; Table 4 1-year and 3-year death probabilities for scores 0-50",
                "hf_duration_gt_18_months": false,
                "nyha_class": 1,
                "score": 0,
                "sex": "female",
                "systolic_mm_hg": 150
              },
              {
                "acei_arb": true,
                "age_years": 50,
                "beta_blocker": true,
                "bmi_kg_m2": 30,
                "citation": {
                  "authors": "Pocock SJ, Ariti CA, McMurray JJV, Maggioni A, Køber L, Squire IB, Swedberg K, Dobson J, Poppe KK, Whalley GA, Doughty RN",
                  "doi": "10.1093/eurheartj/ehs337",
                  "id": "pocock-2013",
                  "pmid": "23186806",
                  "source": "Eur Heart J. 2013;34(19):1404-1413",
                  "title": "Predicting survival in heart failure: a risk score based on 39 372 patients from 30 studies"
                },
                "components": [
                  {
                    "factor": "ef",
                    "points": 0,
                    "present": false,
                    "value": 55
                  },
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 50
                  },
                  {
                    "factor": "systolic_mm_hg",
                    "points": 0,
                    "present": false,
                    "value": 150
                  },
                  {
                    "factor": "bmi",
                    "points": 0,
                    "present": false,
                    "value": 30
                  },
                  {
                    "factor": "creatinine",
                    "points": 0,
                    "present": false,
                    "value": 80
                  },
                  {
                    "factor": "nyha_class",
                    "points": 0,
                    "present": false,
                    "value": 1
                  },
                  {
                    "factor": "diabetes",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "not_prescribed_beta_blocker",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hf_duration_gt_18_months",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "current_smoker",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "copd",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "male_sex",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "not_prescribed_acei_arb",
                    "points": 0,
                    "present": false
                  }
                ],
                "copd": false,
                "creatinine_umol_l": 80,
                "current_smoker": false,
                "death_probability_1y": 0.015,
                "death_probability_3y": 0.039,
                "diabetes": 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.",
                "ef_percent": 55,
                "formula": "maggic",
                "formula_expression": "MAGGIC integer score (Pocock 2013 Figure 2): EF <20 7, 20-24 6, 25-29 5, 30-34 3, 35-39 2, >=40 0; age extra by EF (<30 / 30-39 / >=40): <55 0/0/0, 55-59 1/2/3, 60-64 2/4/5, 65-69 4/6/7, 70-74 6/8/9, 75-79 8/10/12, >=80 10/13/15; SBP extra by EF: <110 5/3/2, 110-119 4/2/1, 120-129 3/1/1, 130-139 2/1/0, 140-149 1/0/0, >=150 0/0/0; BMI <15 6, 15-19 5, 20-24 3, 25-29 2, >=30 0; creatinine umol/L <90 0, 90-109 1, 110-129 2, 130-149 3, 150-169 4, 170-209 5, 210-249 6, >=250 8; NYHA I 0, II 2, III 6, IV 8; male 1; current smoker 1; diabetes 3; COPD 2; HF duration >18 months 2; not prescribed beta-blocker 3; not prescribed ACEI/ARB 1; Table 4 1-year and 3-year death probabilities for scores 0-50",
                "hf_duration_gt_18_months": false,
                "nyha_class": 1,
                "score": 0,
                "sex": "female",
                "systolic_mm_hg": 150
              }
            ],
            "path": "/api/calc/maggic"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "acei_arb": {
                          "description": "Prescribed an ACE inhibitor or ARB as assigned by the caller. true scores 0; false (not prescribed) scores 1. magent does not prescribe therapy.",
                          "type": "boolean"
                        },
                        "age": {
                          "description": "Age in years (integer 18-120). Pocock 2013 integer extra depends on EF: <55 scores 0; then 55-59, 60-64, 65-69, 70-74, 75-79, >=80. magent does not examine the patient.",
                          "type": "integer"
                        },
                        "beta_blocker": {
                          "description": "Prescribed a beta-blocker as assigned by the caller. true scores 0; false (not prescribed) scores 3. magent does not prescribe therapy.",
                          "type": "boolean"
                        },
                        "bmi_kg_m2": {
                          "description": "Caller-supplied body-mass index in kg/m² (10-80). Figure 2: <15 6; 15-19 5; 20-24 3; 25-29 2; >=30 0. magent does not compute BMI from height and weight.",
                          "type": "number"
                        },
                        "copd": {
                          "description": "COPD as assigned by the caller. true scores 2. magent does not diagnose COPD.",
                          "type": "boolean"
                        },
                        "creatinine_mg_dl": {
                          "description": "Serum creatinine in mg/dL (0.1-20). Converted as µmol/L = mg/dL × 88.42, then Figure 2 µmol/L bins. Provide this or creatinine_umol_l, not both.",
                          "type": "number"
                        },
                        "creatinine_umol_l": {
                          "description": "Serum creatinine in µmol/L (9-1768), the Figure 2 unit. Provide this or creatinine_mg_dl, not both. Bins: <90 0; 90-109 1; 110-129 2; 130-149 3; 150-169 4; 170-209 5; 210-249 6; >=250 8. magent does not assay creatinine.",
                          "type": "number"
                        },
                        "current_smoker": {
                          "description": "Current smoker as assigned by the caller. true scores 1. magent does not take a smoking history.",
                          "type": "boolean"
                        },
                        "diabetes": {
                          "description": "Diabetes as assigned by the caller. true scores 3 (Figure 2). magent does not diagnose diabetes.",
                          "type": "boolean"
                        },
                        "ef_percent": {
                          "description": "Left-ventricular ejection fraction in percent (1-90). Figure 2: <20 scores 7; 20-24 6; 25-29 5; 30-34 3; 35-39 2; >=40 0. Also selects the age and SBP extra rows. magent does not read an echocardiogram.",
                          "type": "number"
                        },
                        "hf_duration_gt_18_months": {
                          "description": "Heart-failure duration greater than 18 months as assigned by the caller (Table 2 HF duration >18 months). true scores 2. magent does not date the diagnosis.",
                          "type": "boolean"
                        },
                        "nyha_class": {
                          "description": "NYHA class 1-4 as assigned by the caller (Figure 2: I 0, II 2, III 6, IV 8). magent does not assign NYHA class.",
                          "type": "integer"
                        },
                        "sex": {
                          "description": "Sex (female or male). Male scores 1 (Figure 2).",
                          "enum": [
                            "female",
                            "male"
                          ],
                          "type": "string"
                        },
                        "systolic_mm_hg": {
                          "description": "Systolic blood pressure in mm Hg (50-250). Figure 2 extra depends on EF: <110, 110-119, 120-129, 130-139, 140-149, >=150. magent does not measure blood pressure.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "age",
                        "ef_percent",
                        "nyha_class",
                        "diabetes",
                        "beta_blocker",
                        "systolic_mm_hg",
                        "bmi_kg_m2",
                        "hf_duration_gt_18_months",
                        "current_smoker",
                        "copd",
                        "sex",
                        "acei_arb"
                      ],
                      "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": [
    "maggic",
    "heart-failure",
    "pocock",
    "hemodynamics",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T13:34:29.688Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-12T13:34:29.527Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "acei_arb": true,
                  "age": 50,
                  "beta_blocker": true,
                  "bmi_kg_m2": 30,
                  "copd": false,
                  "creatinine_mg_dl": 0.9,
                  "creatinine_umol_l": 80,
                  "current_smoker": false,
                  "diabetes": false,
                  "ef_percent": 55,
                  "hf_duration_gt_18_months": false,
                  "nyha_class": 1,
                  "sex": "female",
                  "systolic_mm_hg": 150
                },
                {
                  "acei_arb": true,
                  "age": 50,
                  "beta_blocker": true,
                  "bmi_kg_m2": 30,
                  "copd": false,
                  "creatinine_mg_dl": 0.9,
                  "creatinine_umol_l": 80,
                  "current_smoker": false,
                  "diabetes": false,
                  "ef_percent": 55,
                  "hf_duration_gt_18_months": false,
                  "nyha_class": 1,
                  "sex": "female",
                  "systolic_mm_hg": 150
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "acei_arb": true,
                  "age_years": 50,
                  "beta_blocker": true,
                  "bmi_kg_m2": 30,
                  "citation": {
                    "authors": "Pocock SJ, Ariti CA, McMurray JJV, Maggioni A, Køber L, Squire IB, Swedberg K, Dobson J, Poppe KK, Whalley GA, Doughty RN",
                    "doi": "10.1093/eurheartj/ehs337",
                    "id": "pocock-2013",
                    "pmid": "23186806",
                    "source": "Eur Heart J. 2013;34(19):1404-1413",
                    "title": "Predicting survival in heart failure: a risk score based on 39 372 patients from 30 studies"
                  },
                  "components": [
                    {
                      "factor": "ef",
                      "points": 0,
                      "present": false,
                      "value": 55
                    },
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 50
                    },
                    {
                      "factor": "systolic_mm_hg",
                      "points": 0,
                      "present": false,
                      "value": 150
                    },
                    {
                      "factor": "bmi",
                      "points": 0,
                      "present": false,
                      "value": 30
                    },
                    {
                      "factor": "creatinine",
                      "points": 0,
                      "present": false,
                      "value": 80
                    },
                    {
                      "factor": "nyha_class",
                      "points": 0,
                      "present": false,
                      "value": 1
                    },
                    {
                      "factor": "diabetes",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "not_prescribed_beta_blocker",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hf_duration_gt_18_months",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "current_smoker",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "copd",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "male_sex",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "not_prescribed_acei_arb",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "copd": false,
                  "creatinine_umol_l": 80,
                  "current_smoker": false,
                  "death_probability_1y": 0.015,
                  "death_probability_3y": 0.039,
                  "diabetes": 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.",
                  "ef_percent": 55,
                  "formula": "maggic",
                  "formula_expression": "MAGGIC integer score (Pocock 2013 Figure 2): EF <20 7, 20-24 6, 25-29 5, 30-34 3, 35-39 2, >=40 0; age extra by EF (<30 / 30-39 / >=40): <55 0/0/0, 55-59 1/2/3, 60-64 2/4/5, 65-69 4/6/7, 70-74 6/8/9, 75-79 8/10/12, >=80 10/13/15; SBP extra by EF: <110 5/3/2, 110-119 4/2/1, 120-129 3/1/1, 130-139 2/1/0, 140-149 1/0/0, >=150 0/0/0; BMI <15 6, 15-19 5, 20-24 3, 25-29 2, >=30 0; creatinine umol/L <90 0, 90-109 1, 110-129 2, 130-149 3, 150-169 4, 170-209 5, 210-249 6, >=250 8; NYHA I 0, II 2, III 6, IV 8; male 1; current smoker 1; diabetes 3; COPD 2; HF duration >18 months 2; not prescribed beta-blocker 3; not prescribed ACEI/ARB 1; Table 4 1-year and 3-year death probabilities for scores 0-50",
                  "hf_duration_gt_18_months": false,
                  "nyha_class": 1,
                  "score": 0,
                  "sex": "female",
                  "systolic_mm_hg": 150
                },
                {
                  "acei_arb": true,
                  "age_years": 50,
                  "beta_blocker": true,
                  "bmi_kg_m2": 30,
                  "citation": {
                    "authors": "Pocock SJ, Ariti CA, McMurray JJV, Maggioni A, Køber L, Squire IB, Swedberg K, Dobson J, Poppe KK, Whalley GA, Doughty RN",
                    "doi": "10.1093/eurheartj/ehs337",
                    "id": "pocock-2013",
                    "pmid": "23186806",
                    "source": "Eur Heart J. 2013;34(19):1404-1413",
                    "title": "Predicting survival in heart failure: a risk score based on 39 372 patients from 30 studies"
                  },
                  "components": [
                    {
                      "factor": "ef",
                      "points": 0,
                      "present": false,
                      "value": 55
                    },
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 50
                    },
                    {
                      "factor": "systolic_mm_hg",
                      "points": 0,
                      "present": false,
                      "value": 150
                    },
                    {
                      "factor": "bmi",
                      "points": 0,
                      "present": false,
                      "value": 30
                    },
                    {
                      "factor": "creatinine",
                      "points": 0,
                      "present": false,
                      "value": 80
                    },
                    {
                      "factor": "nyha_class",
                      "points": 0,
                      "present": false,
                      "value": 1
                    },
                    {
                      "factor": "diabetes",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "not_prescribed_beta_blocker",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hf_duration_gt_18_months",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "current_smoker",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "copd",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "male_sex",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "not_prescribed_acei_arb",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "copd": false,
                  "creatinine_umol_l": 80,
                  "current_smoker": false,
                  "death_probability_1y": 0.015,
                  "death_probability_3y": 0.039,
                  "diabetes": 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.",
                  "ef_percent": 55,
                  "formula": "maggic",
                  "formula_expression": "MAGGIC integer score (Pocock 2013 Figure 2): EF <20 7, 20-24 6, 25-29 5, 30-34 3, 35-39 2, >=40 0; age extra by EF (<30 / 30-39 / >=40): <55 0/0/0, 55-59 1/2/3, 60-64 2/4/5, 65-69 4/6/7, 70-74 6/8/9, 75-79 8/10/12, >=80 10/13/15; SBP extra by EF: <110 5/3/2, 110-119 4/2/1, 120-129 3/1/1, 130-139 2/1/0, 140-149 1/0/0, >=150 0/0/0; BMI <15 6, 15-19 5, 20-24 3, 25-29 2, >=30 0; creatinine umol/L <90 0, 90-109 1, 110-129 2, 130-149 3, 150-169 4, 170-209 5, 210-249 6, >=250 8; NYHA I 0, II 2, III 6, IV 8; male 1; current smoker 1; diabetes 3; COPD 2; HF duration >18 months 2; not prescribed beta-blocker 3; not prescribed ACEI/ARB 1; Table 4 1-year and 3-year death probabilities for scores 0-50",
                  "hf_duration_gt_18_months": false,
                  "nyha_class": 1,
                  "score": 0,
                  "sex": "female",
                  "systolic_mm_hg": 150
                }
              ],
              "path": "/api/calc/maggic"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "acei_arb": {
                            "description": "Prescribed an ACE inhibitor or ARB as assigned by the caller. true scores 0; false (not prescribed) scores 1. magent does not prescribe therapy.",
                            "type": "boolean"
                          },
                          "age": {
                            "description": "Age in years (integer 18-120). Pocock 2013 integer extra depends on EF: <55 scores 0; then 55-59, 60-64, 65-69, 70-74, 75-79, >=80. magent does not examine the patient.",
                            "type": "integer"
                          },
                          "beta_blocker": {
                            "description": "Prescribed a beta-blocker as assigned by the caller. true scores 0; false (not prescribed) scores 3. magent does not prescribe therapy.",
                            "type": "boolean"
                          },
                          "bmi_kg_m2": {
                            "description": "Caller-supplied body-mass index in kg/m² (10-80). Figure 2: <15 6; 15-19 5; 20-24 3; 25-29 2; >=30 0. magent does not compute BMI from height and weight.",
                            "type": "number"
                          },
                          "copd": {
                            "description": "COPD as assigned by the caller. true scores 2. magent does not diagnose COPD.",
                            "type": "boolean"
                          },
                          "creatinine_mg_dl": {
                            "description": "Serum creatinine in mg/dL (0.1-20). Converted as µmol/L = mg/dL × 88.42, then Figure 2 µmol/L bins. Provide this or creatinine_umol_l, not both.",
                            "type": "number"
                          },
                          "creatinine_umol_l": {
                            "description": "Serum creatinine in µmol/L (9-1768), the Figure 2 unit. Provide this or creatinine_mg_dl, not both. Bins: <90 0; 90-109 1; 110-129 2; 130-149 3; 150-169 4; 170-209 5; 210-249 6; >=250 8. magent does not assay creatinine.",
                            "type": "number"
                          },
                          "current_smoker": {
                            "description": "Current smoker as assigned by the caller. true scores 1. magent does not take a smoking history.",
                            "type": "boolean"
                          },
                          "diabetes": {
                            "description": "Diabetes as assigned by the caller. true scores 3 (Figure 2). magent does not diagnose diabetes.",
                            "type": "boolean"
                          },
                          "ef_percent": {
                            "description": "Left-ventricular ejection fraction in percent (1-90). Figure 2: <20 scores 7; 20-24 6; 25-29 5; 30-34 3; 35-39 2; >=40 0. Also selects the age and SBP extra rows. magent does not read an echocardiogram.",
                            "type": "number"
                          },
                          "hf_duration_gt_18_months": {
                            "description": "Heart-failure duration greater than 18 months as assigned by the caller (Table 2 HF duration >18 months). true scores 2. magent does not date the diagnosis.",
                            "type": "boolean"
                          },
                          "nyha_class": {
                            "description": "NYHA class 1-4 as assigned by the caller (Figure 2: I 0, II 2, III 6, IV 8). magent does not assign NYHA class.",
                            "type": "integer"
                          },
                          "sex": {
                            "description": "Sex (female or male). Male scores 1 (Figure 2).",
                            "enum": [
                              "female",
                              "male"
                            ],
                            "type": "string"
                          },
                          "systolic_mm_hg": {
                            "description": "Systolic blood pressure in mm Hg (50-250). Figure 2 extra depends on EF: <110, 110-119, 120-129, 130-139, 140-149, >=150. magent does not measure blood pressure.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "age",
                          "ef_percent",
                          "nyha_class",
                          "diabetes",
                          "beta_blocker",
                          "systolic_mm_hg",
                          "bmi_kg_m2",
                          "hf_duration_gt_18_months",
                          "current_smoker",
                          "copd",
                          "sex",
                          "acei_arb"
                        ],
                        "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"
  }
}