R/extract_icd_codes.R
extract_icd_codes.Rd
extract_icd_codes
extracts ICD codes for calculating Elixhauser comorbidity scores.
extract_icd_codes( drug_concept_id, biomarker_concept_id, table_name, table_type, elix_icds )
drug_concept_id | A string |
---|---|
biomarker_concept_id | A string |
table_name | A string |
table_type | A string, either c("covariates", "drugs", "biomarkers", "icds") |
elix_icds | A string |
This function extracts ICD codes for calculating Elixhauser comorbidity scores.
Updated: 2021-10-05