# Gross Allowable Blood Loss Calculator (Dilution-Corrected)

> Gross Allowable Blood Loss Calculator (Dilution-Corrected) 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 Gross 1983 dilution-corrected allowable blood loss given caller-supplied estimated blood volume and initial versus target hematocrit values.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/allowable_blood_loss
- 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/gross-allowable-blood-loss-calculator-dilution-corrected-d246318a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ea5qIaFST5GQcBVqzEcZH

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 gross-allowable-blood-loss-calculator-dilution-corrected-d246318a
```

Example prompt: Calculate the dilution-corrected allowable blood loss for a patient with an estimated blood volume of 4500 mL, an initial hematocrit of 42%, and a target hematocrit of 24%.

## When to prefer this

Use this endpoint when you need a deterministic, citation-backed Gross 1983 dilution-corrected allowable blood loss calculation and you already have a caller-supplied estimated blood volume (the endpoint does not compute Nadler EBV). Prefer this over manual calculation or general-purpose LLM math when auditability, formula fidelity, and a published citation are required. Do not use this as a transfusion trigger or clinical order.

## Known failure modes

- hct_target_percent >= hct_initial_percent — target must be strictly less than initial
- estimated_blood_volume_ml outside 50–15000 mL range returns validation error
- hct_initial_percent or hct_target_percent outside 10–70% range returns validation error
- Missing required query parameters returns 400 error
- Payment not provided or insufficient USDC returns 402 error

## How this service works

Gross 1983 dilution-corrected allowable blood loss from caller-supplied estimated blood volume and initial versus target hematocrit. Deterministic published arithmetic with citation. Not a transfusion trigger or order. Does not compute Nadler EBV; does not use the uncorrected EBV*(Hi-Hf)/Hi form.

## Output

Returns the dilution-corrected allowable blood loss in mL computed using the Gross 1983 formula, along with a citation to the source publication. Does not include a Nadler EBV computation or use the uncorrected EBV*(Hi-Hf)/Hi form.

## 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": [
      "estimated_blood_volume_ml",
      "hct_initial_percent",
      "hct_target_percent"
     ],
     "properties": {
      "hct_target_percent": {
       "type": "number",
       "description": "Target hematocrit as a percent (10-70). Must be strictly less than hct_initial_percent."
      },
      "hct_initial_percent": {
       "type": "number",
       "description": "Initial hematocrit as a percent (10-70)."
      },
      "estimated_blood_volume_ml": {
       "type": "number",
       "description": "Caller-supplied estimated blood volume in mL (50-15000). Required. magent does not compute Nadler EBV."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "/api/calc/allowable_blood_loss",
  "count": 2,
  "items": [
   {
    "abl_ml": 1428.6,
    "formula": "gross_1983",
    "citation": {
     "id": "gross-1983",
     "doi": "10.1097/00000542-198303000-00016",
     "title": "Estimating allowable blood loss: corrected for dilution",
     "source": "Anesthesiology. 1983;58(3):277-280",
     "authors": "Gross JB"
    },
    "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_expression": "abl_ml = estimated_blood_volume_ml * (hct_initial_percent - hct_target_percent) / ((hct_initial_percent + hct_target_percent) / 2)",
    "hct_target_percent": 30,
    "hct_initial_percent": 40,
    "estimated_blood_volume_ml": 5000
   },
   {
    "abl_ml": 1428.6,
    "formula": "gross_1983",
    "citation": {
     "id": "gross-1983",
     "doi": "10.1097/00000542-198303000-00016",
     "title": "Estimating allowable blood loss: corrected for dilution",
     "source": "Anesthesiology. 1983;58(3):277-280",
     "authors": "Gross JB"
    },
    "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_expression": "abl_ml = estimated_blood_volume_ml * (hct_initial_percent - hct_target_percent) / ((hct_initial_percent + hct_target_percent) / 2)",
    "hct_target_percent": 30,
    "hct_initial_percent": 40,
    "estimated_blood_volume_ml": 5000
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gross-allowable-blood-loss-calculator-dilution-corrected-d246318a/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)
