3.44.6 StructureDefinition: Shared Health Operation Outcome - Detailed Descriptions
Definitions for the profile-operationoutcome Profile.
OperationOutcome | |
Definition | A collection of error, warning or information messages that result from a system action. |
Control | 0..* |
Must Support | true |
Comments | Conformance Rule: If user-friendly issue text is present, it must be displayed to user. The user should also be able to see the more detailed description if they wish. If there is no user-friendly issue text returned, the vendor may present one that is fitting or may present the more detailed description. Conformance Rule: Vendors should not display any Operation Outcomes that are returned with an OperationOutcome.issue.severity = 'Information'. Conformance Rule: If a code is received that is not recognized, please process and display human readable text. |
Max Length | 0 |
OperationOutcome.id | |
Definition | The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. |
Control | 1..1 |
Type | id |
Must Support | true |
Comments | Usage Note: This will usually be a GUID |
Max Length | 0 |
OperationOutcome.meta | |
Definition | The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource. |
Control | 0..1 |
Type | Meta |
Max Length | 0 |
OperationOutcome.implicitRules | |
Definition | A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. |
Control | 0..1 |
Type | uri |
Is Modifier | true |
Comments | Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible. |
Max Length | 0 |
OperationOutcome.language | |
Definition | The base language in which the resource is written. |
Control | 0..1 |
Binding | A human language. The codes SHALL be taken from http://tools.ietf.org/html/bcp47 |
Type | code |
Comments | Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute). |
Max Length | 0 |
OperationOutcome.text | |
Definition | A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. |
Control | 0..1 This element is affected by the following invariants: dom-1 |
Type | Narrative |
Alternate Names | narrative, html, xhtml, display |
Comments | Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. |
Max Length | 0 |
OperationOutcome.contained | |
Definition | These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. |
Control | 0..* |
Type | Resource |
Alternate Names | inline resources, anonymous resources, contained resources |
Comments | This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. |
Max Length | 0 |
OperationOutcome.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Control | 0..* |
Type | Extension |
Alternate Names | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Max Length | 0 |
OperationOutcome.modifierExtension | |
Definition | May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. |
Control | 0..* |
Type | Extension |
Is Modifier | true |
Alternate Names | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Max Length | 0 |
OperationOutcome.issue | |
Definition | An error, warning or information message that results from a system action. |
Control | 1..* |
Type | BackboneElement |
Must Support | true |
Comments | Conformance Rule: We are currently only returning a single issue element at this time. |
Max Length | 0 |
OperationOutcome.issue.id | |
Definition | unique id for the element within a resource (for internal references). |
Control | 0..1 |
Type | id |
Max Length | 0 |
OperationOutcome.issue.extension | |
Definition | An Extension |
Control | 0..* |
Type | Extension |
Max Length | 0 |
OperationOutcome.issue.extension ([CanonicalType[http://sharedhealth.exchange/fhir/StructureDefinition/ext-operationoutcome-referencenum]]) | |
Definition | This reference number acts as a transaction locator number and may be provided to the PrescribeIT™ support team for troubleshooting purposes. Vendors may wish to make this visible to users for this purpose. |
Control | 0..* |
Type | Extension(Issue reference number) (Extension Type: string) |
Must Support | true |
Max Length | 0 |
OperationOutcome.issue.extension ([CanonicalType[http://sharedhealth.exchange/fhir/StructureDefinition/ext-operationoutcome-usertext]]) | |
Definition | Provides the user-friendly description associated with an OperationOutcome issue |
Control | 0..* |
Type | Extension(User-friendly issue text) (Extension Type: string) |
Must Support | true |
Max Length | 0 |
OperationOutcome.issue.extension.id | |
Definition | unique id for the element within a resource (for internal references). |
Control | 0..1 |
Type | id |
Max Length | 0 |
OperationOutcome.issue.extension.extension | |
Definition | An Extension |
Control | 0..0 |
Type | Extension |
Max Length | 0 |
OperationOutcome.issue.extension.url | |
Definition | Source of the definition for the extension code - a logical name or a URL. |
Control | 1..1 |
Type | uri |
Must Support | true |
Comments | none Fixed value: http://sharedhealth.exchange/fhir/StructureDefinition/ext-operationoutcome-usertext |
Max Length | 0 |
Fixed Value | http://sharedhealth.exchange/fhir/StructureDefinition/ext-operationoutcome-usertext |
OperationOutcome.issue.extension.valueString | |
Definition | Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list). |
Control | 1..1 |
Type | string |
Must Support | true |
Max Length | 0 |
OperationOutcome.issue.extension.valueString.id | |
Definition | unique id for the element within a resource (for internal references) |
Control | 0..1 |
Type | id |
OperationOutcome.issue.extension.valueString.extension | |
Definition | An Extension |
Control | 0..* |
Type | Extension |
OperationOutcome.issue.extension.valueString.extension ([CanonicalType[http://hl7.org/fhir/StructureDefinition/iso21090-ST-translation]]) | |
Definition | An expression of the original string in an alternate language. |
Control | 0..1 |
Type | Extension(translation) (Extension Type: string) |
Must Support | true |
Comments | string-translation elements should not have string-translation extensions (i.e. all translations should be expressed as siblings, not as a translation hierarchy) to simplify processing. |
Max Length | 0 |
OperationOutcome.issue.extension.valueString.extension.id | |
Definition | unique id for the element within a resource (for internal references). |
Control | 0..1 |
Type | id |
Max Length | 0 |
OperationOutcome.issue.extension.valueString.extension.extension(extension) | |
Definition | An Extension |
Control | 0..0 |
Type | Extension |
Max Length | 0 |
OperationOutcome.issue.extension.valueString.extension.url | |
Definition | Source of the definition for the extension code - a logical name or a URL. |
Control | 1..1 |
Type | uri |
Comments | The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition should be version specific. This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #. |
Max Length | 0 |
Fixed Value | http://hl7.org/fhir/StructureDefinition/iso21090-ST-translation |
OperationOutcome.issue.extension.valueString.extension.valueString | |
Definition | Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list). |
Control | 1..1 |
Type | string |
Must Support | true |
Max Length | 0 |
OperationOutcome.issue.extension.valueString.extension.valueString.id | |
Definition | unique id for the element within a resource (for internal references) |
Control | 0..1 |
Type | id |
OperationOutcome.issue.extension.valueString.extension.valueString.extension | |
Definition | An Extension |
Control | 0..* |
Type | Extension |
OperationOutcome.issue.extension.valueString.extension.valueString.extension ([CanonicalType[http://hl7.org/fhir/StructureDefinition/iso21090-ST-language]]) | |
Definition | The language in which the string is expressed. |
Control | 1..1 |
Type | Extension(language) (Extension Type: code) |
Must Support | true |
Max Length | 0 |
OperationOutcome.issue.extension.valueString.extension.valueString.value | |
Definition | The actual value |
Control | 0..1 |
Max Length | 1048576 |
OperationOutcome.issue.extension.valueString.value | |
Definition | The actual value |
Control | 0..1 |
Max Length | 1048576 |
OperationOutcome.issue.modifierExtension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. |
Control | 0..* |
Type | Extension |
Is Modifier | true |
Alternate Names | extensions, user content, modifiers |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Max Length | 0 |
OperationOutcome.issue.severity | |
Definition | Indicates whether the issue indicates a variation from successful processing. |
Control | 1..1 |
Binding | How the issue affects the success of the action. The codes SHALL be taken from IssueSeverity |
Type | code |
Is Modifier | true |
Must Support | true |
Requirements | Indicates how relevant the issue is to the overall success of the action. |
Comments | Codes are from HL7. Binding value set defined. |
Max Length | 0 |
OperationOutcome.issue.code | |
Definition | Describes the type of the issue. The system that creates an OperationOutcome SHALL choose the most applicable code from the IssueType value set, and may additional provide its own code for the error in the details element. |
Control | 1..1 |
Binding | A code that describes the type of issue. The codes SHALL be taken from IssueType |
Type | code |
Must Support | true |
Requirements | Different types of messages have substantially different ramifications. |
Max Length | 0 |
OperationOutcome.issue.details | |
Definition | Indicates the specific issue represented by this message. |
Control | 0..1 |
Binding | The codes SHALL be taken from SharedIssueDetails; other codes may be used where these codes are not suitable |
Type | CodeableConcept |
Must Support | true |
Requirements | By providing coded identification of issues and errors, allows applications to have logic that manages particular errors and warnings automatically. However in some circumstances, a code may not be available. The text element may be used alone in this situation |
Comments | Conformance Rules: Details should be available to users if they wish to link to this information |
Max Length | 0 |
OperationOutcome.issue.details.id | |
Definition | unique id for the element within a resource (for internal references). |
Control | 0..1 |
Type | id |
Max Length | 0 |
OperationOutcome.issue.details.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Control | 0..* |
Type | Extension |
Alternate Names | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Max Length | 0 |
OperationOutcome.issue.details.coding | |
Definition | A reference to a code defined by a terminology system. |
Control | 0..* |
Type | Coding |
Requirements | Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings. |
Comments | Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true. |
Max Length | 0 |
OperationOutcome.issue.details.text | |
Definition | A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. |
Control | 1..1 |
Type | string |
Must Support | true |
Requirements | The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source. |
Comments | Conformance Rule: This MUST be populated with a description of the issue. Conformance Rule: Maximum character length set to ‘1000’. |
Max Length | 1000 |
OperationOutcome.issue.details.text.id | |
Definition | unique id for the element within a resource (for internal references) |
Control | 0..1 |
Type | id |
OperationOutcome.issue.details.text.extension | |
Definition | An Extension |
Control | 0..* |
Type | Extension |
OperationOutcome.issue.details.text.extension ([CanonicalType[http://hl7.org/fhir/StructureDefinition/iso21090-ST-translation]]) | |
Definition | An expression of the original string in an alternate language. |
Control | 0..1 |
Type | Extension(translation) (Extension Type: string) |
Must Support | true |
Comments | string-translation elements should not have string-translation extensions (i.e. all translations should be expressed as siblings, not as a translation hierarchy) to simplify processing. |
Max Length | 0 |
OperationOutcome.issue.details.text.extension.id | |
Definition | unique id for the element within a resource (for internal references). |
Control | 0..1 |
Type | id |
Max Length | 0 |
OperationOutcome.issue.details.text.extension.extension(extension) | |
Definition | An Extension |
Control | 0..0 |
Type | Extension |
Max Length | 0 |
OperationOutcome.issue.details.text.extension.url | |
Definition | Source of the definition for the extension code - a logical name or a URL. |
Control | 1..1 |
Type | uri |
Comments | The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition should be version specific. This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #. |
Max Length | 0 |
Fixed Value | http://hl7.org/fhir/StructureDefinition/iso21090-ST-translation |
OperationOutcome.issue.details.text.extension.valueString | |
Definition | Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list). |
Control | 1..1 |
Type | string |
Must Support | true |
Max Length | 0 |
OperationOutcome.issue.details.text.extension.valueString.id | |
Definition | unique id for the element within a resource (for internal references) |
Control | 0..1 |
Type | id |
OperationOutcome.issue.details.text.extension.valueString.extension | |
Definition | An Extension |
Control | 0..* |
Type | Extension |
OperationOutcome.issue.details.text.extension.valueString.extension ([CanonicalType[http://hl7.org/fhir/StructureDefinition/iso21090-ST-language]]) | |
Definition | The language in which the string is expressed. |
Control | 1..1 |
Type | Extension(language) (Extension Type: code) |
Must Support | true |
Max Length | 0 |
OperationOutcome.issue.details.text.extension.valueString.value | |
Definition | The actual value |
Control | 0..1 |
Max Length | 1048576 |
OperationOutcome.issue.details.text.value | |
Definition | The actual value |
Control | 0..1 |
Max Length | 1048576 |
OperationOutcome.issue.diagnostics | |
Definition | Additional diagnostic information about the issue. Typically, this may be a description of how a value is erroneous, or a stack dump to help trace the issue. |
Control | 0..1 |
Type | string |
Must Support | true |
Comments | Usage Rule: This will contain a detailed technical description of the issue. Conformance Rule: If it is the only piece of error information returned then it must be displayed to the user otherwise display the other error fields and not this one. |
Max Length | 0 |
OperationOutcome.issue.location | |
Definition | The human-readable description of the error, warning or information message. May convey additional details not present in the 'code', but is not intended to be human-processable. |
Control | 0..* |
Type | string |
Must Support | true |
Requirements | Allows systems to highlight or otherwise guide users to elements implicated in issues to allow them to be fixed more easily. |
Comments | The root of the XPath is the resource or bundle that generated OperationOutcome. Each XPath SHALL resolve to a single node. The XPath syntax is used whether the referenced instance is expressed in XML or JSON. Note that expression is being trialed as an alternative to XPath. |
Max Length | 0 |
OperationOutcome.issue.expression | |
Definition | A simple FluentPath limited to element names, repetition indicators and the default child access that identifies one of the elements in the resource that caused this issue to be raised. |
Control | 0..* |
Type | string |
Requirements | Allows systems to highlight or otherwise guide users to elements implicated in issues to allow them to be fixed more easily. |
Comments | The root of the FluentPath is the resource or bundle that generated OperationOutcome. Each FluentPath SHALL resolve to a single node. |
Max Length | 0 |