Emergency department sees millionth patient