check patient method