Access to primary care and the route of emergency admission to hospital: retrospective analysis of national hospital administrative data