Hey guys, I have a variable titled "Medications" that contains all of the medications that a individual has taken. I used an "if then" statement to separate the different medications by type (i.e. HIV meds, Cholesterol meds, Diabetes meds), but it didn't recognize all of the medications. Each medication was separated by a comma, so I used the compress function to remove the comma. Now the medications are separated by a blank. I tried the "if then" statement again and it still doesn't recognize them. For instance, one patient's values for the medication variable is "Atripla Lisinopril Sustiva Pravachol Combivir Zetia." Atripla, Zetia and Combivir are HIV meds, while Lisinopril is a Blood Pressure med, and Pravachol is a cholesterol medication. The SAS code that I'm using does not pick up the fact that I have any HIV meds, Cholesterol or BP meds. Any suggestions?? Thanks, Kelly
... View more