Here’s some of the limits to shield laws. The Texas hospital (the first one the DOJ forced to start a detransition clinic) also revoked medical privileges of 5 doctors as part of their settlement, so it’s not an unwarranted fear (although it does still make them cowards.) See prior article on the CO ruling
Colorado Sun: Children’s Hospital doctors refuse to provide gender-affirming care to trans …