{
  "x402Version": 2,
  "id": 39084,
  "slug": "39084",
  "resource": "https://api.magentlab.com/api/calc/pediatric_asthma_score",
  "description": "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.",
  "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": [
              {
                "auscultation": 1,
                "dyspnea": 1,
                "oxygen_saturation": 1,
                "respiratory_rate": 1,
                "retractions": 1
              },
              {
                "auscultation": 1,
                "dyspnea": 1,
                "oxygen_saturation": 1,
                "respiratory_rate": 1,
                "retractions": 1
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "asthma_band": "mild",
                "auscultation": 1,
                "citation": {
                  "authors": "Qureshi F, Pestian J, Davis P, Zaritsky A",
                  "doi": "10.1056/NEJM199810083391503",
                  "id": "qureshi-1998",
                  "source": "N Engl J Med. 1998;339(15):1030-1035",
                  "title": "Effect of nebulized ipratropium on the hospitalization rates of children with asthma"
                },
                "components": [
                  {
                    "factor": "respiratory_rate",
                    "points": 1,
                    "present": true,
                    "value": 1
                  },
                  {
                    "factor": "oxygen_saturation",
                    "points": 1,
                    "present": true,
                    "value": 1
                  },
                  {
                    "factor": "auscultation",
                    "points": 1,
                    "present": true,
                    "value": 1
                  },
                  {
                    "factor": "retractions",
                    "points": 1,
                    "present": true,
                    "value": 1
                  },
                  {
                    "factor": "dyspnea",
                    "points": 1,
                    "present": true,
                    "value": 1
                  }
                ],
                "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.",
                "dyspnea": 1,
                "formula": "pediatric_asthma_score",
                "formula_expression": "Qureshi 1998 = respiratory_rate + oxygen_saturation + auscultation + retractions + dyspnea; each caller-assigned Table 1 integer 1-3; max 15; asthma_band mild 5-7, moderate 8-11, severe 12-15",
                "max_score": 15,
                "oxygen_saturation": 1,
                "respiratory_rate": 1,
                "retractions": 1,
                "score": 5
              },
              {
                "asthma_band": "mild",
                "auscultation": 1,
                "citation": {
                  "authors": "Qureshi F, Pestian J, Davis P, Zaritsky A",
                  "doi": "10.1056/NEJM199810083391503",
                  "id": "qureshi-1998",
                  "source": "N Engl J Med. 1998;339(15):1030-1035",
                  "title": "Effect of nebulized ipratropium on the hospitalization rates of children with asthma"
                },
                "components": [
                  {
                    "factor": "respiratory_rate",
                    "points": 1,
                    "present": true,
                    "value": 1
                  },
                  {
                    "factor": "oxygen_saturation",
                    "points": 1,
                    "present": true,
                    "value": 1
                  },
                  {
                    "factor": "auscultation",
                    "points": 1,
                    "present": true,
                    "value": 1
                  },
                  {
                    "factor": "retractions",
                    "points": 1,
                    "present": true,
                    "value": 1
                  },
                  {
                    "factor": "dyspnea",
                    "points": 1,
                    "present": true,
                    "value": 1
                  }
                ],
                "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.",
                "dyspnea": 1,
                "formula": "pediatric_asthma_score",
                "formula_expression": "Qureshi 1998 = respiratory_rate + oxygen_saturation + auscultation + retractions + dyspnea; each caller-assigned Table 1 integer 1-3; max 15; asthma_band mild 5-7, moderate 8-11, severe 12-15",
                "max_score": 15,
                "oxygen_saturation": 1,
                "respiratory_rate": 1,
                "retractions": 1,
                "score": 5
              }
            ],
            "path": "/api/calc/pediatric_asthma_score"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "auscultation": {
                          "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.",
                          "type": "integer"
                        },
                        "dyspnea": {
                          "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.",
                          "type": "integer"
                        },
                        "oxygen_saturation": {
                          "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.",
                          "type": "integer"
                        },
                        "respiratory_rate": {
                          "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.",
                          "type": "integer"
                        },
                        "retractions": {
                          "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.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "respiratory_rate",
                        "oxygen_saturation",
                        "auscultation",
                        "retractions",
                        "dyspnea"
                      ],
                      "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": [
    "asthma",
    "pediatric",
    "respiratory",
    "qureshi",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T06:51:27.462Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T06:51:27.318Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "auscultation": 1,
                  "dyspnea": 1,
                  "oxygen_saturation": 1,
                  "respiratory_rate": 1,
                  "retractions": 1
                },
                {
                  "auscultation": 1,
                  "dyspnea": 1,
                  "oxygen_saturation": 1,
                  "respiratory_rate": 1,
                  "retractions": 1
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "asthma_band": "mild",
                  "auscultation": 1,
                  "citation": {
                    "authors": "Qureshi F, Pestian J, Davis P, Zaritsky A",
                    "doi": "10.1056/NEJM199810083391503",
                    "id": "qureshi-1998",
                    "source": "N Engl J Med. 1998;339(15):1030-1035",
                    "title": "Effect of nebulized ipratropium on the hospitalization rates of children with asthma"
                  },
                  "components": [
                    {
                      "factor": "respiratory_rate",
                      "points": 1,
                      "present": true,
                      "value": 1
                    },
                    {
                      "factor": "oxygen_saturation",
                      "points": 1,
                      "present": true,
                      "value": 1
                    },
                    {
                      "factor": "auscultation",
                      "points": 1,
                      "present": true,
                      "value": 1
                    },
                    {
                      "factor": "retractions",
                      "points": 1,
                      "present": true,
                      "value": 1
                    },
                    {
                      "factor": "dyspnea",
                      "points": 1,
                      "present": true,
                      "value": 1
                    }
                  ],
                  "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.",
                  "dyspnea": 1,
                  "formula": "pediatric_asthma_score",
                  "formula_expression": "Qureshi 1998 = respiratory_rate + oxygen_saturation + auscultation + retractions + dyspnea; each caller-assigned Table 1 integer 1-3; max 15; asthma_band mild 5-7, moderate 8-11, severe 12-15",
                  "max_score": 15,
                  "oxygen_saturation": 1,
                  "respiratory_rate": 1,
                  "retractions": 1,
                  "score": 5
                },
                {
                  "asthma_band": "mild",
                  "auscultation": 1,
                  "citation": {
                    "authors": "Qureshi F, Pestian J, Davis P, Zaritsky A",
                    "doi": "10.1056/NEJM199810083391503",
                    "id": "qureshi-1998",
                    "source": "N Engl J Med. 1998;339(15):1030-1035",
                    "title": "Effect of nebulized ipratropium on the hospitalization rates of children with asthma"
                  },
                  "components": [
                    {
                      "factor": "respiratory_rate",
                      "points": 1,
                      "present": true,
                      "value": 1
                    },
                    {
                      "factor": "oxygen_saturation",
                      "points": 1,
                      "present": true,
                      "value": 1
                    },
                    {
                      "factor": "auscultation",
                      "points": 1,
                      "present": true,
                      "value": 1
                    },
                    {
                      "factor": "retractions",
                      "points": 1,
                      "present": true,
                      "value": 1
                    },
                    {
                      "factor": "dyspnea",
                      "points": 1,
                      "present": true,
                      "value": 1
                    }
                  ],
                  "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.",
                  "dyspnea": 1,
                  "formula": "pediatric_asthma_score",
                  "formula_expression": "Qureshi 1998 = respiratory_rate + oxygen_saturation + auscultation + retractions + dyspnea; each caller-assigned Table 1 integer 1-3; max 15; asthma_band mild 5-7, moderate 8-11, severe 12-15",
                  "max_score": 15,
                  "oxygen_saturation": 1,
                  "respiratory_rate": 1,
                  "retractions": 1,
                  "score": 5
                }
              ],
              "path": "/api/calc/pediatric_asthma_score"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "auscultation": {
                            "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.",
                            "type": "integer"
                          },
                          "dyspnea": {
                            "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.",
                            "type": "integer"
                          },
                          "oxygen_saturation": {
                            "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.",
                            "type": "integer"
                          },
                          "respiratory_rate": {
                            "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.",
                            "type": "integer"
                          },
                          "retractions": {
                            "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.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "respiratory_rate",
                          "oxygen_saturation",
                          "auscultation",
                          "retractions",
                          "dyspnea"
                        ],
                        "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"
  }
}