A valve comprising: a body (60) with an inlet (20), an outlet (22), a needleless access port (16) coupled to the body (60), the access port (16) configured to be operated by means of a connector (40) without needle, the access port (16) comprising an interior space (26); wherein the inlet (20) is selectively coupled to the outlet (22) through the interior space (26), so that the fluid entering the inlet (20) flows completely through the space ( 26) interior at the exit (22); and characterized in that it further comprises: a pin (62); a rotating element (50) disposed within the body (60), such that the pin (62) protrudes within the rotating element (50), the rotating element (50) having an input port (54), a port ( 55) output, a first and second side ports (56, 57), a rotation axis, and a passage (58A) direct from the input port (54) directly to the output port (55); the body (60) and the rotating element (50) are configured to move, together, the rotating element (50) with respect to the body (60) along the axis of rotation, as the rotating element (50) is moved between a first and a second position, the pin (62) blocks the direct passage (58A) when the rotating element (50) is in the first position; and the direct passage (58A) is at least partially open when the rotating element (50) is in the second position.Una válvula que comprende: un cuerpo (60) con una entrada (20), una salida (22), un puerto (16) de acceso sin aguja acoplado al cuerpo (60), el puerto (16) de acceso configurado para ser accionado mediante un conector (40) sin aguja, el puerto (16) de acceso que comprende un espacio interior (26); en la que la entrada (20) está acoplada, de forma selectiva, a la salida (22) a través del espacio (26) interior, de manera que el fluido que entra en la entrada (20) fluye completamente a través del espacio (26) interior a la salida (22); y caracterizada porque comprende además: un pasador (62); un elemento (50) giratorio dispuesto dentro del cuerpo (60), de manera