Hcup Inpatient Stats
v0.2.1HCUP Inpatient Stats — national hospitalization discharges, costs and outcomes by condition and…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
condition_hospital_costs
National U.S. inpatient hospital discharges and aggregate costs by principal diagnosis (CCSR category) and year, from AHRQ HCUP's published "Most Expensive Conditions by Payer" Statistical Brief series — e.g. heart failure, septicemia/sepsis, acute myocardial infarction, COVID-19, stroke (cerebral infarction). Returns the top-20 most expensive conditions nationally (or filtered to one condition) with discharge counts, aggregate cost, and mean cost per stay. Years available: 2022, 2017 (AHRQ has not published a 2021 edition of this cross-condition table as of 2026-10-21). Optionally filter by…
| Parameter | Type | Description |
|---|---|---|
condition | string | Condition name (e.g. "heart failure", "sepsis", "stroke") or CCSR code (e.g. "CIR019") to filter to. Omit to get the full top-20 table for that year/payer. |
payer | string | Expected payer to filter by. Only 2022 has per-payer tables; other years return the all-payer table regardless of this argument. |
year | number | Statistical Brief edition year. One of: 2022, 2017. Defaults to 2022 (the most recent AHRQ has published). |
sepsis_hospital_outcomes
National U.S. inpatient hospital length of stay and mean cost per stay for sepsis (principal diagnosis), by patient population and year, 2016-2021, from AHRQ HCUP Statistical Brief #306. This is the only public AHRQ cross-year table found that reports a 2021-specific national figure. Separately reports any-listed-diagnosis sepsis stay counts (a broader population than principal diagnosis) for the years AHRQ printed a figure (2016, 2019, 2021).
| Parameter | Type | Description |
|---|---|---|
period | string | Reporting period. "y2021" is the full-year 2021 estimate (with and without a co-occurring COVID-19 diagnosis combined). Defaults to "y2021". |
population | string | Patient population. Defaults to "all". |