Quite often it wasn't.
Actually, it was more often than not. The ER cannot turn down patients. Many people with pre-existing conditions used the ER to get immediate treatment.