# CAHP Score Calculator (Maupain 2016)

> CAHP Score Calculator (Maupain 2016) 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-14).

Calculates the CAHP (Cardiac Arrest Hospital Prognosis) nomogram score to predict poor neurological outcome after out-of-hospital cardiac arrest (OHCA).

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/cahp
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cahp-score-calculator-maupain-2016-20f1e75c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aUDAaMErIK1yt1GFGM-eZ

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 cahp-score-calculator-maupain-2016-20f1e75c
```

Example prompt: Calculate the CAHP score for a 65-year-old patient who had a cardiac arrest at home with a non-shockable rhythm, 5 minutes of no-flow time, 20 minutes of low-flow time, received 3 mg of epinephrine, and has an admission arterial pH of 7.15.

## When to prefer this

Use this endpoint when you need a validated, evidence-based nomogram score for predicting poor neurological outcomes in post-OHCA patients (Maupain 2016 CAHP). It is specifically suited for emergency department or ICU triage support, clinical research stratification, or decision-support systems where structured prognostication tools are needed. Not a substitute for clinical judgment or a withdrawal-of-care order.

## Known failure modes

- Missing required query parameters returns a validation error
- Age or pH outside the accepted range (18–120 for age, 6.5–7.8 for pH) may be truncated or rejected
- Non-integer values for integer fields (age, no_flow_min, low_flow_min, epinephrine_mg) cause schema validation failure
- API returns 402 Payment Required if x402 payment header is not included
- Endpoint does not measure arterial pH — caller must supply measured lab value

## How this service works

Maupain 2016 CAHP nomogram after OHCA. Integer points from age, home vs public arrest, shockable vs non-shockable rhythm, no-flow min, low-flow min, epinephrine tertile (0 / 1-2 / >=3 mg), and arterial pH. Table 3: low <150, medium 150-200, high >200. Figure 2 caption total 177 reads 88% poor outcome. Not a withdrawal-of-care order. magent does not measure pH.

## Output

Returns a CAHP nomogram total integer score computed from age, arrest location, rhythm, no-flow time, low-flow time, epinephrine tertile, and arterial pH. A score below 150 is low risk, 150–200 is medium risk, and above 200 is high risk for poor neurological outcome. At a total score of 177, approximately 88% of patients had a poor outcome.

## 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",
      "arrest_at_home",
      "shockable_rhythm",
      "no_flow_min",
      "low_flow_min",
      "epinephrine_mg",
      "arterial_ph"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Figure 2 caption: 30 years → 22. Linear nomogram: round(1.1*(age-10)); truncated below 10 and above 100."
      },
      "arterial_ph": {
       "type": "number",
       "description": "Admission arterial pH (6.5-7.8). Figure 2 caption: 7.10 → 38. Linear nomogram: round(585-77*pH); truncated to 6.5-7.5. magent does not measure pH."
      },
      "no_flow_min": {
       "type": "integer",
       "description": "Collapse-to-BLS (no-flow) minutes (integer 0-90). Figure 2 caption: 5 min → 14. Linear nomogram: round(2.8*minutes); truncated above 30."
      },
      "low_flow_min": {
       "type": "integer",
       "description": "BLS-to-ROSC (low-flow) minutes (integer 0-180). Figure 2 caption: 10 min → 8. Linear nomogram: round(0.8*minutes); truncated above 60."
      },
      "arrest_at_home": {
       "type": "boolean",
       "description": "Cardiac arrest at home versus public, as assigned by the caller. true scores 25 (Figure 2 caption); false (public) scores 0."
      },
      "epinephrine_mg": {
       "type": "integer",
       "description": "Total pre-ROSC epinephrine in mg (integer 0-30). Table 2 tertiles on the nomogram: 0 → 0; 1-2 → 27; ≥3 → 43 (Figure 2 caption 3 mg → 43)."
      },
      "shockable_rhythm": {
       "type": "boolean",
       "description": "Initial shockable rhythm (VF or pulseless VT) as assigned by the caller. true scores 0; false (non-shockable) scores 27 (Figure 2 caption)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "ob
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cahp-score-calculator-maupain-2016-20f1e75c/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)
