medicalcoder 0.8.0
·
188 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Highlights
medicalcoder 0.8.0 adds support for the AHRQ Elixhauser Comorbidity Software Refined v2026, improves performance for tibble and data.table inputs, and corrects several comorbidity mappings.
New features
- Added
elixhauser_ahrq2026support tocomorbidities()(#32). - Added optimized
dplyr-based data manipulation for tibble inputs. - Added
mdcr_unique()to improve tibble and data.table performance (#31).
Corrections
- Corrected AHRQ ICD-10 conditional and multiple-comorbidity mappings for fiscal years 2023–2026.
- Improved the Quan 2005 Elixhauser mappings:
- Removed F42.2 from depression.
- Added G36.x and ICD-9-CM 333.4 to neurological disorders.
- Added the historically assignable ICD-9-PCS code 37.5 to the relevant PCCC code sets (#38).
- Fixed summaries for zero-row inputs and consistently return
NAinstead ofNaNfor zero counts (#26, #27). - Added validation for input data structures (#41).
- Added validation for empty regular-expression patterns in
lookup_icd_codes()(#42).
Other changes
- Expanded the internal ICD-9 database to distinguish CDC and CMS sources.
- Improved cumulative comorbidity flagging performance.
- Clarified present-on-admission behavior with cumulative flagging (#28).
- Improved documentation, including guidance for users transitioning from the
pcccpackage.
License
The package license has changed from GPL-2 to BSD 3-Clause, reducing restrictions on reuse and integration.
Full changelog: v0.7.0...v0.8.0