Interface IOperation

    • Method Detail

      • processMessage

        IOperationProcessMsg processMessage()
        This operation is called $process-message as defined by the FHIR specification.

        Usage :
         Bundle response = client
         .operation()
         .processMessage()
         .synchronous(Bundle.class)
         .setResponseUrlParam("http://myserver/fhir")
         .setMessageBundle(msgBundle)
         .execute();
        
         //if you want to send an async message
        
         OperationOutcome response = client
         .operation()
         .processMessage()
         .asynchronous(OperationOutcome.class)
         .setResponseUrlParam("http://myserver/fhir")
         .setMessageBundle(msgBundle)
         .execute();
        
         
        Returns:
        An interface that defines the operation related to sending Messages to a Messaging Server
        See Also:
        2.4 Messaging using FHIR Resources