{
  "x402Version": 2,
  "id": 39270,
  "slug": "39270",
  "resource": "https://api.magentlab.com/api/calc/cahp",
  "description": "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.",
  "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": 30,
                "arrest_at_home": true,
                "arterial_ph": 7.1,
                "epinephrine_mg": 3,
                "low_flow_min": 10,
                "no_flow_min": 5,
                "shockable_rhythm": false
              },
              {
                "age": 30,
                "arrest_at_home": true,
                "arterial_ph": 7.1,
                "epinephrine_mg": 3,
                "low_flow_min": 10,
                "no_flow_min": 5,
                "shockable_rhythm": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 30,
                "arrest_at_home": true,
                "arterial_ph": 7.1,
                "cahp_risk": "medium",
                "citation": {
                  "authors": "Maupain C, Bougouin W, Lamhaut L, et al.",
                  "doi": "10.1093/eurheartj/ehv556",
                  "id": "maupain-2016-cahp",
                  "pmid": "26497161",
                  "source": "Eur Heart J. 2016;37(42):3222-3231",
                  "title": "The CAHP (Cardiac Arrest Hospital Prognosis) score: a tool for risk stratification after out-of-hospital cardiac arrest"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 22,
                    "present": true,
                    "value": 30
                  },
                  {
                    "factor": "arrest_at_home",
                    "points": 25,
                    "present": true
                  },
                  {
                    "factor": "shockable_rhythm",
                    "points": 27,
                    "present": true,
                    "value": false
                  },
                  {
                    "factor": "no_flow_min",
                    "points": 14,
                    "present": true,
                    "value": 5
                  },
                  {
                    "factor": "low_flow_min",
                    "points": 8,
                    "present": true,
                    "value": 10
                  },
                  {
                    "factor": "epinephrine_mg",
                    "points": 43,
                    "present": true,
                    "value": 3
                  },
                  {
                    "factor": "arterial_ph",
                    "points": 38,
                    "present": true,
                    "value": 7.1
                  }
                ],
                "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.",
                "epinephrine_mg": 3,
                "formula": "cahp",
                "formula_expression": "CAHP = round(1.1*(age-10)) + 25 if arrest_at_home + 27 if not shockable_rhythm + round(2.8*no_flow_min) + round(0.8*low_flow_min) + epinephrine mg (0 → 0; 1-2 → 27; ≥3 → 43) + round(585-77*arterial_ph); Maupain 2016 Figure 2 nomogram integer points (caption: age 30 → 22, home → 25, non-shockable → 27, no-flow 5 min → 14, low-flow 10 min → 8, epinephrine 3 mg → 43, pH 7.10 → 38, total 177 → 88%); Table 3 low <150, medium 150-200, high >200 (150 and 200 are medium); max 411",
                "low_flow_min": 10,
                "max_score": 411,
                "no_flow_min": 5,
                "nomogram_poor_outcome_percent": 88,
                "score": 177,
                "shockable_rhythm": false
              },
              {
                "age_years": 30,
                "arrest_at_home": true,
                "arterial_ph": 7.1,
                "cahp_risk": "medium",
                "citation": {
                  "authors": "Maupain C, Bougouin W, Lamhaut L, et al.",
                  "doi": "10.1093/eurheartj/ehv556",
                  "id": "maupain-2016-cahp",
                  "pmid": "26497161",
                  "source": "Eur Heart J. 2016;37(42):3222-3231",
                  "title": "The CAHP (Cardiac Arrest Hospital Prognosis) score: a tool for risk stratification after out-of-hospital cardiac arrest"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 22,
                    "present": true,
                    "value": 30
                  },
                  {
                    "factor": "arrest_at_home",
                    "points": 25,
                    "present": true
                  },
                  {
                    "factor": "shockable_rhythm",
                    "points": 27,
                    "present": true,
                    "value": false
                  },
                  {
                    "factor": "no_flow_min",
                    "points": 14,
                    "present": true,
                    "value": 5
                  },
                  {
                    "factor": "low_flow_min",
                    "points": 8,
                    "present": true,
                    "value": 10
                  },
                  {
                    "factor": "epinephrine_mg",
                    "points": 43,
                    "present": true,
                    "value": 3
                  },
                  {
                    "factor": "arterial_ph",
                    "points": 38,
                    "present": true,
                    "value": 7.1
                  }
                ],
                "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.",
                "epinephrine_mg": 3,
                "formula": "cahp",
                "formula_expression": "CAHP = round(1.1*(age-10)) + 25 if arrest_at_home + 27 if not shockable_rhythm + round(2.8*no_flow_min) + round(0.8*low_flow_min) + epinephrine mg (0 → 0; 1-2 → 27; ≥3 → 43) + round(585-77*arterial_ph); Maupain 2016 Figure 2 nomogram integer points (caption: age 30 → 22, home → 25, non-shockable → 27, no-flow 5 min → 14, low-flow 10 min → 8, epinephrine 3 mg → 43, pH 7.10 → 38, total 177 → 88%); Table 3 low <150, medium 150-200, high >200 (150 and 200 are medium); max 411",
                "low_flow_min": 10,
                "max_score": 411,
                "no_flow_min": 5,
                "nomogram_poor_outcome_percent": 88,
                "score": 177,
                "shockable_rhythm": false
              }
            ],
            "path": "/api/calc/cahp"
          },
          "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). Figure 2 caption: 30 years → 22. Linear nomogram: round(1.1*(age-10)); truncated below 10 and above 100.",
                          "type": "integer"
                        },
                        "arrest_at_home": {
                          "description": "Cardiac arrest at home versus public, as assigned by the caller. true scores 25 (Figure 2 caption); false (public) scores 0.",
                          "type": "boolean"
                        },
                        "arterial_ph": {
                          "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.",
                          "type": "number"
                        },
                        "epinephrine_mg": {
                          "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).",
                          "type": "integer"
                        },
                        "low_flow_min": {
                          "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.",
                          "type": "integer"
                        },
                        "no_flow_min": {
                          "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.",
                          "type": "integer"
                        },
                        "shockable_rhythm": {
                          "description": "Initial shockable rhythm (VF or pulseless VT) as assigned by the caller. true scores 0; false (non-shockable) scores 27 (Figure 2 caption).",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "age",
                        "arrest_at_home",
                        "shockable_rhythm",
                        "no_flow_min",
                        "low_flow_min",
                        "epinephrine_mg",
                        "arterial_ph"
                      ],
                      "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": [
    "cahp",
    "cardiac-arrest",
    "ohca",
    "prognosis",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T00:50:57.394Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T00:50:57.272Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 30,
                  "arrest_at_home": true,
                  "arterial_ph": 7.1,
                  "epinephrine_mg": 3,
                  "low_flow_min": 10,
                  "no_flow_min": 5,
                  "shockable_rhythm": false
                },
                {
                  "age": 30,
                  "arrest_at_home": true,
                  "arterial_ph": 7.1,
                  "epinephrine_mg": 3,
                  "low_flow_min": 10,
                  "no_flow_min": 5,
                  "shockable_rhythm": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 30,
                  "arrest_at_home": true,
                  "arterial_ph": 7.1,
                  "cahp_risk": "medium",
                  "citation": {
                    "authors": "Maupain C, Bougouin W, Lamhaut L, et al.",
                    "doi": "10.1093/eurheartj/ehv556",
                    "id": "maupain-2016-cahp",
                    "pmid": "26497161",
                    "source": "Eur Heart J. 2016;37(42):3222-3231",
                    "title": "The CAHP (Cardiac Arrest Hospital Prognosis) score: a tool for risk stratification after out-of-hospital cardiac arrest"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 22,
                      "present": true,
                      "value": 30
                    },
                    {
                      "factor": "arrest_at_home",
                      "points": 25,
                      "present": true
                    },
                    {
                      "factor": "shockable_rhythm",
                      "points": 27,
                      "present": true,
                      "value": false
                    },
                    {
                      "factor": "no_flow_min",
                      "points": 14,
                      "present": true,
                      "value": 5
                    },
                    {
                      "factor": "low_flow_min",
                      "points": 8,
                      "present": true,
                      "value": 10
                    },
                    {
                      "factor": "epinephrine_mg",
                      "points": 43,
                      "present": true,
                      "value": 3
                    },
                    {
                      "factor": "arterial_ph",
                      "points": 38,
                      "present": true,
                      "value": 7.1
                    }
                  ],
                  "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.",
                  "epinephrine_mg": 3,
                  "formula": "cahp",
                  "formula_expression": "CAHP = round(1.1*(age-10)) + 25 if arrest_at_home + 27 if not shockable_rhythm + round(2.8*no_flow_min) + round(0.8*low_flow_min) + epinephrine mg (0 → 0; 1-2 → 27; ≥3 → 43) + round(585-77*arterial_ph); Maupain 2016 Figure 2 nomogram integer points (caption: age 30 → 22, home → 25, non-shockable → 27, no-flow 5 min → 14, low-flow 10 min → 8, epinephrine 3 mg → 43, pH 7.10 → 38, total 177 → 88%); Table 3 low <150, medium 150-200, high >200 (150 and 200 are medium); max 411",
                  "low_flow_min": 10,
                  "max_score": 411,
                  "no_flow_min": 5,
                  "nomogram_poor_outcome_percent": 88,
                  "score": 177,
                  "shockable_rhythm": false
                },
                {
                  "age_years": 30,
                  "arrest_at_home": true,
                  "arterial_ph": 7.1,
                  "cahp_risk": "medium",
                  "citation": {
                    "authors": "Maupain C, Bougouin W, Lamhaut L, et al.",
                    "doi": "10.1093/eurheartj/ehv556",
                    "id": "maupain-2016-cahp",
                    "pmid": "26497161",
                    "source": "Eur Heart J. 2016;37(42):3222-3231",
                    "title": "The CAHP (Cardiac Arrest Hospital Prognosis) score: a tool for risk stratification after out-of-hospital cardiac arrest"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 22,
                      "present": true,
                      "value": 30
                    },
                    {
                      "factor": "arrest_at_home",
                      "points": 25,
                      "present": true
                    },
                    {
                      "factor": "shockable_rhythm",
                      "points": 27,
                      "present": true,
                      "value": false
                    },
                    {
                      "factor": "no_flow_min",
                      "points": 14,
                      "present": true,
                      "value": 5
                    },
                    {
                      "factor": "low_flow_min",
                      "points": 8,
                      "present": true,
                      "value": 10
                    },
                    {
                      "factor": "epinephrine_mg",
                      "points": 43,
                      "present": true,
                      "value": 3
                    },
                    {
                      "factor": "arterial_ph",
                      "points": 38,
                      "present": true,
                      "value": 7.1
                    }
                  ],
                  "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.",
                  "epinephrine_mg": 3,
                  "formula": "cahp",
                  "formula_expression": "CAHP = round(1.1*(age-10)) + 25 if arrest_at_home + 27 if not shockable_rhythm + round(2.8*no_flow_min) + round(0.8*low_flow_min) + epinephrine mg (0 → 0; 1-2 → 27; ≥3 → 43) + round(585-77*arterial_ph); Maupain 2016 Figure 2 nomogram integer points (caption: age 30 → 22, home → 25, non-shockable → 27, no-flow 5 min → 14, low-flow 10 min → 8, epinephrine 3 mg → 43, pH 7.10 → 38, total 177 → 88%); Table 3 low <150, medium 150-200, high >200 (150 and 200 are medium); max 411",
                  "low_flow_min": 10,
                  "max_score": 411,
                  "no_flow_min": 5,
                  "nomogram_poor_outcome_percent": 88,
                  "score": 177,
                  "shockable_rhythm": false
                }
              ],
              "path": "/api/calc/cahp"
            },
            "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). Figure 2 caption: 30 years → 22. Linear nomogram: round(1.1*(age-10)); truncated below 10 and above 100.",
                            "type": "integer"
                          },
                          "arrest_at_home": {
                            "description": "Cardiac arrest at home versus public, as assigned by the caller. true scores 25 (Figure 2 caption); false (public) scores 0.",
                            "type": "boolean"
                          },
                          "arterial_ph": {
                            "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.",
                            "type": "number"
                          },
                          "epinephrine_mg": {
                            "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).",
                            "type": "integer"
                          },
                          "low_flow_min": {
                            "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.",
                            "type": "integer"
                          },
                          "no_flow_min": {
                            "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.",
                            "type": "integer"
                          },
                          "shockable_rhythm": {
                            "description": "Initial shockable rhythm (VF or pulseless VT) as assigned by the caller. true scores 0; false (non-shockable) scores 27 (Figure 2 caption).",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "age",
                          "arrest_at_home",
                          "shockable_rhythm",
                          "no_flow_min",
                          "low_flow_min",
                          "epinephrine_mg",
                          "arterial_ph"
                        ],
                        "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"
  }
}