{
  "x402Version": 2,
  "id": 38821,
  "slug": "38821",
  "resource": "https://api.magentlab.com/api/calc/save",
  "description": "Schmidt 2015 SAVE-score from Table 4 integer cells plus constant −6. Age, weight, additive diagnoses, chronic renal failure, acute liver/CNS/renal failure, intubation hours, PIP ≤20, cardiac arrest, diastolic BP ≥40, pulse pressure ≤20, bicarbonate ≤15. Class I–V hospital survival 75/58/42/30/18%. Range −35 to 17. Not a VA-ECMO assignment. Not modified SAVE.",
  "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": [
              {
                "acute_renal_failure": false,
                "age": 70,
                "bicarbonate_mmol_l": 24,
                "chronic_renal_failure": false,
                "cns_dysfunction": false,
                "congenital_heart_disease": false,
                "diastolic_bp_mm_hg": 35,
                "intubation_hours": 5,
                "liver_failure": false,
                "myocarditis": false,
                "pip_cmh2o": 25,
                "post_heart_or_lung_transplant": false,
                "pre_ecmo_cardiac_arrest": false,
                "pulse_pressure_mm_hg": 40,
                "refractory_vt_vf": false,
                "weight_kg": 95
              },
              {
                "acute_renal_failure": false,
                "age": 70,
                "bicarbonate_mmol_l": 24,
                "chronic_renal_failure": false,
                "cns_dysfunction": false,
                "congenital_heart_disease": false,
                "diastolic_bp_mm_hg": 35,
                "intubation_hours": 5,
                "liver_failure": false,
                "myocarditis": false,
                "pip_cmh2o": 25,
                "post_heart_or_lung_transplant": false,
                "pre_ecmo_cardiac_arrest": false,
                "pulse_pressure_mm_hg": 40,
                "refractory_vt_vf": false,
                "weight_kg": 95
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Schmidt M, Burrell A, Roberts L, et al.",
                  "doi": "10.1093/eurheartj/ehv194",
                  "id": "schmidt-2015",
                  "pmid": "26033984",
                  "source": "Eur Heart J. 2015;36(33):2246-2256",
                  "title": "Predicting survival after ECMO for refractory cardiogenic shock: the survival after veno-arterial-ECMO (SAVE)-score"
                },
                "components": [
                  {
                    "factor": "myocarditis",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "refractory_vt_vf",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "post_heart_or_lung_transplant",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "congenital_heart_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 70
                  },
                  {
                    "factor": "weight_kg",
                    "points": 0,
                    "present": false,
                    "value": 95
                  },
                  {
                    "factor": "liver_failure",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "cns_dysfunction",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "acute_renal_failure",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "chronic_renal_failure",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "intubation_hours",
                    "points": 0,
                    "present": false,
                    "value": 5
                  },
                  {
                    "factor": "pip_cmh2o",
                    "points": 0,
                    "present": false,
                    "value": 25
                  },
                  {
                    "factor": "pre_ecmo_cardiac_arrest",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "diastolic_bp_mm_hg",
                    "points": 0,
                    "present": false,
                    "value": 35
                  },
                  {
                    "factor": "pulse_pressure_mm_hg",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "bicarbonate_mmol_l",
                    "points": 0,
                    "present": false,
                    "value": 24
                  },
                  {
                    "factor": "constant",
                    "points": -6,
                    "present": true
                  }
                ],
                "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": "save",
                "formula_expression": "SAVE = constant(−6) + age(18–38 → 7, 39–52 → 4, 53–62 → 3, ≥63 → 0) + weight_kg(≤65 → 1, 66–89 → 2, ≥90 → 0) + myocarditis(3) + refractory_vt_vf(2) + post_heart_or_lung_transplant(3) + congenital_heart_disease(−3) + liver_failure(−3) + cns_dysfunction(−3) + acute_renal_failure(−3) + chronic_renal_failure(−6) + intubation_hours(≤10 → 0, 11–29 → −2, ≥30 → −4) + pip_cmh2o(≤20 → 3) + pre_ecmo_cardiac_arrest(−2) + diastolic_bp_mm_hg(≥40 → 3) + pulse_pressure_mm_hg(≤20 → −2) + bicarbonate_mmol_l(≤15 → −3); diagnoses and acute organ failures may stack (Table 4 select one or more); other diagnoses 0; range −35 to 17; class I >5 → 75%, II 1–5 → 58%, III −4 to 0 → 42%, IV −9 to −5 → 30%, V ≤−10 → 18%",
                "hospital_survival_percent": 30,
                "max_score": 17,
                "min_score": -35,
                "save_class": "IV",
                "score": -6
              },
              {
                "citation": {
                  "authors": "Schmidt M, Burrell A, Roberts L, et al.",
                  "doi": "10.1093/eurheartj/ehv194",
                  "id": "schmidt-2015",
                  "pmid": "26033984",
                  "source": "Eur Heart J. 2015;36(33):2246-2256",
                  "title": "Predicting survival after ECMO for refractory cardiogenic shock: the survival after veno-arterial-ECMO (SAVE)-score"
                },
                "components": [
                  {
                    "factor": "myocarditis",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "refractory_vt_vf",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "post_heart_or_lung_transplant",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "congenital_heart_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 70
                  },
                  {
                    "factor": "weight_kg",
                    "points": 0,
                    "present": false,
                    "value": 95
                  },
                  {
                    "factor": "liver_failure",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "cns_dysfunction",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "acute_renal_failure",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "chronic_renal_failure",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "intubation_hours",
                    "points": 0,
                    "present": false,
                    "value": 5
                  },
                  {
                    "factor": "pip_cmh2o",
                    "points": 0,
                    "present": false,
                    "value": 25
                  },
                  {
                    "factor": "pre_ecmo_cardiac_arrest",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "diastolic_bp_mm_hg",
                    "points": 0,
                    "present": false,
                    "value": 35
                  },
                  {
                    "factor": "pulse_pressure_mm_hg",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "bicarbonate_mmol_l",
                    "points": 0,
                    "present": false,
                    "value": 24
                  },
                  {
                    "factor": "constant",
                    "points": -6,
                    "present": true
                  }
                ],
                "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": "save",
                "formula_expression": "SAVE = constant(−6) + age(18–38 → 7, 39–52 → 4, 53–62 → 3, ≥63 → 0) + weight_kg(≤65 → 1, 66–89 → 2, ≥90 → 0) + myocarditis(3) + refractory_vt_vf(2) + post_heart_or_lung_transplant(3) + congenital_heart_disease(−3) + liver_failure(−3) + cns_dysfunction(−3) + acute_renal_failure(−3) + chronic_renal_failure(−6) + intubation_hours(≤10 → 0, 11–29 → −2, ≥30 → −4) + pip_cmh2o(≤20 → 3) + pre_ecmo_cardiac_arrest(−2) + diastolic_bp_mm_hg(≥40 → 3) + pulse_pressure_mm_hg(≤20 → −2) + bicarbonate_mmol_l(≤15 → −3); diagnoses and acute organ failures may stack (Table 4 select one or more); other diagnoses 0; range −35 to 17; class I >5 → 75%, II 1–5 → 58%, III −4 to 0 → 42%, IV −9 to −5 → 30%, V ≤−10 → 18%",
                "hospital_survival_percent": 30,
                "max_score": 17,
                "min_score": -35,
                "save_class": "IV",
                "score": -6
              }
            ],
            "path": "/api/calc/save"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "acute_renal_failure": {
                          "description": "Acute pre-ECMO renal failure (Table 4, −3): creatinine >1.5 mg/dL with or without RRT. Distinct from chronic_renal_failure. May stack. true or false. Caller-assigned.",
                          "type": "boolean"
                        },
                        "age": {
                          "description": "Age in years (18-120). Schmidt 2015 Table 4: 18–38 → 7, 39–52 → 4, 53–62 → 3, ≥63 → 0. Adult SAVE-score; magent does not assign pediatric VA-ECMO.",
                          "type": "integer"
                        },
                        "bicarbonate_mmol_l": {
                          "description": "Serum bicarbonate in mmol/L before ECMO (1-50). Worst value within 6 h. Table 4: ≤15 → −3, otherwise 0. magent does not measure HCO3.",
                          "type": "number"
                        },
                        "chronic_renal_failure": {
                          "description": "Chronic renal failure (Table 4, −6): kidney damage or GFR <60 mL/min/1.73 m² for ≥3 months. Distinct from acute_renal_failure. true or false. Caller-assigned.",
                          "type": "boolean"
                        },
                        "cns_dysfunction": {
                          "description": "Acute pre-ECMO CNS dysfunction (Table 4, −3): neurotrauma, stroke, encephalopathy, cerebral embolism, seizure or epileptic syndromes. May stack. true or false. Caller-assigned; magent does not examine the patient.",
                          "type": "boolean"
                        },
                        "congenital_heart_disease": {
                          "description": "Congenital heart disease (Table 4, −3). May stack with other diagnosis flags. true or false. Caller-assigned.",
                          "type": "boolean"
                        },
                        "diastolic_bp_mm_hg": {
                          "description": "Diastolic blood pressure in mm Hg before ECMO (1-200). Worst value within 6 h of cannulation. Table 4: ≥40 → +3, otherwise 0. magent does not measure blood pressure.",
                          "type": "number"
                        },
                        "intubation_hours": {
                          "description": "Hours of intubation before ECMO (0-720). Table 4: ≤10 → 0, 11–29 → −2, ≥30 → −4. Caller-supplied; magent does not read a ventilator log.",
                          "type": "number"
                        },
                        "liver_failure": {
                          "description": "Acute pre-ECMO liver failure (Table 4, −3). Paper footnote: bilirubin ≥33 µmol/L or ALT or AST >70 U/L. Acute organ failures may stack. true or false. Caller-assigned; magent does not measure labs.",
                          "type": "boolean"
                        },
                        "myocarditis": {
                          "description": "Acute myocarditis diagnosis (Table 4, +3). Diagnoses are not mutually exclusive (select one or more). true or false. Caller-assigned.",
                          "type": "boolean"
                        },
                        "pip_cmh2o": {
                          "description": "Peak inspiratory pressure in cmH2O (5-80). Table 4: ≤20 → +3, otherwise 0. Worst value as assigned by the caller. magent does not read airway pressure.",
                          "type": "number"
                        },
                        "post_heart_or_lung_transplant": {
                          "description": "Post heart or lung transplantation (Table 4, +3). May stack with other diagnosis flags. true or false. Caller-assigned.",
                          "type": "boolean"
                        },
                        "pre_ecmo_cardiac_arrest": {
                          "description": "Cardiac arrest before ECMO (Table 4, −2). Derivation excluded eCPR during cannulation. true or false. Caller-assigned.",
                          "type": "boolean"
                        },
                        "pulse_pressure_mm_hg": {
                          "description": "Pulse pressure in mm Hg before ECMO (0-200). Worst value within 6 h. Table 4: ≤20 → −2, otherwise 0. Caller-supplied; magent does not subtract systolic minus diastolic.",
                          "type": "number"
                        },
                        "refractory_vt_vf": {
                          "description": "Refractory ventricular tachycardia or fibrillation (Table 4, +2). May stack with other diagnosis flags. true or false. Caller-assigned.",
                          "type": "boolean"
                        },
                        "weight_kg": {
                          "description": "Weight in kg (20-400). Table 4 / Table 3 bands: ≤65 → 1, 66–89 → 2, ≥90 → 0. 65 kg scores 1 (≤65 before the 65–89 typeset overlap). Caller-supplied; magent does not weigh the patient.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "age",
                        "weight_kg",
                        "myocarditis",
                        "refractory_vt_vf",
                        "post_heart_or_lung_transplant",
                        "congenital_heart_disease",
                        "liver_failure",
                        "cns_dysfunction",
                        "acute_renal_failure",
                        "chronic_renal_failure",
                        "intubation_hours",
                        "pip_cmh2o",
                        "pre_ecmo_cardiac_arrest",
                        "diastolic_bp_mm_hg",
                        "pulse_pressure_mm_hg",
                        "bicarbonate_mmol_l"
                      ],
                      "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": [
    "save",
    "ecmo",
    "cardiogenic-shock",
    "hemodynamics",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T14:29:47.025Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T14:29:46.867Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "acute_renal_failure": false,
                  "age": 70,
                  "bicarbonate_mmol_l": 24,
                  "chronic_renal_failure": false,
                  "cns_dysfunction": false,
                  "congenital_heart_disease": false,
                  "diastolic_bp_mm_hg": 35,
                  "intubation_hours": 5,
                  "liver_failure": false,
                  "myocarditis": false,
                  "pip_cmh2o": 25,
                  "post_heart_or_lung_transplant": false,
                  "pre_ecmo_cardiac_arrest": false,
                  "pulse_pressure_mm_hg": 40,
                  "refractory_vt_vf": false,
                  "weight_kg": 95
                },
                {
                  "acute_renal_failure": false,
                  "age": 70,
                  "bicarbonate_mmol_l": 24,
                  "chronic_renal_failure": false,
                  "cns_dysfunction": false,
                  "congenital_heart_disease": false,
                  "diastolic_bp_mm_hg": 35,
                  "intubation_hours": 5,
                  "liver_failure": false,
                  "myocarditis": false,
                  "pip_cmh2o": 25,
                  "post_heart_or_lung_transplant": false,
                  "pre_ecmo_cardiac_arrest": false,
                  "pulse_pressure_mm_hg": 40,
                  "refractory_vt_vf": false,
                  "weight_kg": 95
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Schmidt M, Burrell A, Roberts L, et al.",
                    "doi": "10.1093/eurheartj/ehv194",
                    "id": "schmidt-2015",
                    "pmid": "26033984",
                    "source": "Eur Heart J. 2015;36(33):2246-2256",
                    "title": "Predicting survival after ECMO for refractory cardiogenic shock: the survival after veno-arterial-ECMO (SAVE)-score"
                  },
                  "components": [
                    {
                      "factor": "myocarditis",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "refractory_vt_vf",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "post_heart_or_lung_transplant",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "congenital_heart_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 70
                    },
                    {
                      "factor": "weight_kg",
                      "points": 0,
                      "present": false,
                      "value": 95
                    },
                    {
                      "factor": "liver_failure",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "cns_dysfunction",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "acute_renal_failure",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "chronic_renal_failure",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "intubation_hours",
                      "points": 0,
                      "present": false,
                      "value": 5
                    },
                    {
                      "factor": "pip_cmh2o",
                      "points": 0,
                      "present": false,
                      "value": 25
                    },
                    {
                      "factor": "pre_ecmo_cardiac_arrest",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "diastolic_bp_mm_hg",
                      "points": 0,
                      "present": false,
                      "value": 35
                    },
                    {
                      "factor": "pulse_pressure_mm_hg",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "bicarbonate_mmol_l",
                      "points": 0,
                      "present": false,
                      "value": 24
                    },
                    {
                      "factor": "constant",
                      "points": -6,
                      "present": true
                    }
                  ],
                  "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": "save",
                  "formula_expression": "SAVE = constant(−6) + age(18–38 → 7, 39–52 → 4, 53–62 → 3, ≥63 → 0) + weight_kg(≤65 → 1, 66–89 → 2, ≥90 → 0) + myocarditis(3) + refractory_vt_vf(2) + post_heart_or_lung_transplant(3) + congenital_heart_disease(−3) + liver_failure(−3) + cns_dysfunction(−3) + acute_renal_failure(−3) + chronic_renal_failure(−6) + intubation_hours(≤10 → 0, 11–29 → −2, ≥30 → −4) + pip_cmh2o(≤20 → 3) + pre_ecmo_cardiac_arrest(−2) + diastolic_bp_mm_hg(≥40 → 3) + pulse_pressure_mm_hg(≤20 → −2) + bicarbonate_mmol_l(≤15 → −3); diagnoses and acute organ failures may stack (Table 4 select one or more); other diagnoses 0; range −35 to 17; class I >5 → 75%, II 1–5 → 58%, III −4 to 0 → 42%, IV −9 to −5 → 30%, V ≤−10 → 18%",
                  "hospital_survival_percent": 30,
                  "max_score": 17,
                  "min_score": -35,
                  "save_class": "IV",
                  "score": -6
                },
                {
                  "citation": {
                    "authors": "Schmidt M, Burrell A, Roberts L, et al.",
                    "doi": "10.1093/eurheartj/ehv194",
                    "id": "schmidt-2015",
                    "pmid": "26033984",
                    "source": "Eur Heart J. 2015;36(33):2246-2256",
                    "title": "Predicting survival after ECMO for refractory cardiogenic shock: the survival after veno-arterial-ECMO (SAVE)-score"
                  },
                  "components": [
                    {
                      "factor": "myocarditis",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "refractory_vt_vf",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "post_heart_or_lung_transplant",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "congenital_heart_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 70
                    },
                    {
                      "factor": "weight_kg",
                      "points": 0,
                      "present": false,
                      "value": 95
                    },
                    {
                      "factor": "liver_failure",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "cns_dysfunction",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "acute_renal_failure",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "chronic_renal_failure",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "intubation_hours",
                      "points": 0,
                      "present": false,
                      "value": 5
                    },
                    {
                      "factor": "pip_cmh2o",
                      "points": 0,
                      "present": false,
                      "value": 25
                    },
                    {
                      "factor": "pre_ecmo_cardiac_arrest",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "diastolic_bp_mm_hg",
                      "points": 0,
                      "present": false,
                      "value": 35
                    },
                    {
                      "factor": "pulse_pressure_mm_hg",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "bicarbonate_mmol_l",
                      "points": 0,
                      "present": false,
                      "value": 24
                    },
                    {
                      "factor": "constant",
                      "points": -6,
                      "present": true
                    }
                  ],
                  "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": "save",
                  "formula_expression": "SAVE = constant(−6) + age(18–38 → 7, 39–52 → 4, 53–62 → 3, ≥63 → 0) + weight_kg(≤65 → 1, 66–89 → 2, ≥90 → 0) + myocarditis(3) + refractory_vt_vf(2) + post_heart_or_lung_transplant(3) + congenital_heart_disease(−3) + liver_failure(−3) + cns_dysfunction(−3) + acute_renal_failure(−3) + chronic_renal_failure(−6) + intubation_hours(≤10 → 0, 11–29 → −2, ≥30 → −4) + pip_cmh2o(≤20 → 3) + pre_ecmo_cardiac_arrest(−2) + diastolic_bp_mm_hg(≥40 → 3) + pulse_pressure_mm_hg(≤20 → −2) + bicarbonate_mmol_l(≤15 → −3); diagnoses and acute organ failures may stack (Table 4 select one or more); other diagnoses 0; range −35 to 17; class I >5 → 75%, II 1–5 → 58%, III −4 to 0 → 42%, IV −9 to −5 → 30%, V ≤−10 → 18%",
                  "hospital_survival_percent": 30,
                  "max_score": 17,
                  "min_score": -35,
                  "save_class": "IV",
                  "score": -6
                }
              ],
              "path": "/api/calc/save"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "acute_renal_failure": {
                            "description": "Acute pre-ECMO renal failure (Table 4, −3): creatinine >1.5 mg/dL with or without RRT. Distinct from chronic_renal_failure. May stack. true or false. Caller-assigned.",
                            "type": "boolean"
                          },
                          "age": {
                            "description": "Age in years (18-120). Schmidt 2015 Table 4: 18–38 → 7, 39–52 → 4, 53–62 → 3, ≥63 → 0. Adult SAVE-score; magent does not assign pediatric VA-ECMO.",
                            "type": "integer"
                          },
                          "bicarbonate_mmol_l": {
                            "description": "Serum bicarbonate in mmol/L before ECMO (1-50). Worst value within 6 h. Table 4: ≤15 → −3, otherwise 0. magent does not measure HCO3.",
                            "type": "number"
                          },
                          "chronic_renal_failure": {
                            "description": "Chronic renal failure (Table 4, −6): kidney damage or GFR <60 mL/min/1.73 m² for ≥3 months. Distinct from acute_renal_failure. true or false. Caller-assigned.",
                            "type": "boolean"
                          },
                          "cns_dysfunction": {
                            "description": "Acute pre-ECMO CNS dysfunction (Table 4, −3): neurotrauma, stroke, encephalopathy, cerebral embolism, seizure or epileptic syndromes. May stack. true or false. Caller-assigned; magent does not examine the patient.",
                            "type": "boolean"
                          },
                          "congenital_heart_disease": {
                            "description": "Congenital heart disease (Table 4, −3). May stack with other diagnosis flags. true or false. Caller-assigned.",
                            "type": "boolean"
                          },
                          "diastolic_bp_mm_hg": {
                            "description": "Diastolic blood pressure in mm Hg before ECMO (1-200). Worst value within 6 h of cannulation. Table 4: ≥40 → +3, otherwise 0. magent does not measure blood pressure.",
                            "type": "number"
                          },
                          "intubation_hours": {
                            "description": "Hours of intubation before ECMO (0-720). Table 4: ≤10 → 0, 11–29 → −2, ≥30 → −4. Caller-supplied; magent does not read a ventilator log.",
                            "type": "number"
                          },
                          "liver_failure": {
                            "description": "Acute pre-ECMO liver failure (Table 4, −3). Paper footnote: bilirubin ≥33 µmol/L or ALT or AST >70 U/L. Acute organ failures may stack. true or false. Caller-assigned; magent does not measure labs.",
                            "type": "boolean"
                          },
                          "myocarditis": {
                            "description": "Acute myocarditis diagnosis (Table 4, +3). Diagnoses are not mutually exclusive (select one or more). true or false. Caller-assigned.",
                            "type": "boolean"
                          },
                          "pip_cmh2o": {
                            "description": "Peak inspiratory pressure in cmH2O (5-80). Table 4: ≤20 → +3, otherwise 0. Worst value as assigned by the caller. magent does not read airway pressure.",
                            "type": "number"
                          },
                          "post_heart_or_lung_transplant": {
                            "description": "Post heart or lung transplantation (Table 4, +3). May stack with other diagnosis flags. true or false. Caller-assigned.",
                            "type": "boolean"
                          },
                          "pre_ecmo_cardiac_arrest": {
                            "description": "Cardiac arrest before ECMO (Table 4, −2). Derivation excluded eCPR during cannulation. true or false. Caller-assigned.",
                            "type": "boolean"
                          },
                          "pulse_pressure_mm_hg": {
                            "description": "Pulse pressure in mm Hg before ECMO (0-200). Worst value within 6 h. Table 4: ≤20 → −2, otherwise 0. Caller-supplied; magent does not subtract systolic minus diastolic.",
                            "type": "number"
                          },
                          "refractory_vt_vf": {
                            "description": "Refractory ventricular tachycardia or fibrillation (Table 4, +2). May stack with other diagnosis flags. true or false. Caller-assigned.",
                            "type": "boolean"
                          },
                          "weight_kg": {
                            "description": "Weight in kg (20-400). Table 4 / Table 3 bands: ≤65 → 1, 66–89 → 2, ≥90 → 0. 65 kg scores 1 (≤65 before the 65–89 typeset overlap). Caller-supplied; magent does not weigh the patient.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "age",
                          "weight_kg",
                          "myocarditis",
                          "refractory_vt_vf",
                          "post_heart_or_lung_transplant",
                          "congenital_heart_disease",
                          "liver_failure",
                          "cns_dysfunction",
                          "acute_renal_failure",
                          "chronic_renal_failure",
                          "intubation_hours",
                          "pip_cmh2o",
                          "pre_ecmo_cardiac_arrest",
                          "diastolic_bp_mm_hg",
                          "pulse_pressure_mm_hg",
                          "bicarbonate_mmol_l"
                        ],
                        "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"
  }
}