Description Usage Arguments Value See Also
The function loops through all the codes and the different regular expressions in search for a match.n
1 2 | pr.regex.code.match(icd_codes, icd_ver, out, cmrbdt.finder.regex.comorbidity,
include_acute = rep(TRUE, length(icd_codes)), cmrbdt.finder.regex.acute)
|
icd_codes |
The vector with all the icd_codess that should be tested |
icd_ver |
The ICD-version, currently either 9 or 10 |
out |
The out vector, see
|
cmrbdt.finder.regex.comorbidity |
The regular expression list with all the comorbidities |
include_acute |
If acute diagnosis are to be included, e.g. myocardial infarction. |
cmrbdt.finder.regex.acute |
A list with vectors
containing regular expressions that identify the acute
diagnoses that should be excluded if |
vector
Returns the out with TRUE for those groups
where a match was found.
cmrbdt.finder.regex.elixhauser_Quan2005
,
cmrbdt.finder.regex.charlson_Quan2005
,
cmrbdt.finder.regex.charlson_Armitage2010
,
cmrbdt.finder.regex.charlson_Sundarajan2004
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.