; (D) treating a child in the legal custody of the State inconsistently with the child’s gender identity, as demonstrated by the child’s medical history, care or treatment of the child’s gender identity, consistent and uniform assertion of the gender identity, or other evidence that the gender identity is sincerely held, is part of the child’s core identity, and is not being asserted for an improper purpose