Infection / VTE · LIVE
IMPEDE VTE score
IMPEDE VTE
Compute the Sanfilippo 2019 IMPEDE VTE score for venous thromboembolism in multiple myeloma from caller-assigned Table 3 factors and return the published 6-month risk group.
Markdown: /docs/impede-vte.md · Canonical: https://magentlab.com/docs/impede-vte
Not a medical device. Not a diagnosis, dose, or listing recommendation.
What it computes
Compute the Sanfilippo 2019 IMPEDE VTE score for venous thromboembolism in multiple myeloma from caller-assigned Table 3 factors and return the published 6-month risk group.
When to use
When an agent needs the published Sanfilippo 2019 IMPEDE VTE score for a patient with multiple myeloma and must not substitute Khorana or SAVED, invent a prophylaxis order, or assign race or ethnicity.
When not to use
- Not a medical device.
- Not a diagnosis of VTE. magent does not diagnose venous thromboembolism.
- Not a prophylaxis order. This tool does not recommend a drug or start thromboprophylaxis.
- Not SAVED. Not Khorana. This tool is Sanfilippo 2019 Table 3 IMPEDE VTE only.
- Caller-assigned Asian/Pacific Islander as used in Sanfilippo 2019. magent does not assign race or ethnicity.
- bmi_ge_25 is a caller-assigned BMI ≥25 kg/m2 flag; magent does not compute BMI from height or weight.
- Dexamethasone high is total monthly dosing >160 mg as in Sanfilippo 2019; not the NCCN ≥480 mg definition. none is not on dexamethasone (0 points).
- Score is not clamped at zero. Risk groups are derivation 6-month cumulative incidence: ≤3 low 3.3%, 4-7 intermediate 8.3%, ≥8 high 15.2%.
Formula
IMPEDE VTE (Sanfilippo 2019 Table 3) = imid (4) + bmi_ge_25 (1) + pelvic_hip_femur_fracture (4) + esa (1) + doxorubicin (3) + dexamethasone (none 0, low 2, high 4; high if total monthly dosing >160 mg) + asian_pacific_islander (-3) + vte_history (5) + tunneled_line (2) + thromboprophylaxis (none 0, prophylactic -3, therapeutic -4); unclamped; <=3 low 3.3%, 4-7 intermediate 8.3%, >=8 high 15.2%
Citation
- Authors
- Sanfilippo KM, Luo S, Wang TF, Fiala M, Schoen M, Wildes TM, Mikhael J, Kuderer NM, Calverley DC, Keller J, Thomas T, Carson KR, Gage BF
- Source
- Am J Hematol. 2019;94(11):1176-1184
Worked example
All factors absent
Given:
asian_pacific_islander=falsebmi_ge_25=falsedexamethasone=nonedoxorubicin=falseesa=falseimid=falsepelvic_hip_femur_fracture=falsethromboprophylaxis=nonetunneled_line=falsevte_history=false
- All flags false; dexamethasone none; thromboprophylaxis none
- Score = 0 (unclamped); risk low; six_month_vte_percent 3.3
IMiD plus pelvic, hip, or femur fracture is high
Given:
asian_pacific_islander=falsebmi_ge_25=falsedexamethasone=nonedoxorubicin=falseesa=falseimid=truepelvic_hip_femur_fracture=truethromboprophylaxis=nonetunneled_line=falsevte_history=false
- imid → 4; pelvic_hip_femur_fracture → 4
- Score = 8; risk high; six_month_vte_percent 15.2
Also searched as
- IMPEDE VTE
- IMPEDE-VTE score
- Sanfilippo myeloma VTE
- multiple myeloma VTE score
- IMiD VTE risk
- IMPEDE venous thromboembolism
Try
Opens the live endpoint. Unpaid browser requests show the paywall; agents should send Accept: application/json.
Full URL: https://api.magentlab.com/api/calc/impede_vte?imid=false&bmi_ge_25=false&pelvic_hip_femur_fracture=false&esa=false&doxorubicin=false&dexamethasone=none&asian_pacific_islander=false&vte_history=false&tunneled_line=false&thromboprophylaxis=none
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/impede_vte?imid=false&bmi_ge_25=false&pelvic_hip_femur_fracture=false&esa=false&doxorubicin=false&dexamethasone=none&asian_pacific_islander=false&vte_history=false&tunneled_line=false&thromboprophylaxis=none"
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
imid |
boolean | required | Immunomodulatory drug (IMiD) as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 4 points if true. |
bmi_ge_25 |
boolean | required | BMI ≥25 kg/m2 as assigned by the caller (Sanfilippo 2019 Table 3). true or false. magent does not compute BMI from height or weight. 1 point if true. |
pelvic_hip_femur_fracture |
boolean | required | Pelvic, hip, or femur fracture as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 4 points if true. |
esa |
boolean | required | Erythropoiesis-stimulating agent as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 1 point if true. |
doxorubicin |
boolean | required | Doxorubicin as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 3 points if true. |
dexamethasone |
string | required · none, low, high | Dexamethasone as assigned by the caller (Sanfilippo 2019 Table 3). none (not on dexamethasone) scores 0; low (dexamethasone used at total monthly dosing ≤160 mg) scores 2; high (total monthly dosing >160 mg) scores 4. Not the NCCN ≥480 mg definition. |
asian_pacific_islander |
boolean | required | Caller-assigned ethnicity/race Asian/Pacific Islander as used in Sanfilippo 2019. true or false. magent does not assign race or ethnicity. −3 if true. |
vte_history |
boolean | required | History of VTE before multiple myeloma as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 5 points if true. |
tunneled_line |
boolean | required | Tunneled line / central venous catheter as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 2 points if true. |
thromboprophylaxis |
string | required · none, prophylactic, therapeutic | Existing thromboprophylaxis as assigned by the caller (Sanfilippo 2019 Table 3). Mutually exclusive. none scores 0; prophylactic (prophylactic LMWH or aspirin) scores −3; therapeutic (therapeutic LMWH or warfarin) scores −4. |
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.
- 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": [
{
"asian_pacific_islander": "false",
"bmi_ge_25": "false",
"dexamethasone": "none",
"doxorubicin": "false",
"esa": "false",
"imid": "false",
"pelvic_hip_femur_fracture": "false",
"thromboprophylaxis": "none",
"tunneled_line": "false",
"vte_history": "false"
},
{
"asian_pacific_islander": "false",
"bmi_ge_25": "false",
"dexamethasone": "none",
"doxorubicin": "false",
"esa": "false",
"imid": "false",
"pelvic_hip_femur_fracture": "false",
"thromboprophylaxis": "none",
"tunneled_line": "false",
"vte_history": "false"
}
]
}
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/impede_vte",
"items": [
{
"components": [
{
"factor": "imid",
"points": 0,
"present": false
},
{
"factor": "bmi_ge_25",
"points": 0,
"present": false
},
{
"factor": "pelvic_hip_femur_fracture",
"points": 0,
"present": false
},
{
"factor": "esa",
"points": 0,
"present": false
},
{
"factor": "doxorubicin",
"points": 0,
"present": false
},
{
"value": "none",
"factor": "dexamethasone",
"points": 0,
"present": false
},
{
"factor": "asian_pacific_islander",
"points": 0,
"present": false
},
{
"factor": "vte_history",
"points": 0,
"present": false
},
{
"factor": "tunneled_line",
"points": 0,
"present": false
},
{
"value": "none",
"factor": "thromboprophylaxis",
"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": "Sanfilippo KM, Luo S, Wang TF, Fiala M, Schoen M, Wildes TM, Mikhael J, Kuderer NM, Calverley DC, Keller J, Thomas T, Carson KR, Gage BF",
"doi": "10.1002/ajh.25603",
"id": "sanfilippo-2019-impede",
"pmid": "31374145",
"source": "Am J Hematol. 2019;94(11):1176-1184",
"title": "Predicting venous thromboembolism in multiple myeloma: development and validation of the IMPEDE VTE score"
},
"formula": "impede_vte",
"formula_expression": "IMPEDE VTE (Sanfilippo 2019 Table 3) = imid (4) + bmi_ge_25 (1) + pelvic_hip_femur_fracture (4) + esa (1) + doxorubicin (3) + dexamethasone (none 0, low 2, high 4; high if total monthly dosing >160 mg) + asian_pacific_islander (-3) + vte_history (5) + tunneled_line (2) + thromboprophylaxis (none 0, prophylactic -3, therapeutic -4); unclamped; <=3 low 3.3%, 4-7 intermediate 8.3%, >=8 high 15.2%",
"max_score": 24,
"score": 0,
"risk": "low",
"asian_pacific_islander": false,
"bmi_ge_25": false,
"dexamethasone": "none",
"doxorubicin": false,
"esa": false,
"imid": false,
"pelvic_hip_femur_fracture": false,
"six_month_vte_percent": 3.3,
"thromboprophylaxis": "none",
"tunneled_line": false,
"vte_history": false
},
{
"components": [
{
"factor": "imid",
"points": 0,
"present": false
},
{
"factor": "bmi_ge_25",
"points": 0,
"present": false
},
{
"factor": "pelvic_hip_femur_fracture",
"points": 0,
"present": false
},
{
"factor": "esa",
"points": 0,
"present": false
},
{
"factor": "doxorubicin",
"points": 0,
"present": false
},
{
"value": "none",
"factor": "dexamethasone",
"points": 0,
"present": false
},
{
"factor": "asian_pacific_islander",
"points": 0,
"present": false
},
{
"factor": "vte_history",
"points": 0,
"present": false
},
{
"factor": "tunneled_line",
"points": 0,
"present": false
},
{
"value": "none",
"factor": "thromboprophylaxis",
"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": "Sanfilippo KM, Luo S, Wang TF, Fiala M, Schoen M, Wildes TM, Mikhael J, Kuderer NM, Calverley DC, Keller J, Thomas T, Carson KR, Gage BF",
"doi": "10.1002/ajh.25603",
"id": "sanfilippo-2019-impede",
"pmid": "31374145",
"source": "Am J Hematol. 2019;94(11):1176-1184",
"title": "Predicting venous thromboembolism in multiple myeloma: development and validation of the IMPEDE VTE score"
},
"formula": "impede_vte",
"formula_expression": "IMPEDE VTE (Sanfilippo 2019 Table 3) = imid (4) + bmi_ge_25 (1) + pelvic_hip_femur_fracture (4) + esa (1) + doxorubicin (3) + dexamethasone (none 0, low 2, high 4; high if total monthly dosing >160 mg) + asian_pacific_islander (-3) + vte_history (5) + tunneled_line (2) + thromboprophylaxis (none 0, prophylactic -3, therapeutic -4); unclamped; <=3 low 3.3%, 4-7 intermediate 8.3%, >=8 high 15.2%",
"max_score": 24,
"score": 0,
"risk": "low",
"asian_pacific_islander": false,
"bmi_ge_25": false,
"dexamethasone": "none",
"doxorubicin": false,
"esa": false,
"imid": false,
"pelvic_hip_femur_fracture": false,
"six_month_vte_percent": 3.3,
"thromboprophylaxis": "none",
"tunneled_line": false,
"vte_history": false
}
]
}
Response
| Field | Type | Description |
|---|---|---|
formula |
string | impede_vte |
formula_expression |
string | Exact expression used |
score |
integer | Sanfilippo 2019 Table 3 total. Not clamped at 0. |
max_score |
integer | 24 (sum of positive Table 3 weights) |
risk |
string | low when score ≤3, intermediate when 4-7, high when ≥8. Derivation-cohort 6-month groups. Not a diagnosis. |
six_month_vte_percent |
number | Derivation 6-month cumulative incidence percent: 3.3 (low), 8.3 (intermediate), or 15.2 (high). |
imid |
boolean | IMiD flag used |
bmi_ge_25 |
boolean | Caller-assigned BMI ≥25 flag used |
pelvic_hip_femur_fracture |
boolean | Pelvic, hip, or femur fracture flag used |
esa |
boolean | ESA flag used |
doxorubicin |
boolean | Doxorubicin flag used |
dexamethasone |
string | Dexamethasone token used: none, low, or high |
asian_pacific_islander |
boolean | Caller-assigned Asian/Pacific Islander flag used |
vte_history |
boolean | VTE-before-MM flag used |
tunneled_line |
boolean | Tunneled line / CVC flag used |
thromboprophylaxis |
string | Thromboprophylaxis token used: none, prophylactic, or therapeutic |
components |
array | Per-factor points |
citation |
object | Sanfilippo 2019 Am J Hematol citation |
disclaimer |
string | Not-a-device notice |
Example JSON
Machine form of the same example. Frozen fixture. Not a live lookup.
{
"components": [
{
"factor": "imid",
"points": 0,
"present": false
},
{
"factor": "bmi_ge_25",
"points": 0,
"present": false
},
{
"factor": "pelvic_hip_femur_fracture",
"points": 0,
"present": false
},
{
"factor": "esa",
"points": 0,
"present": false
},
{
"factor": "doxorubicin",
"points": 0,
"present": false
},
{
"value": "none",
"factor": "dexamethasone",
"points": 0,
"present": false
},
{
"factor": "asian_pacific_islander",
"points": 0,
"present": false
},
{
"factor": "vte_history",
"points": 0,
"present": false
},
{
"factor": "tunneled_line",
"points": 0,
"present": false
},
{
"value": "none",
"factor": "thromboprophylaxis",
"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": "Sanfilippo KM, Luo S, Wang TF, Fiala M, Schoen M, Wildes TM, Mikhael J, Kuderer NM, Calverley DC, Keller J, Thomas T, Carson KR, Gage BF",
"doi": "10.1002/ajh.25603",
"id": "sanfilippo-2019-impede",
"pmid": "31374145",
"source": "Am J Hematol. 2019;94(11):1176-1184",
"title": "Predicting venous thromboembolism in multiple myeloma: development and validation of the IMPEDE VTE score"
},
"formula": "impede_vte",
"formula_expression": "IMPEDE VTE (Sanfilippo 2019 Table 3) = imid (4) + bmi_ge_25 (1) + pelvic_hip_femur_fracture (4) + esa (1) + doxorubicin (3) + dexamethasone (none 0, low 2, high 4; high if total monthly dosing >160 mg) + asian_pacific_islander (-3) + vte_history (5) + tunneled_line (2) + thromboprophylaxis (none 0, prophylactic -3, therapeutic -4); unclamped; <=3 low 3.3%, 4-7 intermediate 8.3%, >=8 high 15.2%",
"max_score": 24,
"score": 0,
"risk": "low",
"asian_pacific_islander": false,
"bmi_ge_25": false,
"dexamethasone": "none",
"doxorubicin": false,
"esa": false,
"imid": false,
"pelvic_hip_femur_fracture": false,
"six_month_vte_percent": 3.3,
"thromboprophylaxis": "none",
"tunneled_line": false,
"vte_history": false
}
Client errors (HTTP 400)
Invalid params return 400 without charge. Shared HTTP 402 and 503 meanings: Payments.
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_impede_vte |
IMPEDE-VTE inputs must match Sanfilippo 2019 Table 3 flags, dexamethasone none/low/high, and thromboprophylaxis none/prophylactic/therapeutic. 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
- Khorana score — Compute the Khorana 2008 Blood predictive model for chemotherapy-associated thrombosis from caller-assigned cancer site, pre-chemotherapy labs, ESA use, and BMI ≥35.
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.