need optimizate widget patient