These well-intended laws are based on the idea that more transparency will benefit patients because “sunshine is a good disinfectant.”