{"uid":"cap_hy0cs5MOuRKUA5Ofct5OG","slug":"mahler-2015-heart-pathway-early-discharge-calculator-5ec4732c","name":"Mahler 2015 HEART Pathway Early Discharge Calculator","description":"Mahler 2015 HEART Pathway for emergency chest pain. early_discharge_candidate is true only when the caller-assigned HEART score is 0-3 and both 0-hour and 3-hour troponin flags are not elevated (above the 99th percentile). HEART items are not assigned here. magent does not read an ECG or assay a troponin. Does not order a stress test or angiogram. High-risk features do not mandate a test. Not a medical device and not a diagnosis.","url":"https://api.magentlab.com/api/calc/heart_pathway","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":["heart_score","troponin_0_elevated","troponin_3h_elevated"],"properties":{"heart_score":{"type":"integer","description":"Caller-assigned HEART score integer 0-10 (Six 2008 components already summed by the caller). magent does not assign history, ECG, age, risk-factor, or troponin HEART items. Early discharge requires 0-3 when both serial troponin flags are false."},"troponin_0_elevated":{"type":"boolean","description":"0-hour troponin above the 99th percentile threshold as assigned by the caller. true or false. true blocks early discharge. magent does not assay a troponin."},"troponin_3h_elevated":{"type":"boolean","description":"3-hour troponin above the 99th percentile threshold as assigned by the caller. true or false. true blocks early discharge. magent does not assay a troponin."}}}},"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_1Sqkp-KPpM2n_Ccl7X5WQ","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":"Applies the Mahler 2015 HEART Pathway protocol to determine whether an emergency chest pain patient is a candidate for early discharge based on a caller-assigned HEART score and serial troponin flags.","exampleAgentPrompt":"My patient has a caller-assigned HEART score of 2, their 0-hour troponin is not elevated, and their 3-hour troponin is also not elevated — run the Mahler 2015 HEART Pathway and tell me if they're an early discharge candidate.","exampleUseCases":[{"title":"Low-risk chest pain discharge decision","prompt":"I've summed up a HEART score of 3 for this chest pain patient, their 0-hour troponin is negative, and the 3-hour troponin is also negative — does the HEART Pathway say they can be discharged early?"},{"title":"Elevated troponin blocking discharge","prompt":"My patient's HEART score came out to 2, the 0-hour troponin is not elevated, but the 3-hour troponin is elevated — run the HEART Pathway and tell me if early discharge is still on the table."},{"title":"High HEART score chest pain triage","prompt":"This chest pain patient has a HEART score of 7, 0-hour troponin is not elevated, and 3-hour troponin is not elevated — what does the HEART Pathway say about early discharge eligibility?"}],"resultDescription":"Returns an early_discharge_candidate boolean: true only when the HEART score is 0–3 AND both the 0-hour and 3-hour troponin flags are false (not elevated). Any HEART score above 3 or any elevated troponin flag yields false. The endpoint does not assign HEART components, read ECGs, assay troponins, or order further testing.","failureModes":["Missing required query parameters (heart_score, troponin_0_elevated, troponin_3h_elevated) result in a 400 error","heart_score outside the valid 0–10 integer range may return an error or unexpected result","Boolean flags passed as strings instead of booleans may be rejected","Payment failure or insufficient USDC balance results in a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need to apply the Mahler 2015 HEART Pathway protocol specifically — not just a generic HEART score calculator. It is ideal when the caller has already summed the HEART score and determined troponin elevation status and needs a protocol-compliant early discharge determination. Prefer this over manual logic to ensure consistent application of the 0–3 threshold and dual serial troponin rule.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:53:12.533Z","isFirstParty":false}