
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
public static class MessageHeader.Response extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Definition: Information about the message that this message is a response to. Only present if this message is a response.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Response()
-
Method Summary
Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)
String
getCode()
Gets the value(s) for code ().ca.uhn.fhir.model.primitive.BoundCodeDt<ResponseTypeEnum>
getCodeElement()
Gets the value(s) for code ().ResourceReferenceDt
getDetails()
Gets the value(s) for details ().String
getIdentifier()
Gets the value(s) for identifier ().ca.uhn.fhir.model.primitive.IdDt
getIdentifierElement()
Gets the value(s) for identifier ().boolean
isEmpty()
MessageHeader.Response
setCode(ResponseTypeEnum theValue)
Sets the value(s) for code ()MessageHeader.Response
setCode(ca.uhn.fhir.model.primitive.BoundCodeDt<ResponseTypeEnum> theValue)
Sets the value(s) for code ()MessageHeader.Response
setDetails(ResourceReferenceDt theValue)
Sets the value(s) for details ()MessageHeader.Response
setIdentifier(ca.uhn.fhir.model.primitive.IdDt theValue)
Sets the value(s) for identifier ()MessageHeader.Response
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
-