Ok, and now a hospital with critical medical information gets hit by the ransom. What then?
But really, I expect such a law would provide for exceptions, with a maximum payout capability. And for such a law to come after an offsite airgap backup requirement for such entities.
But really, the answer is that the equivalent physical criminal action: walking into a hospital and absconding with all of their medical records, would result in criminal action against the thief. Their actions may be akin to manslaughter if deaths result.
[1]: https://www.ucsf.edu/news/2020/06/417911/update-it-security-...