{"uid":"cap_gd_-WSycPFjYQISLzAJ59","slug":"pascal-pfo-associated-stroke-causal-likelihood-calculator-724359d0","name":"PASCAL PFO-Associated Stroke Causal Likelihood Calculator","description":"PASCAL (PFO-Associated Stroke Causal Likelihood; Kent 2021 JAMA Table 1) from a caller-assigned RoPE total (0-10; magent does not recompute RoPE) plus large-shunt and atrial-septal-aneurysm flags. high_rope is RoPE ≥7 (not >7). high_risk_pfo is large shunt and/or ASA. probable if both, possible if exactly one, unlikely if neither. Not a closure order, not RoPE, not ESUS. Trial ages 18-60 are a limitation. magent does not read echocardiography.","url":"https://api.magentlab.com/api/calc/pascal","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":["rope_score","large_shunt","atrial_septal_aneurysm"],"properties":{"rope_score":{"type":"integer","description":"Caller-assigned RoPE total integer 0-10 (Kent 2013 components already summed; related tool rope). magent does not recompute RoPE. high_rope is true when rope_score is 7 or greater (Kent 2021 Table 1 / NCBI reprint; not greater-than-7 only)."},"large_shunt":{"type":"boolean","description":"Large-sized shunt as assigned by the caller (Kent 2021 Table 1 high-risk PFO feature). true or false. high_risk_pfo is true if this flag or atrial_septal_aneurysm is true. magent does not echo this flag and does not read echocardiography."},"atrial_septal_aneurysm":{"type":"boolean","description":"Atrial septal aneurysm (ASA) as assigned by the caller (Kent 2021 Table 1 high-risk PFO feature). true or false. high_risk_pfo is true if this flag or large_shunt is true. magent does not echo this flag and does not read echocardiography."}}}},"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_FYNvTb1CNFq-iIkTnaU6E","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 PASCAL causal likelihood (probable/possible/unlikely) for PFO-associated stroke from a caller-supplied RoPE score plus large-shunt and atrial-septal-aneurysm flags","exampleAgentPrompt":"My patient had a cryptogenic stroke and echo shows a large shunt but no atrial septal aneurysm — the neurologist assigned a RoPE score of 8. Can you run the PASCAL classification to see if the stroke is probable, possible, or unlikely to be PFO-related?","exampleUseCases":[{"title":"Cryptogenic stroke PFO workup","prompt":"I have a 45-year-old with cryptogenic stroke, RoPE score of 7, echocardiography shows no large shunt and no atrial septal aneurysm — what does PASCAL say about the likelihood this stroke is PFO-associated?"},{"title":"High-risk PFO closure candidacy screen","prompt":"Patient is 52 years old, RoPE score of 9, echo findings include both a large shunt and atrial septal aneurysm — run the PASCAL algorithm and tell me the causal likelihood category and whether this counts as a high-risk PFO."},{"title":"Low RoPE unlikely PFO classification","prompt":"For this stroke patient with a RoPE score of 4, no large shunt, and no atrial septal aneurysm, can you apply the PASCAL criteria from Kent 2021 and tell me the resulting likelihood category?"}],"resultDescription":"Returns the PASCAL causal likelihood category (probable, possible, or unlikely), a high_rope flag (true when RoPE ≥7), and a high_risk_pfo flag (true when large shunt and/or atrial septal aneurysm is present), based on Kent 2021 JAMA Table 1 logic.","failureModes":["Missing required parameters (rope_score, large_shunt, or atrial_septal_aneurysm) returns a validation error","rope_score outside 0-10 integer range may return an error or undefined behavior","Caller passes a non-integer rope_score (e.g. float) which may be rejected","Misinterpretation: endpoint does not compute RoPE itself — caller must pre-calculate and supply it","Payment failure (x402) if USDC balance is insufficient or payment header is missing"],"whenToPreferThis":"Use this endpoint when you have already computed the RoPE score externally (e.g. via the companion 'rope' tool on api.magentlab.com) and have echocardiographic findings (large shunt and ASA status) assigned by a clinician, and need to apply the Kent 2021 PASCAL Table 1 classification to determine PFO-associated stroke causal likelihood. Prefer this over manual lookup when automating stroke workup pipelines or building clinical decision support agents. Not appropriate if you need to compute RoPE from components, perform echocardiographic interpretation, or if the patient is outside the 18–60 age range studied in closure trials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:56:20.358Z","isFirstParty":false}