More than 500 people avoid A&E thanks to innovative scheme