Taking in Lv4 ICD-10 Codes and Generating Lv3, Lv2, and Lv1?
I was wondering if people here had or knew a way to deal with Lv4 ICD-10 codes?
Ideally, I am looking to input a list of samples in one column and the second column has their associated Lv4 ICD-10 codes. Output would include outputting the sample ID, Lv4, Lv3, Lv2, and Lv1 ICD-10 code.
Motivation is to identify the most common comorbidities and what groups they fall into based on the Lv4 ICD-10 code.
• 879 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Can you elaborate some more on the dataset that you have, like, paste a small sample? In a previous job, we were treating ICD codes as categorical variables and using them in regression models for, e.g., 'predicting' an outcome or phenotype