{"uid":"cap_tcqNYOynLKy_Ab7jX49Yl","slug":"aub-has2-perioperative-cardiac-risk-calculator-dakik-2019-211dae5e","name":"AUB-HAS2 Perioperative Cardiac Risk Calculator (Dakik 2019)","description":"Dakik 2019 AUB-HAS2 for 30-day death/MI/stroke after noncardiac surgery: six 1-point elements (history of heart disease, angina or dyspnea, age ≥75, hemoglobin <12 g/dL, vascular surgery, emergency surgery). Low 0-1, intermediate 2-3, high >3 (max 6). Derivation rates 0%, 0.5%, 2.0%, 5.6%, 15.7% by score 0/1/2/3/>3. Not a medical device, not RCRI, not ACS treatment, and not operative clearance.","url":"https://api.magentlab.com/api/calc/aub_has2","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","history_of_heart_disease","angina_or_dyspnea","vascular_surgery","emergency_surgery"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). Age ≥75 scores 1 (Dakik 2019). 75 scores; 74 does not."},"hemoglobin_g_l":{"type":"number","description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both."},"hemoglobin_g_dl":{"type":"number","description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. Dakik 2019 writes mg/dl; clinical use is g/dL. <12 g/dL scores 1 (11.9 scores; 12.0 does not). magent does not assay hemoglobin."},"vascular_surgery":{"type":"boolean","description":"Vascular surgery as assigned by the caller (Dakik 2019). true or false. 1 point if true."},"angina_or_dyspnea":{"type":"boolean","description":"Symptoms of angina or dyspnea as assigned by the caller (Dakik 2019). true or false. magent does not take a symptom history. 1 point if true."},"emergency_surgery":{"type":"boolean","description":"Emergency surgery as assigned by the caller (Dakik 2019). true or false. 1 point if true."},"history_of_heart_disease":{"type":"boolean","description":"History of heart disease as assigned by the caller (Dakik 2019). true or false. magent does not take a cardiac history. 1 point if true."}}}},"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_jPXR4aFIAbczbATmSAf0q","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 Dakik 2019 AUB-HAS2 score and risk category for 30-day death, MI, or stroke after noncardiac surgery using six clinical elements","exampleAgentPrompt":"Calculate the AUB-HAS2 perioperative cardiac risk score for a 77-year-old patient who has a history of heart disease, symptoms of angina, a hemoglobin of 10.5 g/dL, and is scheduled for elective vascular surgery — not an emergency.","exampleUseCases":[{"title":"Preoperative risk stratification for vascular surgery","prompt":"I have a 78-year-old patient with a history of heart disease, no angina or dyspnea, hemoglobin of 13.2 g/dL, scheduled for elective vascular surgery — can you compute their AUB-HAS2 score and tell me whether they're low, intermediate, or high risk?"},{"title":"Emergency surgery cardiac risk assessment","prompt":"A 68-year-old patient with no history of heart disease and no angina is going into emergency abdominal surgery tonight — hemoglobin is 11.8 g/dL, not a vascular case. What's their AUB-HAS2 score and risk category?"},{"title":"Low-risk preop screening for young patient","prompt":"My patient is 62, no cardiac history, no angina or dyspnea, hemoglobin 14.5 g/dL, elective non-vascular surgery, not an emergency. Can you run the Dakik 2019 AUB-HAS2 calculation and confirm they're in the low-risk group?"}],"resultDescription":"Returns the computed AUB-HAS2 total score (0–6), the corresponding risk category (low: 0–1, intermediate: 2–3, high: >3), and the derivation-cohort event rates associated with each score level (0%/0.5%/2.0%/5.6%/15.7% for scores 0/1/2/3/>3).","failureModes":["Missing required boolean flags (history_of_heart_disease, angina_or_dyspnea, vascular_surgery, emergency_surgery) returns a validation error","Age outside range 18–120 rejected with parameter error","Providing both hemoglobin_g_dl and hemoglobin_g_l simultaneously causes a conflict error","Hemoglobin value outside valid range (3–22 g/dL or 30–220 g/L) rejected","Non-integer age value rejected"],"whenToPreferThis":"Use this endpoint when you need to apply the specific Dakik 2019 AUB-HAS2 six-element scoring algorithm for 30-day MACE risk after noncardiac surgery; prefer it over RCRI-based tools when the clinical context matches the Dakik 2019 derivation cohort or when you need AUB-HAS2 specifically rather than a generic perioperative risk score.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:08:35.861Z","isFirstParty":false}