for matching patient with his treatment