Package org.hl7.fhir.r4.model
Class OperationOutcome.OperationOutcomeIssueComponent
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.Element
-
- org.hl7.fhir.r4.model.BackboneElement
-
- org.hl7.fhir.r4.model.OperationOutcome.OperationOutcomeIssueComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- OperationOutcome
public static class OperationOutcome.OperationOutcomeIssueComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Enumeration<OperationOutcome.IssueType>codeDescribes the type of the issue.protected CodeableConceptdetailsAdditional details about the error.protected StringTypediagnosticsAdditional diagnostic information about the issue.protected List<StringType>expressionA [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.protected List<StringType>locationThis element is deprecated because it is XML specific.protected Enumeration<OperationOutcome.IssueSeverity>severityIndicates whether the issue indicates a variation from successful processing.-
Fields inherited from class org.hl7.fhir.r4.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description OperationOutcomeIssueComponent()ConstructorOperationOutcomeIssueComponent(Enumeration<OperationOutcome.IssueSeverity> severity, Enumeration<OperationOutcome.IssueType> code)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.BackboneElement
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
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
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
severity
protected Enumeration<OperationOutcome.IssueSeverity> severity
Indicates whether the issue indicates a variation from successful processing.
-
code
protected Enumeration<OperationOutcome.IssueType> code
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.
-
details
protected CodeableConcept details
Additional details about the error. This may be a text description of the error or a system code that identifies the error.
-
diagnostics
protected StringType diagnostics
Additional diagnostic information about the issue.
-
location
protected List<StringType> location
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.
-
expression
protected List<StringType> expression
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.
-
-
Constructor Detail
-
OperationOutcomeIssueComponent
public OperationOutcomeIssueComponent()
Constructor
-
OperationOutcomeIssueComponent
public OperationOutcomeIssueComponent(Enumeration<OperationOutcome.IssueSeverity> severity, Enumeration<OperationOutcome.IssueType> code)
Constructor
-
-
Method Detail
-
getSeverityElement
public Enumeration<OperationOutcome.IssueSeverity> getSeverityElement()
- Returns:
severity(Indicates whether the issue indicates a variation from successful processing.). This is the underlying object with id, value and extensions. The accessor "getSeverity" gives direct access to the value
-
hasSeverityElement
public boolean hasSeverityElement()
-
hasSeverity
public boolean hasSeverity()
-
setSeverityElement
public OperationOutcome.OperationOutcomeIssueComponent setSeverityElement(Enumeration<OperationOutcome.IssueSeverity> value)
- Parameters:
value-severity(Indicates whether the issue indicates a variation from successful processing.). This is the underlying object with id, value and extensions. The accessor "getSeverity" gives direct access to the value
-
getSeverity
public OperationOutcome.IssueSeverity getSeverity()
- Returns:
- Indicates whether the issue indicates a variation from successful processing.
-
setSeverity
public OperationOutcome.OperationOutcomeIssueComponent setSeverity(OperationOutcome.IssueSeverity value)
- Parameters:
value- Indicates whether the issue indicates a variation from successful processing.
-
getCodeElement
public Enumeration<OperationOutcome.IssueType> getCodeElement()
- Returns:
code(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.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value
-
hasCodeElement
public boolean hasCodeElement()
-
hasCode
public boolean hasCode()
-
setCodeElement
public OperationOutcome.OperationOutcomeIssueComponent setCodeElement(Enumeration<OperationOutcome.IssueType> value)
- Parameters:
value-code(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.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value
-
getCode
public OperationOutcome.IssueType getCode()
- Returns:
- 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.OperationOutcomeIssueComponent setCode(OperationOutcome.IssueType value)
- Parameters:
value- 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
public CodeableConcept getDetails()
- Returns:
details(Additional details about the error. This may be a text description of the error or a system code that identifies the error.)
-
hasDetails
public boolean hasDetails()
-
setDetails
public OperationOutcome.OperationOutcomeIssueComponent setDetails(CodeableConcept value)
- Parameters:
value-details(Additional details about the error. This may be a text description of the error or a system code that identifies the error.)
-
getDiagnosticsElement
public StringType getDiagnosticsElement()
- Returns:
diagnostics(Additional diagnostic information about the issue.). This is the underlying object with id, value and extensions. The accessor "getDiagnostics" gives direct access to the value
-
hasDiagnosticsElement
public boolean hasDiagnosticsElement()
-
hasDiagnostics
public boolean hasDiagnostics()
-
setDiagnosticsElement
public OperationOutcome.OperationOutcomeIssueComponent setDiagnosticsElement(StringType value)
- Parameters:
value-diagnostics(Additional diagnostic information about the issue.). This is the underlying object with id, value and extensions. The accessor "getDiagnostics" gives direct access to the value
-
getDiagnostics
public String getDiagnostics()
- Returns:
- Additional diagnostic information about the issue.
-
setDiagnostics
public OperationOutcome.OperationOutcomeIssueComponent setDiagnostics(String value)
- Parameters:
value- Additional diagnostic information about the issue.
-
getLocation
public List<StringType> getLocation()
- Returns:
location(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.)
-
setLocation
public OperationOutcome.OperationOutcomeIssueComponent setLocation(List<StringType> theLocation)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasLocation
public boolean hasLocation()
-
addLocationElement
public StringType addLocationElement()
- Returns:
location(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.)
-
addLocation
public OperationOutcome.OperationOutcomeIssueComponent addLocation(String value)
- Parameters:
value-location(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.)
-
hasLocation
public boolean hasLocation(String value)
- Parameters:
value-location(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.)
-
getExpression
public List<StringType> getExpression()
- Returns:
expression(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.)
-
setExpression
public OperationOutcome.OperationOutcomeIssueComponent setExpression(List<StringType> theExpression)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasExpression
public boolean hasExpression()
-
addExpressionElement
public StringType addExpressionElement()
- Returns:
expression(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.)
-
addExpression
public OperationOutcome.OperationOutcomeIssueComponent addExpression(String value)
- Parameters:
value-expression(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.)
-
hasExpression
public boolean hasExpression(String value)
- Parameters:
value-expression(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.)
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public OperationOutcome.OperationOutcomeIssueComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(OperationOutcome.OperationOutcomeIssueComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-