The union revealed members of its General Practitioners Committee had voted in favour of the ban amid concerns over patient safety.