NHS patients targeted to reduce risks as they wait for hospital treatment