(e) The facility shall not search or physically examine a transgender or intersex inmate for the sole purpose of determining the inmate's genital status. If the inmate's genital status is unknown, it may be determined during conversations with the inmate, by reviewing medical records, or, if necessary, by learning that information as part of a broader medical examination conducted in private by a medical practitioner.