{"uid":"cap_4HcBpv_Enh47KtQPVcdYs","slug":"revised-cardiac-risk-index-rcri-calculator-c2c40ee5","name":"Revised Cardiac Risk Index (RCRI) Calculator","description":"Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.","url":"https://api.magentlab.com/api/calc/rcri?utm_source=zero.xyz","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":["high_risk_surgery","ischemic_heart_disease","congestive_heart_failure","cerebrovascular_disease","insulin_diabetes","creatinine_gt_2"],"properties":{"creatinine_gt_2":{"type":"boolean","description":"Preoperative serum creatinine >2.0 mg/dL (Lee 1999). true or false."},"insulin_diabetes":{"type":"boolean","description":"Preoperative insulin therapy for diabetes (Lee 1999). true or false."},"high_risk_surgery":{"type":"boolean","description":"Intraperitoneal, intrathoracic, or suprainguinal vascular surgery (Lee 1999). true or false."},"ischemic_heart_disease":{"type":"boolean","description":"History of myocardial infarction, positive exercise test, current chest pain from ischemia, nitrate use, or Q waves (Lee 1999). true or false."},"cerebrovascular_disease":{"type":"boolean","description":"History of stroke or TIA (Lee 1999). true or false."},"congestive_heart_failure":{"type":"boolean","description":"History of heart failure, pulmonary edema, PND, rales, S3, or chest radiograph with vascular redistribution (Lee 1999). true or false."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/rcri","count":2,"items":[{"score":0,"formula":"rcri","citation":{"id":"lee-1999","doi":"10.1161/01.CIR.100.10.1043","title":"Derivation and prospective validation of a simple index for prediction of cardiac risk of major noncardiac surgery","source":"Circulation. 1999;100(10):1043-1049","authors":"Lee TH, Marcantonio ER, Mangione CM, et al."},"max_score":6,"components":[{"factor":"high_risk_surgery","points":0,"present":false},{"factor":"ischemic_heart_disease","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"insulin_diabetes","points":0,"present":false},{"factor":"creatinine_gt_2","points":0,"present":false}],"disclaimer":"Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.","rcri_class":"I","formula_expression":"RCRI = high_risk_surgery + ischemic_heart_disease + congestive_heart_failure + cerebrovascular_disease + insulin_diabetes + creatinine_gt_2; each 1; max 6"},{"score":0,"formula":"rcri","citation":{"id":"lee-1999","doi":"10.1161/01.CIR.100.10.1043","title":"Derivation and prospective validation of a simple index for prediction of cardiac risk of major noncardiac surgery","source":"Circulation. 1999;100(10):1043-1049","authors":"Lee TH, Marcantonio ER, Mangione CM, et al."},"max_score":6,"components":[{"factor":"high_risk_surgery","points":0,"present":false},{"factor":"ischemic_heart_disease","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"insulin_diabetes","points":0,"present":false},{"factor":"creatinine_gt_2","points":0,"present":false}],"disclaimer":"Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.","rcri_class":"I","formula_expression":"RCRI = high_risk_surgery + ischemic_heart_disease + congestive_heart_failure + cerebrovascular_disease + insulin_diabetes + creatinine_gt_2; each 1; max 6"}]}},"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_eO18ymOABjFIeHXqDpmQo","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 Lee 1999 Revised Cardiac Risk Index score (0–6) and risk class (I–IV) from six binary clinical factors for perioperative cardiac risk estimation.","exampleAgentPrompt":"Calculate the Revised Cardiac Risk Index for a patient who is having intrathoracic surgery, has a history of myocardial infarction and congestive heart failure, no cerebrovascular disease, is on insulin for diabetes, and has a preoperative creatinine of 2.4 mg/dL.","exampleUseCases":[{"title":"Preoperative cardiac risk stratification","prompt":"I need the RCRI score for a patient scheduled for suprainguinal vascular surgery — they have a history of TIA, are on insulin, no heart failure, no ischemic heart disease, and creatinine is 1.8 mg/dL."},{"title":"EHR-integrated risk documentation","prompt":"For my patient going into an intraperitoneal procedure: ischemic heart disease yes, congestive heart failure no, cerebrovascular disease no, insulin diabetes yes, creatinine greater than 2 no, high-risk surgery yes — what's their Lee 1999 RCRI class?"},{"title":"Clinical decision support for anesthesia team","prompt":"What RCRI risk class does a patient fall into if they have no high-risk surgery, no ischemic heart disease, heart failure present, no cerebrovascular disease, not on insulin, and creatinine is normal?"}],"resultDescription":"Returns the numeric RCRI score (0–6, one point per positive factor) and the corresponding risk class (I–IV) based on the Lee 1999 derivation, along with the six individual factor values used in the calculation. Does not provide operative clearance.","failureModes":["Missing any of the six required boolean query parameters returns a validation error","Non-boolean values for flag parameters cause a schema error","Network or payment (x402) failure prevents score retrieval"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, citeable perioperative cardiac risk score following the published Lee 1999 RCRI algorithm. Prefer it over general clinical AI when reproducibility and alignment with a specific validated index is required, such as for documentation, auditing, or EHR integration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:42:33.417Z","isFirstParty":false,"canonicalSlug":"revised-cardiac-risk-index-rcri-calculator-c2c40ee5"}