{"uid":"cap_4uYEWCeFjpC_4FtUiqJfP","slug":"ascod-ischemic-stroke-phenotyping-amarenco-2013-895149a5","name":"ASCOD Ischemic Stroke Phenotyping (Amarenco 2013)","description":"Amarenco 2013 ASCOD phenotyping of ischemic stroke from caller-assigned grades. A atherosclerosis, S small-vessel disease, C cardiac pathology, O other causes, D dissection. Each grade is 1 potentially causal, 2 causality uncertain, 3 unlikely causal but disease present, 0 absent, or 9 insufficient workup. Returns A1-S0-C2-O0-D0 style phenotype, not a summed score. magent does not read imaging. Not TOAST. Not CCS. Not a treatment. Not a medical device.","url":"https://api.magentlab.com/api/calc/ascod","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":["atherosclerosis","small_vessel","cardiac","other","dissection"],"properties":{"other":{"enum":[0,1,2,3,9],"type":"integer","description":"Caller-assigned Amarenco 2013 other causes (O) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging."},"cardiac":{"enum":[0,1,2,3,9],"type":"integer","description":"Caller-assigned Amarenco 2013 cardiac pathology (C) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging."},"dissection":{"enum":[0,1,2,3,9],"type":"integer","description":"Caller-assigned Amarenco 2013 dissection (D) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging."},"small_vessel":{"enum":[0,1,2,3,9],"type":"integer","description":"Caller-assigned Amarenco 2013 small-vessel disease (S) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging."},"atherosclerosis":{"enum":[0,1,2,3,9],"type":"integer","description":"Caller-assigned Amarenco 2013 atherosclerosis (A) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging."}}}},"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_vFPAJwZxeWsWeyV9sbAis","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 ASCOD phenotype string (e.g. A1-S0-C2-O0-D0) for ischemic stroke from five caller-assigned Amarenco 2013 grades covering atherosclerosis, small-vessel disease, cardiac pathology, other causes, and dissection.","exampleAgentPrompt":"Compute the ASCOD phenotype for a stroke patient where atherosclerosis is grade 1 (potentially causal), small-vessel disease is grade 0 (absent), cardiac pathology is grade 2 (causality uncertain), other causes are grade 0 (absent), and dissection is grade 0 (absent).","exampleUseCases":[{"title":"Stroke workup phenotype encoding","prompt":"I've completed a stroke workup: atherosclerosis is grade 1 (potentially causal), small-vessel disease is grade 3 (unlikely causal but present), cardiac is grade 0 (absent), other causes are grade 9 (insufficient workup), and dissection is grade 0 (absent) — what is the ASCOD phenotype string?"},{"title":"Uncertain cardiac etiology documentation","prompt":"For my ischemic stroke patient, atherosclerosis grade is 0, small-vessel is 0, cardiac is 2 (causality uncertain), other is 0, and dissection is 9 (insufficient workup) — can you give me the Amarenco 2013 ASCOD phenotype?"},{"title":"Multi-etiology stroke classification","prompt":"My stroke patient has atherosclerosis grade 1, small-vessel grade 1, cardiac grade 0, other grade 0, and dissection grade 0 — encode that as an ASCOD phenotype using the Amarenco 2013 system."}],"resultDescription":"Returns a formatted ASCOD phenotype string in the style A1-S0-C2-O0-D0, encoding each of the five etiologic categories (atherosclerosis, small-vessel disease, cardiac pathology, other causes, dissection) with their respective caller-assigned grades. Does not compute a summed score; each component grade is preserved independently.","failureModes":["Missing any of the five required grade parameters returns a validation error","Grade values outside the allowed set (0,1,2,3,9) are rejected","Network or payment authorization failures return HTTP 402 or 5xx errors"],"whenToPreferThis":"Use this endpoint when you need to encode ischemic stroke etiology according to the Amarenco 2013 ASCOD phenotyping system and already have clinician-assigned grades for all five categories. Prefer this over TOAST or CCS classification tasks, as this endpoint is specifically ASCOD-only. It is a pure computation endpoint — it does not interpret imaging or produce treatment recommendations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:55:38.163Z","isFirstParty":false}