# TASH Score Calculator (Trauma Associated Severe Hemorrhage)

> TASH Score Calculator (Trauma Associated Severe Hemorrhage) 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-15).

Computes the Yücel 2006 TASH score from seven caller-supplied trauma parameters to estimate likelihood of massive transfusion need

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/tash
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tash-score-calculator-trauma-associated-severe-hemorrhage-9f2df5fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xH-9nc8B59UeTw0D44m6T

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 tash-score-calculator-trauma-associated-severe-hemorrhage-9f2df5fe
```

Example prompt: Calculate the TASH score for a male trauma patient with an arrival SBP of 90 mmHg, heart rate of 130 bpm, hemoglobin of 8.5 g/dL, base excess of -8 mmol/L, positive FAST for intra-abdominal fluid, and a pelvic fracture with AIS 4.

## When to prefer this

Use this endpoint when you need a deterministic, citation-backed TASH score per the Yücel 2006 paper and the caller is supplying pre-assigned FAST results and AIS values. Prefer this over ABC (Assessment of Blood Consumption) when you have lab values (hemoglobin, base excess) available. Do not use this as a substitute for MTP activation orders or transfusion decisions — it is a scoring aid only.

## Known failure modes

- Missing required parameters (systolic_mm_hg, intra_abdominal_fluid, fracture_ais, heart_rate_bpm, base_excess_mmol_l, sex) returns a validation error
- Supplying both hemoglobin_g_l and hemoglobin_g_dl simultaneously returns an error
- fracture_ais value not in {0, 3, 4, 5} returns a validation error
- Out-of-range vitals (e.g. heart rate outside 30–220, SBP outside 0–300) return a validation error
- Payment not attached or insufficient USDC returns HTTP 402

## How this service works

Yücel 2006 TASH (Trauma Associated Severe Hemorrhage): seven independent nested less-than point bands for arrival SBP, hemoglobin, intra-abdominal fluid, complex long-bone/pelvic fracture AIS, heart rate, base excess, and male sex; max 28. Highest matching band only (do not stack). Deterministic published arithmetic with citation; not a transfusion or MTP order; not ABC (assessment of blood consumption). Caller assigns FAST and AIS; magent does not read imaging.

## Output

Returns the computed TASH total score (0–28) along with the individual band score for each of the seven parameters (SBP, hemoglobin, intra-abdominal fluid, fracture AIS, heart rate, base excess, sex). Each parameter reflects only the highest matching nested band per the Yücel 2006 published algorithm. The score is deterministic arithmetic and is not a transfusion order or MTP activation.

## 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": [
      "systolic_mm_hg",
      "intra_abdominal_fluid",
      "fracture_ais",
      "heart_rate_bpm",
      "base_excess_mmol_l",
      "sex"
     ],
     "properties": {
      "sex": {
       "type": "string",
       "description": "Sex as assigned by the caller. male scores 1; female scores 0."
      },
      "fracture_ais": {
       "type": "integer",
       "description": "Caller-assigned AIS for complex long bone and/or pelvic fractures. Must be 0 (none), 3, 4, or 5. 3 or 4 scores 3; 5 scores 6. magent does not assign AIS from imaging."
      },
      "heart_rate_bpm": {
       "type": "integer",
       "description": "Arrival heart rate in beats per minute (integer 30-220). >120 scores 2; 120 does not."
      },
      "hemoglobin_g_l": {
       "type": "number",
       "description": "Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both."
      },
      "systolic_mm_hg": {
       "type": "integer",
       "description": "Arrival systolic blood pressure in mm Hg (integer 0-300). Nested less-than: <100 scores 4; <120 (and not <100) scores 1; ≥120 scores 0. Highest matching band only."
      },
      "hemoglobin_g_dl": {
       "type": "number",
       "description": "Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. Nested less-than: <7 scores 8; <9 scores 6; <10 scores 4; <11 scores 3; <12 scores 2; ≥12 scores 0. Highest matching band only."
      },
      "base_excess_mmol_l": {
       "type": "number",
       "description": "Admission base excess in mmol/L (−30 to 20). Nested less-than: < −10 scores 4; < −6 scores 3; < −2 scores 1; ≥ −2 scores 0. Highest matching band only."
      },
      "intra_abdominal_fluid": {
       "type": "boolean",
       "description": "Intra-abdominal fluid (FAST) as assigned by the caller (Yücel 2006). true or false. true scores 3. magent does not interpret FAST images."

… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "/api/calc/tash",
  "count": 2,
  "items": [
   {
    "sex": "male",
    "score": 9,
    "formula": "tash",
    "citation": {
     "id": "yucel-2006",
     "doi": "10.1097/01.ta.0000220386.84012.bf",
     "pmid": "16766965",
     "title": "Trauma Associated Severe Hemorrhage (TASH)-Score: probability of mass transfusion as surrogate for life threatening hemorrhage after multiple trauma",
     "source": "J Trauma. 2006;60(6):1228-1236",
     "authors": "Yücel N, Lefering R, Maegele M, et al."
    },
    "max_score": 28,
    "components": [
     {
      "value": 110,
      "factor": "systolic",
      "points": 1,
      "present": true
     },
     {
      "value": 10.5,
      "factor": "hemoglobin",
      "points": 3,
      "present": true
     },
     {
      "factor": "intra_abdominal_fluid",
      "points": 0,
      "present": false
     },
     {
      "value": 3,
      "factor": "fracture_ais",
      "points": 3,
      "present": true
     },
     {
      "value": 110,
      "factor": "heart_rate",
      "points": 0,
      "present": false
     },
     {
      "value": -4,
      "factor": "base_excess",
      "points": 1,
      "present": true
     },
     {
      "value": "male",
      "factor": "male",
      "points": 1,
      "present": true
     }
    ],
    "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.",
    "fracture_ais": 3,
    "heart_rate_bpm": 110,
    "systolic_mm_hg": 110,
    "hemoglobin_g_dl": 10.5,
    "base_excess_mmol_l": -4,
    "formula_expression": "TASH = SBP (<100:4, <120:1) + Hb g/dL (<7:8, <9:6, <10:4, <11:3, <12:2) + intra-abdominal fluid 3 + fracture AIS (3-4:3, 5:6) + HR>120:2 + BE mmol/L (<-10:4, <-6:3, <-2:1) + male 1; nested less-than highest band only; max 28",
    "intra_abdominal_fluid": false
   },
   {
    "sex": "male",
    "score": 9,
    "formula": "tash",
    "citation": {
     "id": "yucel-2006",
     "doi": "10.1097/01.ta.0000220386.84012.bf",
     "pmid": "16766965",
     "title": "Trauma Associated Severe Hemorrhage (TASH)-Score: probability of mass transfusion as surrogate for life threatening hemorrhage after multiple trauma",
     "source": "J Trauma. 2006;60(6):1228-1236",
     "authors": "Yücel N, Lefering R, Maegele M, et al."
    },
    "max_score": 28,
    "components": [
     {
      "value": 110,
      "fact
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tash-score-calculator-trauma-associated-severe-hemorrhage-9f2df5fe/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)
