{
  "x402Version": 2,
  "id": 38894,
  "slug": "38894",
  "resource": "https://api.magentlab.com/api/calc/triss",
  "description": "TRISS (Boyd 1987): probability of survival from a caller-assigned Champion weighted RTS (0.0-7.8408), ISS (1-75), age (AgeIndex 0 if age < 55 else 1), and blunt or penetrating mechanism using original MTOS coefficients. Deterministic published arithmetic with citation. Not a triage order; not NISS; not ASCOT; not Champion 1995 revised coefficients.",
  "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": [
              {
                "age": 30,
                "iss": 9,
                "mechanism": "blunt",
                "rts": 7.8408
              },
              {
                "age": 30,
                "iss": 9,
                "mechanism": "blunt",
                "rts": 7.8408
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age": 30,
                "age_index": 0,
                "b": 5.5451,
                "citation": {
                  "authors": "Boyd CR, Tolson MA, Copes WS",
                  "doi": "10.1097/00005373-198704000-00005",
                  "id": "boyd-1987",
                  "pmid": "3106646",
                  "source": "J Trauma. 1987;27(4):370-378",
                  "title": "Evaluating trauma care: the TRISS method. Trauma Score and the Injury Severity Score"
                },
                "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": "triss",
                "formula_expression": "Ps = 1 / (1 + e^(-b)); AgeIndex = 0 if age < 55 else 1; blunt: b = -1.2470 + 0.9544*RTS - 0.0768*ISS - 1.9052*AgeIndex; penetrating: b = -0.6029 + 1.1430*RTS - 0.1516*ISS - 2.6676*AgeIndex (Boyd 1987 original MTOS)",
                "iss": 9,
                "mechanism": "blunt",
                "rts": 7.8408,
                "survival_probability": 0.9961
              },
              {
                "age": 30,
                "age_index": 0,
                "b": 5.5451,
                "citation": {
                  "authors": "Boyd CR, Tolson MA, Copes WS",
                  "doi": "10.1097/00005373-198704000-00005",
                  "id": "boyd-1987",
                  "pmid": "3106646",
                  "source": "J Trauma. 1987;27(4):370-378",
                  "title": "Evaluating trauma care: the TRISS method. Trauma Score and the Injury Severity Score"
                },
                "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": "triss",
                "formula_expression": "Ps = 1 / (1 + e^(-b)); AgeIndex = 0 if age < 55 else 1; blunt: b = -1.2470 + 0.9544*RTS - 0.0768*ISS - 1.9052*AgeIndex; penetrating: b = -0.6029 + 1.1430*RTS - 0.1516*ISS - 2.6676*AgeIndex (Boyd 1987 original MTOS)",
                "iss": 9,
                "mechanism": "blunt",
                "rts": 7.8408,
                "survival_probability": 0.9961
              }
            ],
            "path": "/api/calc/triss"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "age": {
                          "description": "Age in whole years 1-120. AgeIndex is 0 if age < 55 and 1 if age >= 55 (Boyd 1987).",
                          "type": "integer"
                        },
                        "iss": {
                          "description": "Caller-assigned Injury Severity Score integer 1-75. magent does not compute ISS from AIS here.",
                          "type": "integer"
                        },
                        "mechanism": {
                          "description": "blunt or penetrating. Selects the Boyd 1987 original MTOS coefficient set. Required; magent does not infer mechanism.",
                          "enum": [
                            "blunt",
                            "penetrating"
                          ],
                          "type": "string"
                        },
                        "rts": {
                          "description": "Caller-assigned Champion weighted Revised Trauma Score (number 0.0-7.8408). magent does not recode GCS, SBP, or respiratory rate here.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "mechanism",
                        "rts",
                        "iss",
                        "age"
                      ],
                      "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": [
    "triss",
    "trauma",
    "rts",
    "iss",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T15:47:05.331Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T15:47:04.637Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 30,
                  "iss": 9,
                  "mechanism": "blunt",
                  "rts": 7.8408
                },
                {
                  "age": 30,
                  "iss": 9,
                  "mechanism": "blunt",
                  "rts": 7.8408
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age": 30,
                  "age_index": 0,
                  "b": 5.5451,
                  "citation": {
                    "authors": "Boyd CR, Tolson MA, Copes WS",
                    "doi": "10.1097/00005373-198704000-00005",
                    "id": "boyd-1987",
                    "pmid": "3106646",
                    "source": "J Trauma. 1987;27(4):370-378",
                    "title": "Evaluating trauma care: the TRISS method. Trauma Score and the Injury Severity Score"
                  },
                  "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": "triss",
                  "formula_expression": "Ps = 1 / (1 + e^(-b)); AgeIndex = 0 if age < 55 else 1; blunt: b = -1.2470 + 0.9544*RTS - 0.0768*ISS - 1.9052*AgeIndex; penetrating: b = -0.6029 + 1.1430*RTS - 0.1516*ISS - 2.6676*AgeIndex (Boyd 1987 original MTOS)",
                  "iss": 9,
                  "mechanism": "blunt",
                  "rts": 7.8408,
                  "survival_probability": 0.9961
                },
                {
                  "age": 30,
                  "age_index": 0,
                  "b": 5.5451,
                  "citation": {
                    "authors": "Boyd CR, Tolson MA, Copes WS",
                    "doi": "10.1097/00005373-198704000-00005",
                    "id": "boyd-1987",
                    "pmid": "3106646",
                    "source": "J Trauma. 1987;27(4):370-378",
                    "title": "Evaluating trauma care: the TRISS method. Trauma Score and the Injury Severity Score"
                  },
                  "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": "triss",
                  "formula_expression": "Ps = 1 / (1 + e^(-b)); AgeIndex = 0 if age < 55 else 1; blunt: b = -1.2470 + 0.9544*RTS - 0.0768*ISS - 1.9052*AgeIndex; penetrating: b = -0.6029 + 1.1430*RTS - 0.1516*ISS - 2.6676*AgeIndex (Boyd 1987 original MTOS)",
                  "iss": 9,
                  "mechanism": "blunt",
                  "rts": 7.8408,
                  "survival_probability": 0.9961
                }
              ],
              "path": "/api/calc/triss"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "age": {
                            "description": "Age in whole years 1-120. AgeIndex is 0 if age < 55 and 1 if age >= 55 (Boyd 1987).",
                            "type": "integer"
                          },
                          "iss": {
                            "description": "Caller-assigned Injury Severity Score integer 1-75. magent does not compute ISS from AIS here.",
                            "type": "integer"
                          },
                          "mechanism": {
                            "description": "blunt or penetrating. Selects the Boyd 1987 original MTOS coefficient set. Required; magent does not infer mechanism.",
                            "enum": [
                              "blunt",
                              "penetrating"
                            ],
                            "type": "string"
                          },
                          "rts": {
                            "description": "Caller-assigned Champion weighted Revised Trauma Score (number 0.0-7.8408). magent does not recode GCS, SBP, or respiratory rate here.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "mechanism",
                          "rts",
                          "iss",
                          "age"
                        ],
                        "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"
  }
}