cmrbdt.finder.numeric: Finds the matching codes for the different comorbidity groups

Description Usage Arguments Details Value References See Also Examples

Description

The functions loop through all the comorbidity groups in search for a matching group to the provided icd_codes.

Usage

1
2
3
4
5
6
7
8
cmrbdt.finder.numeric.ahrq(icd_codes, out, country_code,
  include_acute = rep(TRUE, length(icd_codes)), icd_ver = 9, ver = "3.7")

cmrbdt.finder.numeric.charlson_Deyo1992(icd_codes, out, country_code,
  include_acute = rep(TRUE, length(icd_codes)), icd_ver = 9)

cmrbdt.finder.numeric.elixhauser_Elixhauser1998(icd_codes, out, country_code,
  include_acute = rep(TRUE, length(icd_codes)), icd_ver = 9)

Arguments

icd_codes

The icd code of interest, either a number or a string

out

If the function has been run previously there may already be matches for a particular group, if the out parameter is supplied with a vector equal to the number of Elixhauser comorbidities with their corresponding names only new findings will be appended.

country_code

The two-letter ISO 3166-1 alpha-2 code indicating the country of interest (the same as the top-level internet domain name of that country). As certain countries have adapted country-specific ICD-coding there may be minor differences between countries. Currently only US codes are implemented for the numeric algorithms.

include_acute

Certain codes may indicate a non-chronic disease such as heart infarction, stroke or similar. Under some circumstances these should be ignored, e.g. when studying predictors for hip arthroplasty re-operations codes during the admission for the surgery should not include myocardial infarction as this is most likely a postoperative condition not available for scoring prior to the surgery.

icd_ver

The icd version of interest. Currently only ICD-9 is supported by the numeric matching algorithms. Leave empty.

ver

The version number for the cmrbdt.finder.numeric.ahrq function, see pr.ahrq.list, the default is the 3.7 version

Details

The _regex indicates that these functions use regular expressions for identification of codes of interest. The match is case-insensitive. The function can also identify acute conditions and ignore those if specified.

Value

vector Returns a vector with the names of each comorbidity group. If the entry is FALSE this correspond to that no code matched the other group otherwise it returns TRUE.

References

http://www.hcup-us.ahrq.gov/toolssoftware/comorbidity/comorbidity.jsp

R. A. Deyo, D. C. Cherkin, and M. A. Ciol, "Adapting a clinical comorbidity index for use with ICD-9-CM administrative databases" Journal of Clinical Epidemiology, vol. 45, no. 6, pp. 613-619, Jun. 1992.

Elixhauser A, Steiner C, Harris DR, Coffey RM. (1998) Comorbidity measures for use with administrative data. Med Care. 36:8-27.

See Also

cmrbdt.calc

Other cmrbdtf.finder functions: cmrbdt.finder.regex.charlson_Armitage2010, cmrbdt.finder.regex.charlson_Quan2005, cmrbdt.finder.regex.charlson_Sundarajan2004, cmrbdt.finder.regex.elixhauser_Quan2005

Examples

1
2
3

gforge/comorbidities.icd10 documentation built on May 17, 2019, 2:12 a.m.