NHS North West Genomics
2.2.0 - ci-build
NHS North West Genomics - Local Development build (v2.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://fhir.nwgenomics.nhs.uk/StructureDefinition/HospitalProviderSpellIdentifier | Version: 2.2.0 | ||||
| Draft as of 2026-09-20 | Computable Name: HospitalProviderSpellIdentifier | ||||
HOSPITAL PROVIDER SPELL IDENTIFIER - a unique identifier for a period of care under one Trust (admission to discharge), assigned by the PAS/EPR. No national OID; each Trust assigns its own.
Ubiquitous terms: Spell Number, Account Number, Episode Number, Encounter Number, Visit Number (informally, though Visit Number is a related but distinct v2 identifier type - see that page).
| Ubiquitous Term | HL7 FHIR | HL7 v2 | OID | Notes |
|---|---|---|---|---|
| Spell/Account Number | Encounter.identifier and EpisodeOfCare.identifier (type = AN) | Visit Number (PV1-19). See NHS England HL7 v2 ADT Message Specification PV1 documentation. | none - locally assigned by the Trust's PAS/EPR | Assigning organisation is the Trust ODS Code |
1001166717^^^R0A^AN
{
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "AN"
}
]
},
"value": "1001166717",
"assigner": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "R0A"
}
}
}
Usages:
You can also check for usages in the FHIR IG Statistics
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CorrelationIdentifier | An identifier intended for computation | |
![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Description of identifier Binding: NW IdentifierType (required) Fixed Value: As shown (Account number) |
![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203 | |
![]() ![]() ![]() ![]() |
0..0 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: AN | |
![]() ![]() ![]() ![]() |
0..0 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..0 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
0..0 | string | Plain text representation of the concept | |
![]() ![]() |
SΣ | 0..1 | uri | Recommended. This may be defined by a EPR/LIMS system. Example General: http://www.acme.com/identifiers/patient |
![]() ![]() |
SΣ | 1..1 | string | The value MUST be unique to the organisation Example General: 123456 |
![]() ![]() |
SΣ | 1..1 | Reference(Organization) | Organization that issued id (may be just text) |
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Required Pattern: https://fhir.nhs.uk/Id/ods-organization-code |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 Example Manchester University NHS Foundation Trust: R0A |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Identifier.type | Base | required | NW IdentifierType | 📦2.2.0 | This IG |
| Identifier.assigner.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CorrelationIdentifier | An identifier intended for computation | |
![]() ![]() |
0..1 | CodeableConcept | Description of identifier Fixed Value: As shown (Account number) | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203 | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: AN | |
![]() ![]() |
1..1 | Reference(Organization) | Organization that issued id (may be just text) | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CorrelationIdentifier | An identifier intended for computation | |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Description of identifier Binding: NW IdentifierType (required) Fixed Value: As shown (Account number) |
![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203 | |
![]() ![]() ![]() ![]() |
0..0 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: AN | |
![]() ![]() ![]() ![]() |
0..0 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..0 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
0..0 | string | Plain text representation of the concept | |
![]() ![]() |
SΣ | 0..1 | uri | Recommended. This may be defined by a EPR/LIMS system. Example General: http://www.acme.com/identifiers/patient |
![]() ![]() |
SΣ | 1..1 | string | The value MUST be unique to the organisation Example General: 123456 |
![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use |
![]() ![]() |
SΣ | 1..1 | Reference(Organization) | Organization that issued id (may be just text) |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() |
Σ | 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). |
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 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. |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Required Pattern: https://fhir.nhs.uk/Id/ods-organization-code |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 Example Manchester University NHS Foundation Trust: R0A |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Identifier.type | Base | required | NW IdentifierType | 📦2.2.0 | 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. |
| Id | Grade | Path(s) | Description | Expression |
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CorrelationIdentifier | An identifier intended for computation | |
![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Description of identifier Binding: NW IdentifierType (required) Fixed Value: As shown (Account number) |
![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203 | |
![]() ![]() ![]() ![]() |
0..0 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: AN | |
![]() ![]() ![]() ![]() |
0..0 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..0 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
0..0 | string | Plain text representation of the concept | |
![]() ![]() |
SΣ | 0..1 | uri | Recommended. This may be defined by a EPR/LIMS system. Example General: http://www.acme.com/identifiers/patient |
![]() ![]() |
SΣ | 1..1 | string | The value MUST be unique to the organisation Example General: 123456 |
![]() ![]() |
SΣ | 1..1 | Reference(Organization) | Organization that issued id (may be just text) |
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Required Pattern: https://fhir.nhs.uk/Id/ods-organization-code |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 Example Manchester University NHS Foundation Trust: R0A |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Identifier.type | Base | required | NW IdentifierType | 📦2.2.0 | This IG |
| Identifier.assigner.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
Differential View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CorrelationIdentifier | An identifier intended for computation | |
![]() ![]() |
0..1 | CodeableConcept | Description of identifier Fixed Value: As shown (Account number) | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203 | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: AN | |
![]() ![]() |
1..1 | Reference(Organization) | Organization that issued id (may be just text) | |
Documentation for this format | ||||
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CorrelationIdentifier | An identifier intended for computation | |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Description of identifier Binding: NW IdentifierType (required) Fixed Value: As shown (Account number) |
![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
0..0 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203 | |
![]() ![]() ![]() ![]() |
0..0 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: AN | |
![]() ![]() ![]() ![]() |
0..0 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..0 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
0..0 | string | Plain text representation of the concept | |
![]() ![]() |
SΣ | 0..1 | uri | Recommended. This may be defined by a EPR/LIMS system. Example General: http://www.acme.com/identifiers/patient |
![]() ![]() |
SΣ | 1..1 | string | The value MUST be unique to the organisation Example General: 123456 |
![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use |
![]() ![]() |
SΣ | 1..1 | Reference(Organization) | Organization that issued id (may be just text) |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() |
Σ | 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). |
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 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. |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Required Pattern: https://fhir.nhs.uk/Id/ods-organization-code |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 Example Manchester University NHS Foundation Trust: R0A |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Identifier.type | Base | required | NW IdentifierType | 📦2.2.0 | 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. |
| Id | Grade | Path(s) | Description | Expression |
Other representations of profile: CSV, Excel, Schematron