Since June 2021, EU nationals have been expected to show their digital status and prove their ordinary residence, in order to access NHS services.
The Department of Health and Social Care have updated their guidance detailing ways in which people can be lawfully resident in the UK.
More information is available in an overview, and sections about ordinary residence, derivative rights of residence and confirming lawful residence.