institution for mental diseases

(i)The term “institution for mental diseases” means a hospital, nursing facility, or other institution of more than 16 beds, that is primarily engaged in providing diagnosis, treatment, or care of persons with mental diseases, including medical attention, nursing care, and related services.

Source

42 USC § 1396d(i)


Scoping language

For purposes of this subchapter
Is this correct? or