icd (version 4.0.9)

icd10_comorbid_reduce: ICD-10 comorbidities by reducing problem size

Description

Use method to reduce ICD-10 problem by initially finding only relevant codes in the map, then populating map only with the exact patient ICD codes (not the original map codes), before doing categorization.

Usage

icd10_comorbid_reduce(
  x = x,
  map,
  visit_name,
  icd_name,
  short_code,
  short_map,
  return_df,
  return_binary = FALSE,
  categorize_fun = categorize_simple,
  ...
)

Arguments