# PECARN Pediatric IAI Risk Calculator (Holmes 2013)

> PECARN Pediatric IAI Risk Calculator (Holmes 2013) 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-13).

Applies the PECARN pediatric intra-abdominal injury (IAI) decision rule to determine if a child is at very low risk of IAI requiring acute intervention based on seven clinical findings.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/pecarn_iai
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pecarn-pediatric-iai-risk-calculator-holmes-2013-f14757d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Gpc9aQ7F65arj9dBTdim9

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 pecarn-pediatric-iai-risk-calculator-holmes-2013-f14757d2
```

Example prompt: Run the PECARN IAI calculator for a pediatric trauma patient who has no abdominal wall trauma or seatbelt sign, GCS is 14 or above (so gcs_less_than_14 is false), no abdominal tenderness, no thoracic wall trauma, no abdominal pain, no decreased breath sounds, and no vomiting — tell me if the child qualifies as very low risk for IAI requiring intervention.

## When to prefer this

Use this endpoint when you need a fast, structured implementation of the Holmes 2013 PECARN IAI seven-predictor decision rule for a pediatric patient after blunt abdominal trauma. Prefer it over manual lookup when automating clinical decision support workflows or when an agent needs a deterministic, auditable risk stratification signal. Do not use it as a standalone diagnostic or CT mandate tool, and do not confuse it with the PECARN head CT rule.

## Known failure modes

- Missing any of the seven required boolean query parameters returns a validation error
- Passing non-boolean values for clinical flags causes a schema error
- Misapplying the rule to adults or head trauma (this is not PECARN head) yields incorrect clinical framing
- Network or payment authorization failure (402) if x402 payment is not properly handled

## How this service works

PECARN pediatric IAI (Holmes 2013). Very low risk of IAI requiring acute intervention only when all seven caller-assigned findings are absent: abdominal wall trauma or seatbelt sign, GCS <14, abdominal tenderness, thoracic wall trauma, abdominal pain, decreased breath sounds, and vomiting. Presence of a criterion does not mandate CT. Not a diagnosis. Not PECARN head. magent does not examine the patient.

## Output

Returns a boolean very_low_risk_iai_intervention flag: true only when all seven clinical predictor fields are false (absent), indicating very low risk of IAI requiring acute intervention per the Holmes 2013 PECARN rule. Returns false if any single criterion is present. Does not provide a diagnosis or CT 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": [
      "abdominal_wall_trauma_or_seatbelt_sign",
      "gcs_less_than_14",
      "abdominal_tenderness",
      "thoracic_wall_trauma",
      "abdominal_pain",
      "decreased_breath_sounds",
      "vomiting"
     ],
     "properties": {
      "vomiting": {
       "type": "boolean",
       "description": "History of vomiting as assigned by the caller. true means vomiting is present and very_low_risk_iai_intervention is false. true or false. magent does not take a vomit count."
      },
      "abdominal_pain": {
       "type": "boolean",
       "description": "Complaints of abdominal pain as assigned by the caller. true means pain is present and very_low_risk_iai_intervention is false. true or false. magent does not take a pain score."
      },
      "gcs_less_than_14": {
       "type": "boolean",
       "description": "GCS score <14 as assigned by the caller (paper: GCS <14; equivalently GCS >13 is the low-risk direction). true means GCS <14 and very_low_risk_iai_intervention is false. true or false. This is not the PECARN head GCS <=14 flag. magent does not take a GCS integer."
      },
      "abdominal_tenderness": {
       "type": "boolean",
       "description": "Abdominal tenderness as assigned by the caller. true means tenderness is present and very_low_risk_iai_intervention is false. true or false. magent does not palpate the abdomen."
      },
      "thoracic_wall_trauma": {
       "type": "boolean",
       "description": "Evidence of thoracic wall trauma as assigned by the caller. true means the finding is present and very_low_risk_iai_intervention is false. true or false. magent does not examine the chest."
      },
      "decreased_breath_sounds": {
       "type": "boolean",
       "description": "Decreased breath sounds as assigned by the caller. true means decreased breath sounds are present and very_low_risk_iai_intervention is false. true or false. magent does not auscultate the 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pecarn-pediatric-iai-risk-calculator-holmes-2013-f14757d2/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)
