0.1.0 - ci-build

ExampleIG, published by Example Publisher. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/trifork/fhir-ig-sample/ and changes regularly. See the Directory of published versions

Data Type Profile: UID Identifier

Official URL: http://example.org/StructureDefinition/UID Version: 0.1.0
Active as of 2025-09-12 Computable Name: UID

Unique IDentifier

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Identifier C 0..* Identifier An identifier intended for computation
Constraints: UIDValueInvariant, UIDPrefixMatches
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:prefix 1..1 string Prefix
URL: http://example.org/StructureDefinition/Prefix
... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://example.org/uid

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
UIDPrefixMatcheserrorIdentifierThe prefix (before the ':') must match the PrefixExtension value.
: value.startsWith(%context.extension.where(url='http://example.org/StructureDefinition/Prefix').first().value & ':')
UIDValueInvarianterrorIdentifierValidation logic for the value element.
: value.matches('^[A-z0-9]+:[a-z0-9\\.-]+$')
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Identifier

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Identifier C 0..* Identifier An identifier intended for computation
Constraints: UIDValueInvariant, UIDPrefixMatches
... extension 1..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:prefix 1..1 string Prefix
URL: http://example.org/StructureDefinition/Prefix
... system 1..1 uri The namespace for the identifier value
Fixed Value: http://example.org/uid

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
UIDPrefixMatcheserrorIdentifierThe prefix (before the ':') must match the PrefixExtension value.
: value.startsWith(%context.extension.where(url='http://example.org/StructureDefinition/Prefix').first().value & ':')
UIDValueInvarianterrorIdentifierValidation logic for the value element.
: value.matches('^[A-z0-9]+:[a-z0-9\\.-]+$')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Identifier C 0..* Identifier An identifier intended for computation
Constraints: UIDValueInvariant, UIDPrefixMatches
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:prefix 1..1 string Prefix
URL: http://example.org/StructureDefinition/Prefix
... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://example.org/uid
... value Σ 1..1 string The value that is unique
Example General: 123456
... period Σ 0..1 Period Time period when id is/was valid for use
... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
UIDPrefixMatcheserrorIdentifierThe prefix (before the ':') must match the PrefixExtension value.
: value.startsWith(%context.extension.where(url='http://example.org/StructureDefinition/Prefix').first().value & ':')
UIDValueInvarianterrorIdentifierValidation logic for the value element.
: value.matches('^[A-z0-9]+:[a-z0-9\\.-]+$')
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Identifier

Summary

Mandatory: 4 elements
Fixed: 1 element

Extensions

This structure refers to these extensions:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Identifier C 0..* Identifier An identifier intended for computation
Constraints: UIDValueInvariant, UIDPrefixMatches
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:prefix 1..1 string Prefix
URL: http://example.org/StructureDefinition/Prefix
... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://example.org/uid

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
UIDPrefixMatcheserrorIdentifierThe prefix (before the ':') must match the PrefixExtension value.
: value.startsWith(%context.extension.where(url='http://example.org/StructureDefinition/Prefix').first().value & ':')
UIDValueInvarianterrorIdentifierValidation logic for the value element.
: value.matches('^[A-z0-9]+:[a-z0-9\\.-]+$')
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from Identifier

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Identifier C 0..* Identifier An identifier intended for computation
Constraints: UIDValueInvariant, UIDPrefixMatches
... extension 1..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:prefix 1..1 string Prefix
URL: http://example.org/StructureDefinition/Prefix
... system 1..1 uri The namespace for the identifier value
Fixed Value: http://example.org/uid

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
UIDPrefixMatcheserrorIdentifierThe prefix (before the ':') must match the PrefixExtension value.
: value.startsWith(%context.extension.where(url='http://example.org/StructureDefinition/Prefix').first().value & ':')
UIDValueInvarianterrorIdentifierValidation logic for the value element.
: value.matches('^[A-z0-9]+:[a-z0-9\\.-]+$')

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Identifier C 0..* Identifier An identifier intended for computation
Constraints: UIDValueInvariant, UIDPrefixMatches
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:prefix 1..1 string Prefix
URL: http://example.org/StructureDefinition/Prefix
... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://example.org/uid
... value Σ 1..1 string The value that is unique
Example General: 123456
... period Σ 0..1 Period Time period when id is/was valid for use
... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
UIDPrefixMatcheserrorIdentifierThe prefix (before the ':') must match the PrefixExtension value.
: value.startsWith(%context.extension.where(url='http://example.org/StructureDefinition/Prefix').first().value & ':')
UIDValueInvarianterrorIdentifierValidation logic for the value element.
: value.matches('^[A-z0-9]+:[a-z0-9\\.-]+$')
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Identifier

Summary

Mandatory: 4 elements
Fixed: 1 element

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron