Skip to main content

Prevent type 2 opt-out code use in Vision

Type 2 opt-out codes (9Nu4 / 9Nu5) are no longer valid from 11 October 2018, because the national data opt-out has replaced type 2 opt-outs. You should make sure they are not being used to record patient choices on use of their data for research and planning.

Guidance published 7 March 2019

Vision are unable to inactivate the invalid codes within the system, so users will still be technically able to add these codes to patient records. Staff should be made aware that these codes must not be entered into patient records. Vision published a blog on The Hive in November 2018 reminding practices and their staff members that these codes must not be entered into patient records.

Check templates

Check all data entry templates and tools to see if they contain these codes. You should amend or remove entry fields that contain invalid codes.

Run an audit to identify invalid codes

Use the Vision audit function to check for any patients with code 9Nu4 added after 11 Oct 2018. You can download the audit and find out more information via The Hive.

If results are found, review the patient record(s) to check that the code was added after 11 October 2018. (Sometimes the audit will pick up entries added as part of a GP2GP transfer to a new practice, when in fact the code was added to the patient record some time ago.)

You should schedule this audit to happen on a regular basis, until you are confident that invalid codes are no longer being used.

What to do if you find type 2 codes recorded in error

If you find code 9Nu4 has been added to a patient's record after 11 October 2018, you must contact the patient to:

  • explain that the opt-out choice was recorded by the practice in error
  • tell them they can set a national data opt-out choice themselves by visiting
  • explain that their confidential patient information may still be used for research and planning purposes until they set the choice themselves

Further details and a template for a patient letter were provided in our letter to GP practices in October 2018.


For further information or queries about Vision functionality please contact the Vision support team.

Last edited: 7 September 2020 2:24 pm