{
  "x402Version": 2,
  "id": 38949,
  "slug": "38949",
  "resource": "https://api.magentlab.com/api/calc/pram",
  "description": "Chalut 2000 Preschool Respiratory Assessment Measure (PRAM): five caller-assigned items — oxygen_sat_points (0/1/2), suprasternal retractions (0/2), scalene contraction (0/2), air_entry (0-3), and wheezing (0-3). magent sums only (max 12) and does not auscultate or measure saturation. Score only; no invented mild/moderate/severe bands. Not a diagnosis and not the Westley 1978 croup score.",
  "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": [
              {
                "air_entry": 0,
                "oxygen_sat_points": 0,
                "scalene": 0,
                "suprasternal": 0,
                "wheezing": 0
              },
              {
                "air_entry": 0,
                "oxygen_sat_points": 0,
                "scalene": 0,
                "suprasternal": 0,
                "wheezing": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Chalut DS, Ducharme FM, Davis GM",
                  "doi": "10.1067/mpd.2000.110562",
                  "id": "chalut-2000",
                  "pmid": "11113831",
                  "source": "J Pediatr. 2000;137(6):762-768",
                  "title": "The Preschool Respiratory Assessment Measure (PRAM): a responsive index of acute asthma severity"
                },
                "components": [
                  {
                    "factor": "oxygen_sat_points",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "suprasternal",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "scalene",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "air_entry",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "wheezing",
                    "points": 0,
                    "present": true,
                    "value": 0
                  }
                ],
                "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": "pram",
                "formula_expression": "PRAM = oxygen_sat_points + suprasternal + scalene + air_entry + wheezing; Chalut 2000 caller-assigned points; oxygen_sat_points 0/1/2, suprasternal 0/2, scalene 0/2, air_entry 0-3, wheezing 0-3; max 12",
                "max_score": 12,
                "score": 0
              },
              {
                "citation": {
                  "authors": "Chalut DS, Ducharme FM, Davis GM",
                  "doi": "10.1067/mpd.2000.110562",
                  "id": "chalut-2000",
                  "pmid": "11113831",
                  "source": "J Pediatr. 2000;137(6):762-768",
                  "title": "The Preschool Respiratory Assessment Measure (PRAM): a responsive index of acute asthma severity"
                },
                "components": [
                  {
                    "factor": "oxygen_sat_points",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "suprasternal",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "scalene",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "air_entry",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "wheezing",
                    "points": 0,
                    "present": true,
                    "value": 0
                  }
                ],
                "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": "pram",
                "formula_expression": "PRAM = oxygen_sat_points + suprasternal + scalene + air_entry + wheezing; Chalut 2000 caller-assigned points; oxygen_sat_points 0/1/2, suprasternal 0/2, scalene 0/2, air_entry 0-3, wheezing 0-3; max 12",
                "max_score": 12,
                "score": 0
              }
            ],
            "path": "/api/calc/pram"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "air_entry": {
                          "description": "Caller-assigned Chalut 2000 PRAM air entry (integer 0, 1, 2, or 3): 0 normal; 1 decreased at the base; 2 decreased at the apex and base; 3 minimal or absent. magent does not auscultate.",
                          "type": "integer"
                        },
                        "oxygen_sat_points": {
                          "description": "Caller-assigned Chalut 2000 PRAM oxygen saturation points (integer 0, 1, or 2): 0 if ≥95%; 1 if 92-94%; 2 if <92%. magent does not measure oxygen saturation.",
                          "type": "integer"
                        },
                        "scalene": {
                          "description": "Caller-assigned Chalut 2000 PRAM scalene muscle contraction (integer 0 or 2): 0 absent; 2 present. Not 1. magent does not examine the patient.",
                          "type": "integer"
                        },
                        "suprasternal": {
                          "description": "Caller-assigned Chalut 2000 PRAM suprasternal retractions (integer 0 or 2): 0 absent; 2 present. Not 1. magent does not examine the patient.",
                          "type": "integer"
                        },
                        "wheezing": {
                          "description": "Caller-assigned Chalut 2000 PRAM wheezing (integer 0, 1, 2, or 3): 0 absent; 1 expiratory only; 2 inspiratory with or without expiratory; 3 audible without a stethoscope or silent chest. magent does not auscultate.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "oxygen_sat_points",
                        "suprasternal",
                        "scalene",
                        "air_entry",
                        "wheezing"
                      ],
                      "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": [
    "pram",
    "asthma",
    "respiratory",
    "pediatric",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T11:27:03.605Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T11:27:03.472Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "air_entry": 0,
                  "oxygen_sat_points": 0,
                  "scalene": 0,
                  "suprasternal": 0,
                  "wheezing": 0
                },
                {
                  "air_entry": 0,
                  "oxygen_sat_points": 0,
                  "scalene": 0,
                  "suprasternal": 0,
                  "wheezing": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Chalut DS, Ducharme FM, Davis GM",
                    "doi": "10.1067/mpd.2000.110562",
                    "id": "chalut-2000",
                    "pmid": "11113831",
                    "source": "J Pediatr. 2000;137(6):762-768",
                    "title": "The Preschool Respiratory Assessment Measure (PRAM): a responsive index of acute asthma severity"
                  },
                  "components": [
                    {
                      "factor": "oxygen_sat_points",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "suprasternal",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "scalene",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "air_entry",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "wheezing",
                      "points": 0,
                      "present": true,
                      "value": 0
                    }
                  ],
                  "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": "pram",
                  "formula_expression": "PRAM = oxygen_sat_points + suprasternal + scalene + air_entry + wheezing; Chalut 2000 caller-assigned points; oxygen_sat_points 0/1/2, suprasternal 0/2, scalene 0/2, air_entry 0-3, wheezing 0-3; max 12",
                  "max_score": 12,
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "Chalut DS, Ducharme FM, Davis GM",
                    "doi": "10.1067/mpd.2000.110562",
                    "id": "chalut-2000",
                    "pmid": "11113831",
                    "source": "J Pediatr. 2000;137(6):762-768",
                    "title": "The Preschool Respiratory Assessment Measure (PRAM): a responsive index of acute asthma severity"
                  },
                  "components": [
                    {
                      "factor": "oxygen_sat_points",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "suprasternal",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "scalene",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "air_entry",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "wheezing",
                      "points": 0,
                      "present": true,
                      "value": 0
                    }
                  ],
                  "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": "pram",
                  "formula_expression": "PRAM = oxygen_sat_points + suprasternal + scalene + air_entry + wheezing; Chalut 2000 caller-assigned points; oxygen_sat_points 0/1/2, suprasternal 0/2, scalene 0/2, air_entry 0-3, wheezing 0-3; max 12",
                  "max_score": 12,
                  "score": 0
                }
              ],
              "path": "/api/calc/pram"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "air_entry": {
                            "description": "Caller-assigned Chalut 2000 PRAM air entry (integer 0, 1, 2, or 3): 0 normal; 1 decreased at the base; 2 decreased at the apex and base; 3 minimal or absent. magent does not auscultate.",
                            "type": "integer"
                          },
                          "oxygen_sat_points": {
                            "description": "Caller-assigned Chalut 2000 PRAM oxygen saturation points (integer 0, 1, or 2): 0 if ≥95%; 1 if 92-94%; 2 if <92%. magent does not measure oxygen saturation.",
                            "type": "integer"
                          },
                          "scalene": {
                            "description": "Caller-assigned Chalut 2000 PRAM scalene muscle contraction (integer 0 or 2): 0 absent; 2 present. Not 1. magent does not examine the patient.",
                            "type": "integer"
                          },
                          "suprasternal": {
                            "description": "Caller-assigned Chalut 2000 PRAM suprasternal retractions (integer 0 or 2): 0 absent; 2 present. Not 1. magent does not examine the patient.",
                            "type": "integer"
                          },
                          "wheezing": {
                            "description": "Caller-assigned Chalut 2000 PRAM wheezing (integer 0, 1, 2, or 3): 0 absent; 1 expiratory only; 2 inspiratory with or without expiratory; 3 audible without a stethoscope or silent chest. magent does not auscultate.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "oxygen_sat_points",
                          "suprasternal",
                          "scalene",
                          "air_entry",
                          "wheezing"
                        ],
                        "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"
  }
}