The bill prevents transgender minors from receiving certain surgeries and treatments with few exceptions.