I am trying to use multiple .and. operators with an .or. in a filter and it doesn't seem to want to work.
Here is my example. However, it will not accept this. I have tried with parenthesis in a couple different spots as well. I feel like I need parenthesis somewhere. I am just not sure where to put them in monarch. Worst case I can just do two different filters. However, I would rather just do in one if possible.
It doesn't seem to give me trouble until I ad the extra ".and.
Journal .In.("CHG ITS","CHG EMR") .And. [ProviderCategory] .NotIn. ("Hospitalist","Emergency Medicine","Anesthesiology") .Or. Journal .In.("CHG ITS","CHG EMR") .And. [NPI] = ""
Any help is appreciated.