# HCM Risk-SCD Calculator (O'Mahony 2014)

> HCM Risk-SCD Calculator (O'Mahony 2014) 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).

Calculates 5-year sudden cardiac death probability in hypertrophic cardiomyopathy patients using the O'Mahony 2014 ESC model with 7 clinical predictors.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/hcm_risk_scd
- 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/hcm-risk-scd-calculator-o-mahony-2014-3c39cbd0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h0qhAUeHTPSprzQJxrw5Q

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 hcm-risk-scd-calculator-o-mahony-2014-3c39cbd0
```

Example prompt: Calculate the 5-year sudden cardiac death risk for a 45-year-old HCM patient with max wall thickness of 22 mm, left atrial diameter of 48 mm, LVOT gradient of 30 mmHg, a family history of SCD, no NSVT, and no unexplained syncope — give me the risk percent and whether they fall in the lower, intermediate, or higher band.

## When to prefer this

Use this endpoint when you need to compute the ESC-endorsed O'Mahony 2014 HCM Risk-SCD score specifically — it implements the validated continuous-predictor logistic model with the 4%/6% risk bands as published, suitable for documentation and audit. Prefer this over generic risk calculators when the clinical context is hypertrophic cardiomyopathy and the required 7 predictors are already available from echocardiography and clinical history.

## Known failure modes

- Age outside 16–80 range returns a validation error
- Max wall thickness outside 10.0–35.0 mm returns an out-of-range error
- LA diameter outside 20.0–70.0 mm returns a validation error
- LVOT gradient outside 0.0–154.0 mmHg returns a validation error
- Missing any required query parameter returns a 400 bad request
- Non-integer age or non-boolean flag fields return a type validation error

## How this service works

O'Mahony 2014 HCM Risk-SCD: 5-year SCD probability from wall thickness, LA diameter, LVOT gradient, family history of SCD, NSVT, unexplained syncope, and age. Returns prognostic_index, five_year_scd_risk_percent, and 4%/6% risk_band (lower / intermediate / higher). Not an ICD or device order. Not a medical device.

## Output

Returns a JSON object with three fields: prognostic_index (the continuous linear predictor value), five_year_scd_risk_percent (the model-derived 5-year absolute risk of sudden cardiac death as a percentage), and risk_band (categorical classification: 'lower' for <4%, 'intermediate' for 4–6%, or 'higher' for ≥6%) — enabling downstream risk-based decision support without constituting a device order or ICD 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",
      "max_wall_thickness_mm",
      "la_diameter_mm",
      "max_lvot_gradient_mm_hg",
      "family_history_scd",
      "nsvt",
      "unexplained_syncope"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age at clinical evaluation in years (integer 16-80). O'Mahony 2014 continuous predictor (coefficient -0.01799934). Derivation was HCM evaluated at 16 years or older. magent does not examine the patient."
      },
      "nsvt": {
       "type": "boolean",
       "description": "Non-sustained ventricular tachycardia as assigned by the caller (true=1, false=0). magent does not interpret Holter monitoring."
      },
      "la_diameter_mm": {
       "type": "number",
       "description": "Left-atrial diameter in mm (20.0-70.0). O'Mahony 2014 continuous predictor. magent does not measure the atrium."
      },
      "family_history_scd": {
       "type": "boolean",
       "description": "Family history of sudden cardiac death as assigned by the caller (true=1, false=0). magent does not take a family history."
      },
      "unexplained_syncope": {
       "type": "boolean",
       "description": "Unexplained syncope as assigned by the caller (true=1, false=0). magent does not adjudicate syncope."
      },
      "max_wall_thickness_mm": {
       "type": "number",
       "description": "Maximal left-ventricular wall thickness in mm (10.0-35.0). Enters as linear and squared terms. magent does not read an echocardiogram."
      },
      "max_lvot_gradient_mm_hg": {
       "type": "number",
       "description": "Maximal left-ventricular outflow-tract gradient in mm Hg (0.0-154.0). magent does not measure the gradient."
      }
     }
    }
   },
   "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/hcm-risk-scd-calculator-o-mahony-2014-3c39cbd0/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)
