1000-pupil school and new A&E dept get planning 'yes'