The object of each hospital is such care, treatment, habilitation, training, and education of the persons committed thereto as will render them more comfortable and happy and better fitted to care for and support themselves.
Ca. Welf. and Inst. Code § 7503