Child's consent to change of record of sex