NHS North West Genomics
0.1.0 - ci-build United Kingdom flag

NHS North West Genomics - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Data Type Profile: NHS Number

Official URL: https://fhir.nwgenomics.nhs.uk/StructureDefinition/NHSNumber Version: 0.1.0
Draft as of 2025-12-24 Computable Name: NHSNumber
Keywords: NHS Data Dictionary

NHS Data Model and Dictionary England/Wales NHS NUMBER, Northern Ireland HEALTH AND CARE NUMBER and Scotland COMMUNITY HEALTH INDEX NUMBER Only traced NHS Number SHOULD be used, un-traced NHS Numbers MUST be clearly indicated.

Mapping

  • HL7 FHIR Patient.identifier (type = NH)
  • HL7 v2 Patient Identifier List (PID-3)
  • IHE XDS sourcePatientId and patientId

Format: NNNNNNNNNN, values include a checksum, details can be found in NHS NUMBER

  • Testing number range: 999 000 0000 to 999 999 9999

NHS Number (England and Wales)

  • England, Wales and the Isle of Man value ranges: 400 000 0000 to 499 999 9999, and 600 000 0000 to 799 999 9999.
Field HL7 FHIR Identifier OID / URI HL7 FHIR Value HL7 v2 CX HL7 v2 Value Example
Value value   - CX.1   9449305552
Type type   http://terminology.hl7.org/CodeSystem/v2-0203#NH CX.5 NH -
Assigning Authority assigner.identifier     CX.6 NHS -
System system 2.16.840.1.113883.2.1.4.1 https://fhir.nhs.uk/Id/nhs-number N/a N/a -

CHI Number (Scotland)

  • Scotland ranges: 010 100 0000 to 311 299 9999.
Field HL7 FHIR Identifier OID / URI HL7 FHIR Value HL7 v2 CX HL7 v2 Value Example
Value value   - CX.1   9449305552
Type type   http://terminology.hl7.org/CodeSystem/v2-0203#NH CX.5 NH -
Assigning Authority assigner.identifier     CX.6 CHI -
System system 2.16.840.1.113883.2.1.3.2.4.16.53 urn:oid:2.16.840.1.113883.2.1.3.2.4.16.53 N/a N/a -

Health and Care Number (Northern Ireland)

  • Northern Ireland ranges: 320 000 0000 to 399 999 9999.
Field HL7 FHIR Identifier OID / URI HL7 FHIR Value HL7 v2 CX HL7 v2 Value Example
Value value   - CX.1   9449305552
Type type   http://terminology.hl7.org/CodeSystem/v2-0203#NH CX.5 NH -
Assigning Authority assigner.identifier     CX.6 HSC -
System system   https://fhir.nhs.uk/Id/hsc-number N/a N/a  

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Identifier 0..* Identifier An identifier intended for computation
... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Fixed Value: As shown (National Health Plan Identifier)
.... id 0..0 string Unique id for inter-element referencing
.... extension 0..0 Extension Additional content defined by implementations
.... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..0 string Unique id for inter-element referencing
..... extension 0..0 Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
..... version 0..0 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: NH
..... display 0..0 string Representation defined by the system
..... userSelected 0..0 boolean If this coding was chosen directly by the user
.... text 0..0 string Plain text representation of the concept
... system Σ 1..1 uri The namespace for the identifier value
Binding: UK National Health Identifiers (required)
Example General: http://www.acme.com/identifiers/patient
... value Σ 1..1 string The value that is unique
Example General: 123456

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
Identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Identifier.system Base required UK National Health Identifiers 📦0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())

This structure is derived from Identifier

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Identifier Identifier
... type 0..1 CodeableConcept Description of identifier
Fixed Value: As shown (National Health Plan Identifier)
.... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: NH
... system 1..1 uri The namespace for the identifier value
Binding: UK National Health Identifiers (required)
... value 1..1 string The value that is unique

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Identifier.system Base required UK National Health Identifiers 📦0.1.0 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Identifier 0..* Identifier An identifier intended for computation
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Fixed Value: As shown (National Health Plan Identifier)
.... id 0..0 string Unique id for inter-element referencing
.... extension 0..0 Extension Additional content defined by implementations
.... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..0 string Unique id for inter-element referencing
..... extension 0..0 Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
..... version 0..0 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: NH
..... display 0..0 string Representation defined by the system
..... userSelected 0..0 boolean If this coding was chosen directly by the user
.... text 0..0 string Plain text representation of the concept
... system Σ 1..1 uri The namespace for the identifier value
Binding: UK National Health Identifiers (required)
Example General: http://www.acme.com/identifiers/patient
... value Σ 1..1 string The value that is unique
Example General: 123456
... period Σ 0..1 Period Time period when id is/was valid for use
... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
Identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Identifier.system Base required UK National Health Identifiers 📦0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Identifier

Summary

Mandatory: 2 elements
Fixed: 1 element

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Identifier 0..* Identifier An identifier intended for computation
... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Fixed Value: As shown (National Health Plan Identifier)
.... id 0..0 string Unique id for inter-element referencing
.... extension 0..0 Extension Additional content defined by implementations
.... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..0 string Unique id for inter-element referencing
..... extension 0..0 Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
..... version 0..0 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: NH
..... display 0..0 string Representation defined by the system
..... userSelected 0..0 boolean If this coding was chosen directly by the user
.... text 0..0 string Plain text representation of the concept
... system Σ 1..1 uri The namespace for the identifier value
Binding: UK National Health Identifiers (required)
Example General: http://www.acme.com/identifiers/patient
... value Σ 1..1 string The value that is unique
Example General: 123456

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
Identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Identifier.system Base required UK National Health Identifiers 📦0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())

Differential View

This structure is derived from Identifier

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Identifier Identifier
... type 0..1 CodeableConcept Description of identifier
Fixed Value: As shown (National Health Plan Identifier)
.... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: NH
... system 1..1 uri The namespace for the identifier value
Binding: UK National Health Identifiers (required)
... value 1..1 string The value that is unique

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Identifier.system Base required UK National Health Identifiers 📦0.1.0 This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Identifier 0..* Identifier An identifier intended for computation
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Fixed Value: As shown (National Health Plan Identifier)
.... id 0..0 string Unique id for inter-element referencing
.... extension 0..0 Extension Additional content defined by implementations
.... coding 1..1 Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..0 string Unique id for inter-element referencing
..... extension 0..0 Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
..... version 0..0 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: NH
..... display 0..0 string Representation defined by the system
..... userSelected 0..0 boolean If this coding was chosen directly by the user
.... text 0..0 string Plain text representation of the concept
... system Σ 1..1 uri The namespace for the identifier value
Binding: UK National Health Identifiers (required)
Example General: http://www.acme.com/identifiers/patient
... value Σ 1..1 string The value that is unique
Example General: 123456
... period Σ 0..1 Period Time period when id is/was valid for use
... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
Identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Identifier.system Base required UK National Health Identifiers 📦0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Identifier

Summary

Mandatory: 2 elements
Fixed: 1 element

 

Other representations of profile: CSV, Excel, Schematron