{"uid":"cap_VZWHyO14kDwnBHTBnG9vI","slug":"magent-resect-90-lung-resection-90-day-mortality-calculator-88800aab","name":"magent RESECT-90 Lung Resection 90-Day Mortality Calculator","description":"Taylor 2021 RESECT-90 logistic 90-day mortality after lung resection from age, sex, ECOG, percent predicted DLCO, BMI, creatinine (umol/L), anaemia, arrhythmia, laterality, thoracotomy vs VATS, diagnosis, and resected segments. Returns logit and estimated_mortality_percent. Not a medical device, not an operative go/no-go, and not a published cutoff. magent does not assign ECOG or read spirometry.","url":"https://api.magentlab.com/api/calc/resect_90","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","sex","ecog","dlco_percent","bmi","creatinine_umol_l","anemia","arrhythmia","laterality","surgical_approach","diagnosis","resected_segments"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). Taylor 2021 Table 3 coefficient 0.041 per year. magent does not read a chart."},"bmi":{"type":"number","description":"Body-mass index in kg/m2 (10-80). Taylor 2021 Table 3 subtracts 0.056 per kg/m2. magent does not weigh the patient."},"sex":{"enum":["male","female"],"type":"string","description":"Sex as assigned by the caller. female is the reference (0). male adds 0.493 (Taylor 2021 Table 3). This is a published sex coefficient, not race."},"ecog":{"type":"integer","description":"ECOG / WHO performance status 0-4 as assigned by the caller (Taylor 2021 Table 3 coefficient 0.183 per point). magent does not assign ECOG."},"anemia":{"type":"boolean","description":"Taylor 2021 WHO anaemia as assigned by the caller: haemoglobin <120 g/L for women or <130 g/L for men (+0.242). true or false. magent does not read a haemoglobin."},"diagnosis":{"enum":["benign","malignant"],"type":"string","description":"Diagnosis as assigned by the caller. benign is the reference (0). malignant (confirmed or suspected) adds 0.769 (Taylor 2021 Table 3)."},"arrhythmia":{"type":"boolean","description":"Preoperative arrhythmia as assigned by the caller (Taylor 2021 Table 3 +0.608). true or false. magent does not read an ECG."},"laterality":{"enum":["left","right"],"type":"string","description":"Resection laterality as assigned by the caller. left is the reference (0). right adds 0.379 (Taylor 2021 Table 3). magent does not read an operative note."},"dlco_percent":{"type":"number","description":"Percent predicted DLCO (10-200). Taylor 2021 Table 3 subtracts 0.029 per percent. magent does not read spirometry or a gas-transfer tracing."},"creatinine_umol_l":{"type":"number","description":"Serum creatinine in µmol/L as published (20-2000). Taylor 2021 Table 3 coefficient 0.005 per µmol/L. Not mg/dL."},"resected_segments":{"type":"integer","description":"Number of resected bronchopulmonary segments (0-19). Taylor 2021 Table 3 coefficient 0.179 per segment. magent does not map a procedure to segments."},"surgical_approach":{"enum":["vats","thoracotomy"],"type":"string","description":"Approach as assigned by the caller. vats is the non-thoracotomy reference (0). thoracotomy adds 0.634 (Taylor 2021 Table 3). magent does not classify the incision."}}}},"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_xS1dHsBJffhDzyO_KqjBQ","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":"Calculates the Taylor 2021 RESECT-90 logistic score for estimated 90-day mortality risk after lung resection using 12 clinical variables","exampleAgentPrompt":"Using the RESECT-90 model, estimate 90-day mortality risk for a 68-year-old male with ECOG 1, DLCO 72% predicted, BMI 26.4, creatinine 95 umol/L, no anaemia, no arrhythmia, right-sided malignant resection via VATS involving 3 segments.","exampleUseCases":[{"title":"Preoperative mortality briefing for oncology MDT","prompt":"Can you compute the RESECT-90 90-day mortality estimate for a 74-year-old female, ECOG 2, DLCO 58% predicted, BMI 22.1, creatinine 112 umol/L, anaemic, no arrhythmia, left-sided malignant disease, open thoracotomy, 4 resected segments? We need the percentage for the MDT discussion."},{"title":"Comparing VATS vs open approach risk","prompt":"Run the RESECT-90 calculator twice for me: a 61-year-old male, ECOG 0, DLCO 85%, BMI 29, creatinine 80 umol/L, no anaemia, no arrhythmia, right-sided malignant resection, 2 segments — first assuming VATS then assuming thoracotomy, so I can see the mortality difference between approaches."},{"title":"High-risk patient risk quantification","prompt":"What does the RESECT-90 model give for a 79-year-old male with ECOG 3, DLCO 45% predicted, BMI 18.5, creatinine 155 umol/L, anaemia present, arrhythmia present, right-sided malignant diagnosis, thoracotomy, 5 segments resected?"}],"resultDescription":"Returns a JSON object with two fields: 'logit' (the raw linear predictor from the Taylor 2021 Table 3 coefficients) and 'estimated_mortality_percent' (the back-transformed probability of 90-day mortality expressed as a percentage). Does not return a go/no-go recommendation or a published decision cutoff.","failureModes":["Missing any of the 12 required query parameters returns a validation error","Age outside 18-120 range rejected","BMI outside 10-80 range rejected","Invalid enum values for sex, laterality, surgical_approach, or diagnosis return error","Non-boolean values for anemia or arrhythmia fields cause schema validation failure","ECOG value outside 0-4 range rejected","Creatinine value out of plausible range may be rejected","Payment not included or insufficient USDC balance causes x402 payment-required error"],"whenToPreferThis":"Choose this endpoint when you need a validated, published logistic model (Taylor 2021) for 90-day mortality after lung resection and all 12 clinical variables have already been assigned by a clinician. Prefer this over generic LLM-based risk estimates when you need a reproducible, coefficient-based numeric probability. Not appropriate as a sole operative go/no-go decision tool or as a substitute for clinical judgment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:48:48.410Z","isFirstParty":false}