Angela Merkel said that she had to act because of increased pressure on hospitals