The obvious solution would be for the government to punish the clinics for acting against the spirit of the law. But that approach brings in a huge potential for abuse. We're in a bind.
If we can solve this, this will be the biggest breakthrough for civilization ever since the invention of hierarchical structures many millennia ago. Hierarchies and codified laws were what allowed us to stop living as isolated groups of ~150 people[0] and go on to build a global civilization. But these came at the cost of not being able to exploit our innate social skills to cooperate with each other. Bureaucracies, rules and metrics are thus an inefficient and barely adquate mechanical substitute for trust.
If we could somehow scale trust, scale social skills, so that people would naturally respond to incentives that are uncomputable and not expressible through bureaucratic apparatus - like "don't do stupid shit", or "really, don't cheat" - we'd enter a golden age.
Alas, I have no clue how to do that.
--
[0] - Yes, the Dunbar's number. Past which you no longer have the case that everyone knows everyone else, and interpersonal dynamics stop being strong enough to ensure mutual cooperation.