Package ca.uhn.fhir.rest.gclient
Interface IOperation
- All Superinterfaces:
IBaseOn<IOperationUnnamed>
-
Method Summary
Modifier and TypeMethodDescriptiononInstanceVersion
(IIdType theId) This operation operates on a specific version of a resourceMethods inherited from interface ca.uhn.fhir.rest.gclient.IBaseOn
onInstance, onInstance, onServer, onType, onType
-
Method Details
-
onInstanceVersion
This operation operates on a specific version of a resource
-
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:
-