# Qureshi 1998 Pediatric Asthma Score (PAS) Calculator

> Qureshi 1998 Pediatric Asthma 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 Qureshi 1998 pediatric asthma severity score (5–15) and returns a mild/moderate/severe band from five caller-assigned ordinal inputs.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/pediatric_asthma_score
- 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/qureshi-1998-pediatric-asthma-score-pas-calculator-a5275354
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wsCK78YXWSQ52jFqu0nuo

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 qureshi-1998-pediatric-asthma-score-pas-calculator-a5275354
```

Example prompt: Calculate the Qureshi 1998 pediatric asthma score for a child with respiratory rate points 2, oxygen saturation points 3, auscultation points 2, retractions points 2, and dyspnea points 1 — what's the total score and severity band?

## When to prefer this

Use this endpoint when you need to compute the specific Qureshi 1998 five-domain pediatric asthma score and receive a structured mild/moderate/severe band. Prefer this over manual arithmetic when building automated clinical workflows or documentation pipelines. Do not use for PRAM (Pediatric Respiratory Assessment Measure), Liu 2004, Westley croup score, or any adult asthma scoring system — those are distinct instruments.

## Known failure modes

- Missing required parameter returns an error (all five ordinal fields are required)
- Out-of-range integer (e.g. 0 or 4) for any domain returns a validation error
- Passing raw breaths-per-minute or SpO2 percentage instead of Table 1 ordinal points (1-3) produces a silently incorrect score
- Attempting to score children under age 2, for whom the original Qureshi 1998 paper has no age band, may yield unreliable results

## How this service works

Qureshi 1998 pediatric asthma score: five caller-assigned 1-3 domains — respiratory_rate (Table 1 age-banded ordinal, not raw breaths/min), oxygen_saturation, auscultation, retractions, and dyspnea. magent sums only (5-15) and returns Table 1 asthma_band mild 5-7, moderate 8-11, or severe 12-15. magent does not count breaths, measure SpO2, auscultate, or grade work of breathing. Not a diagnosis or treatment order. Not PRAM. Not Liu 2004. Not Westley croup.

## Output

Returns the numeric sum of the five ordinal inputs (integer 5–15) and an asthma severity band label: mild (5–7), moderate (8–11), or severe (12–15), per Qureshi 1998 Table 1. Does not provide a diagnosis or treatment 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": [
      "respiratory_rate",
      "oxygen_saturation",
      "auscultation",
      "retractions",
      "dyspnea"
     ],
     "properties": {
      "dyspnea": {
       "type": "integer",
       "description": "Caller-assigned Qureshi 1998 Table 1 dyspnea (integer 1-3): 1 speaks in sentences or coos and babbles; 2 speaks in partial sentences or short cries; 3 speaks in single words, short phrases, or grunts. magent does not examine the patient."
      },
      "retractions": {
       "type": "integer",
       "description": "Caller-assigned Qureshi 1998 Table 1 retractions (integer 1-3): 1 none or intercostal; 2 intercostal and substernal; 3 intercostal, substernal, and supraclavicular. magent does not examine the patient."
      },
      "auscultation": {
       "type": "integer",
       "description": "Caller-assigned Qureshi 1998 Table 1 auscultation (integer 1-3): 1 normal breathing or end-expiratory wheeze; 2 expiratory wheezing; 3 inspiratory and expiratory wheezing, diminished breath sounds, or both. magent does not auscultate."
      },
      "respiratory_rate": {
       "type": "integer",
       "description": "Caller-assigned Qureshi 1998 Table 1 respiratory-rate points (integer 1-3), not raw breaths/min and not age. Table 1 age bands for 1/2/3: 2-3 yr ≤34 / 35-39 / ≥40; 4-5 yr ≤30 / 31-35 / ≥36; 6-12 yr ≤26 / 27-30 / ≥31; >12 yr ≤23 / 24-27 / ≥28. That paper enrolled ages 2-18 and has no <2 yr column. magent does not count breaths."
      },
      "oxygen_saturation": {
       "type": "integer",
       "description": "Caller-assigned Qureshi 1998 Table 1 oxygen-saturation points (integer 1-3): 1 if >95% on room air; 2 if 90-95% on room air or >90% with supplemental oxygen; 3 if <90% on room air or supplemental oxygen as in Table 1. magent does not measure SpO2."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "ty
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/qureshi-1998-pediatric-asthma-score-pas-calculator-a5275354/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)
