{"uid":"cap_8ZRAZW7Dh_T8cj2sfRAGo","slug":"vaco-index-30-day-mortality-calculator-king-2020-f2cade22","name":"VACO Index 30-Day Mortality Calculator (King 2020)","description":"King 2020 VACO Index logistic 30-day all-cause mortality from age, sex, caller-assigned unadjusted Charlson comorbidity index, and history of myocardial infarction or peripheral vascular disease. Supplement S3 coefficients. Age 85 or older uses the published combined CCI term. Not VACS Index 1.0 or 2.0, not a diagnosis, and not a treatment order.","url":"https://api.magentlab.com/api/calc/vaco","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","cci","mi_pvd"],"properties":{"age":{"type":"integer","description":"Age in years (integer 20-120). King 2020 S3 bands: 20-50 (ages 20-49), 50-54, 55-59, 60-64, 65-69, 70-74, 75-79, 80-89, ge90. Age 50 uses 50-54. Age 85-89 keeps the 80-89 age term and the age>=85 CCI term."},"cci":{"type":"integer","description":"Unadjusted Charlson comorbidity index as assigned by the caller (integer 0-37). King 2020 S3: 0 (reference), 1-3, 4-5, 6-9, ge10 when age<85. Age 85 or older uses the published combined CCI term regardless of this integer. magent does not assign Charlson diagnoses."},"sex":{"enum":["female","male"],"type":"string","description":"Sex as assigned by the caller. female is the S3 reference (0). male adds 0.322291449. magent does not assign sex."},"mi_pvd":{"type":"boolean","description":"History of myocardial infarction or peripheral vascular disease as assigned by the caller (true or false). false is the S3 reference (0). true adds 0.267265312."}}}},"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_oFOLXudleys-lD8CzCCRj","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 VACO Index logistic 30-day all-cause mortality probability from age, sex, unadjusted Charlson comorbidity index, and MI/PVD history using King 2020 Supplement S3 coefficients.","exampleAgentPrompt":"Calculate the VACO Index 30-day all-cause mortality probability for a 72-year-old male with an unadjusted Charlson comorbidity index of 6 and a history of myocardial infarction or peripheral vascular disease.","exampleUseCases":[{"title":"Pre-discharge mortality risk triage","prompt":"I need to estimate the 30-day all-cause mortality risk for a 68-year-old female with a Charlson comorbidity index of 4 and no history of MI or peripheral vascular disease — can you run the VACO Index calculation?"},{"title":"High-comorbidity elderly patient scoring","prompt":"Run the VACO Index mortality score for an 87-year-old male with a CCI of 11 and a history of MI or PVD — I need the 30-day mortality probability using the King 2020 model."},{"title":"Comparative mortality risk for clinical review","prompt":"I'm reviewing two veteran patients. First: a 55-year-old female, CCI of 2, no MI or PVD. Second: a 75-year-old male, CCI of 7, history of MI or PVD. Can you compute the VACO Index 30-day mortality probability for each?"}],"resultDescription":"Returns a 30-day all-cause mortality probability (as a logistic model output) computed from the King 2020 VACO Index Supplement S3 coefficients, using the caller-supplied age band, sex, unadjusted CCI category, and MI/PVD flag. For patients aged 85 or older, the combined CCI term is applied automatically regardless of the integer CCI supplied.","failureModes":["Age out of range (< 20 or > 120) returns a validation error","Invalid sex enum value (not 'male' or 'female') returns a bad request error","CCI integer outside 0-37 returns a validation error","Missing required query parameters (age, sex, cci, mi_pvd) returns a 400 error","Payment not included or insufficient USDC (x402 protocol) returns a 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need the specific King 2020 VACO Index logistic regression model (Supplement S3 coefficients) for estimating 30-day all-cause mortality in veteran or similar populations. Prefer this over generic mortality calculators when the caller has already assigned a Charlson comorbidity index, sex, and MI/PVD status externally and needs the published VACO Index formula — not VACS Index 1.0 or 2.0 variants.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:55:15.496Z","isFirstParty":false}