{"uid":"cap_9P5ICr0mdbiKFJg13ntkj","slug":"gupta-mica-calculator-30-day-mi-cardiac-arrest-risk-after-surgery-7ffa2d16","name":"Gupta MICA Calculator (30-Day MI/Cardiac Arrest Risk After Surgery)","description":"Gupta 2011 Table 2 logistic probability of 30-day myocardial infarction or cardiac arrest after surgery from age, ASA class, functional status, creatinine category (normal, abnormal >1.5 mg/dL, or missing), and surgery type (hernia reference). Returns logit and estimated_probability_percent. Not a medical device, not a diagnosis, not surgical clearance, and not RCRI. Gupta 2011 publishes no low/high cutoff.","url":"https://api.magentlab.com/api/calc/gupta_mica","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","functional_status","asa_class","creatinine","surgery"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). Gupta 2011 Table 2: +0.02 per year."},"surgery":{"enum":["hernia","anorectal","aortic","bariatric","brain","breast","cardiac","ent","foregut_hpb","gbaas","intestinal","neck","obstetric_gynecologic","orthopedic","other_abdomen","peripheral_vascular","skin","spine","thoracic","vein","urology"],"type":"string","description":"Gupta 2011 Table 2 procedure category as assigned by the caller. hernia is the reference (0). gbaas is gallbladder, adrenal, appendix, or spleen (laparoscopic cholecystectomy in the paper example). magent does not classify a CPT code."},"asa_class":{"type":"integer","description":"ASA physical status 1-5 (Gupta 2011 Table 2; class 5 is the reference). class 1 -5.17, class 2 -3.29, class 3 -1.92, class 4 -0.95, class 5 adds 0. Caller-assigned integer."},"creatinine":{"enum":["normal","abnormal","missing"],"type":"string","description":"Gupta 2011 creatinine category as assigned by the caller: normal (reference, 0), abnormal (>1.5 mg/dL, +0.61), or missing (-0.10). Do not send a creatinine number."},"functional_status":{"enum":["independent","partially_dependent","totally_dependent"],"type":"string","description":"Gupta 2011 functional status as assigned by the caller: independent (reference, 0), partially_dependent (+0.65), or totally_dependent (+1.03). 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_BuxDI4gmrgqpBXUu7PzB7","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 Gupta 2011 MICA logistic regression score estimating probability of 30-day myocardial infarction or cardiac arrest after non-cardiac surgery, returning logit and estimated probability percent.","exampleAgentPrompt":"Using the Gupta 2011 MICA model, what's the estimated 30-day probability of MI or cardiac arrest for a 72-year-old, ASA class 3, partially dependent patient with abnormal creatinine (above 1.5 mg/dL) scheduled for thoracic surgery?","exampleUseCases":[{"title":"Pre-op cardiac risk estimation for elderly patient","prompt":"I have a 78-year-old ASA class 4, totally dependent patient with normal creatinine going in for aortic surgery — can you run the Gupta 2011 MICA model and tell me the estimated probability of MI or cardiac arrest within 30 days?"},{"title":"Comparing risk across surgery types","prompt":"For a 60-year-old ASA class 2, independent patient with missing creatinine data, calculate the Gupta MICA probability for both orthopedic surgery and intestinal surgery so I can see how the surgery type changes the cardiac risk estimate."},{"title":"Anesthesia documentation support","prompt":"I need to document perioperative cardiac risk for a 55-year-old ASA class 1, fully independent patient with normal creatinine having hernia repair — please compute the Gupta 2011 MICA logit and estimated probability percent."}],"resultDescription":"Returns a JSON object containing the logit (raw log-odds from the Gupta 2011 Table 2 coefficients) and estimated_probability_percent (converted probability of 30-day MI or cardiac arrest after surgery), with no thresholds or risk categories applied since Gupta 2011 publishes none.","failureModes":["Missing required query parameters (age, asa_class, functional_status, creatinine, surgery) returns a validation error","Age outside 18-120 integer range may return an error or unexpected result","Invalid enum values for surgery, creatinine, or functional_status return schema validation errors","ASA class outside 1-5 integer range causes computation failure","Payment not provided or insufficient USDC balance returns HTTP 402"],"whenToPreferThis":"Use this endpoint when you need to implement the published Gupta 2011 MICA logistic regression model specifically (not RCRI or other cardiac risk indices) for estimating 30-day perioperative MI or cardiac arrest probability. It faithfully applies the Table 2 coefficients from the original paper and is appropriate when the caller has already assigned ASA class, functional status, creatinine category, and surgery type. Prefer this over RCRI calculators when the Gupta 2011 model is explicitly required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:50:18.712Z","isFirstParty":false}