{
  "x402Version": 2,
  "id": 38970,
  "slug": "38970",
  "resource": "https://api.magentlab.com/api/calc/pecarn_iai",
  "description": "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.",
  "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": [
              {
                "abdominal_pain": false,
                "abdominal_tenderness": false,
                "abdominal_wall_trauma_or_seatbelt_sign": false,
                "decreased_breath_sounds": false,
                "gcs_less_than_14": false,
                "thoracic_wall_trauma": false,
                "vomiting": false
              },
              {
                "abdominal_pain": false,
                "abdominal_tenderness": false,
                "abdominal_wall_trauma_or_seatbelt_sign": false,
                "decreased_breath_sounds": false,
                "gcs_less_than_14": false,
                "thoracic_wall_trauma": false,
                "vomiting": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Holmes JF, Lillis K, Monroe D, Borgialli D, Kerrey BT, Mahajan P, Adelgais K, Ellison AM, Yen K, Atabaki S, Menaker J, Bonsu B, Quayle KS, Garcia M, Rogers A, Blumberg S, Lee L, Tunik M, Kooistra J, Kwok M, Cook LJ, Dean JM, Sokolove PE, Wisner DH, Ehrlich P, Cooper A, Dayan PS, Wootton-Gorges S, Kuppermann N",
                  "doi": "10.1016/j.annemergmed.2012.11.009",
                  "id": "holmes-2013",
                  "source": "Ann Emerg Med. 2013;62(2):107-116.e2",
                  "title": "Identifying children at very low risk of clinically important blunt abdominal injuries"
                },
                "criteria": [
                  {
                    "factor": "no_abdominal_wall_trauma_or_seatbelt_sign",
                    "met": true
                  },
                  {
                    "factor": "no_gcs_less_than_14",
                    "met": true
                  },
                  {
                    "factor": "no_abdominal_tenderness",
                    "met": true
                  },
                  {
                    "factor": "no_thoracic_wall_trauma",
                    "met": true
                  },
                  {
                    "factor": "no_abdominal_pain",
                    "met": true
                  },
                  {
                    "factor": "no_decreased_breath_sounds",
                    "met": true
                  },
                  {
                    "factor": "no_vomiting",
                    "met": true
                  }
                ],
                "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.",
                "formula": "pecarn_iai",
                "formula_expression": "very_low_risk_iai_intervention iff no abdominal_wall_trauma_or_seatbelt_sign and no gcs_less_than_14 and no abdominal_tenderness and no thoracic_wall_trauma and no abdominal_pain and no decreased_breath_sounds and no vomiting",
                "very_low_risk_iai_intervention": true
              },
              {
                "citation": {
                  "authors": "Holmes JF, Lillis K, Monroe D, Borgialli D, Kerrey BT, Mahajan P, Adelgais K, Ellison AM, Yen K, Atabaki S, Menaker J, Bonsu B, Quayle KS, Garcia M, Rogers A, Blumberg S, Lee L, Tunik M, Kooistra J, Kwok M, Cook LJ, Dean JM, Sokolove PE, Wisner DH, Ehrlich P, Cooper A, Dayan PS, Wootton-Gorges S, Kuppermann N",
                  "doi": "10.1016/j.annemergmed.2012.11.009",
                  "id": "holmes-2013",
                  "source": "Ann Emerg Med. 2013;62(2):107-116.e2",
                  "title": "Identifying children at very low risk of clinically important blunt abdominal injuries"
                },
                "criteria": [
                  {
                    "factor": "no_abdominal_wall_trauma_or_seatbelt_sign",
                    "met": true
                  },
                  {
                    "factor": "no_gcs_less_than_14",
                    "met": true
                  },
                  {
                    "factor": "no_abdominal_tenderness",
                    "met": true
                  },
                  {
                    "factor": "no_thoracic_wall_trauma",
                    "met": true
                  },
                  {
                    "factor": "no_abdominal_pain",
                    "met": true
                  },
                  {
                    "factor": "no_decreased_breath_sounds",
                    "met": true
                  },
                  {
                    "factor": "no_vomiting",
                    "met": true
                  }
                ],
                "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.",
                "formula": "pecarn_iai",
                "formula_expression": "very_low_risk_iai_intervention iff no abdominal_wall_trauma_or_seatbelt_sign and no gcs_less_than_14 and no abdominal_tenderness and no thoracic_wall_trauma and no abdominal_pain and no decreased_breath_sounds and no vomiting",
                "very_low_risk_iai_intervention": true
              }
            ],
            "path": "/api/calc/pecarn_iai"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "abdominal_pain": {
                          "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.",
                          "type": "boolean"
                        },
                        "abdominal_tenderness": {
                          "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.",
                          "type": "boolean"
                        },
                        "abdominal_wall_trauma_or_seatbelt_sign": {
                          "description": "Evidence of abdominal wall trauma or seatbelt sign as assigned by the caller (Holmes 2013 first-ranked criterion). true means the finding is present and very_low_risk_iai_intervention is false. true or false. magent does not examine the abdomen.",
                          "type": "boolean"
                        },
                        "decreased_breath_sounds": {
                          "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 chest.",
                          "type": "boolean"
                        },
                        "gcs_less_than_14": {
                          "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.",
                          "type": "boolean"
                        },
                        "thoracic_wall_trauma": {
                          "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.",
                          "type": "boolean"
                        },
                        "vomiting": {
                          "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.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "abdominal_wall_trauma_or_seatbelt_sign",
                        "gcs_less_than_14",
                        "abdominal_tenderness",
                        "thoracic_wall_trauma",
                        "abdominal_pain",
                        "decreased_breath_sounds",
                        "vomiting"
                      ],
                      "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": [
    "pecarn-iai",
    "pediatric",
    "abdominal",
    "emergency",
    "trauma",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T10:51:31.559Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T10:51:31.443Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "abdominal_pain": false,
                  "abdominal_tenderness": false,
                  "abdominal_wall_trauma_or_seatbelt_sign": false,
                  "decreased_breath_sounds": false,
                  "gcs_less_than_14": false,
                  "thoracic_wall_trauma": false,
                  "vomiting": false
                },
                {
                  "abdominal_pain": false,
                  "abdominal_tenderness": false,
                  "abdominal_wall_trauma_or_seatbelt_sign": false,
                  "decreased_breath_sounds": false,
                  "gcs_less_than_14": false,
                  "thoracic_wall_trauma": false,
                  "vomiting": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Holmes JF, Lillis K, Monroe D, Borgialli D, Kerrey BT, Mahajan P, Adelgais K, Ellison AM, Yen K, Atabaki S, Menaker J, Bonsu B, Quayle KS, Garcia M, Rogers A, Blumberg S, Lee L, Tunik M, Kooistra J, Kwok M, Cook LJ, Dean JM, Sokolove PE, Wisner DH, Ehrlich P, Cooper A, Dayan PS, Wootton-Gorges S, Kuppermann N",
                    "doi": "10.1016/j.annemergmed.2012.11.009",
                    "id": "holmes-2013",
                    "source": "Ann Emerg Med. 2013;62(2):107-116.e2",
                    "title": "Identifying children at very low risk of clinically important blunt abdominal injuries"
                  },
                  "criteria": [
                    {
                      "factor": "no_abdominal_wall_trauma_or_seatbelt_sign",
                      "met": true
                    },
                    {
                      "factor": "no_gcs_less_than_14",
                      "met": true
                    },
                    {
                      "factor": "no_abdominal_tenderness",
                      "met": true
                    },
                    {
                      "factor": "no_thoracic_wall_trauma",
                      "met": true
                    },
                    {
                      "factor": "no_abdominal_pain",
                      "met": true
                    },
                    {
                      "factor": "no_decreased_breath_sounds",
                      "met": true
                    },
                    {
                      "factor": "no_vomiting",
                      "met": true
                    }
                  ],
                  "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.",
                  "formula": "pecarn_iai",
                  "formula_expression": "very_low_risk_iai_intervention iff no abdominal_wall_trauma_or_seatbelt_sign and no gcs_less_than_14 and no abdominal_tenderness and no thoracic_wall_trauma and no abdominal_pain and no decreased_breath_sounds and no vomiting",
                  "very_low_risk_iai_intervention": true
                },
                {
                  "citation": {
                    "authors": "Holmes JF, Lillis K, Monroe D, Borgialli D, Kerrey BT, Mahajan P, Adelgais K, Ellison AM, Yen K, Atabaki S, Menaker J, Bonsu B, Quayle KS, Garcia M, Rogers A, Blumberg S, Lee L, Tunik M, Kooistra J, Kwok M, Cook LJ, Dean JM, Sokolove PE, Wisner DH, Ehrlich P, Cooper A, Dayan PS, Wootton-Gorges S, Kuppermann N",
                    "doi": "10.1016/j.annemergmed.2012.11.009",
                    "id": "holmes-2013",
                    "source": "Ann Emerg Med. 2013;62(2):107-116.e2",
                    "title": "Identifying children at very low risk of clinically important blunt abdominal injuries"
                  },
                  "criteria": [
                    {
                      "factor": "no_abdominal_wall_trauma_or_seatbelt_sign",
                      "met": true
                    },
                    {
                      "factor": "no_gcs_less_than_14",
                      "met": true
                    },
                    {
                      "factor": "no_abdominal_tenderness",
                      "met": true
                    },
                    {
                      "factor": "no_thoracic_wall_trauma",
                      "met": true
                    },
                    {
                      "factor": "no_abdominal_pain",
                      "met": true
                    },
                    {
                      "factor": "no_decreased_breath_sounds",
                      "met": true
                    },
                    {
                      "factor": "no_vomiting",
                      "met": true
                    }
                  ],
                  "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.",
                  "formula": "pecarn_iai",
                  "formula_expression": "very_low_risk_iai_intervention iff no abdominal_wall_trauma_or_seatbelt_sign and no gcs_less_than_14 and no abdominal_tenderness and no thoracic_wall_trauma and no abdominal_pain and no decreased_breath_sounds and no vomiting",
                  "very_low_risk_iai_intervention": true
                }
              ],
              "path": "/api/calc/pecarn_iai"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "abdominal_pain": {
                            "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.",
                            "type": "boolean"
                          },
                          "abdominal_tenderness": {
                            "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.",
                            "type": "boolean"
                          },
                          "abdominal_wall_trauma_or_seatbelt_sign": {
                            "description": "Evidence of abdominal wall trauma or seatbelt sign as assigned by the caller (Holmes 2013 first-ranked criterion). true means the finding is present and very_low_risk_iai_intervention is false. true or false. magent does not examine the abdomen.",
                            "type": "boolean"
                          },
                          "decreased_breath_sounds": {
                            "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 chest.",
                            "type": "boolean"
                          },
                          "gcs_less_than_14": {
                            "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.",
                            "type": "boolean"
                          },
                          "thoracic_wall_trauma": {
                            "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.",
                            "type": "boolean"
                          },
                          "vomiting": {
                            "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.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "abdominal_wall_trauma_or_seatbelt_sign",
                          "gcs_less_than_14",
                          "abdominal_tenderness",
                          "thoracic_wall_trauma",
                          "abdominal_pain",
                          "decreased_breath_sounds",
                          "vomiting"
                        ],
                        "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"
  }
}