Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R2_OperationOutcome_R5

Official URL: http://hl7.org/fhir/1.0/StructureDefinition/profile-OperationOutcome Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: Profile_R2_OperationOutcome_R5

This cross-version profile allows DSTU2 OperationOutcome content to be represented via FHIR R5 OperationOutcome resources.

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

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(5.0.0) Information about the success/failure of an action
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... severity Σ 1..1 code fatal | error | warning | information | success
Binding: IssueSeverity (required): How the issue affects the success of the action.
.... code Σ 1..1 code Error or warning code
Binding: IssueType (required): A code that describes the type of issue.
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:code 0..1 code DSTU2: code additional codes
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationOutcome.issue.code
Binding: IssueType (required): A code that describes the type of issue.
Constraints: ext-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
OperationOutcome.issue.​severity Base required Issue Severity 📍5.0.0 FHIR Std.
OperationOutcome.issue.​code Base required Issue Type 📍5.0.0 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 OperationOutcome.implicitRules, OperationOutcome.modifierExtension, OperationOutcome.issue, OperationOutcome.issue.modifierExtension, OperationOutcome.issue.severity, OperationOutcome.issue.code, OperationOutcome.issue.code.extension, OperationOutcome.issue.code.extension:code All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error OperationOutcome.modifierExtension, OperationOutcome.issue.modifierExtension, OperationOutcome.issue.code.extension, OperationOutcome.issue.code.extension:code Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from OperationOutcome

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. OperationOutcome 0..* OperationOutcome(5.0.0) Information about the success/failure of an action
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationOutcome.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationOutcome.text
... issue
.... code
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:code 0..1 code DSTU2: code additional codes
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationOutcome.issue.code
Binding: IssueType (required): A code that describes the type of issue.

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. OperationOutcome 0..* OperationOutcome(5.0.0) Information about the success/failure of an action
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationOutcome.meta
Constraints: ext-1
.... 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 Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: AllSecurityLabels . (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
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationOutcome.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required): The status of a resource narrative.
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... 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
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... severity Σ 1..1 code fatal | error | warning | information | success
Binding: IssueSeverity (required): How the issue affects the success of the action.
.... code Σ 1..1 code Error or warning code
Binding: IssueType (required): A code that describes the type of issue.
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:code 0..1 code DSTU2: code additional codes
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationOutcome.issue.code
Binding: IssueType (required): A code that describes the type of issue.
Constraints: ext-1
..... value 0..1 code Primitive value for code
.... details Σ 0..1 CodeableConcept Additional details about the error
Binding: OperationOutcomeCodes (example): A code that provides details as the exact issue.
.... diagnostics Σ 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

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
OperationOutcome.meta.​security Base extensible All Security Labels . 📍5.0.0 tx.fhir.org
OperationOutcome.meta.​tag Base example Common Tags 📍5.0.0 FHIR Std.
OperationOutcome.language Base required All Languages 📍5.0.0 FHIR Std.
OperationOutcome.text.​status Base required NarrativeStatus 📍5.0.0 FHIR Std.
OperationOutcome.issue.​severity Base required Issue Severity 📍5.0.0 FHIR Std.
OperationOutcome.issue.​code Base required Issue Type 📍5.0.0 FHIR Std.
OperationOutcome.issue.​details Base example Operation Outcome Codes 📍5.0.0 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 OperationOutcome.meta, OperationOutcome.meta.extension, OperationOutcome.meta.extension:meta, OperationOutcome.meta.versionId, OperationOutcome.meta.lastUpdated, OperationOutcome.meta.source, OperationOutcome.meta.profile, OperationOutcome.meta.security, OperationOutcome.meta.tag, OperationOutcome.implicitRules, OperationOutcome.language, OperationOutcome.text, OperationOutcome.text.extension, OperationOutcome.text.extension:text, OperationOutcome.text.status, OperationOutcome.text.div, OperationOutcome.extension, OperationOutcome.modifierExtension, OperationOutcome.issue, OperationOutcome.issue.extension, OperationOutcome.issue.modifierExtension, OperationOutcome.issue.severity, OperationOutcome.issue.code, OperationOutcome.issue.code.extension, OperationOutcome.issue.code.extension:code, OperationOutcome.issue.details, OperationOutcome.issue.diagnostics, OperationOutcome.issue.location, OperationOutcome.issue.expression All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error OperationOutcome.meta.extension, OperationOutcome.meta.extension:meta, OperationOutcome.text.extension, OperationOutcome.text.extension:text, OperationOutcome.extension, OperationOutcome.modifierExtension, OperationOutcome.issue.extension, OperationOutcome.issue.modifierExtension, OperationOutcome.issue.code.extension, OperationOutcome.issue.code.extension:code Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error OperationOutcome.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error OperationOutcome.text.div The narrative SHALL have some non-whitespace content htmlChecks()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. OperationOutcome 0..* OperationOutcome(5.0.0) Information about the success/failure of an action
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... severity Σ 1..1 code fatal | error | warning | information | success
Binding: IssueSeverity (required): How the issue affects the success of the action.
.... code Σ 1..1 code Error or warning code
Binding: IssueType (required): A code that describes the type of issue.
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:code 0..1 code DSTU2: code additional codes
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationOutcome.issue.code
Binding: IssueType (required): A code that describes the type of issue.
Constraints: ext-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
OperationOutcome.issue.​severity Base required Issue Severity 📍5.0.0 FHIR Std.
OperationOutcome.issue.​code Base required Issue Type 📍5.0.0 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 OperationOutcome.implicitRules, OperationOutcome.modifierExtension, OperationOutcome.issue, OperationOutcome.issue.modifierExtension, OperationOutcome.issue.severity, OperationOutcome.issue.code, OperationOutcome.issue.code.extension, OperationOutcome.issue.code.extension:code All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error OperationOutcome.modifierExtension, OperationOutcome.issue.modifierExtension, OperationOutcome.issue.code.extension, OperationOutcome.issue.code.extension:code Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from OperationOutcome

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. OperationOutcome 0..* OperationOutcome(5.0.0) Information about the success/failure of an action
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationOutcome.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationOutcome.text
... issue
.... code
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:code 0..1 code DSTU2: code additional codes
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationOutcome.issue.code
Binding: IssueType (required): A code that describes the type of issue.

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. OperationOutcome 0..* OperationOutcome(5.0.0) Information about the success/failure of an action
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationOutcome.meta
Constraints: ext-1
.... 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 Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: AllSecurityLabels . (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
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationOutcome.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required): The status of a resource narrative.
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... 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
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... severity Σ 1..1 code fatal | error | warning | information | success
Binding: IssueSeverity (required): How the issue affects the success of the action.
.... code Σ 1..1 code Error or warning code
Binding: IssueType (required): A code that describes the type of issue.
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:code 0..1 code DSTU2: code additional codes
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationOutcome.issue.code
Binding: IssueType (required): A code that describes the type of issue.
Constraints: ext-1
..... value 0..1 code Primitive value for code
.... details Σ 0..1 CodeableConcept Additional details about the error
Binding: OperationOutcomeCodes (example): A code that provides details as the exact issue.
.... diagnostics Σ 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

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
OperationOutcome.meta.​security Base extensible All Security Labels . 📍5.0.0 tx.fhir.org
OperationOutcome.meta.​tag Base example Common Tags 📍5.0.0 FHIR Std.
OperationOutcome.language Base required All Languages 📍5.0.0 FHIR Std.
OperationOutcome.text.​status Base required NarrativeStatus 📍5.0.0 FHIR Std.
OperationOutcome.issue.​severity Base required Issue Severity 📍5.0.0 FHIR Std.
OperationOutcome.issue.​code Base required Issue Type 📍5.0.0 FHIR Std.
OperationOutcome.issue.​details Base example Operation Outcome Codes 📍5.0.0 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 OperationOutcome.meta, OperationOutcome.meta.extension, OperationOutcome.meta.extension:meta, OperationOutcome.meta.versionId, OperationOutcome.meta.lastUpdated, OperationOutcome.meta.source, OperationOutcome.meta.profile, OperationOutcome.meta.security, OperationOutcome.meta.tag, OperationOutcome.implicitRules, OperationOutcome.language, OperationOutcome.text, OperationOutcome.text.extension, OperationOutcome.text.extension:text, OperationOutcome.text.status, OperationOutcome.text.div, OperationOutcome.extension, OperationOutcome.modifierExtension, OperationOutcome.issue, OperationOutcome.issue.extension, OperationOutcome.issue.modifierExtension, OperationOutcome.issue.severity, OperationOutcome.issue.code, OperationOutcome.issue.code.extension, OperationOutcome.issue.code.extension:code, OperationOutcome.issue.details, OperationOutcome.issue.diagnostics, OperationOutcome.issue.location, OperationOutcome.issue.expression All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error OperationOutcome.meta.extension, OperationOutcome.meta.extension:meta, OperationOutcome.text.extension, OperationOutcome.text.extension:text, OperationOutcome.extension, OperationOutcome.modifierExtension, OperationOutcome.issue.extension, OperationOutcome.issue.modifierExtension, OperationOutcome.issue.code.extension, OperationOutcome.issue.code.extension:code Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error OperationOutcome.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error OperationOutcome.text.div The narrative SHALL have some non-whitespace content htmlChecks()

 

Other representations of profile: CSV, Excel, Schematron