{
  "x402Version": 2,
  "id": 39322,
  "slug": "39322",
  "resource": "https://api.magentlab.com/api/calc/action_icu",
  "description": "Fanaroff 2018 ACTION ICU integer score (Table 3) for initially hemodynamically stable NSTEMI. Points from age, creatinine, heart rate, systolic BP (lower SBP scores more), troponin × ULN, HF signs, ST depression, absence of prior revascularization, and chronic lung disease. Returns integer score 0–19. Not a medical device or triage order; magent does not read an ECG or assay labs.",
  "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": 66,
                "chronic_lung_disease": false,
                "creatinine_mg_dl": 1,
                "heart_failure": false,
                "heart_rate_bpm": 80,
                "prior_revascularization": true,
                "st_depression": false,
                "systolic_mm_hg": 150,
                "troponin_x_uln": 1
              },
              {
                "age": 66,
                "chronic_lung_disease": false,
                "creatinine_mg_dl": 1,
                "heart_failure": false,
                "heart_rate_bpm": 80,
                "prior_revascularization": true,
                "st_depression": false,
                "systolic_mm_hg": 150,
                "troponin_x_uln": 1
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 66,
                "chronic_lung_disease": false,
                "citation": {
                  "authors": "Fanaroff AC, Chen AY, Thomas LE, et al",
                  "doi": "10.1161/JAHA.118.008894",
                  "id": "fanaroff-2018",
                  "pmid": "29802146",
                  "source": "J Am Heart Assoc. 2018;7(11):e008894",
                  "title": "Risk Score to Predict Need for Intensive Care in Initially Hemodynamically Stable Adults With Non–ST-Segment–Elevation Myocardial Infarction"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 66
                  },
                  {
                    "factor": "creatinine_mg_dl",
                    "points": 0,
                    "present": false,
                    "value": 1
                  },
                  {
                    "factor": "heart_rate_bpm",
                    "points": 0,
                    "present": false,
                    "value": 80
                  },
                  {
                    "factor": "systolic_mm_hg",
                    "points": 0,
                    "present": false,
                    "value": 150
                  },
                  {
                    "factor": "troponin_x_uln",
                    "points": 0,
                    "present": false,
                    "value": 1
                  },
                  {
                    "factor": "heart_failure",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "st_depression",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "prior_revascularization",
                    "points": 0,
                    "present": false,
                    "value": true
                  },
                  {
                    "factor": "chronic_lung_disease",
                    "points": 0,
                    "present": false
                  }
                ],
                "creatinine_mg_dl": 1,
                "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": "action_icu",
                "formula_expression": "ACTION ICU = age(<70:0, >=70:1) + creatinine_mg_dl(<1.1:0, >=1.1:1) + heart_rate_bpm(<85:0, 85-<100:1, >=100:3) + systolic_mm_hg(<125:3, 125-<145:1, >=145:0) + troponin_x_uln(<12:0, >=12:2) + heart_failure(5) + st_depression(1) + no_prior_revascularization(1) + chronic_lung_disease(2); Fanaroff 2018 Table 3; max 19; overlapping Table 3 bounds at HR 100 and SBP 145 use the >= row; score <=2 very low (<5% ICU-complication likelihood); <=5 <10%; >=12 >30%",
                "heart_failure": false,
                "heart_rate_bpm": 80,
                "max_score": 19,
                "prior_revascularization": true,
                "score": 0,
                "st_depression": false,
                "systolic_mm_hg": 150,
                "troponin_x_uln": 1
              },
              {
                "age_years": 66,
                "chronic_lung_disease": false,
                "citation": {
                  "authors": "Fanaroff AC, Chen AY, Thomas LE, et al",
                  "doi": "10.1161/JAHA.118.008894",
                  "id": "fanaroff-2018",
                  "pmid": "29802146",
                  "source": "J Am Heart Assoc. 2018;7(11):e008894",
                  "title": "Risk Score to Predict Need for Intensive Care in Initially Hemodynamically Stable Adults With Non–ST-Segment–Elevation Myocardial Infarction"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 66
                  },
                  {
                    "factor": "creatinine_mg_dl",
                    "points": 0,
                    "present": false,
                    "value": 1
                  },
                  {
                    "factor": "heart_rate_bpm",
                    "points": 0,
                    "present": false,
                    "value": 80
                  },
                  {
                    "factor": "systolic_mm_hg",
                    "points": 0,
                    "present": false,
                    "value": 150
                  },
                  {
                    "factor": "troponin_x_uln",
                    "points": 0,
                    "present": false,
                    "value": 1
                  },
                  {
                    "factor": "heart_failure",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "st_depression",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "prior_revascularization",
                    "points": 0,
                    "present": false,
                    "value": true
                  },
                  {
                    "factor": "chronic_lung_disease",
                    "points": 0,
                    "present": false
                  }
                ],
                "creatinine_mg_dl": 1,
                "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": "action_icu",
                "formula_expression": "ACTION ICU = age(<70:0, >=70:1) + creatinine_mg_dl(<1.1:0, >=1.1:1) + heart_rate_bpm(<85:0, 85-<100:1, >=100:3) + systolic_mm_hg(<125:3, 125-<145:1, >=145:0) + troponin_x_uln(<12:0, >=12:2) + heart_failure(5) + st_depression(1) + no_prior_revascularization(1) + chronic_lung_disease(2); Fanaroff 2018 Table 3; max 19; overlapping Table 3 bounds at HR 100 and SBP 145 use the >= row; score <=2 very low (<5% ICU-complication likelihood); <=5 <10%; >=12 >30%",
                "heart_failure": false,
                "heart_rate_bpm": 80,
                "max_score": 19,
                "prior_revascularization": true,
                "score": 0,
                "st_depression": false,
                "systolic_mm_hg": 150,
                "troponin_x_uln": 1
              }
            ],
            "path": "/api/calc/action_icu"
          },
          "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). Fanaroff 2018 Table 3: younger than 70 scores 0; 70 or older scores 1.",
                          "type": "integer"
                        },
                        "chronic_lung_disease": {
                          "description": "Chronic lung disease as assigned by the caller (Fanaroff 2018 Table 3). true or false. 2 points if true.",
                          "type": "boolean"
                        },
                        "creatinine_mg_dl": {
                          "description": "Serum creatinine in mg/dL (0.1-20), or creatinine_umol_l (9-1768) converted as mg/dL = µmol/L / 88.42. Table 3: <1.1 → 0; ≥1.1 → 1. magent does not assay labs.",
                          "type": "number"
                        },
                        "heart_failure": {
                          "description": "Signs or symptoms of heart failure on first medical contact as assigned by the caller (Fanaroff 2018 Table 3). true or false. 5 points if true. magent does not examine the patient.",
                          "type": "boolean"
                        },
                        "heart_rate_bpm": {
                          "description": "Heart rate in beats per minute (integer 30-220). Table 3 lists <85 → 0; 85–100 → 1; ≥100 → 3. The overlapping bound at 100 uses the ≥100 row (3 points).",
                          "type": "integer"
                        },
                        "prior_revascularization": {
                          "description": "Prior coronary revascularization as assigned by the caller (Fanaroff 2018 Table 3). true or false. Absence of prior revascularization scores 1; presence scores 0.",
                          "type": "boolean"
                        },
                        "st_depression": {
                          "description": "ST-segment depression on the ECG as assigned by the caller (Fanaroff 2018 Table 3). true or false. 1 point if true. magent does not read an ECG.",
                          "type": "boolean"
                        },
                        "systolic_mm_hg": {
                          "description": "Systolic blood pressure in mm Hg (50-250). Table 3: <125 → 3; 125–145 → 1; ≥145 → 0. Lower SBP scores more. The overlapping bound at 145 uses the ≥145 row (0 points).",
                          "type": "number"
                        },
                        "troponin_x_uln": {
                          "description": "Initial troponin as a multiple of the local upper limit of normal (0-1000). Table 3: <12 → 0; ≥12 → 2. magent does not assay labs; the caller assigns the ratio.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "age",
                        "creatinine_mg_dl",
                        "heart_rate_bpm",
                        "systolic_mm_hg",
                        "troponin_x_uln",
                        "heart_failure",
                        "st_depression",
                        "prior_revascularization",
                        "chronic_lung_disease"
                      ],
                      "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": [
    "action-icu",
    "nstemi",
    "acs",
    "icu",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T23:20:52.609Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T23:20:52.272Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 66,
                  "chronic_lung_disease": false,
                  "creatinine_mg_dl": 1,
                  "heart_failure": false,
                  "heart_rate_bpm": 80,
                  "prior_revascularization": true,
                  "st_depression": false,
                  "systolic_mm_hg": 150,
                  "troponin_x_uln": 1
                },
                {
                  "age": 66,
                  "chronic_lung_disease": false,
                  "creatinine_mg_dl": 1,
                  "heart_failure": false,
                  "heart_rate_bpm": 80,
                  "prior_revascularization": true,
                  "st_depression": false,
                  "systolic_mm_hg": 150,
                  "troponin_x_uln": 1
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 66,
                  "chronic_lung_disease": false,
                  "citation": {
                    "authors": "Fanaroff AC, Chen AY, Thomas LE, et al",
                    "doi": "10.1161/JAHA.118.008894",
                    "id": "fanaroff-2018",
                    "pmid": "29802146",
                    "source": "J Am Heart Assoc. 2018;7(11):e008894",
                    "title": "Risk Score to Predict Need for Intensive Care in Initially Hemodynamically Stable Adults With Non–ST-Segment–Elevation Myocardial Infarction"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 66
                    },
                    {
                      "factor": "creatinine_mg_dl",
                      "points": 0,
                      "present": false,
                      "value": 1
                    },
                    {
                      "factor": "heart_rate_bpm",
                      "points": 0,
                      "present": false,
                      "value": 80
                    },
                    {
                      "factor": "systolic_mm_hg",
                      "points": 0,
                      "present": false,
                      "value": 150
                    },
                    {
                      "factor": "troponin_x_uln",
                      "points": 0,
                      "present": false,
                      "value": 1
                    },
                    {
                      "factor": "heart_failure",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "st_depression",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "prior_revascularization",
                      "points": 0,
                      "present": false,
                      "value": true
                    },
                    {
                      "factor": "chronic_lung_disease",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "creatinine_mg_dl": 1,
                  "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": "action_icu",
                  "formula_expression": "ACTION ICU = age(<70:0, >=70:1) + creatinine_mg_dl(<1.1:0, >=1.1:1) + heart_rate_bpm(<85:0, 85-<100:1, >=100:3) + systolic_mm_hg(<125:3, 125-<145:1, >=145:0) + troponin_x_uln(<12:0, >=12:2) + heart_failure(5) + st_depression(1) + no_prior_revascularization(1) + chronic_lung_disease(2); Fanaroff 2018 Table 3; max 19; overlapping Table 3 bounds at HR 100 and SBP 145 use the >= row; score <=2 very low (<5% ICU-complication likelihood); <=5 <10%; >=12 >30%",
                  "heart_failure": false,
                  "heart_rate_bpm": 80,
                  "max_score": 19,
                  "prior_revascularization": true,
                  "score": 0,
                  "st_depression": false,
                  "systolic_mm_hg": 150,
                  "troponin_x_uln": 1
                },
                {
                  "age_years": 66,
                  "chronic_lung_disease": false,
                  "citation": {
                    "authors": "Fanaroff AC, Chen AY, Thomas LE, et al",
                    "doi": "10.1161/JAHA.118.008894",
                    "id": "fanaroff-2018",
                    "pmid": "29802146",
                    "source": "J Am Heart Assoc. 2018;7(11):e008894",
                    "title": "Risk Score to Predict Need for Intensive Care in Initially Hemodynamically Stable Adults With Non–ST-Segment–Elevation Myocardial Infarction"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 66
                    },
                    {
                      "factor": "creatinine_mg_dl",
                      "points": 0,
                      "present": false,
                      "value": 1
                    },
                    {
                      "factor": "heart_rate_bpm",
                      "points": 0,
                      "present": false,
                      "value": 80
                    },
                    {
                      "factor": "systolic_mm_hg",
                      "points": 0,
                      "present": false,
                      "value": 150
                    },
                    {
                      "factor": "troponin_x_uln",
                      "points": 0,
                      "present": false,
                      "value": 1
                    },
                    {
                      "factor": "heart_failure",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "st_depression",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "prior_revascularization",
                      "points": 0,
                      "present": false,
                      "value": true
                    },
                    {
                      "factor": "chronic_lung_disease",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "creatinine_mg_dl": 1,
                  "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": "action_icu",
                  "formula_expression": "ACTION ICU = age(<70:0, >=70:1) + creatinine_mg_dl(<1.1:0, >=1.1:1) + heart_rate_bpm(<85:0, 85-<100:1, >=100:3) + systolic_mm_hg(<125:3, 125-<145:1, >=145:0) + troponin_x_uln(<12:0, >=12:2) + heart_failure(5) + st_depression(1) + no_prior_revascularization(1) + chronic_lung_disease(2); Fanaroff 2018 Table 3; max 19; overlapping Table 3 bounds at HR 100 and SBP 145 use the >= row; score <=2 very low (<5% ICU-complication likelihood); <=5 <10%; >=12 >30%",
                  "heart_failure": false,
                  "heart_rate_bpm": 80,
                  "max_score": 19,
                  "prior_revascularization": true,
                  "score": 0,
                  "st_depression": false,
                  "systolic_mm_hg": 150,
                  "troponin_x_uln": 1
                }
              ],
              "path": "/api/calc/action_icu"
            },
            "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). Fanaroff 2018 Table 3: younger than 70 scores 0; 70 or older scores 1.",
                            "type": "integer"
                          },
                          "chronic_lung_disease": {
                            "description": "Chronic lung disease as assigned by the caller (Fanaroff 2018 Table 3). true or false. 2 points if true.",
                            "type": "boolean"
                          },
                          "creatinine_mg_dl": {
                            "description": "Serum creatinine in mg/dL (0.1-20), or creatinine_umol_l (9-1768) converted as mg/dL = µmol/L / 88.42. Table 3: <1.1 → 0; ≥1.1 → 1. magent does not assay labs.",
                            "type": "number"
                          },
                          "heart_failure": {
                            "description": "Signs or symptoms of heart failure on first medical contact as assigned by the caller (Fanaroff 2018 Table 3). true or false. 5 points if true. magent does not examine the patient.",
                            "type": "boolean"
                          },
                          "heart_rate_bpm": {
                            "description": "Heart rate in beats per minute (integer 30-220). Table 3 lists <85 → 0; 85–100 → 1; ≥100 → 3. The overlapping bound at 100 uses the ≥100 row (3 points).",
                            "type": "integer"
                          },
                          "prior_revascularization": {
                            "description": "Prior coronary revascularization as assigned by the caller (Fanaroff 2018 Table 3). true or false. Absence of prior revascularization scores 1; presence scores 0.",
                            "type": "boolean"
                          },
                          "st_depression": {
                            "description": "ST-segment depression on the ECG as assigned by the caller (Fanaroff 2018 Table 3). true or false. 1 point if true. magent does not read an ECG.",
                            "type": "boolean"
                          },
                          "systolic_mm_hg": {
                            "description": "Systolic blood pressure in mm Hg (50-250). Table 3: <125 → 3; 125–145 → 1; ≥145 → 0. Lower SBP scores more. The overlapping bound at 145 uses the ≥145 row (0 points).",
                            "type": "number"
                          },
                          "troponin_x_uln": {
                            "description": "Initial troponin as a multiple of the local upper limit of normal (0-1000). Table 3: <12 → 0; ≥12 → 2. magent does not assay labs; the caller assigns the ratio.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "age",
                          "creatinine_mg_dl",
                          "heart_rate_bpm",
                          "systolic_mm_hg",
                          "troponin_x_uln",
                          "heart_failure",
                          "st_depression",
                          "prior_revascularization",
                          "chronic_lung_disease"
                        ],
                        "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"
  }
}