hsr_coefficients: Extract risk model coefficients from a Hospital-Specific Report (HSR)
Description
Parses out the regression coefficients from the logistic regression model
used by CMS to estimate discharge-level readmission risk,
including the hospital-level and hospital average intercept terms.
Note: CMS changed the format of Hospital-Specific Reports (HSRs) for FY2026 (see here). The current HSR functions support formats through FY2025.
# Access a reportmy_report <- hsr_mock_reports("FY2025_HRRP_MockHSR.xlsx")
# Show coefficients for heart failure modelhsr_coefficients(my_report, "HF")