Anyone in England, regardless of nationality and residential status, is eligible to register and consult with a GP. This includes all overseas visitors, asylum seekers and refugees, students, and people on work visas, irrespective of immigration status.
Unless the patient chooses to be seen privately, practices are not permitted to charge overseas patients – including tourists – for registering or consulting with a GP.
Whereas all overseas patients are entitled to receive NHS primary care at a GP practice only certain patients have a right to free secondary care.
See NHS Website for more information.