# PRESET-Score Calculator (Hilder 2017) – ECMO Mortality Risk

> PRESET-Score Calculator (Hilder 2017) – ECMO Mortality Risk is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Computes the Hilder 2017 PRESET score from five clinical parameters and returns the ICU mortality risk class (I, II, or III) for patients being considered for ECMO.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/preset
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/preset-score-calculator-hilder-2017-ecmo-mortality-risk-8916a9e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q4pfMc4SS5S4OJ0wBcZKo

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability preset-score-calculator-hilder-2017-ecmo-mortality-risk-8916a9e0
```

Example prompt: Calculate the Hilder 2017 PRESET score for a patient with MAP 72 mm Hg, lactate 4.5 mmol/L, arterial pH 7.22, platelets 95 k/µL, and 3 hospital days before ECMO — tell me the score and mortality risk class.

## When to prefer this

Use this endpoint when you need fast, deterministic Hilder 2017 PRESET score arithmetic for ECMO mortality risk classification and have all five required clinical values (MAP, lactate, arterial pH, platelets, hospital days pre-ECMO). Prefer this over RESP or SAVE scores when specifically implementing the PRESET tool. It is not a substitute for clinical judgment or a cannulation order.

## Known failure modes

- Missing required parameters (MAP, lactate, pH, platelets, or hospital days) returns a 400 validation error
- Out-of-range values (e.g. pH outside 6.5–8.0, platelets >2000) may be rejected or produce unexpected scoring
- Endpoint does not assay labs — input must come from verified clinical measurements
- Non-numeric values for numeric fields will cause request failure
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Hilder 2017 PRESET-Score: five Table 4 items (MAP mm Hg, lactate mmol/L, arterial pH, platelets k/uL, hospital days pre-ECMO) summed 0-15. Returns class I (0-5, 26% ICU mortality), II (6-9, 68%), or III (10-15, 93%) from the derivation cohort. Deterministic published arithmetic with citation; not a cannulation order; magent does not assay labs. Not RESP or SAVE.

## Output

Returns the total PRESET integer score (0–15) and the corresponding risk class: Class I (score 0–5, ~26% ICU mortality), Class II (score 6–9, ~68% ICU mortality), or Class III (score 10–15, ~93% ICU mortality), based on the Hilder 2017 derivation cohort arithmetic.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "mean_arterial_pressure_mm_hg",
      "lactate_mmol_l",
      "arterial_ph",
      "platelets_k_ul",
      "hospital_days_pre_ecmo"
     ],
     "properties": {
      "arterial_ph": {
       "type": "number",
       "description": "Arterial pH (6.5-8.0). Hilder 2017 Table 4: >7.300 → 0, 7.201-7.300 → 1, 7.101-7.200 → 2, ≤7.100 → 3. magent does not assay blood gas."
      },
      "lactate_mmol_l": {
       "type": "number",
       "description": "Lactate in mmol/L (0.0-30.0). Hilder 2017 Table 4: ≤1.50 → 0, 1.51-3.00 → 1, 3.01-6.00 → 2, 6.01-10.00 → 3, >10.00 → 4. magent does not assay labs."
      },
      "platelets_k_ul": {
       "type": "number",
       "description": "Platelet concentration ×1000/µL (1-2000). Hilder 2017 Table 4: >200 → 0, 101-200 → 1, ≤100 → 2. magent does not assay labs."
      },
      "hospital_days_pre_ecmo": {
       "type": "integer",
       "description": "Hospital days before ECMO initiation (integer 0-365). Hilder 2017 Table 4: ≤2 → 0, 3-7 → 1, >7 → 2. Not a cannulation order."
      },
      "mean_arterial_pressure_mm_hg": {
       "type": "number",
       "description": "Mean arterial pressure in mm Hg (20-250). Hilder 2017 Table 4: >100 → 0, 91-100 → 1, 81-90 → 2, 71-80 → 3, ≤70 → 4. magent does not measure blood pressure."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/preset-score-calculator-hilder-2017-ecmo-mortality-risk-8916a9e0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
