{"uid":"cap_G6uai86jC9u_s2Nadx-mN","slug":"plan-score-calculator-o-donnell-2012-6e4a6071","name":"PLAN Score Calculator (O'Donnell 2012)","description":"PLAN score (O'Donnell 2012 Arch Intern Med Table 4): preadmission dependence 1.5, cancer 1.5, CHF 1, atrial fibrillation 1, reduced LOC 5, age 1 point per decade (max 10), significant/total arm weakness 2, leg weakness 2, aphasia or neglect 1. Max 25. Bands <10, 10-15, >15. Not a tPA decision and not iScore. magent does not examine the patient.","url":"https://api.magentlab.com/api/calc/plan","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","preadmission_dependence","cancer","congestive_heart_failure","atrial_fibrillation","reduced_loc","arm_weakness","leg_weakness","aphasia_or_neglect"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). O'Donnell 2012 Table 4: 1 point per decade (floor age/10), maximum 10. The derivation excluded patients younger than 18."},"cancer":{"type":"boolean","description":"History of cancer on the admission notes (O'Donnell 2012 Table 4; not a diagnosis made during the incident hospitalization). true scores 1.5; false scores 0. The caller assigns the item."},"reduced_loc":{"type":"boolean","description":"Caller-assigned reduced level of consciousness (O'Donnell 2012 Table 4). true scores 5; false (alert) scores 0. magent does not examine the patient."},"arm_weakness":{"type":"boolean","description":"Caller-assigned significant or total arm weakness (O'Donnell 2012 Table 4). true scores 2. Mild or no weakness scores 0. magent does not examine the patient."},"leg_weakness":{"type":"boolean","description":"Caller-assigned significant or total leg weakness (O'Donnell 2012 Table 4). true scores 2. Mild or no weakness scores 0. magent does not examine the patient."},"aphasia_or_neglect":{"type":"boolean","description":"Caller-assigned aphasia or neglect (O'Donnell 2012 Table 4 combined item). true scores 1 whether one or both are present; false scores 0. magent does not examine the patient."},"atrial_fibrillation":{"type":"boolean","description":"Atrial fibrillation (O'Donnell 2012 Table 4). true scores 1; false scores 0. The caller assigns the item."},"preadmission_dependence":{"type":"boolean","description":"Preadmission dependence (O'Donnell 2012 Table 4). true scores 1.5; false scores 0. The caller assigns the item."},"congestive_heart_failure":{"type":"boolean","description":"Congestive heart failure (O'Donnell 2012 Table 4). true scores 1; false scores 0. The caller assigns the item."}}}},"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_FcZsLqGo-XMCmEp-9jdt7","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 PLAN score for ischemic stroke outcome prediction using O'Donnell 2012 Arch Intern Med Table 4 clinical variables","exampleAgentPrompt":"Calculate the PLAN score for a 72-year-old stroke patient who has preadmission dependence, a history of cancer, no CHF, no atrial fibrillation, is alert, has significant arm weakness and leg weakness, and has aphasia.","exampleUseCases":[{"title":"Acute stroke triage risk stratification","prompt":"My patient is a 68-year-old who had a stroke — he has preadmission dependence, known CHF, no cancer, no atrial fibrillation, he's alert, has significant arm and leg weakness, and no aphasia or neglect. What is his PLAN score and which risk band does he fall into?"},{"title":"Clinical dashboard auto-scoring on admission","prompt":"For our newly admitted stroke patient, age 80, with preadmission dependence, cancer history, atrial fibrillation, no CHF, reduced level of consciousness, total arm weakness, leg weakness, and aphasia — can you compute the O'Donnell PLAN score?"},{"title":"Comparing outcomes for two stroke patients","prompt":"I have two stroke patients: one is 55 with no preadmission dependence, no cancer, no CHF, no AFib, alert, no arm or leg weakness, no aphasia — and one is 78 with preadmission dependence, cancer, CHF, AFib, reduced LOC, arm weakness, leg weakness, and neglect. Calculate their PLAN scores so I can compare their risk bands."}],"resultDescription":"Returns the total PLAN score (0–25) and the corresponding risk band: low (<10), medium (10–15), or high (>15), based on summing points for preadmission dependence (1.5), cancer (1.5), CHF (1), atrial fibrillation (1), reduced LOC (5), age in decades capped at 10 points, arm weakness (2), leg weakness (2), and aphasia/neglect (1).","failureModes":["Missing required query parameters returns an error — all nine fields are required","Age outside supported range (below 18 or above 120) may be rejected","Boolean fields passed as non-boolean values will cause a validation error","Payment failure via x402 protocol results in 402 response and no score returned"],"whenToPreferThis":"Use this endpoint when you need a validated, reproducible PLAN score for ischemic stroke patients per O'Donnell 2012; prefer this over manual computation to avoid arithmetic errors. Note: this is not a tPA eligibility tool and should not be confused with the iScore — it is specifically for functional outcome risk stratification post-stroke.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:07:55.162Z","isFirstParty":false}