Changelog
Source:NEWS.md
comorbidity 1.1.0
CRAN release: 2024-07-16
Added a second version of the ICD10-AM score including U codes to “increases the capture of some chronic conditions up to 15-fold”, according to the Australian Institute of Health and Welfare (#72, thanks to @DesiQuintans for contributing this);
Updated Swedish version of the Charlson comorbidity score according to the corrigendum published online at: https://doi.org/10.2147/CLEP.S425901;
Removed startup message highlighting changes in the package API introduced with {comorbidity} 1.0.0;
Updated hex sticker;
Minor improvements to {pkgdown} website accessibility;
Fixed invalid language field in DESCRIPTION file (#75).
comorbidity 1.0.7
CRAN release: 2023-05-01
- Identified (and adjusted) some tests that could spuriously fail.
comorbidity 1.0.4
Updated maintainer e-mail.
Updated hex sticker.
Improved documentation for arguments of the
comorbidity()
andscore()
functions (#61, thanks @dsjoho).Fixed broken references to the old vignettes’ names (#61, thanks @dsjoho).
Overall, package documentation has been tidied up a bunch.
The startup message pointing out changes in the API now appears less often (10% probability).
comorbidity 1.0.3
CRAN release: 2022-07-12
- Fixed a bug that did not allowed ID columns other than numeric (#55, thanks @norihikorihiko for reporting this).
comorbidity 1.0.2
CRAN release: 2022-04-06
The
copd
andami
comorbidities for the Charlson index have been renamed tocpd
andmi
, respectively (#53, thanks @DrYan1102). Please be aware that this might break some old code if you were selecting comorbidities by name.New dataset: ICD10-CM, 2022 version, named
icd10cm_2022
.
comorbidity 1.0.1
The startup message pointing out changes in the API now appears less often (40% probability).
Fixed a bug that was causing all comorbidities to be assigned a value of one when there was missing data in the
code
column (#50), thanks @Chris-M-P for reporting this.
comorbidity 1.0.0
CRAN release: 2022-01-17
comorbidity
version 1.0.0 is a release that substantially modifies and updates the package API. There are a lot of improvements in terms of performance, supported algorithms, and user-facing functions; see e.g. this thread on GitHub. Specific user-facing changes, including examples of the new API, are discussed in more detail here: https://ellessenne.github.io/comorbidity/articles/C-changes.htmlIf required, you can revert to the previous release by installing from GitHub:
remotes::install_github("ellessenne/comorbidity@0.5.3")
.A startup message pointing out the changes in the API is now displayed with a 50% probability when attaching the package and will be removed in future releases.
New contributors: Sing Yi Chia and Edmund Teo.
comorbidity 0.5.3
CRAN release: 2020-01-09
comorbidity 0.5.2
CRAN release: 2019-10-20
- Fixed another bug introduced by the switch to
data.table
that only occurred when the input dataset had extra columns other thanid
andcode
.
comorbidity 0.5.1
CRAN release: 2019-10-16
The
melt
generic indata.table
has been deprecated; the dependency onreshape2
has now been removed;Fixed bugs introduced by switching to
data.table
incomorbidity
0.5.0: column namesid
andcode
were expecting these specific names, now fixed and behaves as expected.
comorbidity 0.5.0
CRAN release: 2019-08-20
comorbidity
is now 10+ times faster, thanks to Jonathan Williman contributing code based on thedata.table
package;Fixed typo in vignette regarding weighting algorithm for the AHRQ Elixhauser comorbidity score (#14, thanks to @cornflakegrl);
Added
pkgdown
website: https://ellessenne.github.io/comorbidity.
comorbidity 0.4.1
CRAN release: 2019-06-27
- Fixed bug in regex patterns (#10, thanks to @francisco003 for reporting it and @salmasian for the pull request).
comorbidity 0.4.0
BREAKING CHANGES
Modified the behaviour of the assign0
argument after further discussion with Anders Alexandersson in Issue #9: now there is no default, forcing the user to decide whether to apply a hierarchy of comorbidity codes or not. This will make the algorithm more transparent to the end user, allowing an informed choice. See ?comorbidity::comorbidity
and vignette("comorbidityscores", package = "comorbidity")
for further details on the hierarchy being applied.
comorbidity 0.3.0
CRAN release: 2019-03-22
BREAKING CHANGES
comorbidity
now returns two Elixhauser scores, one computed using the algorithm of van Walraven et al. (2009) and a second one computed using the AHRQ algorithm (Moore et al., 2017). Thanks to Yumiko Abe-Jones for feedback and the discussion regarding weighted Elixhauser scores.
More information can be found on the package vignette: vignette("comorbidityscores", package = "comorbidity")
.
comorbidity 0.2.1
- Fixed bug in weighting algorithm of Elixhauser comorbidity score;
- The
assign0
argument ofcomorbidity
now defaults toFALSE
; - Improved documentation for the
comorbidity
function:-
assign0
now explains in details what hierarchy of comorbidities is applied; - added reference to package vignette where comorbidity scores and weighting algorithms are explained in more detail.
-
comorbidity 0.2.0
CRAN release: 2018-10-08
-
comorbidity
is faster, with a conservative estimated speed-up of >60%; - Lots of internal housekeeping;
- Fixed broken GitHub links to the R script used to generate the datasets bundled with
comorbidity
.
BREAKING CHANGES
The score
argument from comorbidity
has been split into score
and icd
. For instance, the command comorbidity(x = x, id = "id", code = "code", score = "charlson_icd10")
has to be modified as r comorbidity(x = x, id = "id", code = "code", score = "charlson", icd = "icd10")
. The default value of icd
is icd10
, for ICD-10 codes, and possible values are icd10
and icd9
.
comorbidity 0.1.3
- Added
nhds2010
andaustralia10
datasets, imported from Stata version 15.
Bug fix: * Fixed a bug in the regex for the ICD10 Charlson score; * Fixed a bug in the regex for the ICD10 Elixhauser score.
comorbidity 0.1.1
CRAN release: 2018-03-30
- Documented variables that were missing among those returned by
comorbidity()
(@corinne-riddell, #5); - Added CITATION file:
citation("comorbidity")
now returns a properly formatted entry.
comorbidity 0.1.0
CRAN release: 2018-03-07
- Added support for the ICD-9-CM version of Charlson and Elixhauser scores
- Added vignette with information on the scores computed by
comorbidity
-
sample_diag_icd10()
function renamed back tosample_diag()
, as now can simulate ICD-9-CM codes too
comorbidity 0.0.3
CRAN release: 2018-01-08
- Added datasets
icd10_2009
andicd10_2011
with ICD-10 codes, 2009 and 2011 versions (respectively) -
sample_diag
is nowsample_diag_icd10
and simulates proper ICD-10 codes - Added Elixhauser comorbidity score
- Renamed the package to
comorbidity
as it now can compute more than just the Charlson score - Added formal testing: codes for the Charlson score are properly identified
- Added formal testing: codes for the Elixhauser score are properly identified