{"uid":"cap_gv0W85t1wYcJyP2plXadf","slug":"magent-nyha-functional-capacity-class-lookup-5d4bb9d6","name":"magent NYHA Functional Capacity Class Lookup","description":"NYHA 1994 functional capacity class 1-4 as assigned by the caller (Criteria Committee of the New York Heart Association, 9th edition). Returns class, score, max 4, and the published class description. Functional capacity only; not Objective Assessment A-D and not ACC/AHA stages. Not a heart-failure diagnosis; magent does not examine the patient.","url":"https://api.magentlab.com/api/calc/nyha","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":["nyha_class"],"properties":{"nyha_class":{"type":"integer","description":"NYHA 1994 functional capacity class 1-4 as assigned by the caller (1 no limitation of ordinary activity; 2 slight limitation, comfortable at rest, ordinary activity causes symptoms; 3 marked limitation, less than ordinary activity causes symptoms; 4 inability to carry on any physical activity without discomfort, symptoms may be present at rest). magent does not examine the patient."}}}},"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_TV__IzXeBuJiPDAP13vfZ","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":"Returns the NYHA 1994 functional capacity class label, numeric score, and published description for a caller-supplied class integer (1–4).","exampleAgentPrompt":"Look up NYHA functional capacity class 3 — give me the official 1994 description, the numeric score, and the max score.","exampleUseCases":[{"title":"EHR clinical note enrichment","prompt":"The cardiologist documented NYHA class 2 for this patient — can you pull the full published 1994 functional capacity description so I can append it to the structured note?"},{"title":"Heart failure dashboard scoring","prompt":"I'm building a cardiology dashboard and need to display the NYHA class label and score for a patient assigned class 4 — fetch the official class details for me."},{"title":"Clinical decision support annotation","prompt":"We have a patient flagged at NYHA functional class 3; retrieve the official nine-edition description and score so the alert includes the full context."}],"resultDescription":"Returns a JSON object containing the NYHA functional capacity class integer (1–4), its numeric score, the maximum possible score (4), and the verbatim published class description from the 1994 ninth-edition Criteria Committee of the New York Heart Association.","failureModes":["Missing or null nyha_class parameter returns a validation error","nyha_class value outside 1–4 (e.g. 0 or 5) returns an error or undefined behaviour","Non-integer nyha_class (e.g. float or string) rejected by schema validation","Network or payment (x402) failure prevents response delivery"],"whenToPreferThis":"Use this endpoint when you need the authoritative, verbatim NYHA 1994 ninth-edition functional capacity class description and score for a given class integer. It is purpose-built for clinical annotation, structured reporting, and decision-support pipelines that must cite the correct published text rather than paraphrase it. It is not a diagnosis tool and does not cover ACC/AHA heart failure stages or NYHA Objective Assessment A–D.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:46:54.138Z","isFirstParty":false}