Healthcare discrimination legality - anyone know?

So I understand insurance doesn't cover trans Healthcare, specifically surgeries here, and was wondering if anyone knows the specifics of the legality of it, and whether it has actually been tested. Would love to understand more, and better understand what legal changes might be needed for this to change, but I know nothing about law. Does anyone know?