Hello all. I have an ICD10 code variable that has about 6000 different values in string format. I also have a list of about 1000 ICD10 code values that are conditions of interest that I want to turn into a variable of do they have the conditions of interest yes/no. Other than repeatedly writing a replace command for each ICD10 code of interest is there a way to tell stata to replace if the ICD10 variable is = and then list all relevant codes?