refact inserPaciente