# Monaghan 2005 Brighton PEWS Calculator

> Monaghan 2005 Brighton PEWS 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).

Calculates the Monaghan 2005 Brighton Paediatric Early Warning Score (PEWS) from behaviour, cardiovascular, respiratory, and supplemental parameters, returning score_ge_3.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/pews
- 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/monaghan-2005-brighton-pews-calculator-c59cbda9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zfl3DfuALIhGi51BKRISv

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 monaghan-2005-brighton-pews-calculator-c59cbda9
```

Example prompt: Calculate the Brighton PEWS score for a 3-year-old (age_2_5) who is irritable, has pale skin, a heart rate of 130 bpm, respiratory rate of 28, mild respiratory effort, no supplemental oxygen, no quarter-hourly nebulisers, and no post-surgery vomiting.

## When to prefer this

Use this endpoint when you need to apply the specific Monaghan 2005 Brighton PEWS algorithm (not NEWS2, MEWS, Akre 2010 PEWS, or later NHS England PEWS charts) for paediatric patients, including the +2 bonuses for quarter-hourly nebulisers and persistent post-surgical vomiting, using APLS 2005 age-group HR and RR rest ranges as the reference norms.

## Known failure modes

- Missing required query parameters returns a validation error
- Invalid enum value for any categorical field (e.g. behavior, cardiovascular, oxygen, age_group) returns an error
- Heart rate or respiratory rate outside plausible numeric range may produce unexpected scoring
- age_group mismatch with actual patient age leads to incorrect normal-range comparison — caller is responsible for correct mapping

## How this service works

Monaghan 2005 Brighton PEWS: behaviour, cardiovascular, and respiratory 0-3 each, plus +2 each for quarter-hourly nebulisers and persistent post-surgery vomiting (max 13). HR/RR use APLS 2005 age-group rest ranges as the paper's normal rate and mean. Returns score_ge_3. Not NEWS2; not MEWS; not Bedside PEWS.

## Output

Returns the computed Monaghan 2005 PEWS total (max 13) and a boolean score_ge_3 flag indicating whether the score meets or exceeds the 3-point alert threshold, based on caller-supplied behaviour, cardiovascular, HR, respiratory, oxygen, nebuliser, and post-surgery vomiting inputs mapped to APLS 2005 age-group normal ranges.

## 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_group",
      "behavior",
      "cardiovascular",
      "heart_rate_bpm",
      "respiratory_rate",
      "respiratory_effort",
      "oxygen",
      "quarter_hourly_nebulisers",
      "persistent_vomiting_after_surgery"
     ],
     "properties": {
      "oxygen": {
       "enum": [
        "none",
        "fio2_30_or_4l",
        "fio2_40_or_6l",
        "fio2_50_or_8l"
       ],
       "type": "string",
       "description": "Caller-assigned Monaghan 2005 oxygen. none → 0; fio2_30_or_4l (30+% FiO2 or 4+ L/min) → 1; fio2_40_or_6l (40+% FiO2 or 6+ L/min) → 2; fio2_50_or_8l (50% FiO2 or 8+ L/min) → 3. The respiratory domain is the higher of RR, effort, and oxygen. magent does not measure FiO2."
      },
      "behavior": {
       "enum": [
        "playing",
        "sleeping",
        "irritable",
        "lethargic"
       ],
       "type": "string",
       "description": "Caller-assigned Monaghan 2005 behaviour. playing (playing/appropriate) → 0; sleeping → 1; irritable (irritable or parents concerned) → 2; lethargic (lethargic/confused or reduced response to pain) → 3. magent does not observe the child."
      },
      "age_group": {
       "enum": [
        "infant",
        "age_1_2",
        "age_2_5",
        "age_5_12",
        "adolescent"
       ],
       "type": "string",
       "description": "Caller-assigned APLS 2005 rest-range age group used as Monaghan 2005 'normal rate' (HR) and 'mean'/'normal parameters' (RR). infant (<1 year; HR 110-160, RR 30-40, RR mean 35); age_1_2 (1-2 years; HR 100-150, RR 25-35, mean 30); age_2_5 (2-5 years; HR 95-140, RR 25-30, mean 27); age_5_12 (5-12 years; HR 80-120, RR 20-25, mean 22); adolescent (>12 years; HR 60-100, RR 15-20, mean 17). Monaghan 2005 does not print a numeric vital table. magent does not map chronological age. Not Akre 2010. Not later NHS England PEWS charts."
      },
      "cardiovascular": {
       "enum": [
      
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/monaghan-2005-brighton-pews-calculator-c59cbda9/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)
