MAGENT

Infection / VTE · LIVE

PE-SARD bleeding score (Chopard)

PE-SARD

Sum the Chopard 2021 PE-SARD factors (syncope, anemia, renal dysfunction) and return the published early major-bleed risk band.

LIVE $0.005 USDC GET /api/calc/pe_sard

Markdown: /docs/pe-sard.md · Canonical: https://magentlab.com/docs/pe-sard

Not a medical device. Not a diagnosis, dose, or listing recommendation.

What it computes

Sum the Chopard 2021 PE-SARD factors (syncope, anemia, renal dysfunction) and return the published early major-bleed risk band.

When to use

When an agent needs the published PE-SARD point total and band for early major bleeding in acute PE and must not invent a PE diagnosis or anticoagulation decision.

When not to use

  • Not a medical device.
  • Not a PE diagnosis and not an anticoagulation order or treatment recommendation.
  • magent does not assay hemoglobin or compute GFR. Anemia (Chopard 2021: hemoglobin <12 g/dL) and renal dysfunction (GFR <60 mL/min) are caller-assigned flags.
  • Bands follow Chopard 2021: low (score 0), intermediate (1–2.5 inclusive), high (>2.5). JSON does not include unpublished intermediate observed bleed rates.

Formula

PE-SARD (Chopard 2021) = syncope (1.5) + anemia Hb<12 g/dL (2.5) + renal_dysfunction GFR<60 (1); max 5; 0 low, 1-2.5 intermediate, >2.5 high; half-points not integer-rounded

Citation

Title
An Original Risk Score to Predict Early Major Bleeding in Acute Pulmonary Embolism: The Syncope, Anemia, Renal Dysfunction (PE-SARD) Bleeding Score
Authors
Chopard R, Piazza G, Falvo N, Ecarnot F, Besutti M, Capellier G, Schiele F, Badoz M, Meneveau N
Source
Chest. 2021;160(5):1832-1843
DOI
10.1016/j.chest.2021.06.048

Worked example

All three flags false

Given: anemia=falserenal_dysfunction=falsesyncope=false

  1. syncope false → 0; anemia false → 0; renal_dysfunction false → 0
  2. Score = 0 (max 5); risk = low

All three flags true

Given: anemia=truerenal_dysfunction=truesyncope=true

  1. syncope true → 1.5; anemia true → 2.5; renal_dysfunction true → 1
  2. Score = 5 (max 5); risk = high

Also searched as

  • PE-SARD
  • PE SARD score
  • Chopard bleeding score
  • syncope anemia renal PE
  • pulmonary embolism bleed score
  • PE-SARD bleeding score
  • Chopard 2021 PE-SARD

Try

Opens the live endpoint. Unpaid browser requests show the paywall; agents should send Accept: application/json.

/api/calc/pe_sard?syncope=false&anemia=false&renal_dysfunction=false

Full URL: https://api.magentlab.com/api/calc/pe_sard?syncope=false&anemia=false&renal_dysfunction=false

Call

Expect HTTP 402 until you retry with PAYMENT-SIGNATURE. Incomplete query params return HTTP 400 before any quote or charge.

curl -i -H "Accept: application/json" "https://api.magentlab.com/api/calc/pe_sard?syncope=false&anemia=false&renal_dysfunction=false"

Parameters

Name Type Required Description
syncope boolean required Syncope as assigned by the caller (Chopard 2021). true scores 1.5. magent does not take a syncope history.
anemia boolean required Anemia as assigned by the caller (Chopard 2021: hemoglobin <12 g/dL). true scores 2.5. magent does not assay hemoglobin.
renal_dysfunction boolean required Renal dysfunction as assigned by the caller (Chopard 2021: GFR <60 mL/min). true scores 1. magent does not compute GFR.

Bulk (POST)

POST the same path with a JSON items array. The first item is the GET unit; each additional item is $0.002. Invalid items return HTTP 400 before settlement.

POST /api/calc/pe_sard Max 25 unit_amount + extra_item_amount * (n - 1) extra $0.002 PREVIEW

  • 1 to 25 items. Each item uses the same keys as the GET query parameters.
  • POST of 1 item costs the same as GET. Lists longer than 25: chunk into multiple POSTs. Extra items still execute; do not pad dummy rows.
  • The first invalid item fails the whole request (index in the 400 JSON). You are not charged.
  • HTTP 200 is {count, path, items}. Each items[i] is the GET 200 body for that row.
  • Catalog misses (empty matches, found=false) stay paid 200s inside that slot.
  • x402 resource URL is this path plus n and body_sha256. Browsers that prefer text/html get the same paywall as GET; Pay retries POST with the same items.

Example request (fixture)

{
  "items": [
    {
      "anemia": "false",
      "renal_dysfunction": "false",
      "syncope": "false"
    },
    {
      "anemia": "false",
      "renal_dysfunction": "false",
      "syncope": "false"
    }
  ]
}

Open bulk paywall →

Opens a two-item fixture on the API host. Unpaid browsers get the same MetaMask paywall as GET; Pay retries POST with those items.

Example 200 (fixture)

{
  "count": 2,
  "path": "/api/calc/pe_sard",
  "items": [
    {
      "components": [
        {
          "factor": "syncope",
          "points": 0.0,
          "present": false
        },
        {
          "factor": "anemia",
          "points": 0.0,
          "present": false
        },
        {
          "factor": "renal_dysfunction",
          "points": 0,
          "present": false
        }
      ],
      "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.",
      "citation": {
        "authors": "Chopard R, Piazza G, Falvo N, Ecarnot F, Besutti M, Capellier G, Schiele F, Badoz M, Meneveau N",
        "doi": "10.1016/j.chest.2021.06.048",
        "id": "chopard-2021",
        "pmid": "34217683",
        "source": "Chest. 2021;160(5):1832-1843",
        "title": "An Original Risk Score to Predict Early Major Bleeding in Acute Pulmonary Embolism: The Syncope, Anemia, Renal Dysfunction (PE-SARD) Bleeding Score"
      },
      "formula": "pe_sard",
      "formula_expression": "PE-SARD (Chopard 2021) = syncope (1.5) + anemia Hb<12 g/dL (2.5) + renal_dysfunction GFR<60 (1); max 5; 0 low, 1-2.5 intermediate, >2.5 high; half-points not integer-rounded",
      "max_score": 5,
      "score": 0,
      "risk": "low"
    },
    {
      "components": [
        {
          "factor": "syncope",
          "points": 0.0,
          "present": false
        },
        {
          "factor": "anemia",
          "points": 0.0,
          "present": false
        },
        {
          "factor": "renal_dysfunction",
          "points": 0,
          "present": false
        }
      ],
      "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.",
      "citation": {
        "authors": "Chopard R, Piazza G, Falvo N, Ecarnot F, Besutti M, Capellier G, Schiele F, Badoz M, Meneveau N",
        "doi": "10.1016/j.chest.2021.06.048",
        "id": "chopard-2021",
        "pmid": "34217683",
        "source": "Chest. 2021;160(5):1832-1843",
        "title": "An Original Risk Score to Predict Early Major Bleeding in Acute Pulmonary Embolism: The Syncope, Anemia, Renal Dysfunction (PE-SARD) Bleeding Score"
      },
      "formula": "pe_sard",
      "formula_expression": "PE-SARD (Chopard 2021) = syncope (1.5) + anemia Hb<12 g/dL (2.5) + renal_dysfunction GFR<60 (1); max 5; 0 low, 1-2.5 intermediate, >2.5 high; half-points not integer-rounded",
      "max_score": 5,
      "score": 0,
      "risk": "low"
    }
  ]
}

Response

Field Type Description
formula string pe_sard
formula_expression string Exact expression used
score number PE-SARD points 0-5 (half-points allowed; not integer-rounded)
max_score integer Always 5
risk string Chopard 2021 band: low (score 0), intermediate (1–2.5 inclusive), high (>2.5). Not a PE diagnosis and not an anticoagulation order.
components array Per-factor points
citation object Chopard et al. Chest 2021 citation
disclaimer string Not-a-device notice

Example JSON

Machine form of the same example. Frozen fixture. Not a live lookup.

{
  "components": [
    {
      "factor": "syncope",
      "points": 0.0,
      "present": false
    },
    {
      "factor": "anemia",
      "points": 0.0,
      "present": false
    },
    {
      "factor": "renal_dysfunction",
      "points": 0,
      "present": false
    }
  ],
  "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.",
  "citation": {
    "authors": "Chopard R, Piazza G, Falvo N, Ecarnot F, Besutti M, Capellier G, Schiele F, Badoz M, Meneveau N",
    "doi": "10.1016/j.chest.2021.06.048",
    "id": "chopard-2021",
    "pmid": "34217683",
    "source": "Chest. 2021;160(5):1832-1843",
    "title": "An Original Risk Score to Predict Early Major Bleeding in Acute Pulmonary Embolism: The Syncope, Anemia, Renal Dysfunction (PE-SARD) Bleeding Score"
  },
  "formula": "pe_sard",
  "formula_expression": "PE-SARD (Chopard 2021) = syncope (1.5) + anemia Hb<12 g/dL (2.5) + renal_dysfunction GFR<60 (1); max 5; 0 low, 1-2.5 intermediate, >2.5 high; half-points not integer-rounded",
  "max_score": 5,
  "score": 0,
  "risk": "low"
}

Client errors (HTTP 400)

Invalid params return 400 without charge. Shared HTTP 402 and 503 meanings: Payments.

HTTP Code When
400 invalid_pe_sard PE-SARD inputs must match Chopard 2021 syncope, anemia, and renal-dysfunction factors from that paper. Returned before settlement; you are not charged.
400 invalid_items POST body must be a JSON object with only an items array Returned before settlement; you are not charged.
400 invalid_item_count items must be an array of 1 to 25 objects Returned before settlement; you are not charged.
400 invalid_item each items entry must be a JSON object Returned before settlement; you are not charged.

Related tools

  • Wells PE — Compute the Wells pulmonary-embolism probability score and return three-tier and two-tier bands.
  • IMPROVE Bleed — Sum the Decousus 2011 IMPROVE admission bleeding-risk points from age, sex, renal-failure band, and eight caller-assigned flags, and return whether the published >=7 high-risk cutoff is met.

Payment

Unpaid requests return HTTP 402 even if query parameters or POST items are missing or invalid, so CDP and agents can index the path. After a PAYMENT-SIGNATURE, invalid params return HTTP 400 JSON before settlement. magent does not charge. Fix the params, then request a new 402 quote for that complete URL. Catalog misses (empty matches, found=false) are valid paid 200s. Unpaid valid requests return HTTP 402 with a base64 PAYMENT-REQUIRED header. HTTP 503 is not a new quote: retry the same PAYMENT-SIGNATURE. Full handshake and shared payment errors: Payments. Stdio MCP: /docs/mcp.

Guarantees

  • HTTP 402 is unpaid, including a missing query. After PAYMENT-SIGNATURE, invalid parameters return HTTP 400 before settlement. You are not charged. HTTP 402 never includes the tool JSON.
  • exact: settlement finishes before the tool (paymentFlow upfront). batch-settlement: verify/deposit before the tool; chargedCumulativeAmount commits after HTTP 2xx. Uncertain or failed settlement fails closed (HTTP 503). Retry the same PAYMENT-SIGNATURE.
  • HTTP 402 is unpaid only. Do not sign a second authorization because of a 503.
  • Execution is timeout-bounded and concurrency-capped.
  • Calculator inputs are stored encrypted for allowlisted operators (Magent Console). They are not in public logs, SSH lookups, catalog, or rollups. Request logs store path without query.