While CMS releases data on all types of hospital violations, ProPublica's ER Inspector specifically pulls out the violations related to ER care. You can see all violations in the raw CMS data.
ER-related violations include those relating to not properly assessing and treating patients, inadequate medical and nursing staff, or not following ER policies and procedures. It also includes violations of the Emergency Medical Treatment and Labor Act (EMTALA), which requires ERs to provide a medical screening examination to anyone who comes to the emergency department, regardless of their ability to pay.