MAGENT

Liver · LIVE

Mumtaz readmission score

Mumtaz

Sum Mumtaz 2019 index-admission integer points and return the published predicted 30-day all-cause readmission percent and low/medium/high band.

LIVE $0.005 USDC GET /api/calc/mumtaz

Markdown: /docs/mumtaz.md · Canonical: https://magentlab.com/docs/mumtaz

Not a medical device. Not a diagnosis, dose, or listing recommendation.

What it computes

Sum Mumtaz 2019 index-admission integer points and return the published predicted 30-day all-cause readmission percent and low/medium/high band.

When to use

When an agent has already assigned Mumtaz 2019 index-admission variables (including a caller-assigned Elixhauser ≥3 flag) and needs the published integer score and 30-day readmission band, not a discharge order, Child-Pugh class, or MELD.

When not to use

  • Not a medical device and not a discharge, transfer, home-health, or against-medical-advice order.
  • elixhauser_ge_3 is caller-assigned. magent does not compute the Elixhauser comorbidity index.
  • Integer points and predicted 30-day all-cause readmission percents follow Mumtaz 2019. Bands are low <20% (score -11 to 6), medium 20-30% (score 7 to 17), and high >30% (score 18 to 49). Not a clinical-severity class.
  • This is not Child-Pugh and not MELD. There are no laboratories in this score.
  • Derived on the Nationwide Readmission Database (administrative codes) for decompensated cirrhosis at index discharge. Do not use for age <18, mechanical ventilation, palliative care, prior liver transplant, or elective admission (derivation exclusions).

Formula

Mumtaz = age_points + primary_payer_points + elixhauser_ge_3(2) + non_alcoholic_etiology(2) + ascites(5) + hepatic_encephalopathy(4) + variceal_bleeding(-7) + hepatocellular_carcinoma(3) + paracentesis(4) + hemodialysis(7) + disposition_points; Mumtaz 2019; age 18-39 7, 40-64 4, >=65 0; medicare 4, medicaid 5, private 0, self_pay -3, other -1; disposition routine 0, transfer -1, home_health 1, ama 10; range -11 to 49; estimated_readmission_percent is the published score-to-probability mapping; readmission_band low <20% (score -11 to 6), medium 20-30% (7 to 17), high >30% (18 to 49)

Citation

Title
Validation of Risk Score in Predicting Early Readmissions in Decompensated Cirrhotic Patients: A Model Based on the Administrative Database
Authors
Mumtaz K, Issak A, Porter K, et al.
Source
Hepatology. 2019;70(2):630-639
DOI
10.1002/hep.30274

Worked example

Age 70, private payer, no flags, routine discharge

Given: age=70ascites=falsedisposition=routineelixhauser_ge_3=falsehemodialysis=falsehepatic_encephalopathy=falsehepatocellular_carcinoma=falsenon_alcoholic_etiology=falseparacentesis=falseprimary_payer=privatevariceal_bleeding=false

  1. age ≥65 → 0; private → 0; all flags false → 0; routine → 0
  2. score = 0 (range -11 to 49)
  3. estimated_readmission_percent = 15.1; readmission_band low (<20%)

Age 30, Medicaid, ascites, encephalopathy, paracentesis

Given: age=30ascites=truedisposition=routineelixhauser_ge_3=falsehemodialysis=falsehepatic_encephalopathy=truehepatocellular_carcinoma=falsenon_alcoholic_etiology=falseparacentesis=trueprimary_payer=medicaidvariceal_bleeding=false

  1. age 18-39 → +7; medicaid → +5; ascites → +5; hepatic_encephalopathy → +4; paracentesis → +4
  2. score = 25
  3. estimated_readmission_percent = 38.3; readmission_band high (>30%)

Also searched as

  • Mumtaz readmission risk score
  • Mumtaz 2019 cirrhosis readmission
  • decompensated cirrhosis 30-day readmission
  • NRD cirrhosis readmission score
  • cirrhosis early readmission score
  • administrative cirrhosis readmission model

Try

Opens the live endpoint. Unpaid browser requests show the paywall; agents should send Accept: application/json.

/api/calc/mumtaz?age=70&primary_payer=private&elixhauser_ge_3=false&non_alcoholic_etiology=false&ascites=false&hepatic_encephalopathy=false&variceal_bleeding=false&hepatocellular_carcinoma=false&paracentesis=false&hemodialysis=false&disposition=routine

Full URL: https://api.magentlab.com/api/calc/mumtaz?age=70&primary_payer=private&elixhauser_ge_3=false&non_alcoholic_etiology=false&ascites=false&hepatic_encephalopathy=false&variceal_bleeding=false&hepatocellular_carcinoma=false&paracentesis=false&hemodialysis=false&disposition=routine

Call

Expect HTTP 402 until you retry with PAYMENT-SIGNATURE. Incomplete query params return HTTP 400 before any quote or charge.

curl -i -H "Accept: application/json" "https://api.magentlab.com/api/calc/mumtaz?age=70&primary_payer=private&elixhauser_ge_3=false&non_alcoholic_etiology=false&ascites=false&hepatic_encephalopathy=false&variceal_bleeding=false&hepatocellular_carcinoma=false&paracentesis=false&hemodialysis=false&disposition=routine"

Parameters

Name Type Required Description
age integer required Age in years (18-120). Mumtaz 2019: 18-39 → +7; 40-64 → +4; ≥65 → 0. Adult derivation.
primary_payer string required Primary payer (Mumtaz 2019). medicare → +4; medicaid → +5; private → 0; self_pay → -3; other → -1. Caller-assigned; magent does not read insurance.
elixhauser_ge_3 boolean required Caller-assigned Elixhauser comorbidity index ≥3 (Mumtaz 2019). true → +2; false → 0. magent does not compute Elixhauser.
non_alcoholic_etiology boolean required Caller-assigned nonalcoholic etiology of cirrhosis (Mumtaz 2019). true → +2; false → 0. magent does not assign etiology.
ascites boolean required Caller-assigned ascites on the index admission (Mumtaz 2019). true → +5; false → 0. magent does not examine the patient.
hepatic_encephalopathy boolean required Caller-assigned hepatic encephalopathy on the index admission (Mumtaz 2019). true → +4; false → 0. magent does not grade encephalopathy.
variceal_bleeding boolean required Caller-assigned variceal bleeding on the index admission (Mumtaz 2019). true → -7; false → 0. magent does not diagnose bleeding.
hepatocellular_carcinoma boolean required Caller-assigned hepatocellular carcinoma (Mumtaz 2019). true → +3; false → 0. magent does not read imaging.
paracentesis boolean required Caller-assigned paracentesis during the index admission (Mumtaz 2019). true → +4; false → 0. magent does not record procedures.
hemodialysis boolean required Caller-assigned hemodialysis during the index admission (Mumtaz 2019). true → +7; false → 0. magent does not order dialysis.
disposition string required Discharge disposition (Mumtaz 2019). routine → 0; transfer → -1; home_health → +1; ama → +10. Caller-assigned; not a discharge order.

Bulk (POST)

POST the same path with a JSON items array. The first item is the GET unit; each additional item is $0.002. Invalid items return HTTP 400 before settlement.

POST /api/calc/mumtaz Max 25 unit_amount + extra_item_amount * (n - 1) extra $0.002 PREVIEW

  • 1 to 25 items. Each item uses the same keys as the GET query parameters.
  • POST of 1 item costs the same as GET. Lists longer than 25: chunk into multiple POSTs. Extra items still execute; do not pad dummy rows.
  • The first invalid item fails the whole request (index in the 400 JSON). You are not charged.
  • HTTP 200 is {count, path, items}. Each items[i] is the GET 200 body for that row.
  • Catalog misses (empty matches, found=false) stay paid 200s inside that slot.
  • x402 resource URL is this path plus n and body_sha256. Browsers that prefer text/html get the same paywall as GET; Pay retries POST with the same items.

Example request (fixture)

{
  "items": [
    {
      "age": "70",
      "ascites": "false",
      "disposition": "routine",
      "elixhauser_ge_3": "false",
      "hemodialysis": "false",
      "hepatic_encephalopathy": "false",
      "hepatocellular_carcinoma": "false",
      "non_alcoholic_etiology": "false",
      "paracentesis": "false",
      "primary_payer": "private",
      "variceal_bleeding": "false"
    },
    {
      "age": "70",
      "ascites": "false",
      "disposition": "routine",
      "elixhauser_ge_3": "false",
      "hemodialysis": "false",
      "hepatic_encephalopathy": "false",
      "hepatocellular_carcinoma": "false",
      "non_alcoholic_etiology": "false",
      "paracentesis": "false",
      "primary_payer": "private",
      "variceal_bleeding": "false"
    }
  ]
}

Open bulk paywall →

Opens a two-item fixture on the API host. Unpaid browsers get the same MetaMask paywall as GET; Pay retries POST with those items.

Example 200 (fixture)

{
  "count": 2,
  "path": "/api/calc/mumtaz",
  "items": [
    {
      "components": [
        {
          "value": 70,
          "factor": "age",
          "points": 0,
          "present": true
        },
        {
          "value": "private",
          "factor": "primary_payer",
          "points": 0,
          "present": true
        },
        {
          "factor": "elixhauser_ge_3",
          "points": 0,
          "present": false
        },
        {
          "factor": "non_alcoholic_etiology",
          "points": 0,
          "present": false
        },
        {
          "factor": "ascites",
          "points": 0,
          "present": false
        },
        {
          "factor": "hepatic_encephalopathy",
          "points": 0,
          "present": false
        },
        {
          "factor": "variceal_bleeding",
          "points": 0,
          "present": false
        },
        {
          "factor": "hepatocellular_carcinoma",
          "points": 0,
          "present": false
        },
        {
          "factor": "paracentesis",
          "points": 0,
          "present": false
        },
        {
          "factor": "hemodialysis",
          "points": 0,
          "present": false
        },
        {
          "value": "routine",
          "factor": "disposition",
          "points": 0,
          "present": true
        }
      ],
      "disposition": "routine",
      "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.",
      "citation": {
        "authors": "Mumtaz K, Issak A, Porter K, et al.",
        "doi": "10.1002/hep.30274",
        "id": "mumtaz-2019",
        "pmid": "30218583",
        "source": "Hepatology. 2019;70(2):630-639",
        "title": "Validation of Risk Score in Predicting Early Readmissions in Decompensated Cirrhotic Patients: A Model Based on the Administrative Database"
      },
      "formula": "mumtaz",
      "formula_expression": "Mumtaz = age_points + primary_payer_points + elixhauser_ge_3(2) + non_alcoholic_etiology(2) + ascites(5) + hepatic_encephalopathy(4) + variceal_bleeding(-7) + hepatocellular_carcinoma(3) + paracentesis(4) + hemodialysis(7) + disposition_points; Mumtaz 2019; age 18-39 7, 40-64 4, >=65 0; medicare 4, medicaid 5, private 0, self_pay -3, other -1; disposition routine 0, transfer -1, home_health 1, ama 10; range -11 to 49; estimated_readmission_percent is the published score-to-probability mapping; readmission_band low <20% (score -11 to 6), medium 20-30% (7 to 17), high >30% (18 to 49)",
      "age_years": 70,
      "max_score": 49,
      "score": 0,
      "min_score": -11,
      "estimated_readmission_percent": 15.1,
      "primary_payer": "private",
      "readmission_band": "low"
    },
    {
      "components": [
        {
          "value": 70,
          "factor": "age",
          "points": 0,
          "present": true
        },
        {
          "value": "private",
          "factor": "primary_payer",
          "points": 0,
          "present": true
        },
        {
          "factor": "elixhauser_ge_3",
          "points": 0,
          "present": false
        },
        {
          "factor": "non_alcoholic_etiology",
          "points": 0,
          "present": false
        },
        {
          "factor": "ascites",
          "points": 0,
          "present": false
        },
        {
          "factor": "hepatic_encephalopathy",
          "points": 0,
          "present": false
        },
        {
          "factor": "variceal_bleeding",
          "points": 0,
          "present": false
        },
        {
          "factor": "hepatocellular_carcinoma",
          "points": 0,
          "present": false
        },
        {
          "factor": "paracentesis",
          "points": 0,
          "present": false
        },
        {
          "factor": "hemodialysis",
          "points": 0,
          "present": false
        },
        {
          "value": "routine",
          "factor": "disposition",
          "points": 0,
          "present": true
        }
      ],
      "disposition": "routine",
      "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.",
      "citation": {
        "authors": "Mumtaz K, Issak A, Porter K, et al.",
        "doi": "10.1002/hep.30274",
        "id": "mumtaz-2019",
        "pmid": "30218583",
        "source": "Hepatology. 2019;70(2):630-639",
        "title": "Validation of Risk Score in Predicting Early Readmissions in Decompensated Cirrhotic Patients: A Model Based on the Administrative Database"
      },
      "formula": "mumtaz",
      "formula_expression": "Mumtaz = age_points + primary_payer_points + elixhauser_ge_3(2) + non_alcoholic_etiology(2) + ascites(5) + hepatic_encephalopathy(4) + variceal_bleeding(-7) + hepatocellular_carcinoma(3) + paracentesis(4) + hemodialysis(7) + disposition_points; Mumtaz 2019; age 18-39 7, 40-64 4, >=65 0; medicare 4, medicaid 5, private 0, self_pay -3, other -1; disposition routine 0, transfer -1, home_health 1, ama 10; range -11 to 49; estimated_readmission_percent is the published score-to-probability mapping; readmission_band low <20% (score -11 to 6), medium 20-30% (7 to 17), high >30% (18 to 49)",
      "age_years": 70,
      "max_score": 49,
      "score": 0,
      "min_score": -11,
      "estimated_readmission_percent": 15.1,
      "primary_payer": "private",
      "readmission_band": "low"
    }
  ]
}

Response

Field Type Description
formula string mumtaz
formula_expression string Exact expression used
score integer Mumtaz 2019 integer points. Published range -11 to 49.
min_score integer -11
max_score integer 49
age_years integer Age in years used for age points
primary_payer string medicare, medicaid, private, self_pay, or other
disposition string routine, transfer, home_health, or ama
estimated_readmission_percent number Published predicted 30-day all-cause readmission percent for this integer score. A population probability, not an individual outcome.
readmission_band string Mumtaz 2019 predicted 30-day readmission strata: low <20%, medium 20-30%, high >30%. Not a discharge order.
components array Per-factor points
citation object Mumtaz et al. Hepatology 2019 citation
disclaimer string Not-a-device notice

Example JSON

Machine form of the same example. Frozen fixture. Not a live lookup.

{
  "components": [
    {
      "value": 70,
      "factor": "age",
      "points": 0,
      "present": true
    },
    {
      "value": "private",
      "factor": "primary_payer",
      "points": 0,
      "present": true
    },
    {
      "factor": "elixhauser_ge_3",
      "points": 0,
      "present": false
    },
    {
      "factor": "non_alcoholic_etiology",
      "points": 0,
      "present": false
    },
    {
      "factor": "ascites",
      "points": 0,
      "present": false
    },
    {
      "factor": "hepatic_encephalopathy",
      "points": 0,
      "present": false
    },
    {
      "factor": "variceal_bleeding",
      "points": 0,
      "present": false
    },
    {
      "factor": "hepatocellular_carcinoma",
      "points": 0,
      "present": false
    },
    {
      "factor": "paracentesis",
      "points": 0,
      "present": false
    },
    {
      "factor": "hemodialysis",
      "points": 0,
      "present": false
    },
    {
      "value": "routine",
      "factor": "disposition",
      "points": 0,
      "present": true
    }
  ],
  "disposition": "routine",
  "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.",
  "citation": {
    "authors": "Mumtaz K, Issak A, Porter K, et al.",
    "doi": "10.1002/hep.30274",
    "id": "mumtaz-2019",
    "pmid": "30218583",
    "source": "Hepatology. 2019;70(2):630-639",
    "title": "Validation of Risk Score in Predicting Early Readmissions in Decompensated Cirrhotic Patients: A Model Based on the Administrative Database"
  },
  "formula": "mumtaz",
  "formula_expression": "Mumtaz = age_points + primary_payer_points + elixhauser_ge_3(2) + non_alcoholic_etiology(2) + ascites(5) + hepatic_encephalopathy(4) + variceal_bleeding(-7) + hepatocellular_carcinoma(3) + paracentesis(4) + hemodialysis(7) + disposition_points; Mumtaz 2019; age 18-39 7, 40-64 4, >=65 0; medicare 4, medicaid 5, private 0, self_pay -3, other -1; disposition routine 0, transfer -1, home_health 1, ama 10; range -11 to 49; estimated_readmission_percent is the published score-to-probability mapping; readmission_band low <20% (score -11 to 6), medium 20-30% (7 to 17), high >30% (18 to 49)",
  "age_years": 70,
  "max_score": 49,
  "score": 0,
  "min_score": -11,
  "estimated_readmission_percent": 15.1,
  "primary_payer": "private",
  "readmission_band": "low"
}

Client errors (HTTP 400)

Invalid params return 400 without charge. Shared HTTP 402 and 503 meanings: Payments.

HTTP Code When
400 invalid_age age must be an integer from 18 to 120 Returned before settlement; you are not charged.
400 invalid_mumtaz_payer primary_payer must be medicare, medicaid, private, self_pay, or other (Mumtaz 2019). Returned before settlement; you are not charged.
400 invalid_mumtaz_disposition disposition must be routine, transfer, home_health, or ama (Mumtaz 2019). Returned before settlement; you are not charged.
400 invalid_flag boolean clinical flags must be true or false Returned before settlement; you are not charged.
400 invalid_items POST body must be a JSON object with only an items array Returned before settlement; you are not charged.
400 invalid_item_count items must be an array of 1 to 25 objects Returned before settlement; you are not charged.
400 invalid_item each items entry must be a JSON object Returned before settlement; you are not charged.

Related tools

  • Child–Pugh — Compute the Child–Turcotte–Pugh cirrhosis severity score from bilirubin, albumin, INR, encephalopathy, and ascites.
  • MELD — Compute the Kamath 2001 model for end-stage liver disease (MELD) integer from creatinine, bilirubin, INR, and cholestatic or alcoholic etiology.
  • LACE — Sum van Walraven 2010 Table 3 LACE points from length of stay, acute (emergent) admission, a caller-supplied Charlson integer, and ED visits in the previous 6 months.

Payment

Unpaid requests return HTTP 402 even if query parameters or POST items are missing or invalid, so CDP and agents can index the path. After a PAYMENT-SIGNATURE, invalid params return HTTP 400 JSON before settlement. magent does not charge. Fix the params, then request a new 402 quote for that complete URL. Catalog misses (empty matches, found=false) are valid paid 200s. Unpaid valid requests return HTTP 402 with a base64 PAYMENT-REQUIRED header. HTTP 503 is not a new quote: retry the same PAYMENT-SIGNATURE. Full handshake and shared payment errors: Payments. Stdio MCP: /docs/mcp.

Guarantees

  • HTTP 402 is unpaid, including a missing query. After PAYMENT-SIGNATURE, invalid parameters return HTTP 400 before settlement. You are not charged. HTTP 402 never includes the tool JSON.
  • exact: settlement finishes before the tool (paymentFlow upfront). batch-settlement: verify/deposit before the tool; chargedCumulativeAmount commits after HTTP 2xx. Uncertain or failed settlement fails closed (HTTP 503). Retry the same PAYMENT-SIGNATURE.
  • HTTP 402 is unpaid only. Do not sign a second authorization because of a 503.
  • Execution is timeout-bounded and concurrency-capped.
  • Calculator inputs are stored encrypted for allowlisted operators (Magent Console). They are not in public logs, SSH lookups, catalog, or rollups. Request logs store path without query.