Express charges and estimated hospital costs in a common dollar year.
Invalid charges produce missing adjusted charges and costs. Invalid
cost-to-charge ratios produce missing costs. Use nis_cost_provenance()
to inspect the annual multipliers and audit missing values.
Arguments
- .data
A collected data frame with
YEAR, thechargescolumn, andCCR_NIS. Lazy DuckDB queries must be collected first.- dollars
Reference dollar year, from 2012 through 2024.
- charges
Name of the total-charge column. Defaults to
"TOTCHG". Negative, missing, and non-finite values are invalid; zero is retained. Use"TOTCHG_2023"only knowingly: HCUP adjusts that field for states missing from 2023, so it is not comparable to earlier-yearTOTCHG, and it is missing for earlier years.
Value
.data with cost_adj and charges_adj in dollars USD. The
in-memory data frame has nis_cost_provenance metadata; retrieve it with
nis_cost_provenance().
See also
Derive outcomes, comorbidities, and costs.
Other outcomes and costs:
nis_comorbidity(),
nis_comorbidity_condition_map(),
nis_cost_provenance(),
nis_outcomes()