{
  "x402Version": 2,
  "id": 39130,
  "slug": "39130",
  "resource": "https://api.magentlab.com/api/calc/h2fpef",
  "description": "Reddy 2018 H2FPEF points score. Six components, max 9: BMI >30 (2), >=2 antihypertensives (1), atrial fibrillation (3), echo PASP >35 mm Hg (1), age >60 (1), E/e' >9 (1). BMI 30 and age 60 do not score. Returns score and max_score only; odds roughly double per point. Not probability classes, not the continuous nomogram, not HFA-PEFF, not a diagnosis or cath substitute. magent does not read echo or compute BMI.",
  "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": [
              {
                "age": 50,
                "antihypertensive_ge_2": false,
                "atrial_fibrillation": false,
                "bmi_kg_m2": 25,
                "e_over_e_prime_gt_9": false,
                "pasp_gt_35": false
              },
              {
                "age": 50,
                "antihypertensive_ge_2": false,
                "atrial_fibrillation": false,
                "bmi_kg_m2": 25,
                "e_over_e_prime_gt_9": false,
                "pasp_gt_35": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 50,
                "bmi_kg_m2": 25,
                "citation": {
                  "authors": "Reddy YNV, Carter RE, Obokata M, Redfield MM, Borlaug BA",
                  "doi": "10.1161/CIRCULATIONAHA.118.034646",
                  "id": "reddy-2018",
                  "pmid": "29792299",
                  "source": "Circulation. 2018;138(9):861-870",
                  "title": "A Simple, Evidence-Based Approach to Help Guide Diagnosis of Heart Failure With Preserved Ejection Fraction"
                },
                "components": [
                  {
                    "factor": "obesity",
                    "points": 0,
                    "present": false,
                    "value": 25
                  },
                  {
                    "factor": "antihypertensive_ge_2",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "atrial_fibrillation",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "pasp_gt_35",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "age_gt_60",
                    "points": 0,
                    "present": false,
                    "value": 50
                  },
                  {
                    "factor": "e_over_e_prime_gt_9",
                    "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": "h2fpef",
                "formula_expression": "H2FPEF = 2*(bmi_kg_m2>30) + antihypertensive_ge_2 + 3*atrial_fibrillation + pasp_gt_35 + (age>60) + e_over_e_prime_gt_9; max 9 (Reddy 2018 points score; not the continuous nomogram, not HFA-PEFF)",
                "max_score": 9,
                "score": 0
              },
              {
                "age_years": 50,
                "bmi_kg_m2": 25,
                "citation": {
                  "authors": "Reddy YNV, Carter RE, Obokata M, Redfield MM, Borlaug BA",
                  "doi": "10.1161/CIRCULATIONAHA.118.034646",
                  "id": "reddy-2018",
                  "pmid": "29792299",
                  "source": "Circulation. 2018;138(9):861-870",
                  "title": "A Simple, Evidence-Based Approach to Help Guide Diagnosis of Heart Failure With Preserved Ejection Fraction"
                },
                "components": [
                  {
                    "factor": "obesity",
                    "points": 0,
                    "present": false,
                    "value": 25
                  },
                  {
                    "factor": "antihypertensive_ge_2",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "atrial_fibrillation",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "pasp_gt_35",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "age_gt_60",
                    "points": 0,
                    "present": false,
                    "value": 50
                  },
                  {
                    "factor": "e_over_e_prime_gt_9",
                    "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": "h2fpef",
                "formula_expression": "H2FPEF = 2*(bmi_kg_m2>30) + antihypertensive_ge_2 + 3*atrial_fibrillation + pasp_gt_35 + (age>60) + e_over_e_prime_gt_9; max 9 (Reddy 2018 points score; not the continuous nomogram, not HFA-PEFF)",
                "max_score": 9,
                "score": 0
              }
            ],
            "path": "/api/calc/h2fpef"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "age": {
                          "description": "Age in years (18-120). Reddy 2018 elderly: scores 1 when >60. Age 60 does not score.",
                          "type": "integer"
                        },
                        "antihypertensive_ge_2": {
                          "description": "Treatment with two or more antihypertensive drugs (Reddy 2018 hypertensive). true or false. Caller-assigned. 1 point if true.",
                          "type": "boolean"
                        },
                        "atrial_fibrillation": {
                          "description": "Paroxysmal or persistent atrial fibrillation (Reddy 2018). true or false. Caller-assigned. 3 points if true.",
                          "type": "boolean"
                        },
                        "bmi_kg_m2": {
                          "description": "Body-mass index in kg/m^2 (10-80). Reddy 2018 heavy/obesity: scores 2 when >30. BMI 30 does not score. Caller-supplied; magent does not compute BMI from height and weight.",
                          "type": "number"
                        },
                        "e_over_e_prime_gt_9": {
                          "description": "E/e' ratio >9 (Reddy 2018 filling pressures). true or false. Caller-assigned. 1 point if true. magent does not measure E/e'.",
                          "type": "boolean"
                        },
                        "pasp_gt_35": {
                          "description": "Echocardiographic pulmonary artery systolic pressure >35 mm Hg (Reddy 2018 pulmonary hypertension). true or false. Caller-assigned. 1 point if true. magent does not measure PASP.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "age",
                        "bmi_kg_m2",
                        "antihypertensive_ge_2",
                        "atrial_fibrillation",
                        "pasp_gt_35",
                        "e_over_e_prime_gt_9"
                      ],
                      "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": [
    "h2fpef",
    "hfpef",
    "heart-failure",
    "hemodynamics",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T05:26:39.86Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T05:26:39.689Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 50,
                  "antihypertensive_ge_2": false,
                  "atrial_fibrillation": false,
                  "bmi_kg_m2": 25,
                  "e_over_e_prime_gt_9": false,
                  "pasp_gt_35": false
                },
                {
                  "age": 50,
                  "antihypertensive_ge_2": false,
                  "atrial_fibrillation": false,
                  "bmi_kg_m2": 25,
                  "e_over_e_prime_gt_9": false,
                  "pasp_gt_35": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 50,
                  "bmi_kg_m2": 25,
                  "citation": {
                    "authors": "Reddy YNV, Carter RE, Obokata M, Redfield MM, Borlaug BA",
                    "doi": "10.1161/CIRCULATIONAHA.118.034646",
                    "id": "reddy-2018",
                    "pmid": "29792299",
                    "source": "Circulation. 2018;138(9):861-870",
                    "title": "A Simple, Evidence-Based Approach to Help Guide Diagnosis of Heart Failure With Preserved Ejection Fraction"
                  },
                  "components": [
                    {
                      "factor": "obesity",
                      "points": 0,
                      "present": false,
                      "value": 25
                    },
                    {
                      "factor": "antihypertensive_ge_2",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "atrial_fibrillation",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "pasp_gt_35",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "age_gt_60",
                      "points": 0,
                      "present": false,
                      "value": 50
                    },
                    {
                      "factor": "e_over_e_prime_gt_9",
                      "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": "h2fpef",
                  "formula_expression": "H2FPEF = 2*(bmi_kg_m2>30) + antihypertensive_ge_2 + 3*atrial_fibrillation + pasp_gt_35 + (age>60) + e_over_e_prime_gt_9; max 9 (Reddy 2018 points score; not the continuous nomogram, not HFA-PEFF)",
                  "max_score": 9,
                  "score": 0
                },
                {
                  "age_years": 50,
                  "bmi_kg_m2": 25,
                  "citation": {
                    "authors": "Reddy YNV, Carter RE, Obokata M, Redfield MM, Borlaug BA",
                    "doi": "10.1161/CIRCULATIONAHA.118.034646",
                    "id": "reddy-2018",
                    "pmid": "29792299",
                    "source": "Circulation. 2018;138(9):861-870",
                    "title": "A Simple, Evidence-Based Approach to Help Guide Diagnosis of Heart Failure With Preserved Ejection Fraction"
                  },
                  "components": [
                    {
                      "factor": "obesity",
                      "points": 0,
                      "present": false,
                      "value": 25
                    },
                    {
                      "factor": "antihypertensive_ge_2",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "atrial_fibrillation",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "pasp_gt_35",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "age_gt_60",
                      "points": 0,
                      "present": false,
                      "value": 50
                    },
                    {
                      "factor": "e_over_e_prime_gt_9",
                      "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": "h2fpef",
                  "formula_expression": "H2FPEF = 2*(bmi_kg_m2>30) + antihypertensive_ge_2 + 3*atrial_fibrillation + pasp_gt_35 + (age>60) + e_over_e_prime_gt_9; max 9 (Reddy 2018 points score; not the continuous nomogram, not HFA-PEFF)",
                  "max_score": 9,
                  "score": 0
                }
              ],
              "path": "/api/calc/h2fpef"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "age": {
                            "description": "Age in years (18-120). Reddy 2018 elderly: scores 1 when >60. Age 60 does not score.",
                            "type": "integer"
                          },
                          "antihypertensive_ge_2": {
                            "description": "Treatment with two or more antihypertensive drugs (Reddy 2018 hypertensive). true or false. Caller-assigned. 1 point if true.",
                            "type": "boolean"
                          },
                          "atrial_fibrillation": {
                            "description": "Paroxysmal or persistent atrial fibrillation (Reddy 2018). true or false. Caller-assigned. 3 points if true.",
                            "type": "boolean"
                          },
                          "bmi_kg_m2": {
                            "description": "Body-mass index in kg/m^2 (10-80). Reddy 2018 heavy/obesity: scores 2 when >30. BMI 30 does not score. Caller-supplied; magent does not compute BMI from height and weight.",
                            "type": "number"
                          },
                          "e_over_e_prime_gt_9": {
                            "description": "E/e' ratio >9 (Reddy 2018 filling pressures). true or false. Caller-assigned. 1 point if true. magent does not measure E/e'.",
                            "type": "boolean"
                          },
                          "pasp_gt_35": {
                            "description": "Echocardiographic pulmonary artery systolic pressure >35 mm Hg (Reddy 2018 pulmonary hypertension). true or false. Caller-assigned. 1 point if true. magent does not measure PASP.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "age",
                          "bmi_kg_m2",
                          "antihypertensive_ge_2",
                          "atrial_fibrillation",
                          "pasp_gt_35",
                          "e_over_e_prime_gt_9"
                        ],
                        "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"
  }
}