New version of law on health care comes into force July 23