Every woman upon being committed to said institution shall be examined mentally and physically, and shall be given the care, treatment and training adapted to her particular condition. Such care, treatment and training shall be along the lines best suited to develop her mentality, character and industrial capacity; provided, however, no inmate shall be confined longer than the term of her commitment.
Ca. Pen. Code § 3403