Update visits controller and algorithm

1. comment out pr medicine data in visits controller.
2. fixed bug in algorithm alert message.