Implementation Guide
TI Common
Version 1.3.0 - release

## Resource Profile: TI Operation Outcome

Official URL: https://gematik.de/fhir/ti/StructureDefinition/operation-outcome | Version: 1.1.1
Active as of 2025-09-12 | Computable Name: TIOperationOutcome
Copyright/Legal: gematik GmbH / Dieses Artefakt ist lizenziert unter Apache License, Version 2.0.

Das Operation Outcome-Profil für die Telematikinfrastruktur (TI) FHIR Data Services

Usages:

- Examples for this Profile: OperationOutcome/0467fbad-2ef1-4906-aaf5-7ce2a3929f7b, OperationOutcome/0c81ad3a-d6d1-4924-91d2-555cd3d5716f, OperationOutcome/0dc58d79-1b2e-4c6f-afe0-0a5b721661a2, OperationOutcome/176e0f12-d08c-4a05-ae0a-e30bf2f5158d... Show 6 more, OperationOutcome/468ca07b-7d63-453d-a738-0c35cb9402aa, OperationOutcome/65643d2f-363b-4df4-89e9-a6ce2ba55227, OperationOutcome/8d5c1994-5caf-46c6-8c95-c5e7e6fad8e5, OperationOutcome/ad48bf90-a664-44f4-af14-ee6e81db3df4, OperationOutcome/c5fca094-f4d0-4b6a-8662-8fa158d82416 and OperationOutcome/ea0ac9a5-8508-471a-b2c8-c41209436545

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.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OperationOutcome |  | 0..* | OperationOutcome | Information about the success/failure of an action Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url
issue | S Σ | 1..* | BackboneElement | A single issue associated with the action
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
severity | S Σ | 1..1 | code | fatal | error | warning | information Binding: IssueSeverity (required): How the issue affects the success of the action.
code | S Σ | 1..1 | code | Error or warning code Binding: IssueType (required): A code that describes the type of issue.
details | S Σ | 0..1 | CodeableConcept | Additional details about the error Binding: TI Operation Outcome Details Value Set (preferred)
coding | S Σ | 0..* | Coding | Code defined by a terminology system
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
diagnostics | S Σ | 0..1 | string | Additional diagnostic information about the issue
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
OperationOutcome.issue.​severity | Base | required | IssueSeverity | 📍4.0.1 | FHIR Std.
OperationOutcome.issue.​code | Base | required | IssueType | 📍4.0.1 | FHIR Std.
OperationOutcome.issue.​details | Base | preferred | TI Operation Outcome Details Value Set | 📦1.3.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | OperationOutcome | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | OperationOutcome | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | OperationOutcome | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | OperationOutcome | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | OperationOutcome | A resource should have narrative for robust management | `text.`div`.exists()`
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 OperationOutcome

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OperationOutcome |  | 0..* | OperationOutcome | Information about the success/failure of an action
issue | S | 1..* | BackboneElement | A single issue associated with the action
severity | S | 1..1 | code | fatal | error | warning | information
code | S | 1..1 | code | Error or warning code
details | S | 0..1 | CodeableConcept | Additional details about the error Binding: TI Operation Outcome Details Value Set (preferred)
coding | S | 0..* | Coding | Code defined by a terminology system
system | S | 0..1 | uri | Identity of the terminology system
version | S | 0..1 | string | Version of the system - if relevant
code | S | 0..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
diagnostics | S | 0..1 | string | Additional diagnostic information about the issue
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
OperationOutcome.issue.​details | Base | preferred | TI Operation Outcome Details Value Set | 📦1.3.0 | This IG

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OperationOutcome |  | 0..* | OperationOutcome | Information about the success/failure of an action Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url
issue | S Σ | 1..* | BackboneElement | A single issue associated with the action
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
severity | S Σ | 1..1 | code | fatal | error | warning | information Binding: IssueSeverity (required): How the issue affects the success of the action.
code | S Σ | 1..1 | code | Error or warning code Binding: IssueType (required): A code that describes the type of issue.
details | S Σ | 0..1 | CodeableConcept | Additional details about the error Binding: TI Operation Outcome Details Value Set (preferred)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | S Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
diagnostics | S Σ | 0..1 | string | Additional diagnostic information about the issue
location | Σ | 0..* | string | Deprecated: Path of element(s) related to issue
expression | Σ | 0..* | string | FHIRPath of element(s) related to issue
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
OperationOutcome.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
OperationOutcome.issue.​severity | Base | required | IssueSeverity | 📍4.0.1 | FHIR Std.
OperationOutcome.issue.​code | Base | required | IssueType | 📍4.0.1 | FHIR Std.
OperationOutcome.issue.​details | Base | preferred | TI Operation Outcome Details Value Set | 📦1.3.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | OperationOutcome | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | OperationOutcome | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | OperationOutcome | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | OperationOutcome | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | OperationOutcome | A resource should have narrative for robust management | `text.`div`.exists()`
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 OperationOutcome

Summary

Must-Support: 10 elements

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OperationOutcome |  | 0..* | OperationOutcome | Information about the success/failure of an action Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url
issue | S Σ | 1..* | BackboneElement | A single issue associated with the action
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
severity | S Σ | 1..1 | code | fatal | error | warning | information Binding: IssueSeverity (required): How the issue affects the success of the action.
code | S Σ | 1..1 | code | Error or warning code Binding: IssueType (required): A code that describes the type of issue.
details | S Σ | 0..1 | CodeableConcept | Additional details about the error Binding: TI Operation Outcome Details Value Set (preferred)
coding | S Σ | 0..* | Coding | Code defined by a terminology system
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
diagnostics | S Σ | 0..1 | string | Additional diagnostic information about the issue
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
OperationOutcome.issue.​severity | Base | required | IssueSeverity | 📍4.0.1 | FHIR Std.
OperationOutcome.issue.​code | Base | required | IssueType | 📍4.0.1 | FHIR Std.
OperationOutcome.issue.​details | Base | preferred | TI Operation Outcome Details Value Set | 📦1.3.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | OperationOutcome | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | OperationOutcome | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | OperationOutcome | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | OperationOutcome | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | OperationOutcome | A resource should have narrative for robust management | `text.`div`.exists()`
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()`

Differential View

This structure is derived from OperationOutcome

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OperationOutcome |  | 0..* | OperationOutcome | Information about the success/failure of an action
issue | S | 1..* | BackboneElement | A single issue associated with the action
severity | S | 1..1 | code | fatal | error | warning | information
code | S | 1..1 | code | Error or warning code
details | S | 0..1 | CodeableConcept | Additional details about the error Binding: TI Operation Outcome Details Value Set (preferred)
coding | S | 0..* | Coding | Code defined by a terminology system
system | S | 0..1 | uri | Identity of the terminology system
version | S | 0..1 | string | Version of the system - if relevant
code | S | 0..1 | code | Symbol in syntax defined by the system
display | S | 0..1 | string | Representation defined by the system
diagnostics | S | 0..1 | string | Additional diagnostic information about the issue
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
OperationOutcome.issue.​details | Base | preferred | TI Operation Outcome Details Value Set | 📦1.3.0 | This IG

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OperationOutcome |  | 0..* | OperationOutcome | Information about the success/failure of an action Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url
issue | S Σ | 1..* | BackboneElement | A single issue associated with the action
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
severity | S Σ | 1..1 | code | fatal | error | warning | information Binding: IssueSeverity (required): How the issue affects the success of the action.
code | S Σ | 1..1 | code | Error or warning code Binding: IssueType (required): A code that describes the type of issue.
details | S Σ | 0..1 | CodeableConcept | Additional details about the error Binding: TI Operation Outcome Details Value Set (preferred)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | S Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 0..1 | uri | Identity of the terminology system
version | S Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
diagnostics | S Σ | 0..1 | string | Additional diagnostic information about the issue
location | Σ | 0..* | string | Deprecated: Path of element(s) related to issue
expression | Σ | 0..* | string | FHIRPath of element(s) related to issue
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
OperationOutcome.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
OperationOutcome.issue.​severity | Base | required | IssueSeverity | 📍4.0.1 | FHIR Std.
OperationOutcome.issue.​code | Base | required | IssueType | 📍4.0.1 | FHIR Std.
OperationOutcome.issue.​details | Base | preferred | TI Operation Outcome Details Value Set | 📦1.3.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | OperationOutcome | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | OperationOutcome | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | OperationOutcome | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | OperationOutcome | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | OperationOutcome | A resource should have narrative for robust management | `text.`div`.exists()`
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 OperationOutcome

Summary

Must-Support: 10 elements

Other representations of profile: CSV, Excel, Schematron