UK National Health Service Number (NHS Number, ISB 0149) generator

Last modified: April 3, 2025

The UK National Health Service Number (NHS Number, ISB 0149) generator creates valid and unique NHS numbers that comply with the standards defined by the UK National Health Service. These numbers are used to uniquely identify individuals within the NHS for medical records, appointments, and other health-related services.

Note

If you select United Kingdom from the Country-specific data list on the Options page of the Data Generator Project Properties wizard, the UK National Health Service Number (NHS Number, ISB 0149) generator will be applied to columns that meet the matching rules, replacing the default (United States) generator.

UK country specific data

Generator properties

The table provides key details about the generator, including the short name, sample of the generated data, the supported data types, and whether it is specific to a particular country.

Short name Example of generated data Data type matching Country-specific
NHS Number 7300000584, 6124467542, …730 000 0584, 612 446 7542, … character varyingcharactertextdecimalbigint UK

Matching rules

The generator can be assigned to a column that matches any of the following rules:

  • The column name starts with ‘NHS’ and ends with ‘number’, with any or no characters in between, regardless of the table name.
  • The column name is ‘NHS’, regardless of the table name.

Configure additional options

The tool allows you to specify a separator between groups of digits. By default, a space is used to separate the digits.

Preview of the column data generated by the UK National Health Service Number (NHS Number, ISB 0149) generator

UK National Health Service Number (NHS Number, ISB 0149) generator