Add editing to patient details