Create upload function for Pacientes form