Class MessageHeader.Response
- 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:
MessageHeader
Definition: Information about the message that this message is a response to. Only present if this message is a response.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<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
<ResponseTypeEnum> Gets the value(s) for code ().Gets the value(s) for details ().Gets the value(s) for identifier ().ca.uhn.fhir.model.primitive.IdDt
Gets the value(s) for identifier ().boolean
isEmpty()
setCode
(ResponseTypeEnum theValue) Sets the value(s) for code ()setCode
(ca.uhn.fhir.model.primitive.BoundCodeDt<ResponseTypeEnum> theValue) Sets the value(s) for code ()setDetails
(ResourceReferenceDt theValue) Sets the value(s) for details ()setIdentifier
(ca.uhn.fhir.model.primitive.IdDt theValue) Sets the value(s) for identifier ()setIdentifier
(String theId) Sets the value for identifier ()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
-
Response
public Response()
-
-
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
-
getIdentifierElement
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull
.Definition: The id of the message that this message is a response to
-
getIdentifier
Gets the value(s) for identifier (). creating it if it does not exist. This method may returnnull
.Definition: The id of the message that this message is a response to
-
setIdentifier
Sets the value(s) for identifier ()Definition: The id of the message that this message is a response to
-
setIdentifier
Sets the value for identifier ()Definition: The id of the message that this message is a response to
-
getCodeElement
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull
.Definition: Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not
-
getCode
Gets the value(s) for code (). creating it if it does not exist. This method may returnnull
.Definition: Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not
-
setCode
public MessageHeader.Response setCode(ca.uhn.fhir.model.primitive.BoundCodeDt<ResponseTypeEnum> theValue) Sets the value(s) for code ()Definition: Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not
-
setCode
Sets the value(s) for code ()Definition: Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not
-
getDetails
Gets the value(s) for details (). creating it if it does not exist. Will not returnnull
.Definition: Full details of any issues found in the message
-
setDetails
Sets the value(s) for details ()Definition: Full details of any issues found in the message
-