diagnose and treat patients