Class OperationOutcome.Issue
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
OperationOutcome
Definition: An error, warning or information message that results from a system action
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.model.primitive.StringDt
Adds and returns a new value for location ()addLocation
(ca.uhn.fhir.model.primitive.StringDt theValue) Adds a given new value for location ()addLocation
(String theString) Adds a new value for location ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getCode()
Gets the value(s) for code ().ca.uhn.fhir.model.primitive.BoundCodeDt
<IssueTypeEnum> Gets the value(s) for code ().Gets the value(s) for details ().ca.uhn.fhir.model.primitive.StringDt
Deprecated.Gets the value(s) for diagnostics ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for diagnostics ().List
<ca.uhn.fhir.model.primitive.StringDt> Gets the value(s) for location ().ca.uhn.fhir.model.primitive.StringDt
Gets the first repetition for location (), creating it if it does not already exist.Gets the value(s) for severity ().ca.uhn.fhir.model.primitive.BoundCodeDt
<IssueSeverityEnum> Gets the value(s) for severity ().boolean
isEmpty()
setCode
(IssueTypeEnum theValue) Sets the value(s) for code ()setCode
(ca.uhn.fhir.model.primitive.BoundCodeDt<IssueTypeEnum> theValue) Sets the value(s) for code ()setDetails
(CodeableConceptDt theValue) Sets the value(s) for details ()ca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue
setDetails
(String theString) Deprecated.UsesetDetails(String)
instead - OperationOutcome.details was renamed to OperationOutcome.diagnostics in DSTU2 and a new OperationOutcome.details codeableconcept element was introducedsetDiagnostics
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for diagnostics ()setDiagnostics
(String theString) Sets the value for diagnostics ()setLocation
(List<ca.uhn.fhir.model.primitive.StringDt> theValue) Sets the value(s) for location ()setSeverity
(IssueSeverityEnum theValue) Sets the value(s) for severity ()setSeverity
(ca.uhn.fhir.model.primitive.BoundCodeDt<IssueSeverityEnum> theValue) Sets the value(s) for severity ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Issue
public Issue()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getSeverityElement
Gets the value(s) for severity (). creating it if it does not exist. Will not returnnull
.Definition: Indicates whether the issue indicates a variation from successful processing
- Specified by:
getSeverityElement
in classca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue
-
getSeverity
Gets the value(s) for severity (). creating it if it does not exist. This method may returnnull
.Definition: Indicates whether the issue indicates a variation from successful processing
-
setSeverity
public OperationOutcome.Issue setSeverity(ca.uhn.fhir.model.primitive.BoundCodeDt<IssueSeverityEnum> theValue) Sets the value(s) for severity ()Definition: Indicates whether the issue indicates a variation from successful processing
-
setSeverity
Sets the value(s) for severity ()Definition: Indicates whether the issue indicates a variation from successful processing
-
getCodeElement
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull
.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
-
getCode
Gets the value(s) for code (). creating it if it does not exist. This method may returnnull
.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
-
setCode
public OperationOutcome.Issue setCode(ca.uhn.fhir.model.primitive.BoundCodeDt<IssueTypeEnum> theValue) Sets the value(s) for 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
-
setCode
Sets the value(s) for 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
-
getDetails
Gets the value(s) for details (). creating it if it does not exist. Will not returnnull
.Definition: Additional details about the error. This may be a text description of the error, or a system code that identifies the error
-
setDetails
Sets the value(s) for details ()Definition: Additional details about the error. This may be a text description of the error, or a system code that identifies the error
-
getDiagnosticsElement
Gets the value(s) for diagnostics (). creating it if it does not exist. Will not returnnull
.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.
-
getDiagnostics
Gets the value(s) for diagnostics (). creating it if it does not exist. This method may returnnull
.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.
-
setDiagnostics
Sets the value(s) for 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.
-
setDiagnostics
Sets the value for 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.
- Specified by:
setDiagnostics
in classca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue
-
getLocation
Gets the value(s) for location (). creating it if it does not exist. Will not returnnull
.Definition: A simple XPath 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.
-
setLocation
Sets the value(s) for location ()Definition: A simple XPath 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.
-
addLocation
Adds and returns a new value for location ()Definition: A simple XPath 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.
-
addLocation
Adds a given new value for location ()Definition: A simple XPath 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.
- Parameters:
theValue
- The location to add (must not benull
)
-
getLocationFirstRep
Gets the first repetition for location (), creating it if it does not already exist.Definition: A simple XPath 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.
- Specified by:
getLocationFirstRep
in classca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue
-
addLocation
Adds a new value for location ()Definition: A simple XPath 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.
- Specified by:
addLocation
in classca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue
- Returns:
- Returns a reference to this object, to allow for simple chaining.
-
getDetailsElement
Deprecated.UsegetDiagnosticsElement()
instead - OperationOutcome.details was renamed to OperationOutcome.diagnostics in DSTU2 and a new OperationOutcome.details codeableconcept element was introduced- Specified by:
getDetailsElement
in classca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue
-
setDetails
@Deprecated public ca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue setDetails(String theString) Deprecated.UsesetDetails(String)
instead - OperationOutcome.details was renamed to OperationOutcome.diagnostics in DSTU2 and a new OperationOutcome.details codeableconcept element was introduced- Specified by:
setDetails
in classca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue
-
getDiagnosticsElement()
instead - OperationOutcome.details was renamed to OperationOutcome.diagnostics in DSTU2 and a new OperationOutcome.details codeableconcept element was introduced