Cita: Warning: Cannot modify header information - headers already sent by (output started at /usr/home/adncomunicacio.net/web/CRD/index.php:6) in /usr/home/adncomunicacio.net/web/CRD/index.php on line 40
Lo que te esta diciendo es que en la linea 6 de index.php tienes una salida a pantalla, antes del
header("Location:formulario1.php?paciente=$pacient e"); no debes tener ninguna salida a pantalla.
Saludos.