Class MessageHeader.Response
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
Block class for child element: MessageHeader.response ()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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetCode()Gets the value(s) for code ().ca.uhn.fhir.model.primitive.BoundCodeDt<ResponseTypeEnum>getCodeElement()Gets the value(s) for code ().ResourceReferenceDtgetDetails()Gets the value(s) for details ().StringgetIdentifier()Gets the value(s) for identifier ().ca.uhn.fhir.model.primitive.IdDtgetIdentifierElement()Gets the value(s) for identifier ().booleanisEmpty()MessageHeader.ResponsesetCode(ResponseTypeEnum theValue)Sets the value(s) for code ()MessageHeader.ResponsesetCode(ca.uhn.fhir.model.primitive.BoundCodeDt<ResponseTypeEnum> theValue)Sets the value(s) for code ()MessageHeader.ResponsesetDetails(ResourceReferenceDt theValue)Sets the value(s) for details ()MessageHeader.ResponsesetIdentifier(ca.uhn.fhir.model.primitive.IdDt theValue)Sets the value(s) for identifier ()MessageHeader.ResponsesetIdentifier(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
-
-
-
-
Constructor Detail
-
Response
public Response()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifierElement
public ca.uhn.fhir.model.primitive.IdDt 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
public String 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
public MessageHeader.Response setIdentifier(ca.uhn.fhir.model.primitive.IdDt theValue)
Sets the value(s) for identifier ()Definition: The id of the message that this message is a response to
-
setIdentifier
public MessageHeader.Response setIdentifier(String theId)
Sets the value for identifier ()Definition: The id of the message that this message is a response to
-
getCodeElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<ResponseTypeEnum> 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
public String 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
public MessageHeader.Response setCode(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
-
getDetails
public ResourceReferenceDt 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
public MessageHeader.Response setDetails(ResourceReferenceDt theValue)
Sets the value(s) for details ()Definition: Full details of any issues found in the message
-
-