New law proposed to “stop the NHS becoming simply a memory”