"Bags" are available that can be stuck over the external genitalia and used to collect urine. These are so prone to contamination that they are almost entirely useless.