import { CodeableConcept } from './CodeableConcept.js';
import { Extension } from './Extension.js';
import { FhirPrimitive } from './FhirPrimitive.js';
export interface OperationOutcome_Issue {
    /**
     * @description Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
     * @short Unique id for inter-element referencing
     */
    id?: string;
    /**
     * @description May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
     * @comment 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.
     * @short Additional content defined by implementations
     */
    extension?: Extension[];
    /**
     * @description 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 in which it is contained andor the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.
  
  Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
     * @comment 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.
     * @short Extensions that cannot be ignored even if unrecognized
     */
    modifierExtension?: Extension[];
    /**
     * @description Indicates whether the issue indicates a variation from successful processing.
     * @short fatal | error | warning | information | success
     */
    severity: FhirPrimitive<string>;
    /**
     * @description 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.
     * @comment Code values should align with the severity.  For example, a code of ```forbidden``` generally wouldn't make sense with a severity of ```information``` or ```warning```.  Similarly, a code of ```informational``` would generally not make sense with a severity of ```fatal``` or ```error```.  However, there are no strict rules about what severities must be used with which codes.  For example, ```code-invalid``` might be a ```warning``` or ```error```, depending on the context
     * @short Error or warning code
     */
    code: FhirPrimitive<string>;
    /**
     * @description Additional details about the error. This may be a text description of the error or a system code that identifies the error.
     * @comment A human readable description of the error issue SHOULD be placed in details.text.
     * @short Additional details about the error
     */
    details?: CodeableConcept;
    /**
     * @description Additional diagnostic information about the issue.
     * @comment This may be a description of how a value is erroneous, a stack dump to help trace the issue or other troubleshooting information.
     * @short Additional diagnostic information about the issue
     */
    diagnostics?: FhirPrimitive<string>;
    /**
     * @description This element is deprecated because it is XML specific. It is replaced by issue.expression, which is format independent, and simpler to parse.
  
  For 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.
     * @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.
     * @short Deprecated: Path of element(s) related to issue
     */
    location?: FhirPrimitive<string>[];
    /**
     * @description 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.
     * @comment The root of the FHIRPath is the resource or bundle that generated OperationOutcome.  Each FHIRPath SHALL resolve to a single node.
     * @short FHIRPath of element(s) related to issue
     */
    expression?: FhirPrimitive<string>[];
}
//# sourceMappingURL=OperationOutcome_Issue.d.ts.map