Added functionality to edit patient information.