An emergency room physician and a police officer have been named among the four people killed during a shooting at a Chicago hospital.