# Samuel 2002 Pediatric Appendicitis Score (PAS) Calculator

> Samuel 2002 Pediatric Appendicitis Score (PAS) Calculator 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).

Computes the Samuel 2002 Pediatric Appendicitis Score (max 10) for children aged 4–15 from eight caller-assigned clinical findings

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/pas
- 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/samuel-2002-pediatric-appendicitis-score-pas-calculator-ab721978
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SSW6AoFhIjTvkSyUPd63Y

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 samuel-2002-pediatric-appendicitis-score-pas-calculator-ab721978
```

Example prompt: Calculate the Pediatric Appendicitis Score for a 9-year-old who has anorexia, nausea, migration of pain, cough/hopping tenderness in the RLQ, RIF tenderness, and the clinician flagged pyrexia, leukocytosis, and neutrophilia as present.

## When to prefer this

Use this endpoint when you need a structured, reproducible Samuel 2002 PAS computation for a child aged 4–15 with caller-assigned clinical findings and lab flags. Prefer this over Alvarado/MANTRELS scoring endpoints — this is explicitly the Samuel 2002 pediatric-specific tool, not the adult-oriented MANTRELS. Appropriate when a clinician or structured decision-support workflow has already assessed and assigned the eight binary clinical findings and needs a reliable score returned without manual arithmetic.

## Known failure modes

- Age outside 4–15 range (e.g., 3 or 16) is rejected with a validation error
- Missing any of the nine required query parameters returns an error
- Non-boolean values for flag fields cause schema validation failure
- Incorrect type for age (non-integer, float) causes rejection
- Network or payment errors (402) if x402 payment is not properly attached

## How this service works

Samuel 2002 pediatric appendicitis score from eight caller-assigned findings, ages 4-15, max 10. Cough/percussion/hopping RLQ and RIF tenderness score 2; anorexia, pyrexia, nausea/emesis, leukocytosis, neutrophilia, and migration score 1. Fever and labs are flags, not unpublished cutoffs. Not Alvarado (MANTRELS). Not a diagnosis or operating-room protocol. magent does not examine the abdomen.

## Output

Returns the computed Pediatric Appendicitis Score as an integer from 0 to 10, reflecting the sum of eight weighted clinical items: cough/percussion/hopping RLQ tenderness and RIF tenderness each contribute 2 points; anorexia, pyrexia, nausea/emesis, leukocytosis, neutrophilia, and migration of pain each contribute 1 point. The response may include a breakdown of individual item contributions for audit or display purposes.

## 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",
      "cough_percussion_hopping_rlq",
      "anorexia",
      "pyrexia",
      "nausea_emesis",
      "rif_tenderness",
      "leukocytosis",
      "neutrophilia",
      "migration"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years as an integer from 4 to 15 (Samuel 2002 derivation cohort). Age does not add points. 3 and 16 are rejected."
      },
      "pyrexia": {
       "type": "boolean",
       "description": "Caller-assigned pyrexia (Samuel named pyrexia; the derivation paper does not publish a °C cutoff). true scores 1; false scores 0."
      },
      "anorexia": {
       "type": "boolean",
       "description": "Anorexia (Samuel). true scores 1; false scores 0."
      },
      "migration": {
       "type": "boolean",
       "description": "Migration of pain (Samuel). true scores 1; false scores 0."
      },
      "leukocytosis": {
       "type": "boolean",
       "description": "Caller-assigned leukocytosis (Samuel 2002; no published WBC cutoff). true scores 1; false scores 0."
      },
      "neutrophilia": {
       "type": "boolean",
       "description": "Caller-assigned neutrophilia (Samuel 2002; no published percent or count cutoff). true scores 1; false scores 0."
      },
      "nausea_emesis": {
       "type": "boolean",
       "description": "Nausea or emesis (Samuel). true scores 1; false scores 0."
      },
      "rif_tenderness": {
       "type": "boolean",
       "description": "Tenderness over the right iliac fossa (Samuel physical sign 5). true scores 2; false scores 0."
      },
      "cough_percussion_hopping_rlq": {
       "type": "boolean",
       "description": "Cough, percussion, or hopping tenderness in the right lower quadrant (Samuel physical sign 1). true scores 2; false scores 0."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required":
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "/api/calc/pas",
  "count": 2,
  "items": [
   {
    "age": 10,
    "score": 0,
    "formula": "pas",
    "citation": {
     "id": "samuel-2002",
     "doi": "10.1053/jpsu.2002.32893",
     "pmid": "12037754",
     "title": "Pediatric appendicitis score",
     "source": "J Pediatr Surg. 2002;37(6):877-881",
     "authors": "Samuel M"
    },
    "max_score": 10,
    "components": [
     {
      "factor": "cough_percussion_hopping_rlq",
      "points": 0,
      "present": false
     },
     {
      "factor": "anorexia",
      "points": 0,
      "present": false
     },
     {
      "factor": "pyrexia",
      "points": 0,
      "present": false
     },
     {
      "factor": "nausea_emesis",
      "points": 0,
      "present": false
     },
     {
      "factor": "rif_tenderness",
      "points": 0,
      "present": false
     },
     {
      "factor": "leukocytosis",
      "points": 0,
      "present": false
     },
     {
      "factor": "neutrophilia",
      "points": 0,
      "present": false
     },
     {
      "factor": "migration",
      "points": 0,
      "present": false
     }
    ],
    "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_expression": "PAS = 2*cough_percussion_hopping_rlq + anorexia + pyrexia + nausea_emesis + 2*rif_tenderness + leukocytosis + neutrophilia + migration; max 10"
   },
   {
    "age": 10,
    "score": 0,
    "formula": "pas",
    "citation": {
     "id": "samuel-2002",
     "doi": "10.1053/jpsu.2002.32893",
     "pmid": "12037754",
     "title": "Pediatric appendicitis score",
     "source": "J Pediatr Surg. 2002;37(6):877-881",
     "authors": "Samuel M"
    },
    "max_score": 10,
    "components": [
     {
      "factor": "cough_percussion_hopping_rlq",
      "points": 0,
      "present": false
     },
     {
      "factor": "anorexia",
      "points": 0,
      "present": false
     },
     {
      "factor": "pyrexia",
      "points": 0,
      "present": false
     },
     {
      "factor": "nausea_emesis",
      "points": 0,
      "present": false
     },
     {
      "factor": "rif_tenderness",
      "points": 0,
      "present": false
     },
     {
      "factor": "leukocytosis",
      "points": 0,
      "present": false
     },
     {
      "factor": "neutrophilia",
      "points": 0,
      "present": false

… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/samuel-2002-pediatric-appendicitis-score-pas-calculator-ab721978/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)
