Profiles & Operations > Structure Definition: OperationOutcome Profile
Profile: OperationOutcome
Canonical URL: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-operationoutcome
Simplifier project page: MHA OperationOutcome
Derived from: OperationOutcome (R4)
Formal Views of Profile Content
Description of Profiles, Differentials, Snapshots and how the different presentations work
Differential View
| OperationOutcome | C | OperationOutcome | |
| id | Σ | 0..1 | id |
| meta | Σ | 0..1 | Meta |
| implicitRules | Σ ?! | 0..1 | uri |
| language | 0..1 | codeBinding | |
| text | 0..1 | Narrative | |
| contained | 0..* | Resource | |
| extension | C | 0..* | Extension |
| modifierExtension | ?! C | 0..* | Extension |
| issue | S Σ | 1..* | BackboneElement |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| modifierExtension | Σ ?! C | 0..* | Extension |
| severity | S Σ | 1..1 | codeBinding |
| code | S Σ | 1..1 | codeBinding |
| details | S Σ | 0..1 | CodeableConcept |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| coding | S Σ | 0..1 | Coding |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| system | S Σ | 0..1 | uri |
| version | Σ | 0..1 | string |
| code | S Σ | 0..1 | code |
| display | S Σ | 0..1 | string |
| userSelected | Σ | 0..1 | boolean |
| text | Σ | 0..1 | string |
| diagnostics | S Σ | 0..1 | string |
| location | Σ | 0..* | string |
| expression | S Σ | 0..* | string |
Hybrid View
| OperationOutcome | C | OperationOutcome | |
| id | Σ | 0..1 | id |
| meta | Σ | 0..1 | Meta |
| implicitRules | Σ ?! | 0..1 | uri |
| language | 0..1 | codeBinding | |
| text | 0..1 | Narrative | |
| contained | 0..* | Resource | |
| extension | C | 0..* | Extension |
| modifierExtension | ?! C | 0..* | Extension |
| issue | S Σ | 1..* | BackboneElement |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| modifierExtension | Σ ?! C | 0..* | Extension |
| severity | S Σ | 1..1 | codeBinding |
| code | S Σ | 1..1 | codeBinding |
| details | S Σ | 0..1 | CodeableConcept |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| coding | S Σ | 0..1 | Coding |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| system | S Σ | 0..1 | uri |
| version | Σ | 0..1 | string |
| code | S Σ | 0..1 | code |
| display | S Σ | 0..1 | string |
| userSelected | Σ | 0..1 | boolean |
| text | Σ | 0..1 | string |
| diagnostics | S Σ | 0..1 | string |
| location | Σ | 0..* | string |
| expression | S Σ | 0..* | string |
Snapshot View
| OperationOutcome | C | OperationOutcome | |
| id | Σ | 0..1 | id |
| meta | Σ | 0..1 | Meta |
| implicitRules | Σ ?! | 0..1 | uri |
| language | 0..1 | codeBinding | |
| text | 0..1 | Narrative | |
| contained | 0..* | Resource | |
| extension | C | 0..* | Extension |
| modifierExtension | ?! C | 0..* | Extension |
| issue | S Σ | 1..* | BackboneElement |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| modifierExtension | Σ ?! C | 0..* | Extension |
| severity | S Σ | 1..1 | codeBinding |
| code | S Σ | 1..1 | codeBinding |
| details | S Σ | 0..1 | CodeableConcept |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| coding | S Σ | 0..1 | Coding |
| id | 0..1 | string | |
| extension | C | 0..* | Extension |
| system | S Σ | 0..1 | uri |
| version | Σ | 0..1 | string |
| code | S Σ | 0..1 | code |
| display | S Σ | 0..1 | string |
| userSelected | Σ | 0..1 | boolean |
| text | Σ | 0..1 | string |
| diagnostics | S Σ | 0..1 | string |
| location | Σ | 0..* | string |
| expression | S Σ | 0..* | string |
Table View
| OperationOutcome | 0..* | |
| OperationOutcome.id | string | 0..1 |
| OperationOutcome.meta | Meta | 0..1 |
| OperationOutcome.implicitRules | uri | 0..1 |
| OperationOutcome.language | code | 0..1 |
| OperationOutcome.text | Narrative | 0..1 |
| OperationOutcome.contained | Resource | 0..* |
| OperationOutcome.extension | Extension | 0..* |
| OperationOutcome.modifierExtension | Extension | 0..* |
| OperationOutcome.issue | BackboneElement | 1..* |
| OperationOutcome.issue.id | string | 0..1 |
| OperationOutcome.issue.extension | Extension | 0..* |
| OperationOutcome.issue.modifierExtension | Extension | 0..* |
| OperationOutcome.issue.severity | code | 1..1 |
| OperationOutcome.issue.code | code | 1..1 |
| OperationOutcome.issue.details | CodeableConcept | 0..1 |
| OperationOutcome.issue.details.id | string | 0..1 |
| OperationOutcome.issue.details.extension | Extension | 0..* |
| OperationOutcome.issue.details.coding | Coding | 0..1 |
| OperationOutcome.issue.details.coding.id | string | 0..1 |
| OperationOutcome.issue.details.coding.extension | Extension | 0..* |
| OperationOutcome.issue.details.coding.system | uri | 0..1 |
| OperationOutcome.issue.details.coding.version | string | 0..1 |
| OperationOutcome.issue.details.coding.code | code | 0..1 |
| OperationOutcome.issue.details.coding.display | string | 0..1 |
| OperationOutcome.issue.details.coding.userSelected | boolean | 0..1 |
| OperationOutcome.issue.details.text | string | 0..1 |
| OperationOutcome.issue.diagnostics | string | 0..1 |
| OperationOutcome.issue.location | string | 0..* |
| OperationOutcome.issue.expression | string | 0..* |
JSON View
Usage
The OperationOutcome resource is returned if an error or warning is generated when processing the query. It contains information that user can use to troubleshoot. For this project, the OperationOutcome profile is designed exclusively for validation and processing errors encountered during POST requests (data submission). Servers must return an OperationOutcome conforming to this profile whenever a submission fails validation.
See Response Handling for more information.
Notes
.issue.severity
- SHALL contain a code indicating the severity of the issue, e.g. error, fatal, warning, etc
.issue.code
- SHALL contain a code indicating the nature of the issue. Systems MAY create logic based on the specific code returned.
.issue.details.text
- SHALL contain a detailed description of the issue. This content should always be displayed to the user.