{
  "x402Version": 2,
  "id": 39539,
  "slug": "39539",
  "resource": "https://api.magentlab.com/api/calc/vacs_cci",
  "description": "McGinnis 2024 VACS-CCI Table 2 Model 7 linear predictor from sex, age, hemoglobin, FIB-4, eGFR, albumin, WBC, BMI, hepatitis C, and caller-assigned Charlson groupings. CCI group is those weights (0/1/2/3+) times age band. The 0-100 score needs unpublished development min/max Xbeta; magent does not invent it. Paper prints score 30 to 1/3/8/18% and 45 to 6/14/35/61% at 1/2/5/10 years. Not a diagnosis or individual prognosis. magent does not code the chart.",
  "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": [
              {
                "age": 55,
                "albumin_g_dl": 4,
                "any_malignancy": false,
                "bmi_kg_m2": 25,
                "cerebrovascular_disease": false,
                "chronic_pulmonary_disease": false,
                "congestive_heart_failure": false,
                "dementia": false,
                "diabetes_with_complications": false,
                "diabetes_without_complications": false,
                "egfr_ml_min_1_73m2": 90,
                "fib4": 1,
                "hemiplegia_or_paraplegia": false,
                "hemoglobin_g_dl": 14,
                "hepatitis_c": false,
                "kidney_mild_to_moderate": false,
                "kidney_severe": false,
                "liver_mild": false,
                "liver_moderate_to_severe": false,
                "metastatic_solid_tumor": false,
                "myocardial_infarction": false,
                "peptic_ulcer_disease": false,
                "peripheral_vascular_disease": false,
                "rheumatic_disease": false,
                "sex": "male",
                "wbc_10e9_l": 4
              },
              {
                "age": 55,
                "albumin_g_dl": 4,
                "any_malignancy": false,
                "bmi_kg_m2": 25,
                "cerebrovascular_disease": false,
                "chronic_pulmonary_disease": false,
                "congestive_heart_failure": false,
                "dementia": false,
                "diabetes_with_complications": false,
                "diabetes_without_complications": false,
                "egfr_ml_min_1_73m2": 90,
                "fib4": 1,
                "hemiplegia_or_paraplegia": false,
                "hemoglobin_g_dl": 14,
                "hepatitis_c": false,
                "kidney_mild_to_moderate": false,
                "kidney_severe": false,
                "liver_mild": false,
                "liver_moderate_to_severe": false,
                "metastatic_solid_tumor": false,
                "myocardial_infarction": false,
                "peptic_ulcer_disease": false,
                "peripheral_vascular_disease": false,
                "rheumatic_disease": false,
                "sex": "male",
                "wbc_10e9_l": 4
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age": 55,
                "age_band": "50_64",
                "albumin_g_dl": 4,
                "any_malignancy": false,
                "bmi_kg_m2": 25,
                "cci_group": "0",
                "cci_score": 0,
                "cerebrovascular_disease": false,
                "chronic_pulmonary_disease": false,
                "citation": {
                  "authors": "McGinnis KA, Justice AC, Marconi VC, et al.",
                  "doi": "10.3389/fmed.2023.1342466",
                  "id": "mcginnis-2024-vacs-cci",
                  "pmid": "38356736",
                  "source": "Front Med (Lausanne). 2024;10:1342466",
                  "title": "Combining Charlson comorbidity and VACS indices improves prognostic accuracy for all-cause mortality for patients with and without HIV in the Veterans Health Administration"
                },
                "congestive_heart_failure": false,
                "dementia": false,
                "diabetes_with_complications": false,
                "diabetes_without_complications": 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.",
                "egfr_ml_min_1_73m2": 90,
                "fib4": 1,
                "formula": "vacs_cci",
                "formula_expression": "lp = sex_female -0.513 + age_poly(X=age-50, 0.278/0.006/-0.001) + hb_poly(X=hemoglobin-14, -0.115/0.024/0.004) + fib4_poly(X, 0.205/-0.006) + egfr_poly(X=egfr-90, 0.071/0.036/0.002) + alb_poly(X=albumin-4, -0.405/0.326/0.156) + wbc_poly(X=WBC-4, -0.011/0.053/-0.008/0.000) + bmi_poly(X=BMI-25, -0.061/0.005/0.000) + hepatitis_c 0.273 + Table 2 Charlson condition coefficients + CCI-group x age-band interaction (CCI 0/1/2/3+ by <50, 50-64, 65-79, 80+; CCI 1 x 50-64 is reference 0); cci_group from caller-assigned condition weights (MI 1, CHF 1, PVD 1, CVD 1, dementia 1, pulmonary 1, rheumatic 1, PUD 1, DM without 1, DM with 2, hemiplegia 2, kidney mild-to-moderate 2, kidney severe 2, any malignancy 2, metastatic 6, liver mild 1, liver moderate-to-severe 3); McGinnis 2024 Table 2 Model 7; 1st/99th percentile winsorizing not published; 0-100 score uses unpublished development min/max Xbeta so magent does not scale; paper prints 0-100 score 30 → 1-year 1%, 2-year 3%, 5-year 8%, 10-year 18% and score 45 → 6%, 14%, 35%, 61%; no published S0; 2025 corrigendum PMID 39845833 does not change Table 2 coefficients; caller-assigned comorbidities, FIB-4, and eGFR",
                "hemiplegia_or_paraplegia": false,
                "hemoglobin_g_dl": 14,
                "hepatitis_c": false,
                "kidney_mild_to_moderate": false,
                "kidney_severe": false,
                "linear_predictor": 1.228,
                "liver_mild": false,
                "liver_moderate_to_severe": false,
                "metastatic_solid_tumor": false,
                "myocardial_infarction": false,
                "peptic_ulcer_disease": false,
                "peripheral_vascular_disease": false,
                "rheumatic_disease": false,
                "sex": "male",
                "wbc_10e9_l": 4
              },
              {
                "age": 55,
                "age_band": "50_64",
                "albumin_g_dl": 4,
                "any_malignancy": false,
                "bmi_kg_m2": 25,
                "cci_group": "0",
                "cci_score": 0,
                "cerebrovascular_disease": false,
                "chronic_pulmonary_disease": false,
                "citation": {
                  "authors": "McGinnis KA, Justice AC, Marconi VC, et al.",
                  "doi": "10.3389/fmed.2023.1342466",
                  "id": "mcginnis-2024-vacs-cci",
                  "pmid": "38356736",
                  "source": "Front Med (Lausanne). 2024;10:1342466",
                  "title": "Combining Charlson comorbidity and VACS indices improves prognostic accuracy for all-cause mortality for patients with and without HIV in the Veterans Health Administration"
                },
                "congestive_heart_failure": false,
                "dementia": false,
                "diabetes_with_complications": false,
                "diabetes_without_complications": 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.",
                "egfr_ml_min_1_73m2": 90,
                "fib4": 1,
                "formula": "vacs_cci",
                "formula_expression": "lp = sex_female -0.513 + age_poly(X=age-50, 0.278/0.006/-0.001) + hb_poly(X=hemoglobin-14, -0.115/0.024/0.004) + fib4_poly(X, 0.205/-0.006) + egfr_poly(X=egfr-90, 0.071/0.036/0.002) + alb_poly(X=albumin-4, -0.405/0.326/0.156) + wbc_poly(X=WBC-4, -0.011/0.053/-0.008/0.000) + bmi_poly(X=BMI-25, -0.061/0.005/0.000) + hepatitis_c 0.273 + Table 2 Charlson condition coefficients + CCI-group x age-band interaction (CCI 0/1/2/3+ by <50, 50-64, 65-79, 80+; CCI 1 x 50-64 is reference 0); cci_group from caller-assigned condition weights (MI 1, CHF 1, PVD 1, CVD 1, dementia 1, pulmonary 1, rheumatic 1, PUD 1, DM without 1, DM with 2, hemiplegia 2, kidney mild-to-moderate 2, kidney severe 2, any malignancy 2, metastatic 6, liver mild 1, liver moderate-to-severe 3); McGinnis 2024 Table 2 Model 7; 1st/99th percentile winsorizing not published; 0-100 score uses unpublished development min/max Xbeta so magent does not scale; paper prints 0-100 score 30 → 1-year 1%, 2-year 3%, 5-year 8%, 10-year 18% and score 45 → 6%, 14%, 35%, 61%; no published S0; 2025 corrigendum PMID 39845833 does not change Table 2 coefficients; caller-assigned comorbidities, FIB-4, and eGFR",
                "hemiplegia_or_paraplegia": false,
                "hemoglobin_g_dl": 14,
                "hepatitis_c": false,
                "kidney_mild_to_moderate": false,
                "kidney_severe": false,
                "linear_predictor": 1.228,
                "liver_mild": false,
                "liver_moderate_to_severe": false,
                "metastatic_solid_tumor": false,
                "myocardial_infarction": false,
                "peptic_ulcer_disease": false,
                "peripheral_vascular_disease": false,
                "rheumatic_disease": false,
                "sex": "male",
                "wbc_10e9_l": 4
              }
            ],
            "path": "/api/calc/vacs_cci"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "age": {
                          "description": "Age in years (integer 18-120). Table 2 uses the cubic polynomial of (age-50) and CCI x age-band interaction (<50, 50-64, 65-79, 80+). magent does not assign age.",
                          "type": "integer"
                        },
                        "albumin_g_dl": {
                          "description": "Serum albumin in g/dL (1-6.5). Table 2 centers at (albumin-4). magent does not assay albumin.",
                          "type": "number"
                        },
                        "any_malignancy": {
                          "description": "Caller-assigned any malignancy (McGinnis 2024 Table 2). true adds 0.090 to lp and 2 to the CCI grouping. magent does not diagnose cancer.",
                          "type": "boolean"
                        },
                        "bmi_kg_m2": {
                          "description": "Body mass index in kg/m² (10-60). Table 2 centers at (BMI-25). magent does not compute BMI from height and weight.",
                          "type": "number"
                        },
                        "cerebrovascular_disease": {
                          "description": "Caller-assigned cerebrovascular disease (McGinnis 2024 Table 2). true adds 0.114 to lp and 1 to the CCI grouping. magent does not diagnose stroke.",
                          "type": "boolean"
                        },
                        "chronic_pulmonary_disease": {
                          "description": "Caller-assigned chronic pulmonary disease (McGinnis 2024 Table 2). true adds 0.279 to lp and 1 to the CCI grouping. magent does not diagnose lung disease.",
                          "type": "boolean"
                        },
                        "congestive_heart_failure": {
                          "description": "Caller-assigned congestive heart failure (McGinnis 2024 Table 2). true adds 0.420 to lp and 1 to the CCI grouping. magent does not diagnose heart failure.",
                          "type": "boolean"
                        },
                        "dementia": {
                          "description": "Caller-assigned dementia (McGinnis 2024 Table 2). true adds 0.489 to lp and 1 to the CCI grouping. magent does not diagnose dementia.",
                          "type": "boolean"
                        },
                        "diabetes_with_complications": {
                          "description": "Caller-assigned diabetes with chronic complications (McGinnis 2024 Table 2). true adds 0.075 to lp and 2 to the CCI grouping. magent does not diagnose diabetes.",
                          "type": "boolean"
                        },
                        "diabetes_without_complications": {
                          "description": "Caller-assigned diabetes without chronic complications (McGinnis 2024 Table 2). true adds 0.053 to lp and 1 to the CCI grouping. magent does not diagnose diabetes.",
                          "type": "boolean"
                        },
                        "egfr_ml_min_1_73m2": {
                          "description": "Caller-assigned eGFR in mL/min/1.73m² (0-200). Table 2 centers at (egfr-90). magent does not compute CKD-EPI.",
                          "type": "number"
                        },
                        "fib4": {
                          "description": "Caller-assigned FIB-4 (0.1-20). Table 2 uses X and X2 of FIB-4. magent does not recompute FIB-4.",
                          "type": "number"
                        },
                        "hemiplegia_or_paraplegia": {
                          "description": "Caller-assigned hemiplegia or paraplegia (McGinnis 2024 Table 2). true adds -0.049 to lp and 2 to the CCI grouping. magent does not diagnose paralysis.",
                          "type": "boolean"
                        },
                        "hemoglobin_g_dl": {
                          "description": "Hemoglobin in g/dL (3-22). Table 2 centers at (hemoglobin-14). magent does not assay hemoglobin.",
                          "type": "number"
                        },
                        "hepatitis_c": {
                          "description": "Caller-assigned hepatitis C (McGinnis 2024). true adds 0.273 to the linear predictor. magent does not diagnose hepatitis C.",
                          "type": "boolean"
                        },
                        "kidney_mild_to_moderate": {
                          "description": "Caller-assigned mild-to-moderate kidney disease (McGinnis 2024 Table 2). true adds -0.199 to lp and 2 to the CCI grouping. magent does not grade kidney disease.",
                          "type": "boolean"
                        },
                        "kidney_severe": {
                          "description": "Caller-assigned severe kidney disease (McGinnis 2024 Table 2). true adds -0.098 to lp and 2 to the CCI grouping. magent does not grade kidney disease.",
                          "type": "boolean"
                        },
                        "liver_mild": {
                          "description": "Caller-assigned mild liver disease (McGinnis 2024 Table 2). true adds -0.045 to lp and 1 to the CCI grouping. magent does not grade liver disease.",
                          "type": "boolean"
                        },
                        "liver_moderate_to_severe": {
                          "description": "Caller-assigned moderate-to-severe liver disease (McGinnis 2024 Table 2). true adds 0.226 to lp and 3 to the CCI grouping. magent does not grade liver disease.",
                          "type": "boolean"
                        },
                        "metastatic_solid_tumor": {
                          "description": "Caller-assigned metastatic solid tumor (McGinnis 2024 Table 2). true adds 1.184 to lp and 6 to the CCI grouping. magent does not diagnose cancer.",
                          "type": "boolean"
                        },
                        "myocardial_infarction": {
                          "description": "Caller-assigned myocardial infarction (McGinnis 2024 Table 2). true adds 0.008 to lp and 1 to the CCI grouping. magent does not diagnose infarction.",
                          "type": "boolean"
                        },
                        "peptic_ulcer_disease": {
                          "description": "Caller-assigned peptic ulcer disease (McGinnis 2024 Table 2). true adds -0.074 to lp and 1 to the CCI grouping. magent does not diagnose ulcer disease.",
                          "type": "boolean"
                        },
                        "peripheral_vascular_disease": {
                          "description": "Caller-assigned peripheral vascular disease (McGinnis 2024 Table 2). true adds 0.141 to lp and 1 to the CCI grouping. magent does not diagnose vascular disease.",
                          "type": "boolean"
                        },
                        "rheumatic_disease": {
                          "description": "Caller-assigned rheumatic disease (McGinnis 2024 Table 2). true adds -0.034 to lp and 1 to the CCI grouping. magent does not diagnose rheumatic disease.",
                          "type": "boolean"
                        },
                        "sex": {
                          "description": "Caller-assigned sex (female or male). Female vs male adds -0.513 to the Table 2 linear predictor. magent does not assign sex.",
                          "enum": [
                            "female",
                            "male"
                          ],
                          "type": "string"
                        },
                        "wbc_10e9_l": {
                          "description": "White blood count in 10^9/L (0.5-50), equal to k/µL. Table 2 centers at (WBC-4). magent does not assay WBC.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "sex",
                        "age",
                        "hemoglobin_g_dl",
                        "fib4",
                        "egfr_ml_min_1_73m2",
                        "albumin_g_dl",
                        "wbc_10e9_l",
                        "bmi_kg_m2",
                        "hepatitis_c",
                        "myocardial_infarction",
                        "congestive_heart_failure",
                        "peripheral_vascular_disease",
                        "cerebrovascular_disease",
                        "dementia",
                        "chronic_pulmonary_disease",
                        "rheumatic_disease",
                        "peptic_ulcer_disease",
                        "diabetes_without_complications",
                        "diabetes_with_complications",
                        "hemiplegia_or_paraplegia",
                        "kidney_mild_to_moderate",
                        "kidney_severe",
                        "any_malignancy",
                        "metastatic_solid_tumor",
                        "liver_mild",
                        "liver_moderate_to_severe"
                      ],
                      "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": [
    "vacs-cci",
    "charlson",
    "mortality",
    "comorbidity",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:19:30.311Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-12T14:19:30.161Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 55,
                  "albumin_g_dl": 4,
                  "any_malignancy": false,
                  "bmi_kg_m2": 25,
                  "cerebrovascular_disease": false,
                  "chronic_pulmonary_disease": false,
                  "congestive_heart_failure": false,
                  "dementia": false,
                  "diabetes_with_complications": false,
                  "diabetes_without_complications": false,
                  "egfr_ml_min_1_73m2": 90,
                  "fib4": 1,
                  "hemiplegia_or_paraplegia": false,
                  "hemoglobin_g_dl": 14,
                  "hepatitis_c": false,
                  "kidney_mild_to_moderate": false,
                  "kidney_severe": false,
                  "liver_mild": false,
                  "liver_moderate_to_severe": false,
                  "metastatic_solid_tumor": false,
                  "myocardial_infarction": false,
                  "peptic_ulcer_disease": false,
                  "peripheral_vascular_disease": false,
                  "rheumatic_disease": false,
                  "sex": "male",
                  "wbc_10e9_l": 4
                },
                {
                  "age": 55,
                  "albumin_g_dl": 4,
                  "any_malignancy": false,
                  "bmi_kg_m2": 25,
                  "cerebrovascular_disease": false,
                  "chronic_pulmonary_disease": false,
                  "congestive_heart_failure": false,
                  "dementia": false,
                  "diabetes_with_complications": false,
                  "diabetes_without_complications": false,
                  "egfr_ml_min_1_73m2": 90,
                  "fib4": 1,
                  "hemiplegia_or_paraplegia": false,
                  "hemoglobin_g_dl": 14,
                  "hepatitis_c": false,
                  "kidney_mild_to_moderate": false,
                  "kidney_severe": false,
                  "liver_mild": false,
                  "liver_moderate_to_severe": false,
                  "metastatic_solid_tumor": false,
                  "myocardial_infarction": false,
                  "peptic_ulcer_disease": false,
                  "peripheral_vascular_disease": false,
                  "rheumatic_disease": false,
                  "sex": "male",
                  "wbc_10e9_l": 4
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age": 55,
                  "age_band": "50_64",
                  "albumin_g_dl": 4,
                  "any_malignancy": false,
                  "bmi_kg_m2": 25,
                  "cci_group": "0",
                  "cci_score": 0,
                  "cerebrovascular_disease": false,
                  "chronic_pulmonary_disease": false,
                  "citation": {
                    "authors": "McGinnis KA, Justice AC, Marconi VC, et al.",
                    "doi": "10.3389/fmed.2023.1342466",
                    "id": "mcginnis-2024-vacs-cci",
                    "pmid": "38356736",
                    "source": "Front Med (Lausanne). 2024;10:1342466",
                    "title": "Combining Charlson comorbidity and VACS indices improves prognostic accuracy for all-cause mortality for patients with and without HIV in the Veterans Health Administration"
                  },
                  "congestive_heart_failure": false,
                  "dementia": false,
                  "diabetes_with_complications": false,
                  "diabetes_without_complications": 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.",
                  "egfr_ml_min_1_73m2": 90,
                  "fib4": 1,
                  "formula": "vacs_cci",
                  "formula_expression": "lp = sex_female -0.513 + age_poly(X=age-50, 0.278/0.006/-0.001) + hb_poly(X=hemoglobin-14, -0.115/0.024/0.004) + fib4_poly(X, 0.205/-0.006) + egfr_poly(X=egfr-90, 0.071/0.036/0.002) + alb_poly(X=albumin-4, -0.405/0.326/0.156) + wbc_poly(X=WBC-4, -0.011/0.053/-0.008/0.000) + bmi_poly(X=BMI-25, -0.061/0.005/0.000) + hepatitis_c 0.273 + Table 2 Charlson condition coefficients + CCI-group x age-band interaction (CCI 0/1/2/3+ by <50, 50-64, 65-79, 80+; CCI 1 x 50-64 is reference 0); cci_group from caller-assigned condition weights (MI 1, CHF 1, PVD 1, CVD 1, dementia 1, pulmonary 1, rheumatic 1, PUD 1, DM without 1, DM with 2, hemiplegia 2, kidney mild-to-moderate 2, kidney severe 2, any malignancy 2, metastatic 6, liver mild 1, liver moderate-to-severe 3); McGinnis 2024 Table 2 Model 7; 1st/99th percentile winsorizing not published; 0-100 score uses unpublished development min/max Xbeta so magent does not scale; paper prints 0-100 score 30 → 1-year 1%, 2-year 3%, 5-year 8%, 10-year 18% and score 45 → 6%, 14%, 35%, 61%; no published S0; 2025 corrigendum PMID 39845833 does not change Table 2 coefficients; caller-assigned comorbidities, FIB-4, and eGFR",
                  "hemiplegia_or_paraplegia": false,
                  "hemoglobin_g_dl": 14,
                  "hepatitis_c": false,
                  "kidney_mild_to_moderate": false,
                  "kidney_severe": false,
                  "linear_predictor": 1.228,
                  "liver_mild": false,
                  "liver_moderate_to_severe": false,
                  "metastatic_solid_tumor": false,
                  "myocardial_infarction": false,
                  "peptic_ulcer_disease": false,
                  "peripheral_vascular_disease": false,
                  "rheumatic_disease": false,
                  "sex": "male",
                  "wbc_10e9_l": 4
                },
                {
                  "age": 55,
                  "age_band": "50_64",
                  "albumin_g_dl": 4,
                  "any_malignancy": false,
                  "bmi_kg_m2": 25,
                  "cci_group": "0",
                  "cci_score": 0,
                  "cerebrovascular_disease": false,
                  "chronic_pulmonary_disease": false,
                  "citation": {
                    "authors": "McGinnis KA, Justice AC, Marconi VC, et al.",
                    "doi": "10.3389/fmed.2023.1342466",
                    "id": "mcginnis-2024-vacs-cci",
                    "pmid": "38356736",
                    "source": "Front Med (Lausanne). 2024;10:1342466",
                    "title": "Combining Charlson comorbidity and VACS indices improves prognostic accuracy for all-cause mortality for patients with and without HIV in the Veterans Health Administration"
                  },
                  "congestive_heart_failure": false,
                  "dementia": false,
                  "diabetes_with_complications": false,
                  "diabetes_without_complications": 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.",
                  "egfr_ml_min_1_73m2": 90,
                  "fib4": 1,
                  "formula": "vacs_cci",
                  "formula_expression": "lp = sex_female -0.513 + age_poly(X=age-50, 0.278/0.006/-0.001) + hb_poly(X=hemoglobin-14, -0.115/0.024/0.004) + fib4_poly(X, 0.205/-0.006) + egfr_poly(X=egfr-90, 0.071/0.036/0.002) + alb_poly(X=albumin-4, -0.405/0.326/0.156) + wbc_poly(X=WBC-4, -0.011/0.053/-0.008/0.000) + bmi_poly(X=BMI-25, -0.061/0.005/0.000) + hepatitis_c 0.273 + Table 2 Charlson condition coefficients + CCI-group x age-band interaction (CCI 0/1/2/3+ by <50, 50-64, 65-79, 80+; CCI 1 x 50-64 is reference 0); cci_group from caller-assigned condition weights (MI 1, CHF 1, PVD 1, CVD 1, dementia 1, pulmonary 1, rheumatic 1, PUD 1, DM without 1, DM with 2, hemiplegia 2, kidney mild-to-moderate 2, kidney severe 2, any malignancy 2, metastatic 6, liver mild 1, liver moderate-to-severe 3); McGinnis 2024 Table 2 Model 7; 1st/99th percentile winsorizing not published; 0-100 score uses unpublished development min/max Xbeta so magent does not scale; paper prints 0-100 score 30 → 1-year 1%, 2-year 3%, 5-year 8%, 10-year 18% and score 45 → 6%, 14%, 35%, 61%; no published S0; 2025 corrigendum PMID 39845833 does not change Table 2 coefficients; caller-assigned comorbidities, FIB-4, and eGFR",
                  "hemiplegia_or_paraplegia": false,
                  "hemoglobin_g_dl": 14,
                  "hepatitis_c": false,
                  "kidney_mild_to_moderate": false,
                  "kidney_severe": false,
                  "linear_predictor": 1.228,
                  "liver_mild": false,
                  "liver_moderate_to_severe": false,
                  "metastatic_solid_tumor": false,
                  "myocardial_infarction": false,
                  "peptic_ulcer_disease": false,
                  "peripheral_vascular_disease": false,
                  "rheumatic_disease": false,
                  "sex": "male",
                  "wbc_10e9_l": 4
                }
              ],
              "path": "/api/calc/vacs_cci"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "age": {
                            "description": "Age in years (integer 18-120). Table 2 uses the cubic polynomial of (age-50) and CCI x age-band interaction (<50, 50-64, 65-79, 80+). magent does not assign age.",
                            "type": "integer"
                          },
                          "albumin_g_dl": {
                            "description": "Serum albumin in g/dL (1-6.5). Table 2 centers at (albumin-4). magent does not assay albumin.",
                            "type": "number"
                          },
                          "any_malignancy": {
                            "description": "Caller-assigned any malignancy (McGinnis 2024 Table 2). true adds 0.090 to lp and 2 to the CCI grouping. magent does not diagnose cancer.",
                            "type": "boolean"
                          },
                          "bmi_kg_m2": {
                            "description": "Body mass index in kg/m² (10-60). Table 2 centers at (BMI-25). magent does not compute BMI from height and weight.",
                            "type": "number"
                          },
                          "cerebrovascular_disease": {
                            "description": "Caller-assigned cerebrovascular disease (McGinnis 2024 Table 2). true adds 0.114 to lp and 1 to the CCI grouping. magent does not diagnose stroke.",
                            "type": "boolean"
                          },
                          "chronic_pulmonary_disease": {
                            "description": "Caller-assigned chronic pulmonary disease (McGinnis 2024 Table 2). true adds 0.279 to lp and 1 to the CCI grouping. magent does not diagnose lung disease.",
                            "type": "boolean"
                          },
                          "congestive_heart_failure": {
                            "description": "Caller-assigned congestive heart failure (McGinnis 2024 Table 2). true adds 0.420 to lp and 1 to the CCI grouping. magent does not diagnose heart failure.",
                            "type": "boolean"
                          },
                          "dementia": {
                            "description": "Caller-assigned dementia (McGinnis 2024 Table 2). true adds 0.489 to lp and 1 to the CCI grouping. magent does not diagnose dementia.",
                            "type": "boolean"
                          },
                          "diabetes_with_complications": {
                            "description": "Caller-assigned diabetes with chronic complications (McGinnis 2024 Table 2). true adds 0.075 to lp and 2 to the CCI grouping. magent does not diagnose diabetes.",
                            "type": "boolean"
                          },
                          "diabetes_without_complications": {
                            "description": "Caller-assigned diabetes without chronic complications (McGinnis 2024 Table 2). true adds 0.053 to lp and 1 to the CCI grouping. magent does not diagnose diabetes.",
                            "type": "boolean"
                          },
                          "egfr_ml_min_1_73m2": {
                            "description": "Caller-assigned eGFR in mL/min/1.73m² (0-200). Table 2 centers at (egfr-90). magent does not compute CKD-EPI.",
                            "type": "number"
                          },
                          "fib4": {
                            "description": "Caller-assigned FIB-4 (0.1-20). Table 2 uses X and X2 of FIB-4. magent does not recompute FIB-4.",
                            "type": "number"
                          },
                          "hemiplegia_or_paraplegia": {
                            "description": "Caller-assigned hemiplegia or paraplegia (McGinnis 2024 Table 2). true adds -0.049 to lp and 2 to the CCI grouping. magent does not diagnose paralysis.",
                            "type": "boolean"
                          },
                          "hemoglobin_g_dl": {
                            "description": "Hemoglobin in g/dL (3-22). Table 2 centers at (hemoglobin-14). magent does not assay hemoglobin.",
                            "type": "number"
                          },
                          "hepatitis_c": {
                            "description": "Caller-assigned hepatitis C (McGinnis 2024). true adds 0.273 to the linear predictor. magent does not diagnose hepatitis C.",
                            "type": "boolean"
                          },
                          "kidney_mild_to_moderate": {
                            "description": "Caller-assigned mild-to-moderate kidney disease (McGinnis 2024 Table 2). true adds -0.199 to lp and 2 to the CCI grouping. magent does not grade kidney disease.",
                            "type": "boolean"
                          },
                          "kidney_severe": {
                            "description": "Caller-assigned severe kidney disease (McGinnis 2024 Table 2). true adds -0.098 to lp and 2 to the CCI grouping. magent does not grade kidney disease.",
                            "type": "boolean"
                          },
                          "liver_mild": {
                            "description": "Caller-assigned mild liver disease (McGinnis 2024 Table 2). true adds -0.045 to lp and 1 to the CCI grouping. magent does not grade liver disease.",
                            "type": "boolean"
                          },
                          "liver_moderate_to_severe": {
                            "description": "Caller-assigned moderate-to-severe liver disease (McGinnis 2024 Table 2). true adds 0.226 to lp and 3 to the CCI grouping. magent does not grade liver disease.",
                            "type": "boolean"
                          },
                          "metastatic_solid_tumor": {
                            "description": "Caller-assigned metastatic solid tumor (McGinnis 2024 Table 2). true adds 1.184 to lp and 6 to the CCI grouping. magent does not diagnose cancer.",
                            "type": "boolean"
                          },
                          "myocardial_infarction": {
                            "description": "Caller-assigned myocardial infarction (McGinnis 2024 Table 2). true adds 0.008 to lp and 1 to the CCI grouping. magent does not diagnose infarction.",
                            "type": "boolean"
                          },
                          "peptic_ulcer_disease": {
                            "description": "Caller-assigned peptic ulcer disease (McGinnis 2024 Table 2). true adds -0.074 to lp and 1 to the CCI grouping. magent does not diagnose ulcer disease.",
                            "type": "boolean"
                          },
                          "peripheral_vascular_disease": {
                            "description": "Caller-assigned peripheral vascular disease (McGinnis 2024 Table 2). true adds 0.141 to lp and 1 to the CCI grouping. magent does not diagnose vascular disease.",
                            "type": "boolean"
                          },
                          "rheumatic_disease": {
                            "description": "Caller-assigned rheumatic disease (McGinnis 2024 Table 2). true adds -0.034 to lp and 1 to the CCI grouping. magent does not diagnose rheumatic disease.",
                            "type": "boolean"
                          },
                          "sex": {
                            "description": "Caller-assigned sex (female or male). Female vs male adds -0.513 to the Table 2 linear predictor. magent does not assign sex.",
                            "enum": [
                              "female",
                              "male"
                            ],
                            "type": "string"
                          },
                          "wbc_10e9_l": {
                            "description": "White blood count in 10^9/L (0.5-50), equal to k/µL. Table 2 centers at (WBC-4). magent does not assay WBC.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "sex",
                          "age",
                          "hemoglobin_g_dl",
                          "fib4",
                          "egfr_ml_min_1_73m2",
                          "albumin_g_dl",
                          "wbc_10e9_l",
                          "bmi_kg_m2",
                          "hepatitis_c",
                          "myocardial_infarction",
                          "congestive_heart_failure",
                          "peripheral_vascular_disease",
                          "cerebrovascular_disease",
                          "dementia",
                          "chronic_pulmonary_disease",
                          "rheumatic_disease",
                          "peptic_ulcer_disease",
                          "diabetes_without_complications",
                          "diabetes_with_complications",
                          "hemiplegia_or_paraplegia",
                          "kidney_mild_to_moderate",
                          "kidney_severe",
                          "any_malignancy",
                          "metastatic_solid_tumor",
                          "liver_mild",
                          "liver_moderate_to_severe"
                        ],
                        "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"
  }
}