Medical politics and the professionalisation of medicine in New South Wales, 1850–1901