Positively file a formal complaint with the employer and with your state or county department of health.   At the very least, that was deliberately nasty and unprofessional and it was more likely bordering on malpractice.   That was total bullshit, so don’t put up with it.