Healthcare Financial Services IG Edition 1
0.4.0 - STU-Ballot with Updates Saudi Arabia flag

Healthcare Financial Services IG Edition 1 - Local Development build (v0.4.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Nphies OperationOutcome

Official URL: http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/operation-outcome Version: 0.4.0
Draft as of 2025-10-12 Computable Name: NphiesOperationOutcome

Copyright/Legal: Used by permission of HL7 International, all rights reserved Creative Commons License

Operation Outcome Profile

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
.. OperationOutcome 0..* OperationOutcome Information about the success/failure of an action
... id ΣC 1..1 id Logical id of this artifact
Constraints: ksa-iduuid
Max Length:64
... meta Σ 1..1 Meta Metadata about the resource
.... profile Σ 1..* DP_canonical(StructureDefinition) Profiles this resource claims to conform to
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... issue Σ 1..* BackboneElement A single issue associated with the action
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... severity Σ 1..1 DP_code fatal | error | warning | information
Binding: IssueSeverity (required): How the issue affects the success of the action.
.... code Σ 1..1 DP_code Error or warning code
Binding: IssueType (required): A code that describes the type of issue.
.... details SΣ 0..1 DP_CodeableConcept Additional details about the error
Binding: OperationOutcomeCodes (required)
.... diagnostics SΣ 0..1 string Additional diagnostic information about the issue
.... expression SΣ 0..* string FHIRPath of element(s) related to issue

doco 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 required Operation Outcome Codes 📦4.0.1 FHIR Std.

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()
ksa-iduuid error OperationOutcome.id Must be 'GUID'. toString().matches('([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})')

This structure is derived from OperationOutcome

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. OperationOutcome 0..* OperationOutcome Information about the success/failure of an action
... id C 1..1 id Logical id of this artifact
Constraints: ksa-iduuid
Max Length:64
... meta 1..1 Meta Metadata about the resource
.... profile 1..* DP_canonical(StructureDefinition) Profiles this resource claims to conform to
... issue
.... severity 1..1 DP_code fatal | error | warning | information
.... code 1..1 DP_code Error or warning code
.... details S 0..1 DP_CodeableConcept Additional details about the error
Binding: OperationOutcomeCodes (required)
.... diagnostics S 0..1 string Additional diagnostic information about the issue
.... expression S 0..* string FHIRPath of element(s) related to issue

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
OperationOutcome.issue.​details Base required Operation Outcome Codes 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ksa-iduuid error OperationOutcome.id Must be 'GUID'. toString().matches('([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. OperationOutcome 0..* OperationOutcome Information about the success/failure of an action
... id ΣC 1..1 id Logical id of this artifact
Constraints: ksa-iduuid
Max Length:64
... meta Σ 1..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 1..* DP_canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... issue Σ 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
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... severity Σ 1..1 DP_code fatal | error | warning | information
Binding: IssueSeverity (required): How the issue affects the success of the action.
.... code Σ 1..1 DP_code Error or warning code
Binding: IssueType (required): A code that describes the type of issue.
.... details SΣ 0..1 DP_CodeableConcept Additional details about the error
Binding: OperationOutcomeCodes (required)
.... diagnostics SΣ 0..1 string Additional diagnostic information about the issue
.... location Σ 0..* string Deprecated: Path of element(s) related to issue
.... expression SΣ 0..* string FHIRPath of element(s) related to issue

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
OperationOutcome.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
OperationOutcome.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
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 required Operation Outcome Codes 📦4.0.1 FHIR Std.

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()
ksa-iduuid error OperationOutcome.id Must be 'GUID'. toString().matches('([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})')

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. OperationOutcome 0..* OperationOutcome Information about the success/failure of an action
... id ΣC 1..1 id Logical id of this artifact
Constraints: ksa-iduuid
Max Length:64
... meta Σ 1..1 Meta Metadata about the resource
.... profile Σ 1..* DP_canonical(StructureDefinition) Profiles this resource claims to conform to
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... issue Σ 1..* BackboneElement A single issue associated with the action
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... severity Σ 1..1 DP_code fatal | error | warning | information
Binding: IssueSeverity (required): How the issue affects the success of the action.
.... code Σ 1..1 DP_code Error or warning code
Binding: IssueType (required): A code that describes the type of issue.
.... details SΣ 0..1 DP_CodeableConcept Additional details about the error
Binding: OperationOutcomeCodes (required)
.... diagnostics SΣ 0..1 string Additional diagnostic information about the issue
.... expression SΣ 0..* string FHIRPath of element(s) related to issue

doco 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 required Operation Outcome Codes 📦4.0.1 FHIR Std.

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()
ksa-iduuid error OperationOutcome.id Must be 'GUID'. toString().matches('([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})')

Differential View

This structure is derived from OperationOutcome

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. OperationOutcome 0..* OperationOutcome Information about the success/failure of an action
... id C 1..1 id Logical id of this artifact
Constraints: ksa-iduuid
Max Length:64
... meta 1..1 Meta Metadata about the resource
.... profile 1..* DP_canonical(StructureDefinition) Profiles this resource claims to conform to
... issue
.... severity 1..1 DP_code fatal | error | warning | information
.... code 1..1 DP_code Error or warning code
.... details S 0..1 DP_CodeableConcept Additional details about the error
Binding: OperationOutcomeCodes (required)
.... diagnostics S 0..1 string Additional diagnostic information about the issue
.... expression S 0..* string FHIRPath of element(s) related to issue

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
OperationOutcome.issue.​details Base required Operation Outcome Codes 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ksa-iduuid error OperationOutcome.id Must be 'GUID'. toString().matches('([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})')

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. OperationOutcome 0..* OperationOutcome Information about the success/failure of an action
... id ΣC 1..1 id Logical id of this artifact
Constraints: ksa-iduuid
Max Length:64
... meta Σ 1..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 1..* DP_canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... issue Σ 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
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... severity Σ 1..1 DP_code fatal | error | warning | information
Binding: IssueSeverity (required): How the issue affects the success of the action.
.... code Σ 1..1 DP_code Error or warning code
Binding: IssueType (required): A code that describes the type of issue.
.... details SΣ 0..1 DP_CodeableConcept Additional details about the error
Binding: OperationOutcomeCodes (required)
.... diagnostics SΣ 0..1 string Additional diagnostic information about the issue
.... location Σ 0..* string Deprecated: Path of element(s) related to issue
.... expression SΣ 0..* string FHIRPath of element(s) related to issue

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
OperationOutcome.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
OperationOutcome.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
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 required Operation Outcome Codes 📦4.0.1 FHIR Std.

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()
ksa-iduuid error OperationOutcome.id Must be 'GUID'. toString().matches('([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})')

 

Other representations of profile: CSV, Excel, Schematron