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

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

Data Type Profile: Medical Record Number

Official URL: https://fhir.nwgenomics.nhs.uk/StructureDefinition/MedicalRecordNumber Version: 2.2.5
Draft as of 2026-11-05 Computable Name: MedicalRecordNumber

NHS Data Dictionary and Model

LOCAL PATIENT IDENTIFIER - a hospital-assigned identifier, not a nationally-issued number. There is no single national OID or value format; each Trust's PAS/EPR assigns its own.

Ubiquitous terms: Hospital Number, Unit Number, Patient ID, MRN, Case Number.

Mapping

Ubiquitous Term Field HL7 FHIR Identifier Value / OID / URI HL7 v2 CX HL7 FHIR Example HL7 v2 Example
MRN / Hospital Number Number value {local patient identifier} CX.1 ABC1234 ABC1234
- System system FHIR prefers a URI. OID also permitted - no single national OID, locally assigned by PAS/EPR or within XDS. - https://fhir.alderhey.nhs.uk/Id/medical-record-number  
- Type type.coding.code MR (fixed) CX.5 MR MR
- - type.coding.system http://terminology.hl7.org/CodeSystem/v2-0203 - http://terminology.hl7.org/CodeSystem/v2-0203#  
ODS Code / Trust Code NHS Trust ODS Code assigner.identifier.value {ods code} CX.4 RBS RBS
- - assigner.identifier.system https://fhir.nhs.uk/Id/ods-organization-code (fixed); OID 2.16.840.1.113883.2.1.3.2.4.18.48 - https://fhir.nhs.uk/Id/ods-organization-code  

Example

HL7 v2 CX

633^^^R0A^MR

HL7 FHIR Identifier

{
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "MR"
          }
        ]
      },
      "system" : "urn:oid:1.2.840.114350.1.13.611.3.7.5.737384.14",
      "value" : "633",
      "assigner" : {
        "identifier" : {
          "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
          "value" : "R0A"
        }
      }
    }

Identifier.system

Name System
Manchester University NHS Foundation Trust (MFT) - EPIC  
Liverpool Women's NHS Foundation Trust (LWT) - Meditech  
Alder Hey - Meditech  

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Identifier 0..* CorrelationIdentifier An identifier intended for computation
Identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Identifier.type This element must be supported. This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: NW IdentifierType (required)
Fixed Value:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
      "code" : "MR"
    }
  ]
}
Identifier.system This element must be supported. This element is included in summaries. 0..1 uri Generic system to represent MRN in NHS Trusts. Can be replaced with a system specified by NHS Trust. For trusts with a PAS/EPR with a FHIR API (e.g. EPIC, Meditech, Cerner, etc), this value will be defined in that API.
Example General: http://www.acme.com/identifiers/patient
Identifier.value This element must be supported. This element is included in summaries. 1..1 string The value MUST be unique to the organisation
Example General: 123456
Identifier.assigner This element must be supported. This element is included in summaries. 1..1 Reference(Organization) Assigning Facility
Identifier.assigner.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Identifier.assigner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Identifier.assigner.identifier.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.nhs.uk/Id/ods-organization-code (extensions allowed)
Identifier.assigner.identifier.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Example Manchester University NHS Foundation Trust: R0A

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 required NW IdentifierType 📦2.2.5 This IG
Identifier.assigner.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression

This structure is derived from CorrelationIdentifier

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Identifier CorrelationIdentifier
Identifier.type 0..1 CodeableConcept Description of identifier
Fixed Value:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
      "code" : "MR"
    }
  ]
}
Identifier.system 0..1 uri Generic system to represent MRN in NHS Trusts. Can be replaced with a system specified by NHS Trust. For trusts with a PAS/EPR with a FHIR API (e.g. EPIC, Meditech, Cerner, etc), this value will be defined in that API.
Identifier.assigner 1..1 Reference(Organization) Assigning Facility

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Identifier 0..* CorrelationIdentifier An identifier intended for computation
Identifier.id 0..1 string Unique id for inter-element referencing
Identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Identifier.type This element must be supported. This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: NW IdentifierType (required)
Fixed Value:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
      "code" : "MR"
    }
  ]
}
Identifier.system This element must be supported. This element is included in summaries. 0..1 uri Generic system to represent MRN in NHS Trusts. Can be replaced with a system specified by NHS Trust. For trusts with a PAS/EPR with a FHIR API (e.g. EPIC, Meditech, Cerner, etc), this value will be defined in that API.
Example General: http://www.acme.com/identifiers/patient
Identifier.value This element must be supported. This element is included in summaries. 1..1 string The value MUST be unique to the organisation
Example General: 123456
Identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Identifier.assigner This element must be supported. This element is included in summaries. 1..1 Reference(Organization) Assigning Facility
Identifier.assigner.id 0..1 string Unique id for inter-element referencing
Identifier.assigner.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Identifier.assigner.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Identifier.assigner.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Identifier.assigner.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Identifier.assigner.identifier.id 0..1 string Unique id for inter-element referencing
Identifier.assigner.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Identifier.assigner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Identifier.assigner.identifier.type This element is included in summaries. 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.
Identifier.assigner.identifier.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.nhs.uk/Id/ods-organization-code (extensions allowed)
Identifier.assigner.identifier.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Example Manchester University NHS Foundation Trust: R0A
Identifier.assigner.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Identifier.assigner.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Identifier.assigner.display This element is included in summaries. 0..1 string Text alternative for the resource

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 required NW IdentifierType 📦2.2.5 This IG
Identifier.assigner.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Identifier.assigner.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
Identifier.assigner.​identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression

This structure is derived from CorrelationIdentifier

Summary

Mandatory: 1 element
Fixed: 1 element

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Identifier 0..* CorrelationIdentifier An identifier intended for computation
Identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Identifier.type This element must be supported. This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: NW IdentifierType (required)
Fixed Value:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
      "code" : "MR"
    }
  ]
}
Identifier.system This element must be supported. This element is included in summaries. 0..1 uri Generic system to represent MRN in NHS Trusts. Can be replaced with a system specified by NHS Trust. For trusts with a PAS/EPR with a FHIR API (e.g. EPIC, Meditech, Cerner, etc), this value will be defined in that API.
Example General: http://www.acme.com/identifiers/patient
Identifier.value This element must be supported. This element is included in summaries. 1..1 string The value MUST be unique to the organisation
Example General: 123456
Identifier.assigner This element must be supported. This element is included in summaries. 1..1 Reference(Organization) Assigning Facility
Identifier.assigner.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Identifier.assigner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Identifier.assigner.identifier.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.nhs.uk/Id/ods-organization-code (extensions allowed)
Identifier.assigner.identifier.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Example Manchester University NHS Foundation Trust: R0A

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 required NW IdentifierType 📦2.2.5 This IG
Identifier.assigner.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression

Differential View

This structure is derived from CorrelationIdentifier

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Identifier CorrelationIdentifier
Identifier.type 0..1 CodeableConcept Description of identifier
Fixed Value:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
      "code" : "MR"
    }
  ]
}
Identifier.system 0..1 uri Generic system to represent MRN in NHS Trusts. Can be replaced with a system specified by NHS Trust. For trusts with a PAS/EPR with a FHIR API (e.g. EPIC, Meditech, Cerner, etc), this value will be defined in that API.
Identifier.assigner 1..1 Reference(Organization) Assigning Facility

doco Documentation for this format

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Identifier 0..* CorrelationIdentifier An identifier intended for computation
Identifier.id 0..1 string Unique id for inter-element referencing
Identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Identifier.type This element must be supported. This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: NW IdentifierType (required)
Fixed Value:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
      "code" : "MR"
    }
  ]
}
Identifier.system This element must be supported. This element is included in summaries. 0..1 uri Generic system to represent MRN in NHS Trusts. Can be replaced with a system specified by NHS Trust. For trusts with a PAS/EPR with a FHIR API (e.g. EPIC, Meditech, Cerner, etc), this value will be defined in that API.
Example General: http://www.acme.com/identifiers/patient
Identifier.value This element must be supported. This element is included in summaries. 1..1 string The value MUST be unique to the organisation
Example General: 123456
Identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Identifier.assigner This element must be supported. This element is included in summaries. 1..1 Reference(Organization) Assigning Facility
Identifier.assigner.id 0..1 string Unique id for inter-element referencing
Identifier.assigner.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Identifier.assigner.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Identifier.assigner.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Identifier.assigner.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Identifier.assigner.identifier.id 0..1 string Unique id for inter-element referencing
Identifier.assigner.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Identifier.assigner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Identifier.assigner.identifier.type This element is included in summaries. 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.
Identifier.assigner.identifier.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.nhs.uk/Id/ods-organization-code (extensions allowed)
Identifier.assigner.identifier.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Example Manchester University NHS Foundation Trust: R0A
Identifier.assigner.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Identifier.assigner.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Identifier.assigner.display This element is included in summaries. 0..1 string Text alternative for the resource

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 required NW IdentifierType 📦2.2.5 This IG
Identifier.assigner.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Identifier.assigner.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
Identifier.assigner.​identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression

This structure is derived from CorrelationIdentifier

Summary

Mandatory: 1 element
Fixed: 1 element

 

Other representations of profile: CSV, Excel, Schematron