{
  "x402Version": 2,
  "id": 39590,
  "slug": "39590",
  "resource": "https://api.magentlab.com/api/calc/hfa_icos_her2",
  "description": "Lyon 2020 HFA-ICOS baseline cardiovascular risk before HER2-targeted therapy (trastuzumab and related agents). Very high, high, medium, or low from published factors plus Medium 1/2 points; expert-opinion cardiotoxicity guide <2% / 2-9% / 10-19% / >=20%. Concurrent anthracycline is High; sequential anthracycline before HER2 is Medium 1. Deterministic published classification with citation; not a treatment order. magent does not measure LVEF or biomarkers.",
  "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_years": 50,
                "anthracycline_before_her2": false,
                "arrhythmia": false,
                "ckd": false,
                "concurrent_anthracycline_and_her2": false,
                "current_or_significant_smoker": false,
                "diabetes": false,
                "elevated_bnp": false,
                "elevated_troponin": false,
                "heart_failure_or_cardiomyopathy": false,
                "hypertension": false,
                "lvef_percent": 60,
                "mi_or_cabg": false,
                "obesity": false,
                "prior_left_chest_or_mediastinal_rt": false,
                "prior_remote_anthracycline": false,
                "prior_trastuzumab_cardiotoxicity": false,
                "severe_valvular_heart_disease": false,
                "stable_angina": false
              },
              {
                "age_years": 50,
                "anthracycline_before_her2": false,
                "arrhythmia": false,
                "ckd": false,
                "concurrent_anthracycline_and_her2": false,
                "current_or_significant_smoker": false,
                "diabetes": false,
                "elevated_bnp": false,
                "elevated_troponin": false,
                "heart_failure_or_cardiomyopathy": false,
                "hypertension": false,
                "lvef_percent": 60,
                "mi_or_cabg": false,
                "obesity": false,
                "prior_left_chest_or_mediastinal_rt": false,
                "prior_remote_anthracycline": false,
                "prior_trastuzumab_cardiotoxicity": false,
                "severe_valvular_heart_disease": false,
                "stable_angina": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 50,
                "anthracycline_before_her2": false,
                "cardiotoxicity_guide": "<2%",
                "citation": {
                  "authors": "Lyon AR, Dent S, Stanway S, et al.",
                  "doi": "10.1002/ejhf.1920",
                  "id": "lyon-2020",
                  "pmid": "32458582",
                  "source": "Eur J Heart Fail. 2020;22(11):1945-1960",
                  "title": "Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"
                },
                "components": [
                  {
                    "factor": "heart_failure_or_cardiomyopathy",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "prior_trastuzumab_cardiotoxicity",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "mi_or_cabg",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "stable_angina",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "severe_valvular_heart_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "lvef_lt_50",
                    "points": 0,
                    "present": false,
                    "value": 60
                  },
                  {
                    "factor": "age_ge_80",
                    "points": 0,
                    "present": false,
                    "value": 50
                  },
                  {
                    "factor": "concurrent_anthracycline_and_her2",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "lvef_50_54",
                    "points": 0,
                    "present": false,
                    "value": 60
                  },
                  {
                    "factor": "arrhythmia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "elevated_troponin",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "elevated_bnp",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "age_65_79",
                    "points": 0,
                    "present": false,
                    "value": 50
                  },
                  {
                    "factor": "prior_remote_anthracycline",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "prior_left_chest_or_mediastinal_rt",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hypertension",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "diabetes",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "ckd",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "anthracycline_before_her2",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "current_or_significant_smoker",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "obesity",
                    "points": 0,
                    "present": false
                  }
                ],
                "concurrent_anthracycline_and_her2": 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": "hfa_icos_her2",
                "formula_expression": "HFA-ICOS HER2 (Lyon 2020): very_high if heart_failure_or_cardiomyopathy or prior_trastuzumab_cardiotoxicity; else high if mi_or_cabg or stable_angina or severe_valvular_heart_disease or lvef_percent<50 or age_years>=80 or concurrent_anthracycline_and_her2 or medium_points>=5; else medium if medium_points 2-4; else low; medium_points = Medium 2 (2) + Medium 1 (1); Medium 2 = lvef 50-54, arrhythmia, elevated_troponin, elevated_bnp, age 65-79, prior_remote_anthracycline, prior_left_chest_or_mediastinal_rt; Medium 1 = hypertension, diabetes, ckd, anthracycline_before_her2 (if not concurrent), current_or_significant_smoker, obesity; cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%",
                "high_present": false,
                "lvef_percent": 60,
                "max_score": 20,
                "medium_points": 0,
                "risk_level": "low",
                "score": 0,
                "very_high_present": false
              },
              {
                "age_years": 50,
                "anthracycline_before_her2": false,
                "cardiotoxicity_guide": "<2%",
                "citation": {
                  "authors": "Lyon AR, Dent S, Stanway S, et al.",
                  "doi": "10.1002/ejhf.1920",
                  "id": "lyon-2020",
                  "pmid": "32458582",
                  "source": "Eur J Heart Fail. 2020;22(11):1945-1960",
                  "title": "Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"
                },
                "components": [
                  {
                    "factor": "heart_failure_or_cardiomyopathy",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "prior_trastuzumab_cardiotoxicity",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "mi_or_cabg",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "stable_angina",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "severe_valvular_heart_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "lvef_lt_50",
                    "points": 0,
                    "present": false,
                    "value": 60
                  },
                  {
                    "factor": "age_ge_80",
                    "points": 0,
                    "present": false,
                    "value": 50
                  },
                  {
                    "factor": "concurrent_anthracycline_and_her2",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "lvef_50_54",
                    "points": 0,
                    "present": false,
                    "value": 60
                  },
                  {
                    "factor": "arrhythmia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "elevated_troponin",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "elevated_bnp",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "age_65_79",
                    "points": 0,
                    "present": false,
                    "value": 50
                  },
                  {
                    "factor": "prior_remote_anthracycline",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "prior_left_chest_or_mediastinal_rt",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hypertension",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "diabetes",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "ckd",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "anthracycline_before_her2",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "current_or_significant_smoker",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "obesity",
                    "points": 0,
                    "present": false
                  }
                ],
                "concurrent_anthracycline_and_her2": 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": "hfa_icos_her2",
                "formula_expression": "HFA-ICOS HER2 (Lyon 2020): very_high if heart_failure_or_cardiomyopathy or prior_trastuzumab_cardiotoxicity; else high if mi_or_cabg or stable_angina or severe_valvular_heart_disease or lvef_percent<50 or age_years>=80 or concurrent_anthracycline_and_her2 or medium_points>=5; else medium if medium_points 2-4; else low; medium_points = Medium 2 (2) + Medium 1 (1); Medium 2 = lvef 50-54, arrhythmia, elevated_troponin, elevated_bnp, age 65-79, prior_remote_anthracycline, prior_left_chest_or_mediastinal_rt; Medium 1 = hypertension, diabetes, ckd, anthracycline_before_her2 (if not concurrent), current_or_significant_smoker, obesity; cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%",
                "high_present": false,
                "lvef_percent": 60,
                "max_score": 20,
                "medium_points": 0,
                "risk_level": "low",
                "score": 0,
                "very_high_present": false
              }
            ],
            "path": "/api/calc/hfa_icos_her2"
          },
          "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_years": {
                          "description": "Age in years (integer 18-100). Lyon 2020 exclusive bands: ≥80 is High; 65-79 is Medium 2 (2 points); younger than 65 does not score. Age 80 is High, not Medium 2.",
                          "type": "integer"
                        },
                        "anthracycline_before_her2": {
                          "description": "Current regimen includes anthracycline before HER2-targeted therapy, sequential not concurrent (Lyon 2020 HER2 table Medium 1). true or false. Ignored for points when concurrent_anthracycline_and_her2 is true.",
                          "type": "boolean"
                        },
                        "arrhythmia": {
                          "description": "Atrial fibrillation, atrial flutter, VT, or VF as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false. magent does not interpret the ECG.",
                          "type": "boolean"
                        },
                        "ckd": {
                          "description": "Chronic kidney disease as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.",
                          "type": "boolean"
                        },
                        "concurrent_anthracycline_and_her2": {
                          "description": "Anthracycline and trastuzumab delivered concurrently on the current protocol (Lyon 2020 HER2 table footnote f; High). true or false. When true, anthracycline_before_her2 does not add Medium 1 points.",
                          "type": "boolean"
                        },
                        "current_or_significant_smoker": {
                          "description": "Current or significant smoking history as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.",
                          "type": "boolean"
                        },
                        "diabetes": {
                          "description": "Diabetes mellitus as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.",
                          "type": "boolean"
                        },
                        "elevated_bnp": {
                          "description": "Elevated BNP or NT-proBNP as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false. magent does not assay natriuretic peptides.",
                          "type": "boolean"
                        },
                        "elevated_troponin": {
                          "description": "Elevated troponin as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false. magent does not assay troponin.",
                          "type": "boolean"
                        },
                        "heart_failure_or_cardiomyopathy": {
                          "description": "Heart failure or cardiomyopathy as assigned by the caller (Lyon 2020 HER2 table Very high). true or false.",
                          "type": "boolean"
                        },
                        "hypertension": {
                          "description": "Hypertension as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.",
                          "type": "boolean"
                        },
                        "lvef_percent": {
                          "description": "Left-ventricular ejection fraction percent (integer 10-80) as assigned by the caller. <50 is High; 50-54 is Medium 2 (2 points); ≥55 does not score. magent does not measure LVEF.",
                          "type": "integer"
                        },
                        "mi_or_cabg": {
                          "description": "Prior myocardial infarction or CABG as assigned by the caller (Lyon 2020 HER2 table High). true or false.",
                          "type": "boolean"
                        },
                        "obesity": {
                          "description": "Obesity as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false. magent does not compute BMI.",
                          "type": "boolean"
                        },
                        "prior_left_chest_or_mediastinal_rt": {
                          "description": "Prior left-chest or mediastinal radiotherapy as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false.",
                          "type": "boolean"
                        },
                        "prior_remote_anthracycline": {
                          "description": "Prior remote anthracycline for a previous malignancy, not the current protocol (Lyon 2020 HER2 table footnote g; Medium 2). true or false.",
                          "type": "boolean"
                        },
                        "prior_trastuzumab_cardiotoxicity": {
                          "description": "Prior trastuzumab cardiotoxicity as assigned by the caller (Lyon 2020 HER2 table Very high). true or false. magent does not review prior exposure.",
                          "type": "boolean"
                        },
                        "severe_valvular_heart_disease": {
                          "description": "Severe valvular heart disease as assigned by the caller (Lyon 2020 HER2 table High). true or false.",
                          "type": "boolean"
                        },
                        "stable_angina": {
                          "description": "Stable angina as assigned by the caller (Lyon 2020 HER2 table High). true or false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "age_years",
                        "lvef_percent",
                        "heart_failure_or_cardiomyopathy",
                        "prior_trastuzumab_cardiotoxicity",
                        "mi_or_cabg",
                        "stable_angina",
                        "severe_valvular_heart_disease",
                        "concurrent_anthracycline_and_her2",
                        "arrhythmia",
                        "elevated_troponin",
                        "elevated_bnp",
                        "prior_remote_anthracycline",
                        "prior_left_chest_or_mediastinal_rt",
                        "hypertension",
                        "diabetes",
                        "ckd",
                        "anthracycline_before_her2",
                        "current_or_significant_smoker",
                        "obesity"
                      ],
                      "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": [
    "hfa-icos",
    "her2",
    "cardio-oncology",
    "trastuzumab",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T13:35:20.142Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-12T13:35:19.995Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age_years": 50,
                  "anthracycline_before_her2": false,
                  "arrhythmia": false,
                  "ckd": false,
                  "concurrent_anthracycline_and_her2": false,
                  "current_or_significant_smoker": false,
                  "diabetes": false,
                  "elevated_bnp": false,
                  "elevated_troponin": false,
                  "heart_failure_or_cardiomyopathy": false,
                  "hypertension": false,
                  "lvef_percent": 60,
                  "mi_or_cabg": false,
                  "obesity": false,
                  "prior_left_chest_or_mediastinal_rt": false,
                  "prior_remote_anthracycline": false,
                  "prior_trastuzumab_cardiotoxicity": false,
                  "severe_valvular_heart_disease": false,
                  "stable_angina": false
                },
                {
                  "age_years": 50,
                  "anthracycline_before_her2": false,
                  "arrhythmia": false,
                  "ckd": false,
                  "concurrent_anthracycline_and_her2": false,
                  "current_or_significant_smoker": false,
                  "diabetes": false,
                  "elevated_bnp": false,
                  "elevated_troponin": false,
                  "heart_failure_or_cardiomyopathy": false,
                  "hypertension": false,
                  "lvef_percent": 60,
                  "mi_or_cabg": false,
                  "obesity": false,
                  "prior_left_chest_or_mediastinal_rt": false,
                  "prior_remote_anthracycline": false,
                  "prior_trastuzumab_cardiotoxicity": false,
                  "severe_valvular_heart_disease": false,
                  "stable_angina": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 50,
                  "anthracycline_before_her2": false,
                  "cardiotoxicity_guide": "<2%",
                  "citation": {
                    "authors": "Lyon AR, Dent S, Stanway S, et al.",
                    "doi": "10.1002/ejhf.1920",
                    "id": "lyon-2020",
                    "pmid": "32458582",
                    "source": "Eur J Heart Fail. 2020;22(11):1945-1960",
                    "title": "Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"
                  },
                  "components": [
                    {
                      "factor": "heart_failure_or_cardiomyopathy",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "prior_trastuzumab_cardiotoxicity",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "mi_or_cabg",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "stable_angina",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "severe_valvular_heart_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "lvef_lt_50",
                      "points": 0,
                      "present": false,
                      "value": 60
                    },
                    {
                      "factor": "age_ge_80",
                      "points": 0,
                      "present": false,
                      "value": 50
                    },
                    {
                      "factor": "concurrent_anthracycline_and_her2",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "lvef_50_54",
                      "points": 0,
                      "present": false,
                      "value": 60
                    },
                    {
                      "factor": "arrhythmia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "elevated_troponin",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "elevated_bnp",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "age_65_79",
                      "points": 0,
                      "present": false,
                      "value": 50
                    },
                    {
                      "factor": "prior_remote_anthracycline",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "prior_left_chest_or_mediastinal_rt",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hypertension",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "diabetes",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "ckd",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "anthracycline_before_her2",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "current_or_significant_smoker",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "obesity",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "concurrent_anthracycline_and_her2": 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": "hfa_icos_her2",
                  "formula_expression": "HFA-ICOS HER2 (Lyon 2020): very_high if heart_failure_or_cardiomyopathy or prior_trastuzumab_cardiotoxicity; else high if mi_or_cabg or stable_angina or severe_valvular_heart_disease or lvef_percent<50 or age_years>=80 or concurrent_anthracycline_and_her2 or medium_points>=5; else medium if medium_points 2-4; else low; medium_points = Medium 2 (2) + Medium 1 (1); Medium 2 = lvef 50-54, arrhythmia, elevated_troponin, elevated_bnp, age 65-79, prior_remote_anthracycline, prior_left_chest_or_mediastinal_rt; Medium 1 = hypertension, diabetes, ckd, anthracycline_before_her2 (if not concurrent), current_or_significant_smoker, obesity; cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%",
                  "high_present": false,
                  "lvef_percent": 60,
                  "max_score": 20,
                  "medium_points": 0,
                  "risk_level": "low",
                  "score": 0,
                  "very_high_present": false
                },
                {
                  "age_years": 50,
                  "anthracycline_before_her2": false,
                  "cardiotoxicity_guide": "<2%",
                  "citation": {
                    "authors": "Lyon AR, Dent S, Stanway S, et al.",
                    "doi": "10.1002/ejhf.1920",
                    "id": "lyon-2020",
                    "pmid": "32458582",
                    "source": "Eur J Heart Fail. 2020;22(11):1945-1960",
                    "title": "Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"
                  },
                  "components": [
                    {
                      "factor": "heart_failure_or_cardiomyopathy",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "prior_trastuzumab_cardiotoxicity",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "mi_or_cabg",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "stable_angina",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "severe_valvular_heart_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "lvef_lt_50",
                      "points": 0,
                      "present": false,
                      "value": 60
                    },
                    {
                      "factor": "age_ge_80",
                      "points": 0,
                      "present": false,
                      "value": 50
                    },
                    {
                      "factor": "concurrent_anthracycline_and_her2",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "lvef_50_54",
                      "points": 0,
                      "present": false,
                      "value": 60
                    },
                    {
                      "factor": "arrhythmia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "elevated_troponin",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "elevated_bnp",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "age_65_79",
                      "points": 0,
                      "present": false,
                      "value": 50
                    },
                    {
                      "factor": "prior_remote_anthracycline",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "prior_left_chest_or_mediastinal_rt",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hypertension",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "diabetes",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "ckd",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "anthracycline_before_her2",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "current_or_significant_smoker",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "obesity",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "concurrent_anthracycline_and_her2": 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": "hfa_icos_her2",
                  "formula_expression": "HFA-ICOS HER2 (Lyon 2020): very_high if heart_failure_or_cardiomyopathy or prior_trastuzumab_cardiotoxicity; else high if mi_or_cabg or stable_angina or severe_valvular_heart_disease or lvef_percent<50 or age_years>=80 or concurrent_anthracycline_and_her2 or medium_points>=5; else medium if medium_points 2-4; else low; medium_points = Medium 2 (2) + Medium 1 (1); Medium 2 = lvef 50-54, arrhythmia, elevated_troponin, elevated_bnp, age 65-79, prior_remote_anthracycline, prior_left_chest_or_mediastinal_rt; Medium 1 = hypertension, diabetes, ckd, anthracycline_before_her2 (if not concurrent), current_or_significant_smoker, obesity; cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%",
                  "high_present": false,
                  "lvef_percent": 60,
                  "max_score": 20,
                  "medium_points": 0,
                  "risk_level": "low",
                  "score": 0,
                  "very_high_present": false
                }
              ],
              "path": "/api/calc/hfa_icos_her2"
            },
            "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_years": {
                            "description": "Age in years (integer 18-100). Lyon 2020 exclusive bands: ≥80 is High; 65-79 is Medium 2 (2 points); younger than 65 does not score. Age 80 is High, not Medium 2.",
                            "type": "integer"
                          },
                          "anthracycline_before_her2": {
                            "description": "Current regimen includes anthracycline before HER2-targeted therapy, sequential not concurrent (Lyon 2020 HER2 table Medium 1). true or false. Ignored for points when concurrent_anthracycline_and_her2 is true.",
                            "type": "boolean"
                          },
                          "arrhythmia": {
                            "description": "Atrial fibrillation, atrial flutter, VT, or VF as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false. magent does not interpret the ECG.",
                            "type": "boolean"
                          },
                          "ckd": {
                            "description": "Chronic kidney disease as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.",
                            "type": "boolean"
                          },
                          "concurrent_anthracycline_and_her2": {
                            "description": "Anthracycline and trastuzumab delivered concurrently on the current protocol (Lyon 2020 HER2 table footnote f; High). true or false. When true, anthracycline_before_her2 does not add Medium 1 points.",
                            "type": "boolean"
                          },
                          "current_or_significant_smoker": {
                            "description": "Current or significant smoking history as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.",
                            "type": "boolean"
                          },
                          "diabetes": {
                            "description": "Diabetes mellitus as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.",
                            "type": "boolean"
                          },
                          "elevated_bnp": {
                            "description": "Elevated BNP or NT-proBNP as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false. magent does not assay natriuretic peptides.",
                            "type": "boolean"
                          },
                          "elevated_troponin": {
                            "description": "Elevated troponin as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false. magent does not assay troponin.",
                            "type": "boolean"
                          },
                          "heart_failure_or_cardiomyopathy": {
                            "description": "Heart failure or cardiomyopathy as assigned by the caller (Lyon 2020 HER2 table Very high). true or false.",
                            "type": "boolean"
                          },
                          "hypertension": {
                            "description": "Hypertension as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.",
                            "type": "boolean"
                          },
                          "lvef_percent": {
                            "description": "Left-ventricular ejection fraction percent (integer 10-80) as assigned by the caller. <50 is High; 50-54 is Medium 2 (2 points); ≥55 does not score. magent does not measure LVEF.",
                            "type": "integer"
                          },
                          "mi_or_cabg": {
                            "description": "Prior myocardial infarction or CABG as assigned by the caller (Lyon 2020 HER2 table High). true or false.",
                            "type": "boolean"
                          },
                          "obesity": {
                            "description": "Obesity as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false. magent does not compute BMI.",
                            "type": "boolean"
                          },
                          "prior_left_chest_or_mediastinal_rt": {
                            "description": "Prior left-chest or mediastinal radiotherapy as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false.",
                            "type": "boolean"
                          },
                          "prior_remote_anthracycline": {
                            "description": "Prior remote anthracycline for a previous malignancy, not the current protocol (Lyon 2020 HER2 table footnote g; Medium 2). true or false.",
                            "type": "boolean"
                          },
                          "prior_trastuzumab_cardiotoxicity": {
                            "description": "Prior trastuzumab cardiotoxicity as assigned by the caller (Lyon 2020 HER2 table Very high). true or false. magent does not review prior exposure.",
                            "type": "boolean"
                          },
                          "severe_valvular_heart_disease": {
                            "description": "Severe valvular heart disease as assigned by the caller (Lyon 2020 HER2 table High). true or false.",
                            "type": "boolean"
                          },
                          "stable_angina": {
                            "description": "Stable angina as assigned by the caller (Lyon 2020 HER2 table High). true or false.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "age_years",
                          "lvef_percent",
                          "heart_failure_or_cardiomyopathy",
                          "prior_trastuzumab_cardiotoxicity",
                          "mi_or_cabg",
                          "stable_angina",
                          "severe_valvular_heart_disease",
                          "concurrent_anthracycline_and_her2",
                          "arrhythmia",
                          "elevated_troponin",
                          "elevated_bnp",
                          "prior_remote_anthracycline",
                          "prior_left_chest_or_mediastinal_rt",
                          "hypertension",
                          "diabetes",
                          "ckd",
                          "anthracycline_before_her2",
                          "current_or_significant_smoker",
                          "obesity"
                        ],
                        "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"
  }
}