{"uid":"cap_Gr-S0jql-_fcUpqZGw_Ma","slug":"wells-dvt-score-calculator-5e59cc19","name":"Wells DVT Score Calculator","description":"Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.","url":"https://api.magentlab.com/api/calc/wells_dvt?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object"}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/wells_dvt","count":2,"items":[{"score":2,"formula":"wells_dvt","citation":{"id":"wells-dvt-2003","doi":"10.1056/NEJMoa023153","title":"Evaluation of D-dimer in the diagnosis of suspected deep-vein thrombosis","source":"N Engl J Med. 2003;349(13):1227-1235","authors":"Wells PS, Anderson DR, Rodger M, et al."},"two_tier":"likely","max_score":9,"components":[{"factor":"active_cancer","points":1,"present":true},{"factor":"paralysis_or_cast","points":0,"present":false},{"factor":"bedridden_or_surgery","points":0,"present":false},{"factor":"tenderness","points":0,"present":false},{"factor":"entire_leg_swollen","points":0,"present":false},{"factor":"calf_swelling_gt_3cm","points":1,"present":true},{"factor":"pitting_edema","points":0,"present":false},{"factor":"collateral_veins","points":0,"present":false},{"factor":"previous_dvt","points":0,"present":false},{"factor":"alternative_diagnosis_as_likely","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.","three_tier":"moderate","formula_expression":"Wells DVT = +1 each of 9 findings; −2 if alternative_diagnosis_as_likely"},{"score":2,"formula":"wells_dvt","citation":{"id":"wells-dvt-2003","doi":"10.1056/NEJMoa023153","title":"Evaluation of D-dimer in the diagnosis of suspected deep-vein thrombosis","source":"N Engl J Med. 2003;349(13):1227-1235","authors":"Wells PS, Anderson DR, Rodger M, et al."},"two_tier":"likely","max_score":9,"components":[{"factor":"active_cancer","points":1,"present":true},{"factor":"paralysis_or_cast","points":0,"present":false},{"factor":"bedridden_or_surgery","points":0,"present":false},{"factor":"tenderness","points":0,"present":false},{"factor":"entire_leg_swollen","points":0,"present":false},{"factor":"calf_swelling_gt_3cm","points":1,"present":true},{"factor":"pitting_edema","points":0,"present":false},{"factor":"collateral_veins","points":0,"present":false},{"factor":"previous_dvt","points":0,"present":false},{"factor":"alternative_diagnosis_as_likely","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.","three_tier":"moderate","formula_expression":"Wells DVT = +1 each of 9 findings; −2 if alternative_diagnosis_as_likely"}]}},"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_GCYZiGYXWqfgmpnbg3Jyl","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 Wells deep-vein thrombosis pretest probability score from 10 clinical flags, returning both three-tier and two-tier risk bands.","exampleAgentPrompt":"Calculate the Wells DVT score for a patient who has active cancer, entire leg swelling, calf swelling greater than 3 cm, pitting edema, and localized deep vein tenderness, but where an alternative diagnosis is considered at least as likely — no paralysis, no prior DVT, no bedridden history, no collateral veins.","exampleUseCases":[{"title":"ED triage DVT risk stratification","prompt":"I have an ER patient with a swollen left leg. They have active cancer, were bedridden for 4 days last week, have pitting edema confined to the symptomatic leg, and localized tenderness along the deep vein — but no calf swelling >3 cm, no collateral veins, no paralysis, no prior DVT, and no equally likely alternative diagnosis. What's their Wells DVT score and risk band?"},{"title":"Pre-ultrasound probability assessment","prompt":"Before ordering a Doppler ultrasound, can you run the Wells DVT calculation for my patient? They have collateral superficial veins, entire leg swelling, calf swelling greater than 3 cm, and a previously documented DVT. They don't have active cancer, paralysis, recent surgery, tenderness, pitting edema, and there's no alternative diagnosis as likely as DVT."},{"title":"Clinical decision support documentation","prompt":"For charting purposes, calculate the Wells score for a post-op patient who was bedridden for 5 days after major surgery, has localized deep venous tenderness, pitting edema, and collateral veins — but no active cancer, no paralysis or cast, no leg swelling, no calf swelling over 3 cm, no previous DVT, and an alternative diagnosis is at least as likely as DVT."}],"resultDescription":"Returns the numeric Wells DVT total score along with the three-tier risk category (low, moderate, high) and two-tier risk band (DVT unlikely vs. DVT likely), based on the published Wells et al. criteria with citation. Output is deterministic given the same boolean inputs.","failureModes":["Missing required boolean query parameters returns a validation error","Non-boolean values for clinical flag parameters cause schema rejection","All flags false with alternative diagnosis true may yield a very low or negative score — valid but edge case","Network timeouts if the API host is unreachable","Payment failure via x402 protocol blocks the request before scoring"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, published Wells DVT pretest probability score from discrete clinical flags, especially in clinical decision support workflows, EMR integrations, or triage automation where reproducibility and citation traceability matter. Prefer over LLM-estimated risk when auditability and adherence to the original Wells 2003 scoring rubric are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-06T00:38:40.765Z","isFirstParty":false,"canonicalSlug":"wells-dvt-score-calculator-5e59cc19"}