{
  "x402Version": 2,
  "id": 39355,
  "slug": "39355",
  "resource": "https://api.magentlab.com/api/calc/resp",
  "description": "Schmidt 2014 RESP Table 3 (-22 to 15): age 18-49 0, 50-59 -2, >=60 -3; immunocompromised -2; MV lt_48h +3, h48_to_7d +1, gt_7d 0; one diagnosis (viral/bacterial pneumonia +3, asthma +11, trauma_burn +3, aspiration_pneumonitis +5, other acute +1, nonrespiratory 0); CNS -7; nonpulmonary infection -3; NMB +1; NO -1; bicarbonate -2; arrest -2; PaCO2 >=75 -1; PIP >=42 -1. Class I >=6 92%, II 3-5 76%, III -1 to 2 57%, IV -5 to -2 33%, V <=-6 18%. Not an ECMO order.",
  "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_nonpulmonary_infection": false,
                "age_years": 40,
                "bicarbonate_infusion_before_ecmo": false,
                "cardiac_arrest_before_ecmo": false,
                "cns_dysfunction": false,
                "diagnosis": "viral_pneumonia",
                "immunocompromised": false,
                "mechanical_ventilation_before_ecmo": "lt_48h",
                "neuromuscular_blockade_before_ecmo": false,
                "nitric_oxide_before_ecmo": false,
                "paco2_mm_hg": 40,
                "peak_inspiratory_pressure_cm_h2o": 30
              },
              {
                "acute_nonpulmonary_infection": false,
                "age_years": 40,
                "bicarbonate_infusion_before_ecmo": false,
                "cardiac_arrest_before_ecmo": false,
                "cns_dysfunction": false,
                "diagnosis": "viral_pneumonia",
                "immunocompromised": false,
                "mechanical_ventilation_before_ecmo": "lt_48h",
                "neuromuscular_blockade_before_ecmo": false,
                "nitric_oxide_before_ecmo": false,
                "paco2_mm_hg": 40,
                "peak_inspiratory_pressure_cm_h2o": 30
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 40,
                "citation": {
                  "authors": "Schmidt M, Bailey M, Sheldrake J, et al.",
                  "doi": "10.1164/rccm.201311-2023OC",
                  "id": "schmidt-2014",
                  "pmid": "24693864",
                  "source": "Am J Respir Crit Care Med. 2014;189(11):1374-1382",
                  "title": "Predicting Survival after Extracorporeal Membrane Oxygenation for Severe Acute Respiratory Failure. The Respiratory Extracorporeal Membrane Oxygenation Survival Prediction (RESP) Score"
                },
                "components": [
                  {
                    "factor": "age_years",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "immunocompromised",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "mechanical_ventilation_before_ecmo",
                    "points": 3,
                    "present": true,
                    "value": "lt_48h"
                  },
                  {
                    "factor": "diagnosis",
                    "points": 3,
                    "present": true,
                    "value": "viral_pneumonia"
                  },
                  {
                    "factor": "cns_dysfunction",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "acute_nonpulmonary_infection",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "neuromuscular_blockade_before_ecmo",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "nitric_oxide_before_ecmo",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "bicarbonate_infusion_before_ecmo",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "cardiac_arrest_before_ecmo",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "paco2_mm_hg",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "peak_inspiratory_pressure_cm_h2o",
                    "points": 0,
                    "present": false,
                    "value": 30
                  }
                ],
                "diagnosis": "viral_pneumonia",
                "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": "resp",
                "formula_expression": "RESP = age_years (18-49 → 0, 50-59 → -2, ≥60 → -3) + immunocompromised (-2) + mechanical_ventilation_before_ecmo (lt_48h → 3, h48_to_7d → 1, gt_7d → 0) + diagnosis (viral_pneumonia → 3, bacterial_pneumonia → 3, asthma → 11, trauma_burn → 3, aspiration_pneumonitis → 5, other_acute_respiratory → 1, nonrespiratory_or_chronic_respiratory → 0) + cns_dysfunction (-7) + acute_nonpulmonary_infection (-3) + neuromuscular_blockade_before_ecmo (1) + nitric_oxide_before_ecmo (-1) + bicarbonate_infusion_before_ecmo (-2) + cardiac_arrest_before_ecmo (-2) + (paco2_mm_hg ≥75 → -1) + (peak_inspiratory_pressure_cm_h2o ≥42 → -1); Schmidt 2014 Table 3; range -22 to 15; class I ≥6 (92%), II 3 to 5 (76%), III -1 to 2 (57%), IV -5 to -2 (33%), V ≤-6 (18%) hospital survival",
                "hospital_survival_percent": 92,
                "max_score": 15,
                "mechanical_ventilation_before_ecmo": "lt_48h",
                "min_score": -22,
                "paco2_mm_hg": 40,
                "peak_inspiratory_pressure_cm_h2o": 30,
                "resp_class": "I",
                "score": 6
              },
              {
                "age_years": 40,
                "citation": {
                  "authors": "Schmidt M, Bailey M, Sheldrake J, et al.",
                  "doi": "10.1164/rccm.201311-2023OC",
                  "id": "schmidt-2014",
                  "pmid": "24693864",
                  "source": "Am J Respir Crit Care Med. 2014;189(11):1374-1382",
                  "title": "Predicting Survival after Extracorporeal Membrane Oxygenation for Severe Acute Respiratory Failure. The Respiratory Extracorporeal Membrane Oxygenation Survival Prediction (RESP) Score"
                },
                "components": [
                  {
                    "factor": "age_years",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "immunocompromised",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "mechanical_ventilation_before_ecmo",
                    "points": 3,
                    "present": true,
                    "value": "lt_48h"
                  },
                  {
                    "factor": "diagnosis",
                    "points": 3,
                    "present": true,
                    "value": "viral_pneumonia"
                  },
                  {
                    "factor": "cns_dysfunction",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "acute_nonpulmonary_infection",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "neuromuscular_blockade_before_ecmo",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "nitric_oxide_before_ecmo",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "bicarbonate_infusion_before_ecmo",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "cardiac_arrest_before_ecmo",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "paco2_mm_hg",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "peak_inspiratory_pressure_cm_h2o",
                    "points": 0,
                    "present": false,
                    "value": 30
                  }
                ],
                "diagnosis": "viral_pneumonia",
                "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": "resp",
                "formula_expression": "RESP = age_years (18-49 → 0, 50-59 → -2, ≥60 → -3) + immunocompromised (-2) + mechanical_ventilation_before_ecmo (lt_48h → 3, h48_to_7d → 1, gt_7d → 0) + diagnosis (viral_pneumonia → 3, bacterial_pneumonia → 3, asthma → 11, trauma_burn → 3, aspiration_pneumonitis → 5, other_acute_respiratory → 1, nonrespiratory_or_chronic_respiratory → 0) + cns_dysfunction (-7) + acute_nonpulmonary_infection (-3) + neuromuscular_blockade_before_ecmo (1) + nitric_oxide_before_ecmo (-1) + bicarbonate_infusion_before_ecmo (-2) + cardiac_arrest_before_ecmo (-2) + (paco2_mm_hg ≥75 → -1) + (peak_inspiratory_pressure_cm_h2o ≥42 → -1); Schmidt 2014 Table 3; range -22 to 15; class I ≥6 (92%), II 3 to 5 (76%), III -1 to 2 (57%), IV -5 to -2 (33%), V ≤-6 (18%) hospital survival",
                "hospital_survival_percent": 92,
                "max_score": 15,
                "mechanical_ventilation_before_ecmo": "lt_48h",
                "min_score": -22,
                "paco2_mm_hg": 40,
                "peak_inspiratory_pressure_cm_h2o": 30,
                "resp_class": "I",
                "score": 6
              }
            ],
            "path": "/api/calc/resp"
          },
          "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_nonpulmonary_infection": {
                          "description": "Acute associated (nonpulmonary) infection as assigned by the caller (Schmidt 2014: bacteremia, pneumonia diagnosed >48 h before ECMO, or infected burns). true or false. true scores -3.",
                          "type": "boolean"
                        },
                        "age_years": {
                          "description": "Age in years, integer 18-120, as assigned before ECMO (Schmidt 2014 Table 3). 18-49 → 0; 50-59 → -2; ≥60 → -3.",
                          "type": "integer"
                        },
                        "bicarbonate_infusion_before_ecmo": {
                          "description": "Bicarbonate infusion before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores -2.",
                          "type": "boolean"
                        },
                        "cardiac_arrest_before_ecmo": {
                          "description": "Cardiac arrest before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores -2.",
                          "type": "boolean"
                        },
                        "cns_dysfunction": {
                          "description": "Central nervous system dysfunction as assigned by the caller (Schmidt 2014: neurotrauma, stroke, encephalopathy, cerebral embolism, or seizure). true or false. true scores -7. magent does not examine the patient.",
                          "type": "boolean"
                        },
                        "diagnosis": {
                          "description": "One acute respiratory diagnosis group (Schmidt 2014 Table 3). viral_pneumonia → +3; bacterial_pneumonia → +3; asthma → +11; trauma_burn → +3; aspiration_pneumonitis → +5; other_acute_respiratory → +1; nonrespiratory_or_chronic_respiratory → 0. Select one token. magent does not diagnose.",
                          "enum": [
                            "viral_pneumonia",
                            "bacterial_pneumonia",
                            "asthma",
                            "trauma_burn",
                            "aspiration_pneumonitis",
                            "other_acute_respiratory",
                            "nonrespiratory_or_chronic_respiratory"
                          ],
                          "type": "string"
                        },
                        "immunocompromised": {
                          "description": "Immunocompromised status as assigned by the caller (Schmidt 2014: malignancy, solid organ transplant, HIV, or cirrhosis). true or false. true scores -2.",
                          "type": "boolean"
                        },
                        "mechanical_ventilation_before_ecmo": {
                          "description": "Duration of mechanical ventilation before ECMO as one token (Schmidt 2014 Table 3). lt_48h → +3; h48_to_7d → +1; gt_7d → 0. magent does not subtract timestamps.",
                          "enum": [
                            "lt_48h",
                            "h48_to_7d",
                            "gt_7d"
                          ],
                          "type": "string"
                        },
                        "neuromuscular_blockade_before_ecmo": {
                          "description": "Neuromuscular blockade agents before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores +1.",
                          "type": "boolean"
                        },
                        "nitric_oxide_before_ecmo": {
                          "description": "Nitric oxide use before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores -1.",
                          "type": "boolean"
                        },
                        "paco2_mm_hg": {
                          "description": "Arterial PaCO2 in mm Hg (8-200) as assigned before ECMO. ≥75 scores -1 (Schmidt 2014 Table 3; the paper also states ≥10 kPa). magent does not convert kPa and does not read an ABG.",
                          "type": "number"
                        },
                        "peak_inspiratory_pressure_cm_h2o": {
                          "description": "Peak inspiratory pressure in cm H2O (5-80) as assigned before ECMO. ≥42 scores -1 (Schmidt 2014 Table 3). magent does not read a ventilator.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "age_years",
                        "immunocompromised",
                        "mechanical_ventilation_before_ecmo",
                        "diagnosis",
                        "cns_dysfunction",
                        "acute_nonpulmonary_infection",
                        "neuromuscular_blockade_before_ecmo",
                        "nitric_oxide_before_ecmo",
                        "bicarbonate_infusion_before_ecmo",
                        "cardiac_arrest_before_ecmo",
                        "paco2_mm_hg",
                        "peak_inspiratory_pressure_cm_h2o"
                      ],
                      "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": [
    "resp",
    "ecmo",
    "ards",
    "respiratory",
    "survival",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T12:21:49.813Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T12:21:49.662Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "acute_nonpulmonary_infection": false,
                  "age_years": 40,
                  "bicarbonate_infusion_before_ecmo": false,
                  "cardiac_arrest_before_ecmo": false,
                  "cns_dysfunction": false,
                  "diagnosis": "viral_pneumonia",
                  "immunocompromised": false,
                  "mechanical_ventilation_before_ecmo": "lt_48h",
                  "neuromuscular_blockade_before_ecmo": false,
                  "nitric_oxide_before_ecmo": false,
                  "paco2_mm_hg": 40,
                  "peak_inspiratory_pressure_cm_h2o": 30
                },
                {
                  "acute_nonpulmonary_infection": false,
                  "age_years": 40,
                  "bicarbonate_infusion_before_ecmo": false,
                  "cardiac_arrest_before_ecmo": false,
                  "cns_dysfunction": false,
                  "diagnosis": "viral_pneumonia",
                  "immunocompromised": false,
                  "mechanical_ventilation_before_ecmo": "lt_48h",
                  "neuromuscular_blockade_before_ecmo": false,
                  "nitric_oxide_before_ecmo": false,
                  "paco2_mm_hg": 40,
                  "peak_inspiratory_pressure_cm_h2o": 30
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 40,
                  "citation": {
                    "authors": "Schmidt M, Bailey M, Sheldrake J, et al.",
                    "doi": "10.1164/rccm.201311-2023OC",
                    "id": "schmidt-2014",
                    "pmid": "24693864",
                    "source": "Am J Respir Crit Care Med. 2014;189(11):1374-1382",
                    "title": "Predicting Survival after Extracorporeal Membrane Oxygenation for Severe Acute Respiratory Failure. The Respiratory Extracorporeal Membrane Oxygenation Survival Prediction (RESP) Score"
                  },
                  "components": [
                    {
                      "factor": "age_years",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "immunocompromised",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "mechanical_ventilation_before_ecmo",
                      "points": 3,
                      "present": true,
                      "value": "lt_48h"
                    },
                    {
                      "factor": "diagnosis",
                      "points": 3,
                      "present": true,
                      "value": "viral_pneumonia"
                    },
                    {
                      "factor": "cns_dysfunction",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "acute_nonpulmonary_infection",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "neuromuscular_blockade_before_ecmo",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "nitric_oxide_before_ecmo",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "bicarbonate_infusion_before_ecmo",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "cardiac_arrest_before_ecmo",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "paco2_mm_hg",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "peak_inspiratory_pressure_cm_h2o",
                      "points": 0,
                      "present": false,
                      "value": 30
                    }
                  ],
                  "diagnosis": "viral_pneumonia",
                  "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": "resp",
                  "formula_expression": "RESP = age_years (18-49 → 0, 50-59 → -2, ≥60 → -3) + immunocompromised (-2) + mechanical_ventilation_before_ecmo (lt_48h → 3, h48_to_7d → 1, gt_7d → 0) + diagnosis (viral_pneumonia → 3, bacterial_pneumonia → 3, asthma → 11, trauma_burn → 3, aspiration_pneumonitis → 5, other_acute_respiratory → 1, nonrespiratory_or_chronic_respiratory → 0) + cns_dysfunction (-7) + acute_nonpulmonary_infection (-3) + neuromuscular_blockade_before_ecmo (1) + nitric_oxide_before_ecmo (-1) + bicarbonate_infusion_before_ecmo (-2) + cardiac_arrest_before_ecmo (-2) + (paco2_mm_hg ≥75 → -1) + (peak_inspiratory_pressure_cm_h2o ≥42 → -1); Schmidt 2014 Table 3; range -22 to 15; class I ≥6 (92%), II 3 to 5 (76%), III -1 to 2 (57%), IV -5 to -2 (33%), V ≤-6 (18%) hospital survival",
                  "hospital_survival_percent": 92,
                  "max_score": 15,
                  "mechanical_ventilation_before_ecmo": "lt_48h",
                  "min_score": -22,
                  "paco2_mm_hg": 40,
                  "peak_inspiratory_pressure_cm_h2o": 30,
                  "resp_class": "I",
                  "score": 6
                },
                {
                  "age_years": 40,
                  "citation": {
                    "authors": "Schmidt M, Bailey M, Sheldrake J, et al.",
                    "doi": "10.1164/rccm.201311-2023OC",
                    "id": "schmidt-2014",
                    "pmid": "24693864",
                    "source": "Am J Respir Crit Care Med. 2014;189(11):1374-1382",
                    "title": "Predicting Survival after Extracorporeal Membrane Oxygenation for Severe Acute Respiratory Failure. The Respiratory Extracorporeal Membrane Oxygenation Survival Prediction (RESP) Score"
                  },
                  "components": [
                    {
                      "factor": "age_years",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "immunocompromised",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "mechanical_ventilation_before_ecmo",
                      "points": 3,
                      "present": true,
                      "value": "lt_48h"
                    },
                    {
                      "factor": "diagnosis",
                      "points": 3,
                      "present": true,
                      "value": "viral_pneumonia"
                    },
                    {
                      "factor": "cns_dysfunction",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "acute_nonpulmonary_infection",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "neuromuscular_blockade_before_ecmo",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "nitric_oxide_before_ecmo",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "bicarbonate_infusion_before_ecmo",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "cardiac_arrest_before_ecmo",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "paco2_mm_hg",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "peak_inspiratory_pressure_cm_h2o",
                      "points": 0,
                      "present": false,
                      "value": 30
                    }
                  ],
                  "diagnosis": "viral_pneumonia",
                  "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": "resp",
                  "formula_expression": "RESP = age_years (18-49 → 0, 50-59 → -2, ≥60 → -3) + immunocompromised (-2) + mechanical_ventilation_before_ecmo (lt_48h → 3, h48_to_7d → 1, gt_7d → 0) + diagnosis (viral_pneumonia → 3, bacterial_pneumonia → 3, asthma → 11, trauma_burn → 3, aspiration_pneumonitis → 5, other_acute_respiratory → 1, nonrespiratory_or_chronic_respiratory → 0) + cns_dysfunction (-7) + acute_nonpulmonary_infection (-3) + neuromuscular_blockade_before_ecmo (1) + nitric_oxide_before_ecmo (-1) + bicarbonate_infusion_before_ecmo (-2) + cardiac_arrest_before_ecmo (-2) + (paco2_mm_hg ≥75 → -1) + (peak_inspiratory_pressure_cm_h2o ≥42 → -1); Schmidt 2014 Table 3; range -22 to 15; class I ≥6 (92%), II 3 to 5 (76%), III -1 to 2 (57%), IV -5 to -2 (33%), V ≤-6 (18%) hospital survival",
                  "hospital_survival_percent": 92,
                  "max_score": 15,
                  "mechanical_ventilation_before_ecmo": "lt_48h",
                  "min_score": -22,
                  "paco2_mm_hg": 40,
                  "peak_inspiratory_pressure_cm_h2o": 30,
                  "resp_class": "I",
                  "score": 6
                }
              ],
              "path": "/api/calc/resp"
            },
            "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_nonpulmonary_infection": {
                            "description": "Acute associated (nonpulmonary) infection as assigned by the caller (Schmidt 2014: bacteremia, pneumonia diagnosed >48 h before ECMO, or infected burns). true or false. true scores -3.",
                            "type": "boolean"
                          },
                          "age_years": {
                            "description": "Age in years, integer 18-120, as assigned before ECMO (Schmidt 2014 Table 3). 18-49 → 0; 50-59 → -2; ≥60 → -3.",
                            "type": "integer"
                          },
                          "bicarbonate_infusion_before_ecmo": {
                            "description": "Bicarbonate infusion before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores -2.",
                            "type": "boolean"
                          },
                          "cardiac_arrest_before_ecmo": {
                            "description": "Cardiac arrest before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores -2.",
                            "type": "boolean"
                          },
                          "cns_dysfunction": {
                            "description": "Central nervous system dysfunction as assigned by the caller (Schmidt 2014: neurotrauma, stroke, encephalopathy, cerebral embolism, or seizure). true or false. true scores -7. magent does not examine the patient.",
                            "type": "boolean"
                          },
                          "diagnosis": {
                            "description": "One acute respiratory diagnosis group (Schmidt 2014 Table 3). viral_pneumonia → +3; bacterial_pneumonia → +3; asthma → +11; trauma_burn → +3; aspiration_pneumonitis → +5; other_acute_respiratory → +1; nonrespiratory_or_chronic_respiratory → 0. Select one token. magent does not diagnose.",
                            "enum": [
                              "viral_pneumonia",
                              "bacterial_pneumonia",
                              "asthma",
                              "trauma_burn",
                              "aspiration_pneumonitis",
                              "other_acute_respiratory",
                              "nonrespiratory_or_chronic_respiratory"
                            ],
                            "type": "string"
                          },
                          "immunocompromised": {
                            "description": "Immunocompromised status as assigned by the caller (Schmidt 2014: malignancy, solid organ transplant, HIV, or cirrhosis). true or false. true scores -2.",
                            "type": "boolean"
                          },
                          "mechanical_ventilation_before_ecmo": {
                            "description": "Duration of mechanical ventilation before ECMO as one token (Schmidt 2014 Table 3). lt_48h → +3; h48_to_7d → +1; gt_7d → 0. magent does not subtract timestamps.",
                            "enum": [
                              "lt_48h",
                              "h48_to_7d",
                              "gt_7d"
                            ],
                            "type": "string"
                          },
                          "neuromuscular_blockade_before_ecmo": {
                            "description": "Neuromuscular blockade agents before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores +1.",
                            "type": "boolean"
                          },
                          "nitric_oxide_before_ecmo": {
                            "description": "Nitric oxide use before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores -1.",
                            "type": "boolean"
                          },
                          "paco2_mm_hg": {
                            "description": "Arterial PaCO2 in mm Hg (8-200) as assigned before ECMO. ≥75 scores -1 (Schmidt 2014 Table 3; the paper also states ≥10 kPa). magent does not convert kPa and does not read an ABG.",
                            "type": "number"
                          },
                          "peak_inspiratory_pressure_cm_h2o": {
                            "description": "Peak inspiratory pressure in cm H2O (5-80) as assigned before ECMO. ≥42 scores -1 (Schmidt 2014 Table 3). magent does not read a ventilator.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "age_years",
                          "immunocompromised",
                          "mechanical_ventilation_before_ecmo",
                          "diagnosis",
                          "cns_dysfunction",
                          "acute_nonpulmonary_infection",
                          "neuromuscular_blockade_before_ecmo",
                          "nitric_oxide_before_ecmo",
                          "bicarbonate_infusion_before_ecmo",
                          "cardiac_arrest_before_ecmo",
                          "paco2_mm_hg",
                          "peak_inspiratory_pressure_cm_h2o"
                        ],
                        "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"
  }
}