(b)
State requirement
Notwithstanding subsection (a) of this section, a State shall, at a minimum, have in place authority under State law to permit the child protective services system of the State to pursue any legal remedies, including the authority to initiate legal proceedings in a court of competent jurisdiction, to provide medical care or treatment for a child when such care or treatment is necessary to prevent or remedy serious harm to the child, or to prevent the withholding of medically indicated treatment from children with life threatening conditions. Except with respect to the withholding of medically indicated treatments from disabled infants with life threatening conditions, case by case determinations concerning the exercise of the authority of this subsection shall be within the sole discretion of the State.