public static class OperationOutcome.Issue extends BaseOperationOutcome.BaseIssue implements IResourceBlock
Definition: An error, warning or information message that results from a system action
Constructor and Description |
---|
Issue() |
Modifier and Type | Method and Description |
---|---|
StringDt |
addLocation()
Adds and returns a new value for location ()
|
OperationOutcome.Issue |
addLocation(String theString)
Adds a new value for location ()
|
OperationOutcome.Issue |
addLocation(StringDt theValue)
Adds a given new value for location ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
String |
getCode()
Gets the value(s) for code ().
|
BoundCodeDt<IssueTypeEnum> |
getCodeElement()
Gets the value(s) for code ().
|
CodeableConceptDt |
getDetails()
Gets the value(s) for details ().
|
StringDt |
getDetailsElement()
Deprecated.
Use
getDiagnosticsElement() instead - OperationOutcome.details was renamed to OperationOutcome.diagnostics in DSTU2 and a new OperationOutcome.details codeableconcept element was introduced |
String |
getDiagnostics()
Gets the value(s) for diagnostics ().
|
StringDt |
getDiagnosticsElement()
Gets the value(s) for diagnostics ().
|
List<StringDt> |
getLocation()
Gets the value(s) for location ().
|
StringDt |
getLocationFirstRep()
Gets the first repetition for location (),
creating it if it does not already exist.
|
String |
getSeverity()
Gets the value(s) for severity ().
|
BoundCodeDt<IssueSeverityEnum> |
getSeverityElement()
Gets the value(s) for severity ().
|
boolean |
isEmpty() |
OperationOutcome.Issue |
setCode(BoundCodeDt<IssueTypeEnum> theValue)
Sets the value(s) for code ()
|
OperationOutcome.Issue |
setCode(IssueTypeEnum theValue)
Sets the value(s) for code ()
|
OperationOutcome.Issue |
setDetails(CodeableConceptDt theValue)
Sets the value(s) for details ()
|
BaseOperationOutcome.BaseIssue |
setDetails(String theString)
Deprecated.
Use
setDetails(String) instead - OperationOutcome.details was renamed to OperationOutcome.diagnostics in DSTU2 and a new OperationOutcome.details codeableconcept element was introduced |
OperationOutcome.Issue |
setDiagnostics(String theString)
Sets the value for diagnostics ()
|
OperationOutcome.Issue |
setDiagnostics(StringDt theValue)
Sets the value(s) for diagnostics ()
|
OperationOutcome.Issue |
setLocation(List<StringDt> theValue)
Sets the value(s) for location ()
|
OperationOutcome.Issue |
setSeverity(BoundCodeDt<IssueSeverityEnum> theValue)
Sets the value(s) for severity ()
|
OperationOutcome.Issue |
setSeverity(IssueSeverityEnum theValue)
Sets the value(s) for severity ()
|
getElementSpecificId, getId, setElementSpecificId, setId, setId
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatComment, isBaseEmpty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementSpecificId, getId, setElementSpecificId, setId, setId
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType
in interface ICompositeElement
public BoundCodeDt<IssueSeverityEnum> getSeverityElement()
null
.
Definition: Indicates whether the issue indicates a variation from successful processing
getSeverityElement
in class BaseOperationOutcome.BaseIssue
public String getSeverity()
null
.
Definition: Indicates whether the issue indicates a variation from successful processing
public OperationOutcome.Issue setSeverity(BoundCodeDt<IssueSeverityEnum> theValue)
Definition: Indicates whether the issue indicates a variation from successful processing
public OperationOutcome.Issue setSeverity(IssueSeverityEnum theValue)
Definition: Indicates whether the issue indicates a variation from successful processing
public BoundCodeDt<IssueTypeEnum> getCodeElement()
null
.
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
public String getCode()
null
.
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
public OperationOutcome.Issue setCode(BoundCodeDt<IssueTypeEnum> theValue)
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
public OperationOutcome.Issue setCode(IssueTypeEnum theValue)
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
public CodeableConceptDt getDetails()
null
.
Definition: Additional details about the error. This may be a text description of the error, or a system code that identifies the error
public OperationOutcome.Issue setDetails(CodeableConceptDt theValue)
Definition: Additional details about the error. This may be a text description of the error, or a system code that identifies the error
public StringDt getDiagnosticsElement()
null
.
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.
public String getDiagnostics()
null
.
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.
public OperationOutcome.Issue setDiagnostics(StringDt theValue)
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.
public OperationOutcome.Issue setDiagnostics(String theString)
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
in class BaseOperationOutcome.BaseIssue
public List<StringDt> getLocation()
null
.
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.
public OperationOutcome.Issue setLocation(List<StringDt> theValue)
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.
public StringDt addLocation()
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.
public OperationOutcome.Issue addLocation(StringDt theValue)
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.
theValue
- The location to add (must not be null
)public StringDt getLocationFirstRep()
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.
getLocationFirstRep
in class BaseOperationOutcome.BaseIssue
public OperationOutcome.Issue addLocation(String theString)
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
in class BaseOperationOutcome.BaseIssue
@Deprecated public StringDt getDetailsElement()
getDiagnosticsElement()
instead - OperationOutcome.details was renamed to OperationOutcome.diagnostics in DSTU2 and a new OperationOutcome.details codeableconcept element was introducedgetDetailsElement
in class BaseOperationOutcome.BaseIssue
@Deprecated public BaseOperationOutcome.BaseIssue setDetails(String theString)
setDetails(String)
instead - OperationOutcome.details was renamed to OperationOutcome.diagnostics in DSTU2 and a new OperationOutcome.details codeableconcept element was introducedsetDetails
in class BaseOperationOutcome.BaseIssue
Copyright © 2014–2019 University Health Network. All rights reserved.