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

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. The 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 in the Country-specific data list on the Options page of the Data Generator Project Properties wizard, the Data Generator assigns UK-specific generators to relevant columns. Matching columns use UK-specific generators, such as the UK National Health Service Number (NHS Number, ISB 0149), instead of the default United States generators.

UK country-specific data

Generator properties

The table provides key details about the generator, including its short name, an example of generated data, supported data types, and country-specific data.

Short name Example of generated data Data type matching Country-specific data
NHS Number 7300000584, 6124467542, 9100044814 character varying
character
text
decimal
bigint
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 for numbers with 12 or more 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