added indexing for "person","patient"