public static class OperationOutcome.Issue extends ca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue implements ca.uhn.fhir.model.api.IResourceBlock
Definition: An error, warning or information message that results from a system action
| Constructor and Description |
|---|
Issue() |
| Modifier and Type | Method and Description |
|---|---|
ca.uhn.fhir.model.primitive.StringDt |
addLocation()
Adds and returns a new value for location ()
|
OperationOutcome.Issue |
addLocation(String theString)
Adds a new value for location ()
|
OperationOutcome.Issue |
addLocation(ca.uhn.fhir.model.primitive.StringDt theValue)
Adds a given new value for location ()
|
<T extends ca.uhn.fhir.model.api.IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
String |
getCode()
Gets the value(s) for code ().
|
ca.uhn.fhir.model.primitive.BoundCodeDt<IssueTypeEnum> |
getCodeElement()
Gets the value(s) for code ().
|
CodeableConceptDt |
getDetails()
Gets the value(s) for details ().
|
ca.uhn.fhir.model.primitive.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 ().
|
ca.uhn.fhir.model.primitive.StringDt |
getDiagnosticsElement()
Gets the value(s) for diagnostics ().
|
List<ca.uhn.fhir.model.primitive.StringDt> |
getLocation()
Gets the value(s) for location ().
|
ca.uhn.fhir.model.primitive.StringDt |
getLocationFirstRep()
Gets the first repetition for location (),
creating it if it does not already exist.
|
String |
getSeverity()
Gets the value(s) for severity ().
|
ca.uhn.fhir.model.primitive.BoundCodeDt<IssueSeverityEnum> |
getSeverityElement()
Gets the value(s) for severity ().
|
boolean |
isEmpty() |
OperationOutcome.Issue |
setCode(ca.uhn.fhir.model.primitive.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 ()
|
ca.uhn.fhir.model.base.resource.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(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for diagnostics ()
|
OperationOutcome.Issue |
setLocation(List<ca.uhn.fhir.model.primitive.StringDt> theValue)
Sets the value(s) for location ()
|
OperationOutcome.Issue |
setSeverity(ca.uhn.fhir.model.primitive.BoundCodeDt<IssueSeverityEnum> theValue)
Sets the value(s) for severity ()
|
OperationOutcome.Issue |
setSeverity(IssueSeverityEnum theValue)
Sets the value(s) for severity ()
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatComment, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic Issue()
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElementpublic ca.uhn.fhir.model.primitive.BoundCodeDt<IssueSeverityEnum> getSeverityElement()
null.
Definition: Indicates whether the issue indicates a variation from successful processing
getSeverityElement in class ca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssuepublic String getSeverity()
null.
Definition: Indicates whether the issue indicates a variation from successful processing
public OperationOutcome.Issue setSeverity(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssuepublic List<ca.uhn.fhir.model.primitive.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<ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssuepublic 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 ca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue@Deprecated public ca.uhn.fhir.model.primitive.StringDt getDetailsElement()
getDiagnosticsElement() instead - OperationOutcome.details was renamed to OperationOutcome.diagnostics in DSTU2 and a new OperationOutcome.details codeableconcept element was introducedgetDetailsElement in class ca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue@Deprecated public ca.uhn.fhir.model.base.resource.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 ca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssueCopyright © 2014–2018 University Health Network. All rights reserved.