{"uid":"cap_MG6q2MJt0jX_TuYYgGdzG","slug":"magent-trip-cast-vte-risk-calculator-fed75211","name":"magent TRiP(cast) VTE Risk Calculator","description":"Nemeth 2020 TRiP(cast) VTE risk after lower-limb trauma immobilization. Caller-assigned Table 1 trauma (high 3, intermediate 2, low 1) and immobilization (upper_leg 3, lower_leg 2, foot_cast 1, other_plantar 0) plus age, sex, BMI, and nine flags. Max 34. High-risk at score >=7. Not a diagnosis or thromboprophylaxis order. magent does not classify the radiograph.","url":"https://api.magentlab.com/api/calc/trip_cast","method":"GET","headers":{},"bodySchema":{"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":["trauma","immobilization","age","sex","bmi_kg_m2","family_history_vte","personal_history_vte_or_major_thrombophilia","hormonal_estrogenic_treatment","cancer_within_5y","pregnancy_or_puerperium","other_immobilization_3mo","surgery_within_3mo","comorbidity","chronic_venous_insufficiency"],"properties":{"age":{"type":"integer","description":"Age in years (integer 1-120). Nemeth 2020: <35 scores 0; ≥35 and <55 scores 1; ≥55 and <75 scores 2; ≥75 scores 3. Age 35 scores 1; 55 scores 2; 75 scores 3."},"sex":{"enum":["female","male"],"type":"string","description":"female or male. Male scores 1; female scores 0 (Nemeth 2020 Table 1)."},"trauma":{"enum":["high","intermediate","low"],"type":"string","description":"Mutually exclusive Nemeth 2020 Table 1 trauma category as assigned by the caller (choose the most severe). high scores 3 (paper examples: fibula/tibia shaft, tibial plateau, Achilles rupture). intermediate scores 2 (bi/tri-malleolar ankle, patellar fracture, ankle dislocation/Lisfranc, severe knee sprain with edema/haemarthrosis, grade 3 ankle sprain). low scores 1 (single malleolar, patellar dislocation, (meta)tarsal/forefoot fracture, grade 1-2 sprain, significant muscle injury). magent does not classify the trauma radiograph."},"bmi_kg_m2":{"type":"number","description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Nemeth 2020: <25 scores 0; ≥25 and <35 scores 1; ≥35 scores 2. 25.0 scores 1; 35.0 scores 2."},"comorbidity":{"type":"boolean","description":"Heart failure, rheumatoid arthritis, CKD, COPD, or IBD as one caller-assigned flag (Nemeth 2020 Table 1). true scores 1. magent does not examine the patient."},"immobilization":{"enum":["upper_leg","lower_leg","foot_cast","other_plantar"],"type":"string","description":"Mutually exclusive Nemeth 2020 Table 1 immobilization category as assigned by the caller. upper_leg scores 3. lower_leg scores 2. foot_cast scores 1 (foot cast ankle-free or any semi-rigid without plantar support). other_plantar scores 0 (other cast or bracing with plantar support)."},"cancer_within_5y":{"type":"boolean","description":"Cancer within 5 years as assigned by the caller (Nemeth 2020 Table 1). true scores 3. magent does not diagnose cancer."},"family_history_vte":{"type":"boolean","description":"First-degree family history of VTE as assigned by the caller (Nemeth 2020 Table 1). true scores 2. magent does not take a family history."},"surgery_within_3mo":{"type":"boolean","description":"Surgery within 3 months as assigned by the caller (Nemeth 2020 Table 1). true scores 2. magent does not classify an operation."},"pregnancy_or_puerperium":{"type":"boolean","description":"Pregnancy or puerperium as assigned by the caller (Nemeth 2020 Table 1). true scores 3. magent does not confirm pregnancy."},"other_immobilization_3mo":{"type":"boolean","description":"Hospital admission, bedridden, flight >6 h, or lower-limb paralysis other than the cast, within 3 months, as assigned by the caller (Nemeth 2020 Table 1). true scores 2. Independent of the exclusive immobilization category."},"chronic_venous_insufficiency":{"type":"boolean","description":"Chronic venous insufficiency (varicose veins) as assigned by the caller (Nemeth 2020 Table 1). true scores 1. magent does not examine the patient."},"hormonal_estrogenic_treatment":{"type":"boolean","description":"Current oral contraceptives or estrogenic hormone therapy as assigned by the caller (Nemeth 2020 Table 1). true scores 4."},"personal_history_vte_or_major_thrombophilia":{"type":"boolean","description":"Personal history of VTE or major thrombophilia as assigned by the caller (Nemeth 2020 Table 1). true scores 4. magent does not diagnose VTE or interpret a thrombophilia panel."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1u2hdfXFGVwELrxXhDKvq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Nemeth 2020 TRiP(cast) score to estimate venous thromboembolism risk after lower-limb trauma or immobilization, returning a numeric score and high-risk flag at ≥7.","exampleAgentPrompt":"My patient is a 58-year-old male with a BMI of 28, who sustained a tibial shaft fracture — high trauma category — and is immobilized in an upper-leg cast. He has no family or personal history of VTE, is not on hormonal therapy, has no cancer, is not pregnant, has no recent surgery or other immobilization, no comorbidities, and no chronic venous insufficiency. Can you run the TRiP(cast) VTE risk score for him?","exampleUseCases":[{"title":"Post-fracture DVT risk stratification","prompt":"I have a 72-year-old female patient, BMI 32, with a bi-malleolar ankle fracture — intermediate trauma — immobilized in a lower-leg cast. She has chronic venous insufficiency and a family history of VTE, but no personal history, no cancer, not pregnant, no recent surgery, no hormonal therapy, and no other comorbidities. What does her TRiP(cast) score come out to and is she high risk?"},{"title":"Pre-discharge thromboprophylaxis review","prompt":"Before discharging my 45-year-old male patient (BMI 24) who had a grade-3 ankle sprain — low trauma — and is in a plantar cast, I need his TRiP(cast) score. He had surgery 6 weeks ago, no VTE history, no cancer, no hormonal meds, no comorbidities, and no chronic venous insufficiency."},{"title":"Outpatient orthopedic clinic triage","prompt":"Can you calculate the Nemeth TRiP cast VTE score for a 38-year-old female, BMI 38, with a patellar fracture — intermediate trauma — in an upper-leg cast? She's currently pregnant, no personal or family VTE history, no cancer, no other immobilization, no recent surgery, and no comorbidities or chronic venous insufficiency."}],"resultDescription":"Returns the TRiP(cast) total score (integer 0–34) computed from all supplied parameters, a boolean or flag indicating high VTE risk (score ≥7), and optionally component subscores for trauma, immobilization, age, sex, BMI, and each clinical risk flag. Does not produce a diagnosis or thromboprophylaxis order.","failureModes":["Missing required query parameters returns a 400 error","Invalid enum values for trauma (not high/intermediate/low) or sex (not female/male) return a validation error","BMI outside the 10–80 range may be rejected or produce unexpected output","Age outside 1–120 may be rejected","Boolean flags passed as strings instead of true/false may cause parsing errors","Caller incorrectly assigns trauma category (magent does not classify radiographs) leading to incorrect scores"],"whenToPreferThis":"Use this endpoint when you need to implement the specific Nemeth 2020 TRiP(cast) validated clinical decision-support score for VTE risk in patients with lower-limb trauma or cast immobilization. Prefer it over generic DVT risk tools (e.g., Wells score) when the clinical context is specifically lower-limb orthopedic injury or cast immobilization. The caller must pre-assign trauma category and immobilization type; this endpoint does not interpret imaging.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:09:51.212Z","isFirstParty":false}