patients for logged doctor filtering