A petition has been filed in the Supreme Court seeking directions from the Central government to prevent attacks on doctors and healthcare workers by relatives of patients and others to ensure adequate security at hospitals and medical centres across the country.