{ "description": "A collection of error, warning, or information messages that result from a system action.", "_filename": "OperationOutcome.json", "package_name": "hl7.fhir.r4.id.core", "date": "2022-01-10T02:19:13.3646282+00:00", "derivation": "specialization", "meta": { "lastUpdated": "2022-01-10T02:20:57.360+00:00" }, "publisher": "Health Level Seven International (FHIR Infrastructure)", "fhirVersion": "4.0.1", "name": "OperationOutcome", "mapping": [ { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" }, { "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping", "identity": "v2" } ], "abstract": false, "type": "OperationOutcome", "experimental": null, "resourceType": "StructureDefinition", "title": null, "package_version": "0.1.0", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Foundation.Other" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 5 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "fhir" } ], "status": "active", "id": "19eb36ab-dc17-40f3-a622-60234bc730ec", "kind": "resource", "url": "https://fhir.kemkes.go.id/r4/StructureDefinition/OperationOutcome", "version": "4.0.1", "differential": { "element": [ { "id": "OperationOutcome", "path": "OperationOutcome", "short": "Information about the success/failure of an action", "comment": "Can result from the failure of a REST call or be part of the response message returned from a request message.", "mapping": [ { "map": "Grouping is handled through multiple repetitions from whatever context references the outcomes (no specific grouper required)", "identity": "rim" } ], "definition": "A collection of error, warning, or information messages that result from a system action." }, { "id": "OperationOutcome.issue", "min": 1, "path": "OperationOutcome.issue", "type": [ { "code": "BackboneElement" } ], "short": "A single issue associated with the action", "mapping": [ { "map": "ERR", "identity": "v2" }, { "map": "AcknowledgementDetail or Observation[classCode=\"ALRT\" and moodCode=\"EVN\"]", "identity": "rim" } ], "isSummary": true, "definition": "An error, warning, or information message that results from a system action." }, { "path": "OperationOutcome.issue.severity", "requirements": "Indicates how relevant the issue is to the overall success of the action.", "min": 1, "definition": "Indicates whether the issue indicates a variation from successful processing.", "short": "fatal | error | warning | information", "mapping": [ { "map": "ERR-4", "identity": "v2" }, { "map": "./typeCode[parent::AcknowledgmentDetail] or unique(./inboundRelationship[parent::Observation and typeCode='SUBJ' and isNormalActRelationship()]/source[classCode=\"OBS\" and moodCode=\"EVN\" and implies(code, ActCode#SEV and isNormalAct())/value[xsi:type=\"CD\"]", "identity": "rim" } ], "type": [ { "code": "code" } ], "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/issue-severity|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "IssueSeverity" } ], "description": "How the issue affects the success of the action." }, "max": "1", "id": "OperationOutcome.issue.severity", "comment": "This is labeled as \"Is Modifier\" because applications should not confuse hints and warnings with errors.", "isSummary": true }, { "path": "OperationOutcome.issue.code", "requirements": "Expresses the issue in a human and computer-friendly way, allowing the requesting system to behave differently based on the type of issue.\n\nThe required element provides a base level of computable interoperability across all systems for processing an outcome, allowing systems to respond appropriately regardless of the internal system error codes returned.", "min": 1, "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.", "short": "Error or warning code", "mapping": [ { "map": "ERR-3", "identity": "v2" }, { "map": "./code", "identity": "rim" } ], "type": [ { "code": "code" } ], "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/issue-type|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "IssueType" } ], "description": "A code that describes the type of issue." }, "max": "1", "id": "OperationOutcome.issue.code", "isSummary": true }, { "path": "OperationOutcome.issue.details", "definition": "Additional details about the error. This may be a text description of the error or a system code that identifies the error.", "short": "Additional details about the error", "mapping": [ { "map": "ERR-5", "identity": "v2" }, { "map": "./code", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/operation-outcome", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "IssueDetails" } ], "description": "A code that provides details as the exact issue." }, "max": "1", "id": "OperationOutcome.issue.details", "comment": "A human readable description of the error issue SHOULD be placed in details.text.", "isSummary": true }, { "path": "OperationOutcome.issue.diagnostics", "definition": "Additional diagnostic information about the issue.", "short": "Additional diagnostic information about the issue", "mapping": [ { "map": "ERR-8", "identity": "v2" }, { "map": "./text[parent::AcknowledgmentDetail]", "identity": "rim" } ], "type": [ { "code": "string" } ], "max": "1", "id": "OperationOutcome.issue.diagnostics", "comment": "This may be a description of how a value is erroneous, a stack dump to help trace the issue or other troubleshooting information.", "isSummary": true }, { "path": "OperationOutcome.issue.location", "requirements": "Allows systems to highlight or otherwise guide users to elements implicated in issues to allow them to be fixed more easily.", "definition": "This element is deprecated because it is XML specific. It is replaced by issue.expression, which is format independent, and simpler to parse. \n\nFor resource issues, this will be a simple XPath limited to element names, repetition indicators and the default child accessor that identifies one of the elements in the resource that caused this issue to be raised. For HTTP errors, will be \"http.\" + the parameter name.", "short": "Deprecated: Path of element(s) related to issue", "mapping": [ { "map": "ERR-2", "identity": "v2" }, { "map": "./location[parent::AcknowledgmentDetail]", "identity": "rim" } ], "type": [ { "code": "string" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "deprecated" } ], "id": "OperationOutcome.issue.location", "comment": "The root of the XPath is the resource or bundle that generated OperationOutcome. Each XPath SHALL resolve to a single node. This element is deprecated, and is being replaced by expression.", "isSummary": true }, { "path": "OperationOutcome.issue.expression", "requirements": "Allows systems to highlight or otherwise guide users to elements implicated in issues to allow them to be fixed more easily.", "definition": "A [simple subset of FHIRPath](fhirpath.html#simple) limited to element names, repetition indicators and the default child accessor that identifies one of the elements in the resource that caused this issue to be raised.", "short": "FHIRPath of element(s) related to issue", "mapping": [ { "map": "ERR-2", "identity": "v2" }, { "map": "./location[parent::AcknowledgmentDetail]", "identity": "rim" } ], "type": [ { "code": "string" } ], "id": "OperationOutcome.issue.expression", "comment": "The root of the FHIRPath is the resource or bundle that generated OperationOutcome. Each FHIRPath SHALL resolve to a single node.", "isSummary": true } ] }, "contact": [ { "telecom": [ { "value": "http://hl7.org/fhir", "system": "url" } ] }, { "telecom": [ { "value": "http://www.hl7.org/Special/committees/fiwg/index.cfm", "system": "url" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource" }