{"uid":"cap_uxtFJt4eukVzlhzlNeXrO","slug":"he-macs-acs-probability-calculator-alghamdi-2019-49384206","name":"HE-MACS ACS Probability Calculator (Alghamdi 2019)","description":"Alghamdi 2019 HE-MACS ACS probability from age, sex, caller-assigned observed sweating, acute ECG ischaemia, right-arm or shoulder radiation, vomiting, hypotension (SBP <100), and current smoking. Table 2 printed coefficients. Returns probability only; four-group ROC thresholds are in that paper's supplement and are not restated here. magent does not interpret ECG or take a history. Not MACS (Body 2014 biomarkers) or T-MACS. Not a diagnosis.","url":"https://api.magentlab.com/api/calc/he_macs","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","sex","sweating_observed","acute_ecg_ischaemia","pain_radiation_right_arm_or_shoulder","vomiting","hypotension","current_smoker"],"properties":{"age":{"type":"number","description":"Age in years as a continuous linear predictor (g; 18-100, implementation clamp). Alghamdi 2019 Table 2. magent does not read an identity document."},"sex":{"enum":["female","male"],"type":"string","description":"Sex used as h in Alghamdi 2019 Table 2 (male = 1, female = 0). male or female, case-insensitive. magent does not examine the patient."},"vomiting":{"type":"boolean","description":"Vomiting associated with the pain as assigned by the caller (d; Alghamdi 2019). true or false."},"hypotension":{"type":"boolean","description":"Hypotension as assigned by the caller (e): systolic BP <100 mm Hg (Alghamdi 2019, dichotomised as in that paper). true or false."},"current_smoker":{"type":"boolean","description":"Current tobacco smoker as assigned by the caller (f; Alghamdi 2019). true or false. magent does not take a smoking history."},"sweating_observed":{"type":"boolean","description":"Sweating observed by the treating clinician as assigned by the caller (a; 1 if true, 0 if false). true or false. magent does not examine the patient."},"acute_ecg_ischaemia":{"type":"boolean","description":"Caller-assigned acute ECG ischaemia as used in Alghamdi 2019 (b): ST-deviation or abnormal T inversion (1 if true, 0 if false). magent does not interpret an ECG."},"pain_radiation_right_arm_or_shoulder":{"type":"boolean","description":"Pain radiating to the right arm or shoulder as assigned by the caller (c; Alghamdi 2019). true or false. magent does not take a pain history."}}}},"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_a5OKkRiymHU5Lb8lnaLPY","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":"Calculates the probability of acute coronary syndrome (ACS) using the HE-MACS model based on age, sex, and six clinical observations.","exampleAgentPrompt":"Run the HE-MACS ACS probability score for a 58-year-old male who has observed sweating, acute ECG ischaemia present, no pain radiation to the right arm or shoulder, no vomiting, no hypotension, and is a current smoker.","exampleUseCases":[{"title":"Emergency triage for chest pain patient","prompt":"I need the HE-MACS ACS probability for a 72-year-old female presenting with chest pain — sweating is observed, no acute ECG ischaemia, pain does radiate to the right shoulder, she is vomiting, her systolic BP is 88 so she's hypotensive, and she is not a current smoker."},{"title":"Low-risk chest pain stratification","prompt":"Can you calculate the Alghamdi 2019 HE-MACS score for a 45-year-old male with no observed sweating, no ECG changes, no right arm radiation, no vomiting, normal blood pressure, and he doesn't smoke? I want to see how low the ACS probability is."},{"title":"Automated cardiac risk scoring in clinical workflow","prompt":"Score this patient with HE-MACS: 63-year-old female, sweating observed, no acute ECG ischaemia, no right arm or shoulder radiation, no vomiting, not hypotensive, current smoker — give me the probability of ACS."}],"resultDescription":"Returns a single numeric probability (0–1) representing the likelihood of acute coronary syndrome (ACS) as computed by the Alghamdi 2019 HE-MACS logistic regression model using the Table 2 coefficients. Does not include ROC-based risk group thresholds, ECG interpretation, or a clinical diagnosis.","failureModes":["Missing required query parameter returns an error (e.g. omitting age or sex)","Age value outside the clamped range (18–100) may be silently clamped or return a validation error","Invalid sex value (not 'male' or 'female') returns a validation error","Boolean fields passed as strings instead of true/false booleans may fail schema validation","Network or payment (x402) failure results in no response"],"whenToPreferThis":"Choose this endpoint when you need to apply the specific Alghamdi 2019 HE-MACS model for ACS probability estimation using only clinical signs (no biomarkers required). Prefer this over MACS (Body 2014) or T-MACS when biomarker data is unavailable or when replicating the HE-MACS study methodology. It is not a substitute for HEART score, TIMI, or GRACE, and does not replace clinical judgment or ECG interpretation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:01:17.945Z","isFirstParty":false}