(a) Every woman sentenced to imprisonment for a felony shall be sentenced to the custody of the secretary of corrections.

(b) Every woman sentenced to the custody of the secretary of corrections shall be given a scientific examination and study and shall have a program planned and recommended for her. The examination shall be given, the study shall be made and the program shall be prepared in accordance with procedures prescribed by the secretary of corrections, subject to the provisions of Kan. Stat. Ann. § 75-52,134, and amendments thereto. If the woman in the custody of the secretary is a juvenile, as described in Kan. Stat. Ann. § 38-2366, and amendments thereto, such juvenile shall not be given a scientific examination and study until such time as such juvenile is to be transferred from a juvenile correctional facility to a department of corrections institution or facility.