cmrbdt.finder.regex: 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
 9
10
11
12
13
14
15
cmrbdt.finder.regex.charlson_Armitage2010(icd_codes, out, country_code,
  include_acute = rep(TRUE, times = length(icd_codes)), icd_ver = rep(FALSE,
  times = length(icd_codes)))

cmrbdt.finder.regex.charlson_Quan2005(icd_codes, out, country_code,
  include_acute = rep(TRUE, times = length(icd_codes)), icd_ver = rep(FALSE,
  times = length(icd_codes)))

cmrbdt.finder.regex.charlson_Sundarajan2004(icd_codes, out, country_code,
  include_acute = rep(TRUE, times = length(icd_codes)), icd_ver = rep(FALSE,
  times = length(icd_codes)))

cmrbdt.finder.regex.elixhauser_Quan2005(icd_codes, out, country_code,
  include_acute = rep(TRUE, times = length(icd_codes)), icd_ver = rep(FALSE,
  times = length(icd_codes)))

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 Swedish (SE) and US codes are implemented. The function defaults to 'US'.

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. If FALSE the software tries to automatically identify code version depending on the first letter, pr.get.icd.ver

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

J. N. Armitage and J. H. van der Meulen, "Identifying co-morbidity in surgical patients using administrative data with the Royal College of Surgeons Charlson Score" British Journal of Surgery, vol. 97, no. 5, pp. 772-781, May 2010.

H. Quan, V. Sundararajan, P. Halfon, A. Fong, B. Burnand, J.-C. Luthi, L. D. Saunders, C. A. Beck, T. E. Feasby, and W. A. Ghali, "Coding algorithms for defining comorbidities in ICD-9-CM and ICD-10 administrative data" Med Care, vol. 43, no. 11, pp. 1130-1139, Nov. 2005. - Charlson section

V. Sundararajan, T. Henderson, C. Perry, A. Muggivan, H. Quan, and W. A. Ghali, "New ICD-10 version of the Charlson comorbidity index predicted in-hospital mortality" J Clin Epidemiol, vol. 57, no. 12, pp. 1288-1294, Dec. 2004.

H. Quan, V. Sundararajan, P. Halfon, A. Fong, B. Burnand, J.-C. Luthi, L. D. Saunders, C. A. Beck, T. E. Feasby, and W. A. Ghali, "Coding algorithms for defining comorbidities in ICD-9-CM and ICD-10 administrative data" Med Care, vol. 43, no. 11, pp. 1130-1139, Nov. 2005. - Elixhauser section

See Also

cmrbdt.calc

Other cmrbdtf.finder functions: cmrbdt.finder.numeric.ahrq, cmrbdt.finder.numeric.charlson_Deyo1992, cmrbdt.finder.numeric.elixhauser_Elixhauser1998

Examples

1
2
3

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