{
  "x402Version": 2,
  "id": 39079,
  "slug": "39079",
  "resource": "https://api.magentlab.com/api/calc/pts",
  "description": "Pediatric Trauma Score from Tepas 1987: six caller-assigned items (weight, airway, systolic BP, CNS, skeletal, wound), each +2 / +1 / −1, total −6 to +12 (higher is better). Returns score_le_8 because scores ≤8 were associated with significant mortality and trauma-center care. Deterministic published arithmetic with citation; not ISS or RTS; not a triage order. magent does not examine the child.",
  "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": [
              {
                "airway": "normal",
                "cns": "awake",
                "skeletal": "none",
                "systolic_mm_hg": 100,
                "weight_kg": 25,
                "weight_lb": 55.1156,
                "wound": "none"
              },
              {
                "airway": "normal",
                "cns": "awake",
                "skeletal": "none",
                "systolic_mm_hg": 100,
                "weight_kg": 25,
                "weight_lb": 55.1156,
                "wound": "none"
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "airway": "normal",
                "citation": {
                  "authors": "Tepas JJ, Mollitt DL, Talbert JL, Bryant M",
                  "doi": "10.1016/s0022-3468(87)80006-4",
                  "id": "tepas-1987",
                  "pmid": "3102714",
                  "source": "J Pediatr Surg. 1987;22(1):14-18",
                  "title": "The pediatric trauma score as a predictor of injury severity in the injured child"
                },
                "cns": "awake",
                "components": [
                  {
                    "factor": "weight_kg",
                    "points": 2,
                    "present": true,
                    "value": 25
                  },
                  {
                    "factor": "airway",
                    "points": 2,
                    "present": true,
                    "value": "normal"
                  },
                  {
                    "factor": "systolic_mm_hg",
                    "points": 2,
                    "present": true,
                    "value": 100
                  },
                  {
                    "factor": "cns",
                    "points": 2,
                    "present": true,
                    "value": "awake"
                  },
                  {
                    "factor": "skeletal",
                    "points": 2,
                    "present": true,
                    "value": "none"
                  },
                  {
                    "factor": "wound",
                    "points": 2,
                    "present": true,
                    "value": "none"
                  }
                ],
                "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": "pts",
                "formula_expression": "PTS = weight_points + airway_points + sbp_points + cns_points + skeletal_points + wound_points; Tepas 1987; each +2/+1/−1; total −6 to +12",
                "max_score": 12,
                "min_score": -6,
                "score": 12,
                "score_le_8": false,
                "skeletal": "none",
                "systolic_mm_hg": 100,
                "weight_kg": 25,
                "wound": "none"
              },
              {
                "airway": "normal",
                "citation": {
                  "authors": "Tepas JJ, Mollitt DL, Talbert JL, Bryant M",
                  "doi": "10.1016/s0022-3468(87)80006-4",
                  "id": "tepas-1987",
                  "pmid": "3102714",
                  "source": "J Pediatr Surg. 1987;22(1):14-18",
                  "title": "The pediatric trauma score as a predictor of injury severity in the injured child"
                },
                "cns": "awake",
                "components": [
                  {
                    "factor": "weight_kg",
                    "points": 2,
                    "present": true,
                    "value": 25
                  },
                  {
                    "factor": "airway",
                    "points": 2,
                    "present": true,
                    "value": "normal"
                  },
                  {
                    "factor": "systolic_mm_hg",
                    "points": 2,
                    "present": true,
                    "value": 100
                  },
                  {
                    "factor": "cns",
                    "points": 2,
                    "present": true,
                    "value": "awake"
                  },
                  {
                    "factor": "skeletal",
                    "points": 2,
                    "present": true,
                    "value": "none"
                  },
                  {
                    "factor": "wound",
                    "points": 2,
                    "present": true,
                    "value": "none"
                  }
                ],
                "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": "pts",
                "formula_expression": "PTS = weight_points + airway_points + sbp_points + cns_points + skeletal_points + wound_points; Tepas 1987; each +2/+1/−1; total −6 to +12",
                "max_score": 12,
                "min_score": -6,
                "score": 12,
                "score_le_8": false,
                "skeletal": "none",
                "systolic_mm_hg": 100,
                "weight_kg": 25,
                "wound": "none"
              }
            ],
            "path": "/api/calc/pts"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "airway": {
                          "description": "Caller-assigned airway (normal, maintainable, or unmaintainable). Tepas 1987: normal → +2, maintainable → +1, unmaintainable → −1. magent does not examine the airway.",
                          "enum": [
                            "normal",
                            "maintainable",
                            "unmaintainable"
                          ],
                          "type": "string"
                        },
                        "cns": {
                          "description": "Caller-assigned CNS (awake, obtunded, or coma). Tepas 1987: awake → +2, obtunded → +1, coma → −1. magent does not examine the child.",
                          "enum": [
                            "awake",
                            "obtunded",
                            "coma"
                          ],
                          "type": "string"
                        },
                        "skeletal": {
                          "description": "Caller-assigned skeletal injury (none, closed, or open_or_multiple). Tepas 1987: none → +2, closed → +1, open_or_multiple → −1. magent does not assign fractures.",
                          "enum": [
                            "none",
                            "closed",
                            "open_or_multiple"
                          ],
                          "type": "string"
                        },
                        "systolic_mm_hg": {
                          "description": "Systolic blood pressure in mm Hg (integer 0-300). Tepas 1987: >90 → +2; 50-90 inclusive → +1; <50 → −1. 0 is a published −1 band.",
                          "type": "integer"
                        },
                        "weight_kg": {
                          "description": "Weight in kilograms (1-500), the Tepas 1987 size item. Provide weight_kg or weight_lb. >20 → +2; 10-20 inclusive → +1; <10 → −1.",
                          "type": "number"
                        },
                        "weight_lb": {
                          "description": "Weight in pounds (2-1100). Converted as kg = lb * 0.45359237.",
                          "type": "number"
                        },
                        "wound": {
                          "description": "Caller-assigned cutaneous wound (none, minor, or major). Tepas 1987: none → +2, minor → +1, major → −1. magent does not inspect wounds.",
                          "enum": [
                            "none",
                            "minor",
                            "major"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "airway",
                        "systolic_mm_hg",
                        "cns",
                        "skeletal",
                        "wound"
                      ],
                      "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": [
    "pts",
    "pediatric-trauma",
    "trauma",
    "emergency",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T07:01:13.407Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T07:01:13.288Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "airway": "normal",
                  "cns": "awake",
                  "skeletal": "none",
                  "systolic_mm_hg": 100,
                  "weight_kg": 25,
                  "weight_lb": 55.1156,
                  "wound": "none"
                },
                {
                  "airway": "normal",
                  "cns": "awake",
                  "skeletal": "none",
                  "systolic_mm_hg": 100,
                  "weight_kg": 25,
                  "weight_lb": 55.1156,
                  "wound": "none"
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "airway": "normal",
                  "citation": {
                    "authors": "Tepas JJ, Mollitt DL, Talbert JL, Bryant M",
                    "doi": "10.1016/s0022-3468(87)80006-4",
                    "id": "tepas-1987",
                    "pmid": "3102714",
                    "source": "J Pediatr Surg. 1987;22(1):14-18",
                    "title": "The pediatric trauma score as a predictor of injury severity in the injured child"
                  },
                  "cns": "awake",
                  "components": [
                    {
                      "factor": "weight_kg",
                      "points": 2,
                      "present": true,
                      "value": 25
                    },
                    {
                      "factor": "airway",
                      "points": 2,
                      "present": true,
                      "value": "normal"
                    },
                    {
                      "factor": "systolic_mm_hg",
                      "points": 2,
                      "present": true,
                      "value": 100
                    },
                    {
                      "factor": "cns",
                      "points": 2,
                      "present": true,
                      "value": "awake"
                    },
                    {
                      "factor": "skeletal",
                      "points": 2,
                      "present": true,
                      "value": "none"
                    },
                    {
                      "factor": "wound",
                      "points": 2,
                      "present": true,
                      "value": "none"
                    }
                  ],
                  "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": "pts",
                  "formula_expression": "PTS = weight_points + airway_points + sbp_points + cns_points + skeletal_points + wound_points; Tepas 1987; each +2/+1/−1; total −6 to +12",
                  "max_score": 12,
                  "min_score": -6,
                  "score": 12,
                  "score_le_8": false,
                  "skeletal": "none",
                  "systolic_mm_hg": 100,
                  "weight_kg": 25,
                  "wound": "none"
                },
                {
                  "airway": "normal",
                  "citation": {
                    "authors": "Tepas JJ, Mollitt DL, Talbert JL, Bryant M",
                    "doi": "10.1016/s0022-3468(87)80006-4",
                    "id": "tepas-1987",
                    "pmid": "3102714",
                    "source": "J Pediatr Surg. 1987;22(1):14-18",
                    "title": "The pediatric trauma score as a predictor of injury severity in the injured child"
                  },
                  "cns": "awake",
                  "components": [
                    {
                      "factor": "weight_kg",
                      "points": 2,
                      "present": true,
                      "value": 25
                    },
                    {
                      "factor": "airway",
                      "points": 2,
                      "present": true,
                      "value": "normal"
                    },
                    {
                      "factor": "systolic_mm_hg",
                      "points": 2,
                      "present": true,
                      "value": 100
                    },
                    {
                      "factor": "cns",
                      "points": 2,
                      "present": true,
                      "value": "awake"
                    },
                    {
                      "factor": "skeletal",
                      "points": 2,
                      "present": true,
                      "value": "none"
                    },
                    {
                      "factor": "wound",
                      "points": 2,
                      "present": true,
                      "value": "none"
                    }
                  ],
                  "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": "pts",
                  "formula_expression": "PTS = weight_points + airway_points + sbp_points + cns_points + skeletal_points + wound_points; Tepas 1987; each +2/+1/−1; total −6 to +12",
                  "max_score": 12,
                  "min_score": -6,
                  "score": 12,
                  "score_le_8": false,
                  "skeletal": "none",
                  "systolic_mm_hg": 100,
                  "weight_kg": 25,
                  "wound": "none"
                }
              ],
              "path": "/api/calc/pts"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "airway": {
                            "description": "Caller-assigned airway (normal, maintainable, or unmaintainable). Tepas 1987: normal → +2, maintainable → +1, unmaintainable → −1. magent does not examine the airway.",
                            "enum": [
                              "normal",
                              "maintainable",
                              "unmaintainable"
                            ],
                            "type": "string"
                          },
                          "cns": {
                            "description": "Caller-assigned CNS (awake, obtunded, or coma). Tepas 1987: awake → +2, obtunded → +1, coma → −1. magent does not examine the child.",
                            "enum": [
                              "awake",
                              "obtunded",
                              "coma"
                            ],
                            "type": "string"
                          },
                          "skeletal": {
                            "description": "Caller-assigned skeletal injury (none, closed, or open_or_multiple). Tepas 1987: none → +2, closed → +1, open_or_multiple → −1. magent does not assign fractures.",
                            "enum": [
                              "none",
                              "closed",
                              "open_or_multiple"
                            ],
                            "type": "string"
                          },
                          "systolic_mm_hg": {
                            "description": "Systolic blood pressure in mm Hg (integer 0-300). Tepas 1987: >90 → +2; 50-90 inclusive → +1; <50 → −1. 0 is a published −1 band.",
                            "type": "integer"
                          },
                          "weight_kg": {
                            "description": "Weight in kilograms (1-500), the Tepas 1987 size item. Provide weight_kg or weight_lb. >20 → +2; 10-20 inclusive → +1; <10 → −1.",
                            "type": "number"
                          },
                          "weight_lb": {
                            "description": "Weight in pounds (2-1100). Converted as kg = lb * 0.45359237.",
                            "type": "number"
                          },
                          "wound": {
                            "description": "Caller-assigned cutaneous wound (none, minor, or major). Tepas 1987: none → +2, minor → +1, major → −1. magent does not inspect wounds.",
                            "enum": [
                              "none",
                              "minor",
                              "major"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "airway",
                          "systolic_mm_hg",
                          "cns",
                          "skeletal",
                          "wound"
                        ],
                        "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"
  }
}