{
  "x402Version": 2,
  "id": 39403,
  "slug": "39403",
  "resource": "https://api.magentlab.com/api/calc/imdc",
  "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.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "corrected_calcium_gt_uln": false,
                "diagnosis_to_treatment_lt_1_year": false,
                "hemoglobin_lt_lln": false,
                "kps_lt_80": false,
                "neutrophils_gt_uln": false,
                "platelets_gt_uln": false
              },
              {
                "corrected_calcium_gt_uln": false,
                "diagnosis_to_treatment_lt_1_year": false,
                "hemoglobin_lt_lln": false,
                "kps_lt_80": false,
                "neutrophils_gt_uln": false,
                "platelets_gt_uln": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "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",
                  "doi": "10.1200/JCO.2008.21.4809",
                  "id": "heng-2009",
                  "pmid": "19826129",
                  "source": "J Clin Oncol. 2009;27(34):5794-5799",
                  "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"
                },
                "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": "imdc",
                "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",
                "imdc_band": "favorable",
                "max_score": 6,
                "score": 0
              },
              {
                "citation": {
                  "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",
                  "doi": "10.1200/JCO.2008.21.4809",
                  "id": "heng-2009",
                  "pmid": "19826129",
                  "source": "J Clin Oncol. 2009;27(34):5794-5799",
                  "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"
                },
                "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": "imdc",
                "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",
                "imdc_band": "favorable",
                "max_score": 6,
                "score": 0
              }
            ],
            "path": "/api/calc/imdc"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "corrected_calcium_gt_uln": {
                          "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.",
                          "type": "boolean"
                        },
                        "diagnosis_to_treatment_lt_1_year": {
                          "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.",
                          "type": "boolean"
                        },
                        "hemoglobin_lt_lln": {
                          "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.",
                          "type": "boolean"
                        },
                        "kps_lt_80": {
                          "description": "Karnofsky performance status <80 as assigned by the caller (Heng 2009). true scores 1. magent does not assign KPS.",
                          "type": "boolean"
                        },
                        "neutrophils_gt_uln": {
                          "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.",
                          "type": "boolean"
                        },
                        "platelets_gt_uln": {
                          "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.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "kps_lt_80",
                        "diagnosis_to_treatment_lt_1_year",
                        "hemoglobin_lt_lln",
                        "corrected_calcium_gt_uln",
                        "neutrophils_gt_uln",
                        "platelets_gt_uln"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "imdc",
    "rcc",
    "hematology",
    "prognosis",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:57:56.713Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T14:57:56.579Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "corrected_calcium_gt_uln": false,
                  "diagnosis_to_treatment_lt_1_year": false,
                  "hemoglobin_lt_lln": false,
                  "kps_lt_80": false,
                  "neutrophils_gt_uln": false,
                  "platelets_gt_uln": false
                },
                {
                  "corrected_calcium_gt_uln": false,
                  "diagnosis_to_treatment_lt_1_year": false,
                  "hemoglobin_lt_lln": false,
                  "kps_lt_80": false,
                  "neutrophils_gt_uln": false,
                  "platelets_gt_uln": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "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",
                    "doi": "10.1200/JCO.2008.21.4809",
                    "id": "heng-2009",
                    "pmid": "19826129",
                    "source": "J Clin Oncol. 2009;27(34):5794-5799",
                    "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"
                  },
                  "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": "imdc",
                  "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",
                  "imdc_band": "favorable",
                  "max_score": 6,
                  "score": 0
                },
                {
                  "citation": {
                    "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",
                    "doi": "10.1200/JCO.2008.21.4809",
                    "id": "heng-2009",
                    "pmid": "19826129",
                    "source": "J Clin Oncol. 2009;27(34):5794-5799",
                    "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"
                  },
                  "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": "imdc",
                  "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",
                  "imdc_band": "favorable",
                  "max_score": 6,
                  "score": 0
                }
              ],
              "path": "/api/calc/imdc"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "corrected_calcium_gt_uln": {
                            "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.",
                            "type": "boolean"
                          },
                          "diagnosis_to_treatment_lt_1_year": {
                            "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.",
                            "type": "boolean"
                          },
                          "hemoglobin_lt_lln": {
                            "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.",
                            "type": "boolean"
                          },
                          "kps_lt_80": {
                            "description": "Karnofsky performance status <80 as assigned by the caller (Heng 2009). true scores 1. magent does not assign KPS.",
                            "type": "boolean"
                          },
                          "neutrophils_gt_uln": {
                            "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.",
                            "type": "boolean"
                          },
                          "platelets_gt_uln": {
                            "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.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "kps_lt_80",
                          "diagnosis_to_treatment_lt_1_year",
                          "hemoglobin_lt_lln",
                          "corrected_calcium_gt_uln",
                          "neutrophils_gt_uln",
                          "platelets_gt_uln"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}