
Package ca.uhn.fhir.rest.gclient
Interface IOperation
-
- All Superinterfaces:
IBaseOn<IOperationUnnamed>
public interface IOperation extends IBaseOn<IOperationUnnamed>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IOperationUnnamed
onInstanceVersion(IIdType theId)
This operation operates on a specific version of a resourceIOperationProcessMsg
processMessage()
-
Methods inherited from interface ca.uhn.fhir.rest.gclient.IBaseOn
onInstance, onInstance, onServer, onType, onType
-
-
-
-
Method Detail
-
onInstanceVersion
IOperationUnnamed onInstanceVersion(IIdType theId)
This operation operates on a specific version of a resource
-
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
-
-