added patient search by attribute, part 2