Bed rail algorithm for acute and community hospitals (excluding mental health wards)