IHE UK Patient Administration Management (Unofficial)
0.1.0 - ci-build
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
| 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
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | PAMIdentifier | 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 . Required Pattern: official (extensions allowed) | |
![]() ![]() |
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: | |
![]() ![]() |
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 | |
![]() ![]() |
1..1 | string | CX-1 ID Number. MUST be unique within the assigning authority Example General: 123456 | |
![]() ![]() |
1..1 | Reference(Organization) | CX-6 Assigning Facility | |
![]() ![]() ![]() |
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 . | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: https://fhir.nhs.uk/Id/ods-organization-code (extensions allowed) | |
![]() ![]() ![]() ![]() |
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 | 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 . |
| Id | Grade | Path(s) | Description | Expression |
This structure is derived from PAMIdentifier
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | PAMIdentifier | An identifier intended for computation | |
![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Required Pattern: official (extensions allowed) | |
![]() ![]() |
0..1 | CodeableConcept | AN (Account number) - interim workaround, HL7 has no Hospital Provider Spell identifier type Required Pattern: | |
![]() ![]() |
1..1 | Reference(Organization) | CX-6 Assigning Facility | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | PAMIdentifier | 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 . Required Pattern: official (extensions allowed) | |
![]() ![]() |
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: | |
![]() ![]() |
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 | |
![]() ![]() |
1..1 | string | CX-1 ID Number. MUST be unique within the assigning authority Example General: 123456 | |
![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |
![]() ![]() |
1..1 | Reference(Organization) | CX-6 Assigning Facility | |
![]() ![]() ![]() |
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). | |
![]() ![]() ![]() |
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. | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: https://fhir.nhs.uk/Id/ods-organization-code (extensions allowed) | |
![]() ![]() ![]() ![]() |
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 | 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. |
| Id | Grade | Path(s) | Description | Expression |
This structure is derived from PAMIdentifier
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | PAMIdentifier | 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 . Required Pattern: official (extensions allowed) | |
![]() ![]() |
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: | |
![]() ![]() |
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 | |
![]() ![]() |
1..1 | string | CX-1 ID Number. MUST be unique within the assigning authority Example General: 123456 | |
![]() ![]() |
1..1 | Reference(Organization) | CX-6 Assigning Facility | |
![]() ![]() ![]() |
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 . | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: https://fhir.nhs.uk/Id/ods-organization-code (extensions allowed) | |
![]() ![]() ![]() ![]() |
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 | 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 . |
| Id | Grade | Path(s) | Description | Expression |
Differential View
This structure is derived from PAMIdentifier
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | PAMIdentifier | An identifier intended for computation | |
![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Required Pattern: official (extensions allowed) | |
![]() ![]() |
0..1 | CodeableConcept | AN (Account number) - interim workaround, HL7 has no Hospital Provider Spell identifier type Required Pattern: | |
![]() ![]() |
1..1 | Reference(Organization) | CX-6 Assigning Facility | |
Documentation for this format | ||||
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | PAMIdentifier | 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 . Required Pattern: official (extensions allowed) | |
![]() ![]() |
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: | |
![]() ![]() |
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 | |
![]() ![]() |
1..1 | string | CX-1 ID Number. MUST be unique within the assigning authority Example General: 123456 | |
![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |
![]() ![]() |
1..1 | Reference(Organization) | CX-6 Assigning Facility | |
![]() ![]() ![]() |
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). | |
![]() ![]() ![]() |
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. | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: https://fhir.nhs.uk/Id/ods-organization-code (extensions allowed) | |
![]() ![]() ![]() ![]() |
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 | 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. |
| Id | Grade | Path(s) | Description | Expression |
This structure is derived from PAMIdentifier
Other representations of profile: CSV, Excel, Schematron