Implemented logic to get potential matching doctor list.