Hospitals in at least three states diverted patients from their emergency rooms after a major cyber attack hit their parent company last week.