Is it possible to contract infectious diseases while waiting in the emergecy department?

Unfortunately yes. Especially some of the childhood diseases that are supposed to be immunized for with measles and chickenpox high up on the list. During its short run, the sars coronavirus also spread in er waiting rooms.