These new rules, which apply to hospitals participating in the Medicaid and Medicare programs, require those institutions to permit patients to designate visitors of their choosing and prohibit discrimination in visitation based on a number of factors, including sexual orientation and gender identity.