{
  "x402Version": 2,
  "id": 38868,
  "slug": "38868",
  "resource": "https://api.magentlab.com/api/calc/reveal_pah",
  "description": "Benza 2019 REVEAL 2.0: start at 6; add published points for etiology (CTD +1, PoPH +3, heritable +2), male >60, renal insufficiency, WHO FC, 6-month hospitalization, SBP <110, HR >96, 6MWD, BNP/NT-proBNP, pericardial effusion, DLCO <40%, mRAP >20, and PVR <5. Returns low (0-6), intermediate (7-8), or high (>=9) 12-month mortality. Caller-assigned; not a PAH diagnosis or dose. Not REVEAL 1.0 or Lite 2.",
  "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": 40,
                "bnp_pg_ml": 40,
                "dlco_lt_40": false,
                "etiology": "other",
                "hospitalization_6mo": false,
                "hr_gt_96": false,
                "male": false,
                "mrap_gt_20": false,
                "nt_probnp_pg_ml": 200,
                "pericardial_effusion": false,
                "pvr_lt_5": true,
                "renal_insufficiency": false,
                "sbp_lt_110": false,
                "six_minute_walk_m": 480,
                "who_fc": 1
              },
              {
                "age": 40,
                "bnp_pg_ml": 40,
                "dlco_lt_40": false,
                "etiology": "other",
                "hospitalization_6mo": false,
                "hr_gt_96": false,
                "male": false,
                "mrap_gt_20": false,
                "nt_probnp_pg_ml": 200,
                "pericardial_effusion": false,
                "pvr_lt_5": true,
                "renal_insufficiency": false,
                "sbp_lt_110": false,
                "six_minute_walk_m": 480,
                "who_fc": 1
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 40,
                "bnp_pg_ml": 40,
                "citation": {
                  "authors": "Benza RL, Gomberg-Maitland M, Elliott CG, et al.",
                  "doi": "10.1016/j.chest.2018.11.030",
                  "id": "benza-2019",
                  "pmid": "30772387",
                  "source": "Chest. 2019;156(2):323-337",
                  "title": "Predicting Survival in Patients With Pulmonary Arterial Hypertension: The REVEAL Risk Score Calculator 2.0 and Comparison With ESC/ERS-Based Risk Assessment Strategies"
                },
                "components": [
                  {
                    "factor": "reveal_2_0_start",
                    "points": 6,
                    "present": true
                  },
                  {
                    "factor": "etiology",
                    "points": 0,
                    "present": false,
                    "value": "other"
                  },
                  {
                    "factor": "male_gt_60",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "renal_insufficiency",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "who_fc",
                    "points": -1,
                    "present": true,
                    "value": 1
                  },
                  {
                    "factor": "hospitalization_6mo",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "sbp_lt_110",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hr_gt_96",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "six_minute_walk",
                    "points": -2,
                    "present": true,
                    "value": 480
                  },
                  {
                    "factor": "bnp_or_nt_probnp",
                    "points": -2,
                    "present": true,
                    "value": 40
                  },
                  {
                    "factor": "pericardial_effusion",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "dlco_lt_40",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "mrap_gt_20",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "pvr_lt_5",
                    "points": -1,
                    "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.",
                "dlco_lt_40": false,
                "etiology": "other",
                "formula": "reveal_pah",
                "formula_expression": "REVEAL 2.0 = 6 + etiology + male_gt_60 + renal_insufficiency + who_fc + hospitalization_6mo + sbp_lt_110 + hr_gt_96 + six_minute_walk + bnp_or_nt_probnp + pericardial_effusion + dlco_lt_40 + mrap_gt_20 + pvr_lt_5; etiology ctd +1, poph +3, heritable +2, other 0; male and age >60 +2; eGFR <60 or renal insufficiency +1; WHO FC I -1, II 0, III +1, IV +2; all-cause hospitalization in prior 6 months +1; SBP <110 mmHg +1; HR >96 bpm +1; 6MWD >=440 m -2, 320-<440 m -1, 165-<320 m 0, <165 m +1; BNP <50 or NT-proBNP <300 -2, BNP 50-<200 or NT-proBNP 300-<1100 0, BNP 200-<800 +1, BNP >=800 or NT-proBNP >=1100 +2; pericardial effusion +1; DLCO <40% predicted +1; mRAP >20 mmHg +1; PVR <5 WU -1; low 0-6, intermediate 7-8, high >=9 (12-month mortality); max 23",
                "hospitalization_6mo": false,
                "hr_gt_96": false,
                "male": false,
                "max_score": 23,
                "mrap_gt_20": false,
                "pericardial_effusion": false,
                "pvr_lt_5": true,
                "renal_insufficiency": false,
                "risk": "low",
                "sbp_lt_110": false,
                "score": 0,
                "six_minute_walk_m": 480,
                "who_fc": 1
              },
              {
                "age_years": 40,
                "bnp_pg_ml": 40,
                "citation": {
                  "authors": "Benza RL, Gomberg-Maitland M, Elliott CG, et al.",
                  "doi": "10.1016/j.chest.2018.11.030",
                  "id": "benza-2019",
                  "pmid": "30772387",
                  "source": "Chest. 2019;156(2):323-337",
                  "title": "Predicting Survival in Patients With Pulmonary Arterial Hypertension: The REVEAL Risk Score Calculator 2.0 and Comparison With ESC/ERS-Based Risk Assessment Strategies"
                },
                "components": [
                  {
                    "factor": "reveal_2_0_start",
                    "points": 6,
                    "present": true
                  },
                  {
                    "factor": "etiology",
                    "points": 0,
                    "present": false,
                    "value": "other"
                  },
                  {
                    "factor": "male_gt_60",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "renal_insufficiency",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "who_fc",
                    "points": -1,
                    "present": true,
                    "value": 1
                  },
                  {
                    "factor": "hospitalization_6mo",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "sbp_lt_110",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hr_gt_96",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "six_minute_walk",
                    "points": -2,
                    "present": true,
                    "value": 480
                  },
                  {
                    "factor": "bnp_or_nt_probnp",
                    "points": -2,
                    "present": true,
                    "value": 40
                  },
                  {
                    "factor": "pericardial_effusion",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "dlco_lt_40",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "mrap_gt_20",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "pvr_lt_5",
                    "points": -1,
                    "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.",
                "dlco_lt_40": false,
                "etiology": "other",
                "formula": "reveal_pah",
                "formula_expression": "REVEAL 2.0 = 6 + etiology + male_gt_60 + renal_insufficiency + who_fc + hospitalization_6mo + sbp_lt_110 + hr_gt_96 + six_minute_walk + bnp_or_nt_probnp + pericardial_effusion + dlco_lt_40 + mrap_gt_20 + pvr_lt_5; etiology ctd +1, poph +3, heritable +2, other 0; male and age >60 +2; eGFR <60 or renal insufficiency +1; WHO FC I -1, II 0, III +1, IV +2; all-cause hospitalization in prior 6 months +1; SBP <110 mmHg +1; HR >96 bpm +1; 6MWD >=440 m -2, 320-<440 m -1, 165-<320 m 0, <165 m +1; BNP <50 or NT-proBNP <300 -2, BNP 50-<200 or NT-proBNP 300-<1100 0, BNP 200-<800 +1, BNP >=800 or NT-proBNP >=1100 +2; pericardial effusion +1; DLCO <40% predicted +1; mRAP >20 mmHg +1; PVR <5 WU -1; low 0-6, intermediate 7-8, high >=9 (12-month mortality); max 23",
                "hospitalization_6mo": false,
                "hr_gt_96": false,
                "male": false,
                "max_score": 23,
                "mrap_gt_20": false,
                "pericardial_effusion": false,
                "pvr_lt_5": true,
                "renal_insufficiency": false,
                "risk": "low",
                "sbp_lt_110": false,
                "score": 0,
                "six_minute_walk_m": 480,
                "who_fc": 1
              }
            ],
            "path": "/api/calc/reveal_pah"
          },
          "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). Male and age >60 scores +2 (Benza 2019).",
                          "type": "integer"
                        },
                        "bnp_pg_ml": {
                          "description": "BNP in pg/mL 0-35000 (Benza 2019). <50 -2; 50-<200 0; 200-<800 +1; >=800 +2. Omit only when sending nt_probnp_pg_ml instead. magent does not assay BNP.",
                          "type": "number"
                        },
                        "dlco_lt_40": {
                          "description": "DLCO <40% predicted as assigned by the caller (Benza 2019 REVEAL 2.0, not the 1.0 <=32 / >=80 bands). true or false. +1 if true.",
                          "type": "boolean"
                        },
                        "etiology": {
                          "description": "PAH subgroup (Benza 2019). other (including idiopathic) 0; ctd +1; poph +3; heritable +2. Mutually exclusive. Caller-assigned.",
                          "enum": [
                            "other",
                            "ctd",
                            "poph",
                            "heritable"
                          ],
                          "type": "string"
                        },
                        "hospitalization_6mo": {
                          "description": "All-cause hospitalization in the prior 6 months (Benza 2019). true or false. +1 if true.",
                          "type": "boolean"
                        },
                        "hr_gt_96": {
                          "description": "Heart rate >96 bpm as assigned by the caller (Benza 2019 REVEAL 2.0, not the 1.0 >92 cutoff). true or false. +1 if true.",
                          "type": "boolean"
                        },
                        "male": {
                          "description": "Male sex as assigned by the caller. true or false. Scores +2 only when age >60.",
                          "type": "boolean"
                        },
                        "mrap_gt_20": {
                          "description": "Mean right atrial pressure >20 mmHg within 1 year as assigned by the caller (Benza 2019). true or false. +1 if true. magent does not catheterize.",
                          "type": "boolean"
                        },
                        "nt_probnp_pg_ml": {
                          "description": "NT-proBNP in pg/mL 0-35000 when BNP is not sent (Benza 2019). <300 -2; 300-<1100 0; >=1100 +2. BNP is used when both are sent.",
                          "type": "number"
                        },
                        "pericardial_effusion": {
                          "description": "Pericardial effusion on echocardiography as assigned by the caller (Benza 2019). true or false. +1 if true. magent does not read the echocardiogram.",
                          "type": "boolean"
                        },
                        "pvr_lt_5": {
                          "description": "Pulmonary vascular resistance <5 Wood units as assigned by the caller (Benza 2019 REVEAL 2.0, not the 1.0 >32 WU band). true or false. -1 if true.",
                          "type": "boolean"
                        },
                        "renal_insufficiency": {
                          "description": "eGFR <60 mL/min/1.73 m2 or renal insufficiency by clinical judgment when eGFR is unavailable (Benza 2019). true or false. +1 if true. magent does not compute eGFR.",
                          "type": "boolean"
                        },
                        "sbp_lt_110": {
                          "description": "Systolic blood pressure <110 mmHg as assigned by the caller (Benza 2019). true or false. +1 if true. magent does not measure blood pressure.",
                          "type": "boolean"
                        },
                        "six_minute_walk_m": {
                          "description": "Six-minute walk distance in meters 0-1000 (Benza 2019). >=440 -2; 320-<440 -1; 165-<320 0; <165 +1. Caller-assigned; magent does not time the walk.",
                          "type": "number"
                        },
                        "who_fc": {
                          "description": "WHO / NYHA functional class 1, 2, 3, or 4 (Benza 2019). FC I -1; II 0; III +1; IV +2. Caller-assigned; magent does not interview the patient.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "who_fc",
                        "etiology",
                        "age",
                        "male",
                        "renal_insufficiency",
                        "hospitalization_6mo",
                        "sbp_lt_110",
                        "hr_gt_96",
                        "six_minute_walk_m",
                        "bnp_pg_ml",
                        "pericardial_effusion",
                        "dlco_lt_40",
                        "mrap_gt_20",
                        "pvr_lt_5"
                      ],
                      "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": [
    "reveal-2",
    "pah",
    "respiratory",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T12:26:32.439Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T12:26:32.26Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 40,
                  "bnp_pg_ml": 40,
                  "dlco_lt_40": false,
                  "etiology": "other",
                  "hospitalization_6mo": false,
                  "hr_gt_96": false,
                  "male": false,
                  "mrap_gt_20": false,
                  "nt_probnp_pg_ml": 200,
                  "pericardial_effusion": false,
                  "pvr_lt_5": true,
                  "renal_insufficiency": false,
                  "sbp_lt_110": false,
                  "six_minute_walk_m": 480,
                  "who_fc": 1
                },
                {
                  "age": 40,
                  "bnp_pg_ml": 40,
                  "dlco_lt_40": false,
                  "etiology": "other",
                  "hospitalization_6mo": false,
                  "hr_gt_96": false,
                  "male": false,
                  "mrap_gt_20": false,
                  "nt_probnp_pg_ml": 200,
                  "pericardial_effusion": false,
                  "pvr_lt_5": true,
                  "renal_insufficiency": false,
                  "sbp_lt_110": false,
                  "six_minute_walk_m": 480,
                  "who_fc": 1
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 40,
                  "bnp_pg_ml": 40,
                  "citation": {
                    "authors": "Benza RL, Gomberg-Maitland M, Elliott CG, et al.",
                    "doi": "10.1016/j.chest.2018.11.030",
                    "id": "benza-2019",
                    "pmid": "30772387",
                    "source": "Chest. 2019;156(2):323-337",
                    "title": "Predicting Survival in Patients With Pulmonary Arterial Hypertension: The REVEAL Risk Score Calculator 2.0 and Comparison With ESC/ERS-Based Risk Assessment Strategies"
                  },
                  "components": [
                    {
                      "factor": "reveal_2_0_start",
                      "points": 6,
                      "present": true
                    },
                    {
                      "factor": "etiology",
                      "points": 0,
                      "present": false,
                      "value": "other"
                    },
                    {
                      "factor": "male_gt_60",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "renal_insufficiency",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "who_fc",
                      "points": -1,
                      "present": true,
                      "value": 1
                    },
                    {
                      "factor": "hospitalization_6mo",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "sbp_lt_110",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hr_gt_96",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "six_minute_walk",
                      "points": -2,
                      "present": true,
                      "value": 480
                    },
                    {
                      "factor": "bnp_or_nt_probnp",
                      "points": -2,
                      "present": true,
                      "value": 40
                    },
                    {
                      "factor": "pericardial_effusion",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "dlco_lt_40",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "mrap_gt_20",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "pvr_lt_5",
                      "points": -1,
                      "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.",
                  "dlco_lt_40": false,
                  "etiology": "other",
                  "formula": "reveal_pah",
                  "formula_expression": "REVEAL 2.0 = 6 + etiology + male_gt_60 + renal_insufficiency + who_fc + hospitalization_6mo + sbp_lt_110 + hr_gt_96 + six_minute_walk + bnp_or_nt_probnp + pericardial_effusion + dlco_lt_40 + mrap_gt_20 + pvr_lt_5; etiology ctd +1, poph +3, heritable +2, other 0; male and age >60 +2; eGFR <60 or renal insufficiency +1; WHO FC I -1, II 0, III +1, IV +2; all-cause hospitalization in prior 6 months +1; SBP <110 mmHg +1; HR >96 bpm +1; 6MWD >=440 m -2, 320-<440 m -1, 165-<320 m 0, <165 m +1; BNP <50 or NT-proBNP <300 -2, BNP 50-<200 or NT-proBNP 300-<1100 0, BNP 200-<800 +1, BNP >=800 or NT-proBNP >=1100 +2; pericardial effusion +1; DLCO <40% predicted +1; mRAP >20 mmHg +1; PVR <5 WU -1; low 0-6, intermediate 7-8, high >=9 (12-month mortality); max 23",
                  "hospitalization_6mo": false,
                  "hr_gt_96": false,
                  "male": false,
                  "max_score": 23,
                  "mrap_gt_20": false,
                  "pericardial_effusion": false,
                  "pvr_lt_5": true,
                  "renal_insufficiency": false,
                  "risk": "low",
                  "sbp_lt_110": false,
                  "score": 0,
                  "six_minute_walk_m": 480,
                  "who_fc": 1
                },
                {
                  "age_years": 40,
                  "bnp_pg_ml": 40,
                  "citation": {
                    "authors": "Benza RL, Gomberg-Maitland M, Elliott CG, et al.",
                    "doi": "10.1016/j.chest.2018.11.030",
                    "id": "benza-2019",
                    "pmid": "30772387",
                    "source": "Chest. 2019;156(2):323-337",
                    "title": "Predicting Survival in Patients With Pulmonary Arterial Hypertension: The REVEAL Risk Score Calculator 2.0 and Comparison With ESC/ERS-Based Risk Assessment Strategies"
                  },
                  "components": [
                    {
                      "factor": "reveal_2_0_start",
                      "points": 6,
                      "present": true
                    },
                    {
                      "factor": "etiology",
                      "points": 0,
                      "present": false,
                      "value": "other"
                    },
                    {
                      "factor": "male_gt_60",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "renal_insufficiency",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "who_fc",
                      "points": -1,
                      "present": true,
                      "value": 1
                    },
                    {
                      "factor": "hospitalization_6mo",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "sbp_lt_110",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hr_gt_96",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "six_minute_walk",
                      "points": -2,
                      "present": true,
                      "value": 480
                    },
                    {
                      "factor": "bnp_or_nt_probnp",
                      "points": -2,
                      "present": true,
                      "value": 40
                    },
                    {
                      "factor": "pericardial_effusion",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "dlco_lt_40",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "mrap_gt_20",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "pvr_lt_5",
                      "points": -1,
                      "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.",
                  "dlco_lt_40": false,
                  "etiology": "other",
                  "formula": "reveal_pah",
                  "formula_expression": "REVEAL 2.0 = 6 + etiology + male_gt_60 + renal_insufficiency + who_fc + hospitalization_6mo + sbp_lt_110 + hr_gt_96 + six_minute_walk + bnp_or_nt_probnp + pericardial_effusion + dlco_lt_40 + mrap_gt_20 + pvr_lt_5; etiology ctd +1, poph +3, heritable +2, other 0; male and age >60 +2; eGFR <60 or renal insufficiency +1; WHO FC I -1, II 0, III +1, IV +2; all-cause hospitalization in prior 6 months +1; SBP <110 mmHg +1; HR >96 bpm +1; 6MWD >=440 m -2, 320-<440 m -1, 165-<320 m 0, <165 m +1; BNP <50 or NT-proBNP <300 -2, BNP 50-<200 or NT-proBNP 300-<1100 0, BNP 200-<800 +1, BNP >=800 or NT-proBNP >=1100 +2; pericardial effusion +1; DLCO <40% predicted +1; mRAP >20 mmHg +1; PVR <5 WU -1; low 0-6, intermediate 7-8, high >=9 (12-month mortality); max 23",
                  "hospitalization_6mo": false,
                  "hr_gt_96": false,
                  "male": false,
                  "max_score": 23,
                  "mrap_gt_20": false,
                  "pericardial_effusion": false,
                  "pvr_lt_5": true,
                  "renal_insufficiency": false,
                  "risk": "low",
                  "sbp_lt_110": false,
                  "score": 0,
                  "six_minute_walk_m": 480,
                  "who_fc": 1
                }
              ],
              "path": "/api/calc/reveal_pah"
            },
            "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). Male and age >60 scores +2 (Benza 2019).",
                            "type": "integer"
                          },
                          "bnp_pg_ml": {
                            "description": "BNP in pg/mL 0-35000 (Benza 2019). <50 -2; 50-<200 0; 200-<800 +1; >=800 +2. Omit only when sending nt_probnp_pg_ml instead. magent does not assay BNP.",
                            "type": "number"
                          },
                          "dlco_lt_40": {
                            "description": "DLCO <40% predicted as assigned by the caller (Benza 2019 REVEAL 2.0, not the 1.0 <=32 / >=80 bands). true or false. +1 if true.",
                            "type": "boolean"
                          },
                          "etiology": {
                            "description": "PAH subgroup (Benza 2019). other (including idiopathic) 0; ctd +1; poph +3; heritable +2. Mutually exclusive. Caller-assigned.",
                            "enum": [
                              "other",
                              "ctd",
                              "poph",
                              "heritable"
                            ],
                            "type": "string"
                          },
                          "hospitalization_6mo": {
                            "description": "All-cause hospitalization in the prior 6 months (Benza 2019). true or false. +1 if true.",
                            "type": "boolean"
                          },
                          "hr_gt_96": {
                            "description": "Heart rate >96 bpm as assigned by the caller (Benza 2019 REVEAL 2.0, not the 1.0 >92 cutoff). true or false. +1 if true.",
                            "type": "boolean"
                          },
                          "male": {
                            "description": "Male sex as assigned by the caller. true or false. Scores +2 only when age >60.",
                            "type": "boolean"
                          },
                          "mrap_gt_20": {
                            "description": "Mean right atrial pressure >20 mmHg within 1 year as assigned by the caller (Benza 2019). true or false. +1 if true. magent does not catheterize.",
                            "type": "boolean"
                          },
                          "nt_probnp_pg_ml": {
                            "description": "NT-proBNP in pg/mL 0-35000 when BNP is not sent (Benza 2019). <300 -2; 300-<1100 0; >=1100 +2. BNP is used when both are sent.",
                            "type": "number"
                          },
                          "pericardial_effusion": {
                            "description": "Pericardial effusion on echocardiography as assigned by the caller (Benza 2019). true or false. +1 if true. magent does not read the echocardiogram.",
                            "type": "boolean"
                          },
                          "pvr_lt_5": {
                            "description": "Pulmonary vascular resistance <5 Wood units as assigned by the caller (Benza 2019 REVEAL 2.0, not the 1.0 >32 WU band). true or false. -1 if true.",
                            "type": "boolean"
                          },
                          "renal_insufficiency": {
                            "description": "eGFR <60 mL/min/1.73 m2 or renal insufficiency by clinical judgment when eGFR is unavailable (Benza 2019). true or false. +1 if true. magent does not compute eGFR.",
                            "type": "boolean"
                          },
                          "sbp_lt_110": {
                            "description": "Systolic blood pressure <110 mmHg as assigned by the caller (Benza 2019). true or false. +1 if true. magent does not measure blood pressure.",
                            "type": "boolean"
                          },
                          "six_minute_walk_m": {
                            "description": "Six-minute walk distance in meters 0-1000 (Benza 2019). >=440 -2; 320-<440 -1; 165-<320 0; <165 +1. Caller-assigned; magent does not time the walk.",
                            "type": "number"
                          },
                          "who_fc": {
                            "description": "WHO / NYHA functional class 1, 2, 3, or 4 (Benza 2019). FC I -1; II 0; III +1; IV +2. Caller-assigned; magent does not interview the patient.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "who_fc",
                          "etiology",
                          "age",
                          "male",
                          "renal_insufficiency",
                          "hospitalization_6mo",
                          "sbp_lt_110",
                          "hr_gt_96",
                          "six_minute_walk_m",
                          "bnp_pg_ml",
                          "pericardial_effusion",
                          "dlco_lt_40",
                          "mrap_gt_20",
                          "pvr_lt_5"
                        ],
                        "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"
  }
}