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
    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
    • Method Detail

      • 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

        public String 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

      • getCodeElement

        public ca.uhn.fhir.model.primitive.BoundCodeDt<ResponseTypeEnumgetCodeElement()
        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

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

        Definition: Full details of any issues found in the message