; (C) that involves family members of a child in the treatment for the child, and maintains contact with the family of the child, if available and if the involvement is clinically appropriate for the well-being of the child; (D) that is licensed by the State in which it is situated or has been approved, by the agency of such State responsible for licensing or approval of institutions of this type; and (E) that is accredited by the Council on Accreditation or another national accrediting body. . (d) Effective date (1) In general The amendments made by this section shall take effect on the date of the enactment of this Act, and shall apply to payments under part E of title IV of the Social Security Act for calendar quarters beginning on or after such date. (2) Delay permitted if State legislation required If the Secretary of Health and Human Services determines that State legislation (other than legislation appropriating funds) is required in order for a State plan under part E of title IV of the Social Security Act to meet the additional requirements imposed by the amendments made by this section, the plan shall not be regarded as failing to meet any of the additional requirements before the first day of the first calendar quarter beginning after the first regular session of the State legislature that begins after the date of the enactment of this Act. For purposes of the preceding sentence, if the State has a 2-year legislative session, each year of the session is deemed to be a separate regular session of the State legislature.