IHE UK Patient Administration Management (Unofficial)
0.1.0 - ci-build United Kingdom flag

IHE UK Patient Administration Management (Unofficial) - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Data Type Profile: Hospital Provider Spell Identifier

Official URL: https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/HospitalProviderSpellIdentifier Version: 0.1.0
Draft as of 2026-11-24 Computable Name: HospitalProviderSpellIdentifier

PV1-19 Visit Number, as the identifier of an NHS Data Dictionary HOSPITAL PROVIDER SPELL: an inpatient stay (admission to discharge) or an outpatient spell. Every event about the same stay or spell carries the same value, which ties them together. The visits within it (an outpatient attendance or a consultant episode) are identified by PV1-50 Alternate Visit Identifier.

HL7 v2 Table 0203 has no Hospital Provider Spell identifier type, so AN (Account number) is used as an interim workaround, as in the NHS North West Genomics guide. Strictly, AN identifies an account rather than an encounter. This binding may change.

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..* PAMIdentifier 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 .
Required Pattern: official (extensions allowed)
Identifier.type This element must be supported. This element is included in summaries. 0..1 CodeableConcept AN (Account number) - interim workaround, HL7 has no Hospital Provider Spell identifier type
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.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
      "code" : "AN"
    }
  ]
}
Identifier.system This element must be supported. This element is included in summaries. 0..1 uri CX-4 Assigning Authority: established URI, or urn:oid: of HD-2. Omit if only a local namespace is known
Example General: http://www.acme.com/identifiers/patient
Identifier.value This element must be supported. This element is included in summaries. 1..1 string CX-1 ID Number. MUST be unique within the assigning authority
Example General: 123456
Identifier.assigner This element must be supported. This element is included in summaries. 1..1 Reference(Organization) CX-6 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 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 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 Documentation
Identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.

Identifies the purpose for this identifier, if known .

Identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.

A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

Identifier.assigner.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.

Identifies the purpose for this identifier, if known .

Constraints

Id Grade Path(s) Description Expression

This structure is derived from PAMIdentifier

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Identifier 0..* PAMIdentifier An identifier intended for computation
Identifier.use 0..1 code usual | official | temp | secondary | old (If known)
Required Pattern: official (extensions allowed)
Identifier.type 0..1 CodeableConcept AN (Account number) - interim workaround, HL7 has no Hospital Provider Spell identifier type
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
      "code" : "AN"
    }
  ]
}
Identifier.assigner 1..1 Reference(Organization) CX-6 Assigning Facility

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Identifier 0..* PAMIdentifier 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 .
Required Pattern: official (extensions allowed)
Identifier.type This element must be supported. This element is included in summaries. 0..1 CodeableConcept AN (Account number) - interim workaround, HL7 has no Hospital Provider Spell identifier type
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.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
      "code" : "AN"
    }
  ]
}
Identifier.system This element must be supported. This element is included in summaries. 0..1 uri CX-4 Assigning Authority: established URI, or urn:oid: of HD-2. Omit if only a local namespace is known
Example General: http://www.acme.com/identifiers/patient
Identifier.value This element must be supported. This element is included in summaries. 1..1 string CX-1 ID Number. MUST be unique within the assigning authority
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) CX-6 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 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 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 Documentation
Identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.

Identifies the purpose for this identifier, if known .

Identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.

A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

Identifier.assigner.​type Base extensible ResourceType 📍4.0.1 FHIR Std.

Aa resource (or, for logical models, the URI of the logical model).

Identifier.assigner.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.

Identifies the purpose for this identifier, if known .

Identifier.assigner.​identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.

A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

Constraints

Id Grade Path(s) Description Expression

This structure is derived from PAMIdentifier

Summary

Mandatory: 1 element

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Identifier 0..* PAMIdentifier 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 .
Required Pattern: official (extensions allowed)
Identifier.type This element must be supported. This element is included in summaries. 0..1 CodeableConcept AN (Account number) - interim workaround, HL7 has no Hospital Provider Spell identifier type
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.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
      "code" : "AN"
    }
  ]
}
Identifier.system This element must be supported. This element is included in summaries. 0..1 uri CX-4 Assigning Authority: established URI, or urn:oid: of HD-2. Omit if only a local namespace is known
Example General: http://www.acme.com/identifiers/patient
Identifier.value This element must be supported. This element is included in summaries. 1..1 string CX-1 ID Number. MUST be unique within the assigning authority
Example General: 123456
Identifier.assigner This element must be supported. This element is included in summaries. 1..1 Reference(Organization) CX-6 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 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 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 Documentation
Identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.

Identifies the purpose for this identifier, if known .

Identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.

A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

Identifier.assigner.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.

Identifies the purpose for this identifier, if known .

Constraints

Id Grade Path(s) Description Expression

Differential View

This structure is derived from PAMIdentifier

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Identifier 0..* PAMIdentifier An identifier intended for computation
Identifier.use 0..1 code usual | official | temp | secondary | old (If known)
Required Pattern: official (extensions allowed)
Identifier.type 0..1 CodeableConcept AN (Account number) - interim workaround, HL7 has no Hospital Provider Spell identifier type
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
      "code" : "AN"
    }
  ]
}
Identifier.assigner 1..1 Reference(Organization) CX-6 Assigning Facility

doco Documentation for this format

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Identifier 0..* PAMIdentifier 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 .
Required Pattern: official (extensions allowed)
Identifier.type This element must be supported. This element is included in summaries. 0..1 CodeableConcept AN (Account number) - interim workaround, HL7 has no Hospital Provider Spell identifier type
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.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
      "code" : "AN"
    }
  ]
}
Identifier.system This element must be supported. This element is included in summaries. 0..1 uri CX-4 Assigning Authority: established URI, or urn:oid: of HD-2. Omit if only a local namespace is known
Example General: http://www.acme.com/identifiers/patient
Identifier.value This element must be supported. This element is included in summaries. 1..1 string CX-1 ID Number. MUST be unique within the assigning authority
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) CX-6 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 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 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 Documentation
Identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.

Identifies the purpose for this identifier, if known .

Identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.

A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

Identifier.assigner.​type Base extensible ResourceType 📍4.0.1 FHIR Std.

Aa resource (or, for logical models, the URI of the logical model).

Identifier.assigner.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.

Identifies the purpose for this identifier, if known .

Identifier.assigner.​identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.

A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

Constraints

Id Grade Path(s) Description Expression

This structure is derived from PAMIdentifier

Summary

Mandatory: 1 element

 

Other representations of profile: CSV, Excel, Schematron