Norfolk has been awarded more than £47m to help keep the county's population healthy - and to stop hospital backlogs.