# RESCUE-IHCA ECPR Integer Score Calculator (Tonna 2022 Table 2)

> RESCUE-IHCA ECPR Integer Score Calculator (Tonna 2022 Table 2) 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 Tonna 2022 RESCUE-IHCA Table 2 integer score for predicting in-hospital death after adult extracorporeal CPR (ECPR), based on age, renal status, time of arrest, illness category, presenting rhythm, and arrest duration.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/rescue_ihca
- 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/rescue-ihca-ecpr-integer-score-calculator-tonna-2022-table-2-7308319e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AUixG0Z5YU0O4zKLoAI62

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 rescue-ihca-ecpr-integer-score-calculator-tonna-2022-table-2-7308319e
```

Example prompt: Calculate the RESCUE-IHCA ECPR score for a 58-year-old patient with preexisting renal insufficiency who had a medical cardiac arrest at 10pm, presented with ventricular fibrillation, and CPR lasted 35 minutes.

## When to prefer this

Use this endpoint when you need to compute the validated Tonna 2022 RESCUE-IHCA Table 2 integer score specifically for adult ECPR candidates in in-hospital cardiac arrest; prefer it over general mortality scoring tools when the clinical context is ECPR and the Tonna 2022 derivation cohort is appropriate.

## Known failure modes

- Missing required query parameters (age, preexisting_renal_insufficiency, time_of_day, illness_category, presenting_rhythm, duration_min) returns validation error
- Age outside 18-120 range may be rejected or produce out-of-range result
- Invalid enum values for time_of_day, illness_category, or presenting_rhythm return error
- Duration_min outside 0-180 may be rejected
- Payment failure or missing x402 payment header results in 402 response

## How this service works

Tonna 2022 RESCUE-IHCA Table 2 integer score for in-hospital death after adult ECPR. Age 2 + 2 per 10 years after 20. Renal +8. Time: day 0, evening +4, night +13. Illness: medical noncardiac 0, medical cardiac -2, surgical noncardiac -6, surgical cardiac -11. Rhythm: asystole 0, PEA -1, pVT -5, VF -8, palpable pulse -5. Duration +2 per 10 min. Table 2 min -17. Integer score only. Not an ECPR order.

## Output

Returns a single integer RESCUE-IHCA score (minimum -17) computed from Tonna 2022 Table 2 coefficients: age points (2 + 2 per decade after 20), renal insufficiency (+8), time of arrest (0/+4/+13), illness category (0/-2/-6/-11), presenting rhythm (0/-1/-5/-8/-5), and arrest duration (+2 per 10 minutes). The score is informational only and does not constitute a clinical order or recommendation.

## 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": [
      "age",
      "preexisting_renal_insufficiency",
      "time_of_day",
      "illness_category",
      "presenting_rhythm",
      "duration_min"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Tonna 2022 Table 2: ≤20 → 2; each additional 10 years → +2, implemented as 2 + 2 * max(0, floor((age-20)/10)) so 20 → 2, 29 → 2, 30 → 4, 40 → 6. Adult derivation (excluded age <18). Caller-supplied; magent does not examine the patient."
      },
      "time_of_day": {
       "type": "string",
       "description": "Time of day of arrest (Tonna 2022 Table 2). day_0700_1459 (07:00-14:59, reference) → 0; evening_1500_2259 (15:00-22:59) → +4; night_2300_0659 (23:00-06:59) → +13. Caller-assigned; magent does not read a clock."
      },
      "duration_min": {
       "type": "integer",
       "description": "Duration of cardiac arrest in integer minutes (0-180). Tonna 2022 Table 2: +2 per complete 10 minutes (2 * floor(duration_min/10)). 0-9 → 0; 10-19 → +2; 20-29 → +4. Caller-supplied; magent does not time the arrest."
      },
      "illness_category": {
       "type": "string",
       "description": "Illness category (Tonna 2022 Table 2). medical_noncardiac (reference) → 0; medical_cardiac → -2; surgical_noncardiac → -6; surgical_cardiac → -11. Caller-assigned; magent does not classify the admission."
      },
      "presenting_rhythm": {
       "type": "string",
       "description": "Presenting rhythm (Tonna 2022 Table 2). asystole (reference) → 0; pea → -1; pvt → -5; vf → -8; palpable_pulse_initially → -5. Caller-assigned; magent does not interpret a monitor."
      },
      "preexisting_renal_insufficiency": {
       "type": "boolean",
       "description": "Preexisting renal insufficiency as assigned by the caller (Tonna 2022 Table 2). true → +8. false → 0. magent does not grade creatinine."
      }
     }
    }
   },
   "additiona
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rescue-ihca-ecpr-integer-score-calculator-tonna-2022-table-2-7308319e/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)
