The government has significantly revised an agreement which allows NHS Digital to share non-clinical patient information with the Home Office.

Speaking during a parliamentary debate on the data protection bill on May 9, Margot James – a minister at the Department for Digital, Culture, Media and Sport – confirmed the memorandum of understanding (MOU) has been amended “with immediate effect”.

The memoradum, which came into effect in January 2017, allows the Home Office to gain access to patient data – including non-clinical information – for the purpose of tracing immigration offenders and vulnerable people.

This means NHS Digital can be asked to hand over information such as a patient’s date of birth or last known address to the Home Office.

James confirmed to MPs that from now on Home Office immigration staff will only be able to use the data-sharing agreement to trace people who are being considered for deportation from Britain because they have committed a serious crime.

Previously, they could be asked to hand over data on anyone who had been flagged as a potential immigration offender.

The U-turn by government was part of an amendment which was tabled by Conservative MP and chair of the Health Select Committee Sarah Wollaston, who has tirelessly called for the MOU to be suspended.

The former doctor has previously slammed the MOU, branding it “entirely inappropriate”.

Following the news that the MOU has been suspended, Sarah Wilkinson, chief executive at NHS Digital, said: “The narrowing of the tracing service to only those individuals convicted of more serious criminal offences, or who represent a risk to public security, circumvents the difficulties which have arisen as a result of conflicts between existing legislation and case law and the long-established Codes of Confidentiality of the GMC [General Medical Council] and various Colleges.

“We understand the Home Office will limit its requests immediately. Likewise, we will immediately only process requests which meet these revised criteria.

“As soon as is practically possible, we will amend the Memorandum of Understanding between ourselves, the Home Office and the Department and Health and Social Care which describes this tracing service, and publish the updated version openly.”