{
  "x402Version": 2,
  "id": 39245,
  "slug": "39245",
  "resource": "https://api.magentlab.com/api/calc/charlson",
  "description": "Charlson 1987 original weighted comorbidity index. Nineteen caller-assigned flags with published weights 1, 2, 3, or 6 (max 37). 1-year mortality groups: 0, 1–2, 3–4, ≥5. Flags are independent (overlapping pairs are not dropped). Not a diagnosis, not Deyo or Quan ICD mapping, not age-adjusted Charlson. LACE takes the integer this tool returns. magent does not diagnose.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "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": [
              {
                "aids": false,
                "any_tumor": false,
                "cerebrovascular_disease": false,
                "chronic_pulmonary_disease": false,
                "congestive_heart_failure": false,
                "connective_tissue_disease": false,
                "dementia": false,
                "diabetes": false,
                "diabetes_end_organ": false,
                "hemiplegia": false,
                "leukemia": false,
                "lymphoma": false,
                "metastatic_solid_tumor": false,
                "mild_liver_disease": false,
                "moderate_severe_liver_disease": false,
                "moderate_severe_renal_disease": false,
                "myocardial_infarction": false,
                "peptic_ulcer_disease": false,
                "peripheral_vascular_disease": false
              },
              {
                "aids": false,
                "any_tumor": false,
                "cerebrovascular_disease": false,
                "chronic_pulmonary_disease": false,
                "congestive_heart_failure": false,
                "connective_tissue_disease": false,
                "dementia": false,
                "diabetes": false,
                "diabetes_end_organ": false,
                "hemiplegia": false,
                "leukemia": false,
                "lymphoma": false,
                "metastatic_solid_tumor": false,
                "mild_liver_disease": false,
                "moderate_severe_liver_disease": false,
                "moderate_severe_renal_disease": false,
                "myocardial_infarction": false,
                "peptic_ulcer_disease": false,
                "peripheral_vascular_disease": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "charlson_band": "score_0",
                "citation": {
                  "authors": "Charlson ME, Pompei P, Ales KL, MacKenzie CR",
                  "doi": "10.1016/0021-9681(87)90171-8",
                  "id": "charlson-1987",
                  "pmid": "3558716",
                  "source": "J Chronic Dis. 1987;40(5):373-383",
                  "title": "A new method of classifying prognostic comorbidity in longitudinal studies: development and validation"
                },
                "components": [
                  {
                    "factor": "myocardial_infarction",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "congestive_heart_failure",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "peripheral_vascular_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "cerebrovascular_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "dementia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "chronic_pulmonary_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "connective_tissue_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "peptic_ulcer_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "mild_liver_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "diabetes",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hemiplegia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "moderate_severe_renal_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "diabetes_end_organ",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "any_tumor",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "leukemia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "lymphoma",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "moderate_severe_liver_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "metastatic_solid_tumor",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "aids",
                    "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": "charlson",
                "formula_expression": "CCI = myocardial_infarction 1 + congestive_heart_failure 1 + peripheral_vascular_disease 1 + cerebrovascular_disease 1 + dementia 1 + chronic_pulmonary_disease 1 + connective_tissue_disease 1 + peptic_ulcer_disease 1 + mild_liver_disease 1 + diabetes 1 + hemiplegia 2 + moderate_severe_renal_disease 2 + diabetes_end_organ 2 + any_tumor 2 + leukemia 2 + lymphoma 2 + moderate_severe_liver_disease 3 + metastatic_solid_tumor 6 + aids 6; Charlson 1987 original weighted index; max 37; 1-year mortality groups 0 / 1-2 / 3-4 / >=5; flags independent",
                "max_score": 37,
                "score": 0
              },
              {
                "charlson_band": "score_0",
                "citation": {
                  "authors": "Charlson ME, Pompei P, Ales KL, MacKenzie CR",
                  "doi": "10.1016/0021-9681(87)90171-8",
                  "id": "charlson-1987",
                  "pmid": "3558716",
                  "source": "J Chronic Dis. 1987;40(5):373-383",
                  "title": "A new method of classifying prognostic comorbidity in longitudinal studies: development and validation"
                },
                "components": [
                  {
                    "factor": "myocardial_infarction",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "congestive_heart_failure",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "peripheral_vascular_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "cerebrovascular_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "dementia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "chronic_pulmonary_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "connective_tissue_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "peptic_ulcer_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "mild_liver_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "diabetes",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hemiplegia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "moderate_severe_renal_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "diabetes_end_organ",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "any_tumor",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "leukemia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "lymphoma",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "moderate_severe_liver_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "metastatic_solid_tumor",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "aids",
                    "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": "charlson",
                "formula_expression": "CCI = myocardial_infarction 1 + congestive_heart_failure 1 + peripheral_vascular_disease 1 + cerebrovascular_disease 1 + dementia 1 + chronic_pulmonary_disease 1 + connective_tissue_disease 1 + peptic_ulcer_disease 1 + mild_liver_disease 1 + diabetes 1 + hemiplegia 2 + moderate_severe_renal_disease 2 + diabetes_end_organ 2 + any_tumor 2 + leukemia 2 + lymphoma 2 + moderate_severe_liver_disease 3 + metastatic_solid_tumor 6 + aids 6; Charlson 1987 original weighted index; max 37; 1-year mortality groups 0 / 1-2 / 3-4 / >=5; flags independent",
                "max_score": 37,
                "score": 0
              }
            ],
            "path": "/api/calc/charlson"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "aids": {
                          "description": "AIDS as assigned by the caller (Charlson 1987). true scores 6. magent does not diagnose AIDS.",
                          "type": "boolean"
                        },
                        "any_tumor": {
                          "description": "Any tumor (solid tumor without metastasis) as assigned by the caller (Charlson 1987). true scores 2. Independent of metastatic_solid_tumor. magent does not diagnose cancer.",
                          "type": "boolean"
                        },
                        "cerebrovascular_disease": {
                          "description": "Cerebrovascular disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose stroke or TIA.",
                          "type": "boolean"
                        },
                        "chronic_pulmonary_disease": {
                          "description": "Chronic pulmonary disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose lung disease.",
                          "type": "boolean"
                        },
                        "congestive_heart_failure": {
                          "description": "Congestive heart failure as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose heart failure.",
                          "type": "boolean"
                        },
                        "connective_tissue_disease": {
                          "description": "Connective tissue disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose connective-tissue disease.",
                          "type": "boolean"
                        },
                        "dementia": {
                          "description": "Dementia as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose dementia.",
                          "type": "boolean"
                        },
                        "diabetes": {
                          "description": "Diabetes without end-organ damage as assigned by the caller (Charlson 1987). true scores 1. Independent of diabetes_end_organ. magent does not diagnose diabetes.",
                          "type": "boolean"
                        },
                        "diabetes_end_organ": {
                          "description": "Diabetes with end-organ damage as assigned by the caller (Charlson 1987). true scores 2. Independent of diabetes. magent does not diagnose diabetes.",
                          "type": "boolean"
                        },
                        "hemiplegia": {
                          "description": "Hemiplegia as assigned by the caller (Charlson 1987). true scores 2. magent does not diagnose hemiplegia.",
                          "type": "boolean"
                        },
                        "leukemia": {
                          "description": "Leukemia as assigned by the caller (Charlson 1987). true scores 2. magent does not diagnose leukemia.",
                          "type": "boolean"
                        },
                        "lymphoma": {
                          "description": "Lymphoma as assigned by the caller (Charlson 1987). true scores 2. magent does not diagnose lymphoma.",
                          "type": "boolean"
                        },
                        "metastatic_solid_tumor": {
                          "description": "Metastatic solid tumor as assigned by the caller (Charlson 1987). true scores 6. Independent of any_tumor. magent does not diagnose cancer.",
                          "type": "boolean"
                        },
                        "mild_liver_disease": {
                          "description": "Mild liver disease as assigned by the caller (Charlson 1987). true scores 1. magent does not grade liver disease.",
                          "type": "boolean"
                        },
                        "moderate_severe_liver_disease": {
                          "description": "Moderate or severe liver disease as assigned by the caller (Charlson 1987). true scores 3. Independent of mild_liver_disease. magent does not grade liver disease.",
                          "type": "boolean"
                        },
                        "moderate_severe_renal_disease": {
                          "description": "Moderate or severe renal disease as assigned by the caller (Charlson 1987). true scores 2. magent does not grade kidney disease.",
                          "type": "boolean"
                        },
                        "myocardial_infarction": {
                          "description": "Myocardial infarction as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose infarction.",
                          "type": "boolean"
                        },
                        "peptic_ulcer_disease": {
                          "description": "Peptic ulcer disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose ulcer disease.",
                          "type": "boolean"
                        },
                        "peripheral_vascular_disease": {
                          "description": "Peripheral vascular disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose vascular disease.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "myocardial_infarction",
                        "congestive_heart_failure",
                        "peripheral_vascular_disease",
                        "cerebrovascular_disease",
                        "dementia",
                        "chronic_pulmonary_disease",
                        "connective_tissue_disease",
                        "peptic_ulcer_disease",
                        "mild_liver_disease",
                        "diabetes",
                        "hemiplegia",
                        "moderate_severe_renal_disease",
                        "diabetes_end_organ",
                        "any_tumor",
                        "leukemia",
                        "lymphoma",
                        "moderate_severe_liver_disease",
                        "metastatic_solid_tumor",
                        "aids"
                      ],
                      "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": [
    "charlson",
    "cci",
    "comorbidity",
    "prognosis",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T01:36:20.45Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T01:36:20.301Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "aids": false,
                  "any_tumor": false,
                  "cerebrovascular_disease": false,
                  "chronic_pulmonary_disease": false,
                  "congestive_heart_failure": false,
                  "connective_tissue_disease": false,
                  "dementia": false,
                  "diabetes": false,
                  "diabetes_end_organ": false,
                  "hemiplegia": false,
                  "leukemia": false,
                  "lymphoma": false,
                  "metastatic_solid_tumor": false,
                  "mild_liver_disease": false,
                  "moderate_severe_liver_disease": false,
                  "moderate_severe_renal_disease": false,
                  "myocardial_infarction": false,
                  "peptic_ulcer_disease": false,
                  "peripheral_vascular_disease": false
                },
                {
                  "aids": false,
                  "any_tumor": false,
                  "cerebrovascular_disease": false,
                  "chronic_pulmonary_disease": false,
                  "congestive_heart_failure": false,
                  "connective_tissue_disease": false,
                  "dementia": false,
                  "diabetes": false,
                  "diabetes_end_organ": false,
                  "hemiplegia": false,
                  "leukemia": false,
                  "lymphoma": false,
                  "metastatic_solid_tumor": false,
                  "mild_liver_disease": false,
                  "moderate_severe_liver_disease": false,
                  "moderate_severe_renal_disease": false,
                  "myocardial_infarction": false,
                  "peptic_ulcer_disease": false,
                  "peripheral_vascular_disease": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "charlson_band": "score_0",
                  "citation": {
                    "authors": "Charlson ME, Pompei P, Ales KL, MacKenzie CR",
                    "doi": "10.1016/0021-9681(87)90171-8",
                    "id": "charlson-1987",
                    "pmid": "3558716",
                    "source": "J Chronic Dis. 1987;40(5):373-383",
                    "title": "A new method of classifying prognostic comorbidity in longitudinal studies: development and validation"
                  },
                  "components": [
                    {
                      "factor": "myocardial_infarction",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "congestive_heart_failure",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "peripheral_vascular_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "cerebrovascular_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "dementia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "chronic_pulmonary_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "connective_tissue_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "peptic_ulcer_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "mild_liver_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "diabetes",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hemiplegia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "moderate_severe_renal_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "diabetes_end_organ",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "any_tumor",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "leukemia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "lymphoma",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "moderate_severe_liver_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "metastatic_solid_tumor",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "aids",
                      "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": "charlson",
                  "formula_expression": "CCI = myocardial_infarction 1 + congestive_heart_failure 1 + peripheral_vascular_disease 1 + cerebrovascular_disease 1 + dementia 1 + chronic_pulmonary_disease 1 + connective_tissue_disease 1 + peptic_ulcer_disease 1 + mild_liver_disease 1 + diabetes 1 + hemiplegia 2 + moderate_severe_renal_disease 2 + diabetes_end_organ 2 + any_tumor 2 + leukemia 2 + lymphoma 2 + moderate_severe_liver_disease 3 + metastatic_solid_tumor 6 + aids 6; Charlson 1987 original weighted index; max 37; 1-year mortality groups 0 / 1-2 / 3-4 / >=5; flags independent",
                  "max_score": 37,
                  "score": 0
                },
                {
                  "charlson_band": "score_0",
                  "citation": {
                    "authors": "Charlson ME, Pompei P, Ales KL, MacKenzie CR",
                    "doi": "10.1016/0021-9681(87)90171-8",
                    "id": "charlson-1987",
                    "pmid": "3558716",
                    "source": "J Chronic Dis. 1987;40(5):373-383",
                    "title": "A new method of classifying prognostic comorbidity in longitudinal studies: development and validation"
                  },
                  "components": [
                    {
                      "factor": "myocardial_infarction",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "congestive_heart_failure",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "peripheral_vascular_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "cerebrovascular_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "dementia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "chronic_pulmonary_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "connective_tissue_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "peptic_ulcer_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "mild_liver_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "diabetes",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hemiplegia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "moderate_severe_renal_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "diabetes_end_organ",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "any_tumor",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "leukemia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "lymphoma",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "moderate_severe_liver_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "metastatic_solid_tumor",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "aids",
                      "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": "charlson",
                  "formula_expression": "CCI = myocardial_infarction 1 + congestive_heart_failure 1 + peripheral_vascular_disease 1 + cerebrovascular_disease 1 + dementia 1 + chronic_pulmonary_disease 1 + connective_tissue_disease 1 + peptic_ulcer_disease 1 + mild_liver_disease 1 + diabetes 1 + hemiplegia 2 + moderate_severe_renal_disease 2 + diabetes_end_organ 2 + any_tumor 2 + leukemia 2 + lymphoma 2 + moderate_severe_liver_disease 3 + metastatic_solid_tumor 6 + aids 6; Charlson 1987 original weighted index; max 37; 1-year mortality groups 0 / 1-2 / 3-4 / >=5; flags independent",
                  "max_score": 37,
                  "score": 0
                }
              ],
              "path": "/api/calc/charlson"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "aids": {
                            "description": "AIDS as assigned by the caller (Charlson 1987). true scores 6. magent does not diagnose AIDS.",
                            "type": "boolean"
                          },
                          "any_tumor": {
                            "description": "Any tumor (solid tumor without metastasis) as assigned by the caller (Charlson 1987). true scores 2. Independent of metastatic_solid_tumor. magent does not diagnose cancer.",
                            "type": "boolean"
                          },
                          "cerebrovascular_disease": {
                            "description": "Cerebrovascular disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose stroke or TIA.",
                            "type": "boolean"
                          },
                          "chronic_pulmonary_disease": {
                            "description": "Chronic pulmonary disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose lung disease.",
                            "type": "boolean"
                          },
                          "congestive_heart_failure": {
                            "description": "Congestive heart failure as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose heart failure.",
                            "type": "boolean"
                          },
                          "connective_tissue_disease": {
                            "description": "Connective tissue disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose connective-tissue disease.",
                            "type": "boolean"
                          },
                          "dementia": {
                            "description": "Dementia as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose dementia.",
                            "type": "boolean"
                          },
                          "diabetes": {
                            "description": "Diabetes without end-organ damage as assigned by the caller (Charlson 1987). true scores 1. Independent of diabetes_end_organ. magent does not diagnose diabetes.",
                            "type": "boolean"
                          },
                          "diabetes_end_organ": {
                            "description": "Diabetes with end-organ damage as assigned by the caller (Charlson 1987). true scores 2. Independent of diabetes. magent does not diagnose diabetes.",
                            "type": "boolean"
                          },
                          "hemiplegia": {
                            "description": "Hemiplegia as assigned by the caller (Charlson 1987). true scores 2. magent does not diagnose hemiplegia.",
                            "type": "boolean"
                          },
                          "leukemia": {
                            "description": "Leukemia as assigned by the caller (Charlson 1987). true scores 2. magent does not diagnose leukemia.",
                            "type": "boolean"
                          },
                          "lymphoma": {
                            "description": "Lymphoma as assigned by the caller (Charlson 1987). true scores 2. magent does not diagnose lymphoma.",
                            "type": "boolean"
                          },
                          "metastatic_solid_tumor": {
                            "description": "Metastatic solid tumor as assigned by the caller (Charlson 1987). true scores 6. Independent of any_tumor. magent does not diagnose cancer.",
                            "type": "boolean"
                          },
                          "mild_liver_disease": {
                            "description": "Mild liver disease as assigned by the caller (Charlson 1987). true scores 1. magent does not grade liver disease.",
                            "type": "boolean"
                          },
                          "moderate_severe_liver_disease": {
                            "description": "Moderate or severe liver disease as assigned by the caller (Charlson 1987). true scores 3. Independent of mild_liver_disease. magent does not grade liver disease.",
                            "type": "boolean"
                          },
                          "moderate_severe_renal_disease": {
                            "description": "Moderate or severe renal disease as assigned by the caller (Charlson 1987). true scores 2. magent does not grade kidney disease.",
                            "type": "boolean"
                          },
                          "myocardial_infarction": {
                            "description": "Myocardial infarction as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose infarction.",
                            "type": "boolean"
                          },
                          "peptic_ulcer_disease": {
                            "description": "Peptic ulcer disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose ulcer disease.",
                            "type": "boolean"
                          },
                          "peripheral_vascular_disease": {
                            "description": "Peripheral vascular disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose vascular disease.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "myocardial_infarction",
                          "congestive_heart_failure",
                          "peripheral_vascular_disease",
                          "cerebrovascular_disease",
                          "dementia",
                          "chronic_pulmonary_disease",
                          "connective_tissue_disease",
                          "peptic_ulcer_disease",
                          "mild_liver_disease",
                          "diabetes",
                          "hemiplegia",
                          "moderate_severe_renal_disease",
                          "diabetes_end_organ",
                          "any_tumor",
                          "leukemia",
                          "lymphoma",
                          "moderate_severe_liver_disease",
                          "metastatic_solid_tumor",
                          "aids"
                        ],
                        "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"
  }
}