{"uid":"cap_EKOuiB0Ko5pTtTX3hofAR","slug":"magent-scorten-calculator-b127afd3","name":"magent SCORTEN Calculator","description":"Bastuji-Garin 2000 SCORTEN from seven caller-assigned flags (age >40, malignancy, HR >120, detachment >10% BSA, urea >10 mmol/L, glucose >14 mmol/L, bicarbonate <20 mmol/L); 1 each, max 7. Predicted in-hospital mortality 0–1 3.2%, 2 12.1%, 3 35.3%, 4 58.3%, ≥5 90%. Not a TEN/SJS diagnosis and not an ICU or IVIG order. magent does not measure labs or BSA.","url":"https://api.magentlab.com/api/calc/scorten","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":["age_gt_40","malignancy","heart_rate_gt_120","epidermal_detachment_gt_10_percent","urea_gt_10_mmol_l","glucose_gt_14_mmol_l","bicarbonate_lt_20_mmol_l"],"properties":{"age_gt_40":{"type":"boolean","description":"Age >40 years (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not compute age."},"malignancy":{"type":"boolean","description":"Presence of malignancy (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not diagnose cancer."},"heart_rate_gt_120":{"type":"boolean","description":"Heart rate >120 beats/min (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not measure heart rate."},"urea_gt_10_mmol_l":{"type":"boolean","description":"Serum urea >10 mmol/L (Bastuji-Garin 2000; equivalent BUN >28 mg/dL). true or false as assigned by the caller. magent does not assay urea or convert BUN."},"glucose_gt_14_mmol_l":{"type":"boolean","description":"Serum glucose >14 mmol/L (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not assay glucose."},"bicarbonate_lt_20_mmol_l":{"type":"boolean","description":"Serum bicarbonate <20 mmol/L (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not assay bicarbonate."},"epidermal_detachment_gt_10_percent":{"type":"boolean","description":"Epidermal detachment >10% of body surface area (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not measure BSA."}}}},"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_A9pOM-_cNfw4jS8OqI1Mj","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 Bastuji-Garin 2000 SCORTEN severity-of-illness score for toxic epidermal necrolysis and returns the corresponding predicted in-hospital mortality percentage.","exampleAgentPrompt":"Calculate the SCORTEN score for a TEN patient who is over 40, has an underlying malignancy, heart rate above 120, epidermal detachment over 10% BSA, serum urea above 10 mmol/L, glucose above 14 mmol/L, but bicarbonate is normal — and tell me the predicted in-hospital mortality.","exampleUseCases":[{"title":"ICU triage severity scoring for TEN","prompt":"I have a TEN patient: age 55 (over 40), no malignancy, heart rate 130 (above 120), epidermal detachment 20% BSA (above 10%), urea 12 mmol/L (above 10), glucose 10 mmol/L (not above 14), bicarbonate 18 mmol/L (below 20). What is their SCORTEN score and predicted mortality?"},{"title":"Documenting mortality risk in clinical note","prompt":"For a SJS/TEN overlap patient aged 35 (not over 40), with malignancy, HR 95 (not above 120), detachment 5% BSA (not above 10%), urea 8 mmol/L (not above 10), glucose 16 mmol/L (above 14), and bicarbonate 22 mmol/L (not below 20), what does SCORTEN say the predicted in-hospital mortality is?"},{"title":"Comparing SCORTEN across serial assessments","prompt":"My TEN patient from yesterday now has all seven SCORTEN criteria positive — age over 40, malignancy, HR over 120, detachment over 10% BSA, high urea, high glucose, and low bicarbonate. What SCORTEN score and mortality percentage does that give us?"}],"resultDescription":"Returns the integer SCORTEN score (0–7) summed from the seven Boolean risk flags, along with the corresponding Bastuji-Garin 2000 predicted in-hospital mortality band: 0–1 → 3.2%, 2 → 12.1%, 3 → 35.3%, 4 → 58.3%, ≥5 → 90%.","failureModes":["Missing any of the seven required Boolean query parameters returns a validation error","Non-boolean values (e.g. strings other than true/false) for flags cause a bad request error","Network or service unavailability returns a 5xx error","Payment failure (x402 protocol) blocks the request before scoring occurs"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to rapidly compute the validated Bastuji-Garin 2000 SCORTEN score and associated mortality prediction from pre-assessed clinical flags for a TEN or SJS/TEN patient, without needing laboratory measurement or BSA calculation capabilities. It is ideal when clinical values have already been interpreted and the agent only needs the arithmetic aggregation and published mortality lookup. It is not a diagnostic tool for TEN/SJS and should not be used to order treatments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:59:32.148Z","isFirstParty":false}