Hospitals team up to increase number of doctors