some changes on edit and newVisit files
added id attribute on editing the patient