Steps to reproduce:
1. Press Find patient record button
2. find some patient record open it check if he isn't deceased
3. Open patient profile
4. Change location in header
5 .Press button "Start Visit"
6. Press button End visit
Actual result: When we press End visit form doesn't uploads it self and no message about that visit is ended.
Expected result: After we pressed End Visit "General Action" should be uploaded and we must see msg that Visit is ended