(a) A hospital, related institution, or residential treatment center, as defined in § 19–301 of this article, shall allow a patient’s or resident’s domestic partner, the children of the patient’s or resident’s domestic partner, and the domestic partner of the patient’s or resident’s parent or child to visit, unless:
(1) No visitors are allowed;
(2) The facility reasonably determines that the presence of a particular visitor would endanger the health or safety of a patient, resident, or member of the facility staff; or
(3) The patient or resident or the patient’s or resident’s personal representative tells the facility staff that the patient or resident does not want a particular person to visit.
(b) This section does not prohibit a hospital, related institution, or residential treatment center from establishing reasonable restrictions on visitation, including restrictions on the hours of visitation and number of visitors.