{"uid":"cap_vXvBw_0OQGFU9iqW-SbwU","slug":"imdc-heng-2009-risk-score-calculator-295f9784","name":"IMDC (Heng 2009) Risk Score Calculator","description":"Heng 2009 IMDC: KPS <80, diagnosis-to-treatment <1 year, hemoglobin <LLN, corrected calcium >ULN, neutrophils >ULN, platelets >ULN; 1 point each, max 6. Favorable 0, intermediate 1–2, poor ≥3. Deterministic published score with citation; not an RCC diagnosis or treatment recommendation. magent does not assign KPS or compare Hb, Ca, ANC, or platelets to institutional LLN/ULN.","url":"https://api.magentlab.com/api/calc/imdc","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":["kps_lt_80","diagnosis_to_treatment_lt_1_year","hemoglobin_lt_lln","corrected_calcium_gt_uln","neutrophils_gt_uln","platelets_gt_uln"],"properties":{"kps_lt_80":{"type":"boolean","description":"Karnofsky performance status <80 as assigned by the caller (Heng 2009). true scores 1. magent does not assign KPS."},"platelets_gt_uln":{"type":"boolean","description":"Platelets above the institutional upper limit of normal as assigned by the caller (Heng 2009). true scores 1. magent does not assay platelets or apply ULN."},"hemoglobin_lt_lln":{"type":"boolean","description":"Hemoglobin below the institutional lower limit of normal as assigned by the caller (Heng 2009). true scores 1. magent does not assay hemoglobin or apply LLN."},"neutrophils_gt_uln":{"type":"boolean","description":"Neutrophils above the institutional upper limit of normal as assigned by the caller (Heng 2009). true scores 1. magent does not assay ANC or apply ULN."},"corrected_calcium_gt_uln":{"type":"boolean","description":"Corrected calcium above the institutional upper limit of normal as assigned by the caller (Heng 2009). true scores 1. magent does not assay calcium or apply ULN."},"diagnosis_to_treatment_lt_1_year":{"type":"boolean","description":"Time from diagnosis to systemic treatment <1 year as assigned by the caller (Heng 2009). true scores 1. magent does not date the interval."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/imdc","count":2,"items":[{"score":0,"formula":"imdc","citation":{"id":"heng-2009","doi":"10.1200/JCO.2008.21.4809","pmid":"19826129","title":"Prognostic factors for overall survival in patients with metastatic renal cell carcinoma treated with vascular endothelial growth factor-targeted agents: results from a large, multicenter study","source":"J Clin Oncol. 2009;27(34):5794-5799","authors":"Heng DY, Xie W, Regan MM, Warren MA, Golshayan AR, Sahi C, Eigl BJ, Ruether JD, Cheng T, North S, Venner P, Knox JJ, Chi KN, Kollmannsberger C, McDermott DF, Rini BI, Bukowski RM, Rha SY, Choueiri TK"},"imdc_band":"favorable","max_score":6,"components":[{"factor":"kps_lt_80","points":0,"present":false},{"factor":"diagnosis_to_treatment_lt_1_year","points":0,"present":false},{"factor":"hemoglobin_lt_lln","points":0,"present":false},{"factor":"corrected_calcium_gt_uln","points":0,"present":false},{"factor":"neutrophils_gt_uln","points":0,"present":false},{"factor":"platelets_gt_uln","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.","formula_expression":"IMDC = kps_lt_80 1 + diagnosis_to_treatment_lt_1_year 1 + hemoglobin_lt_lln 1 + corrected_calcium_gt_uln 1 + neutrophils_gt_uln 1 + platelets_gt_uln 1; Heng 2009; max 6; favorable 0, intermediate 1-2, poor ≥3"},{"score":0,"formula":"imdc","citation":{"id":"heng-2009","doi":"10.1200/JCO.2008.21.4809","pmid":"19826129","title":"Prognostic factors for overall survival in patients with metastatic renal cell carcinoma treated with vascular endothelial growth factor-targeted agents: results from a large, multicenter study","source":"J Clin Oncol. 2009;27(34):5794-5799","authors":"Heng DY, Xie W, Regan MM, Warren MA, Golshayan AR, Sahi C, Eigl BJ, Ruether JD, Cheng T, North S, Venner P, Knox JJ, Chi KN, Kollmannsberger C, McDermott DF, Rini BI, Bukowski RM, Rha SY, Choueiri TK"},"imdc_band":"favorable","max_score":6,"components":[{"factor":"kps_lt_80","points":0,"present":false},{"factor":"diagnosis_to_treatment_lt_1_year","points":0,"present":false},{"factor":"hemoglobin_lt_lln","points":0,"present":false},{"factor":"corrected_calcium_gt_uln","points":0,"present":false},{"factor":"neutrophils_gt_uln","points":0,"present":false},{"factor":"platelets_gt_uln","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.","formula_expression":"IMDC = kps_lt_80 1 + diagnosis_to_treatment_lt_1_year 1 + hemoglobin_lt_lln 1 + corrected_calcium_gt_uln 1 + neutrophils_gt_uln 1 + platelets_gt_uln 1; Heng 2009; max 6; favorable 0, intermediate 1-2, poor ≥3"}]}},"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_AeRZhYG2d9cTcj3km0TxF","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 International Metastatic RCC Database Consortium (IMDC) prognostic risk score and risk group (favorable/intermediate/poor) from six caller-supplied boolean clinical flags.","exampleAgentPrompt":"Calculate the IMDC risk score for my mRCC patient: KPS is below 80, time from diagnosis to treatment is less than 1 year, hemoglobin is below the lower limit of normal, corrected calcium is above the upper limit of normal, neutrophils are normal, and platelets are normal.","exampleUseCases":[{"title":"Oncology trial eligibility stratification","prompt":"I need the IMDC risk group for a metastatic kidney cancer patient before enrollment — KPS under 80 is true, diagnosis-to-treatment under 1 year is true, hemoglobin below LLN is true, corrected calcium above ULN is false, neutrophils above ULN is false, platelets above ULN is false. What's their risk category?"},{"title":"Tumor board prognostic summary","prompt":"For our tumor board presentation, can you compute the Heng 2009 IMDC score for a patient where KPS <80 is false, diagnosis-to-treatment <1 year is false, hemoglobin below LLN is false, corrected calcium above ULN is false, neutrophils above ULN is false, and platelets above ULN is false? I want to confirm they're favorable risk."},{"title":"Treatment planning risk assessment","prompt":"Before starting first-line therapy for this mRCC patient, give me their IMDC prognostic score: KPS <80 yes, diagnosis-to-treatment <1 year yes, low hemoglobin yes, high corrected calcium yes, high neutrophils yes, high platelets yes."}],"resultDescription":"Returns the computed IMDC total score (0–6) and the corresponding risk group classification: favorable (0 points), intermediate (1–2 points), or poor (≥3 points), based on the Heng 2009 publication. The endpoint performs arithmetic aggregation only; it does not interpret raw lab values or assign KPS.","failureModes":["Missing required boolean query parameter returns validation error","Non-boolean value for any flag causes schema rejection","Network timeout on rare infrastructure issues","Incorrect caller-assigned flags (e.g. wrong LLN/ULN threshold) produce a valid but clinically incorrect score — the API cannot detect this"],"whenToPreferThis":"Use this endpoint when you have already evaluated all six IMDC criteria (KPS, diagnosis-to-treatment interval, hemoglobin vs LLN, corrected calcium vs ULN, neutrophils vs ULN, platelets vs ULN) and need a fast, deterministic, citation-backed score computation without building the arithmetic yourself. Prefer it over general LLM reasoning for reproducibility and auditability in clinical or research workflows. Do not use it as a substitute for physician assessment or if you need raw-value comparison against institutional reference ranges.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:20:16.022Z","isFirstParty":false}