1. Short title This Act may be cited as the Family-Based Care Services Act of 2017 . 2. Inclusion of therapeutic family care as medical assistance (a) In general Section 1905 of the Social Security Act ( 42 U.S.C. 1396d ) is amended— (1) in subsection (a)— (A) in paragraph (28), by striking and at the end; (B) by redesignating paragraph (29) as paragraph (30); and (C) by inserting after paragraph (28) the following new paragraph: (29) therapeutic family care services described in subsection (ee); and ; and (2) by adding at the end the following new subsection: (ee) (1) For purposes of subsection (a)(29), subject to subparagraph (C), therapeutic family care services described in this subsection are services provided for children who have not attained age 21, and who, as a result of mental illness, other emotional or behavioral disorders, medically fragile conditions, or developmental disabilities, need the level of care provided in an institution (including a psychiatric residential treatment facility) or nursing facility the cost of which may be reimbursed under the State plan but who can be cared for or maintained in a community placement, through a qualified therapeutic family care program described in paragraph (2). (2) A qualified therapeutic family care program described in this paragraph is a program that— (A) not later than 3 years after the date of enactment of this subsection, is licensed by the State and accredited by the Joint Commission on Accreditation of Health­care Organizations, the Commission on Accreditation of Rehabilitation Facilities, the Council on Accreditation, or by any other independent, not-for-profit accrediting organization approved by the Secretary