Hi, I have patient-level data with diagnosis codes. I need to use the category of diagnosis codes as a control variable. My best option is to categorize the patients based on diagnosis codes' seriousness. I hope you can help me categorize icd10 codes.
Array