Section 5. Nothing in this chapter shall be construed to prevent the trustees of the Soldiers' Home in Massachusetts and the trustees of the Soldiers' Home in Holyoke from adopting, issuing and promulgating reasonable rules and regulations governing out-patient treatment at, admission to, and hospitalization in, including an increase in any charges, subject to the approval of the secretary of health and human services in said Homes; providing for such treatment, admission and hospitalization for any person qualified under section one except for residence if such person had at some time prior to his application for such treatment, admission or hospitalization, resided in the commonwealth continuously for five years; providing for emergency treatment for any person in need of such treatment by reason of accident or sudden illness, until such person can be transferred to some other institution or place; providing for proper disciplinary action, including discharge from said Homes, of any person whose conduct therein or while a member thereof is deemed to be inimical to the welfare of other members; providing for the exclusion from the respective Homes, either temporarily or permanently, of any person who has received a disciplinary discharge from either Home or from any Veterans' Administration facility; nor providing for the exclusion from out-patient treatment at, admission to, or hospitalization in, said Homes, of any person whose disability or illness may be diagnosed as neuropsychiatric, neurosurgical or tubercular, or other ailment or condition for the treatment and care of which proper facilities are not available at said Homes.