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 Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.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 interface ca.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 return null.

      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 return null.

      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

      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 return null.

      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 return null.

      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 return null.

      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