England Pathology and Laboratory Medicine (PaLM) Technical Framework
0.1.0 - ci-build United Kingdom flag

England Pathology and Laboratory Medicine (PaLM) Technical Framework - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Data Type Profile: Visit Number

Official URL: https://examplesihe.org.uk/StructureDefinition/VisitNumber Version: 0.1.0
Draft as of 2026-11-04 Computable Name: VisitNumber

Encounter or visit number. Copied from the NW GMSA FHIR IG.

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" : "VN"
    }
  ]
}
Identifier.system This element must be supported. This element is included in summaries. 0..1 uri Recommended. This may be defined by a EPR/LIMS system.
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) Organization that issued id (may be just text)
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 📦0.1.0 This IG
Identifier.assigner.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.

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 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" : "VN"
    }
  ]
}
Identifier.assigner 1..1 Reference(Organization) Organization that issued id (may be just text)

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" : "VN"
    }
  ]
}
Identifier.system This element must be supported. This element is included in summaries. 0..1 uri Recommended. This may be defined by a EPR/LIMS system.
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) Organization that issued id (may be just text)
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 📦0.1.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.

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 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" : "VN"
    }
  ]
}
Identifier.system This element must be supported. This element is included in summaries. 0..1 uri Recommended. This may be defined by a EPR/LIMS system.
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) Organization that issued id (may be just text)
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 📦0.1.0 This IG
Identifier.assigner.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.

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 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" : "VN"
    }
  ]
}
Identifier.assigner 1..1 Reference(Organization) Organization that issued id (may be just text)

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" : "VN"
    }
  ]
}
Identifier.system This element must be supported. This element is included in summaries. 0..1 uri Recommended. This may be defined by a EPR/LIMS system.
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) Organization that issued id (may be just text)
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 📦0.1.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.

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 CorrelationIdentifier

Summary

Mandatory: 1 element
Fixed: 1 element

 

Other representations of profile: CSV, Excel, Schematron