Practitioner barred from hospital wards