{"uid":"cap_N1zwt8pYDTeOTnqYHD1X-","slug":"twist-score-calculator-barbosa-2013-testicular-torsion-risk-7081c402","name":"TWIST Score Calculator (Barbosa 2013) — Testicular Torsion Risk","description":"Barbosa 2013 TWIST (Testicular Workup for Ischemia and Suspected Torsion). Five caller-assigned flags: testicular swelling (2), hard testicle (2), absent cremasteric reflex (1), nausea or vomiting (1), high-riding testis (1). Max 7. Risk: 0–2 low, 3–4 intermediate, 5–7 high (cutoffs 2 and 5). Not a torsion diagnosis or an ultrasound or operative order. magent does not examine the patient.","url":"https://api.magentlab.com/api/calc/twist","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":["testicular_swelling","hard_testicle","absent_cremasteric_reflex","nausea_or_vomiting","high_riding_testis"],"properties":{"hard_testicle":{"type":"boolean","description":"Hard testicle as assigned by the caller (Barbosa 2013). true scores 2. magent does not examine the patient."},"high_riding_testis":{"type":"boolean","description":"High-riding testis as assigned by the caller (Barbosa 2013). true scores 1. magent does not examine the patient."},"nausea_or_vomiting":{"type":"boolean","description":"Nausea or vomiting as assigned by the caller (Barbosa 2013). true scores 1. magent does not take a symptom history."},"testicular_swelling":{"type":"boolean","description":"Testicular swelling as assigned by the caller (Barbosa 2013). true scores 2. magent does not examine the patient."},"absent_cremasteric_reflex":{"type":"boolean","description":"Absent cremasteric reflex as assigned by the caller (Barbosa 2013). true scores 1. magent does not examine the patient."}}}},"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_xHYH7mN16qf6GiFulDddN","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 Barbosa 2013 TWIST score (0–7) for testicular torsion risk stratification from five caller-supplied clinical flags, returning a numeric score and low/intermediate/high risk category.","exampleAgentPrompt":"Calculate the TWIST score for a patient who has testicular swelling, a hard testicle, an absent cremasteric reflex, and nausea — no high-riding testis — and tell me whether the torsion risk is low, intermediate, or high.","exampleUseCases":[{"title":"ED triage for suspected torsion","prompt":"My patient in the ED has testicular swelling, a hard testicle, and nausea but no absent cremasteric reflex and no high-riding testis — what's their TWIST score and which risk category does that put them in?"},{"title":"Intermediate-risk pathway decision support","prompt":"I need the Barbosa TWIST score for a teenager with absent cremasteric reflex and a high-riding testis, no swelling, no hard testicle, no vomiting — is this low, intermediate, or high risk for torsion?"},{"title":"Documentation of all-negative TWIST exam","prompt":"All five TWIST criteria are negative for this patient — testicular swelling false, hard testicle false, absent cremasteric reflex false, nausea false, high-riding testis false. What score does that give and what's the risk level?"}],"resultDescription":"Returns the integer TWIST score (0–7), the risk category (low for 0–2, intermediate for 3–4, high for 5–7), and the scoring breakdown per Barbosa 2013. Does not provide a diagnosis, order imaging, or recommend surgery.","failureModes":["Missing any of the five required boolean flags returns a validation error","Non-boolean values for flags cause a schema error","Score alone does not determine clinical management — misuse risk if treated as a diagnostic result"],"whenToPreferThis":"Use this endpoint when you need a validated, algorithmic TWIST risk stratification from five already-assessed clinical findings (swelling, hardness, cremasteric reflex, nausea, testis position) and want a reproducible 0–7 score with low/intermediate/high cutoffs per Barbosa 2013. Prefer it over generic LLM reasoning for any workflow requiring an auditable, published clinical score.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:47:37.181Z","isFirstParty":false}