# Gorelick 2004 Pediatric Asthma Severity Score (PASS) Calculator

> Gorelick 2004 Pediatric Asthma Severity Score (PASS) 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-14).

Computes the Gorelick 2004 three-item Pediatric Asthma Severity Score (PASS) by summing caller-assigned wheezing, work of breathing, and prolongation of expiration scores (0–2 each, max 6).

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/pass
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gorelick-2004-pediatric-asthma-severity-score-pass-calculator-4ce387ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_m_Fl8r_UHMnMY4uY_O8nA

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 gorelick-2004-pediatric-asthma-severity-score-pass-calculator-4ce387ba
```

Example prompt: Calculate the Gorelick 2004 PASS score for a child with moderate wheezing (1), severe work of breathing (2), and moderately prolonged expiration (1).

## When to prefer this

Use this endpoint when you need a pure, reproducible Gorelick 2004 PASS numeric sum for a pediatric asthma patient and all three component scores have already been assessed by a clinician. Prefer this over narrative or AI-generated severity estimates when auditability and fidelity to the published instrument are required. Do not use if you need the Chalut 2000 PRAM, Westley 1978 croup score, or a hospital-specific PAS variant.

## Known failure modes

- Missing required parameter (wheezing, work_of_breathing, or prolongation_of_expiration) returns an error
- Non-integer or out-of-range values (outside 0, 1, 2) for any component return a validation error
- Incorrect query parameter names cause a bad request error
- Payment failure or missing x402 header results in 402 Payment Required

## How this service works

Gorelick 2004 three-item Pediatric Asthma Severity Score (PASS): caller-assigned wheezing (0 none or mild; 1 moderate; 2 severe or absent from poor air exchange), work_of_breathing (0 none or mild; 1 moderate; 2 severe), and prolongation_of_expiration (0 normal or mildly prolonged; 1 moderately; 2 severely). magent sums only (max 6) and does not auscultate. Score only; no invented severity or GINA bands. Not a diagnosis, not Chalut 2000 PRAM, not Westley 1978 croup, and not hospital PAS.

## Output

Returns the integer PASS total score (0–6) computed by summing the three caller-supplied component scores. No severity band labels, GINA classifications, or diagnostic interpretations are added — just the numeric sum.

## 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": [
      "wheezing",
      "work_of_breathing",
      "prolongation_of_expiration"
     ],
     "properties": {
      "wheezing": {
       "type": "integer",
       "description": "Caller-assigned Gorelick 2004 PASS wheezing (integer 0, 1, or 2): 0 none or mild; 1 moderate; 2 severe wheezing or absent due to poor air exchange. magent does not auscultate."
      },
      "work_of_breathing": {
       "type": "integer",
       "description": "Caller-assigned Gorelick 2004 PASS work of breathing (integer 0, 1, or 2): 0 none or mild accessory-muscle use or retractions; 1 moderate; 2 severe. magent does not examine the patient."
      },
      "prolongation_of_expiration": {
       "type": "integer",
       "description": "Caller-assigned Gorelick 2004 PASS prolongation of expiration (integer 0, 1, or 2): 0 normal or mildly prolonged; 1 moderately prolonged; 2 severely prolonged. magent does not auscultate."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gorelick-2004-pediatric-asthma-severity-score-pass-calculator-4ce387ba/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)
