public interface IOperationUntyped
| Modifier and Type | Method and Description |
|---|---|
<T extends IBaseParameters> |
withNoParameters(Class<T> theOutputParameterType)
The operation does not require any input parameters
|
<T extends IBaseParameters> |
withParameter(Class<T> theParameterType,
String theName,
IBase theValue)
Use chained method calls to construct a Parameters input.
|
<T extends IBaseParameters> |
withParameters(T theParameters)
Use the given parameters resource as the input to the operation
|
<T extends IBaseParameters> |
withSearchParameter(Class<T> theParameterType,
String theName,
IQueryParameterType theValue)
Use chained method calls to construct a Parameters input.
|
<T extends IBaseParameters> IOperationUntypedWithInput<T> withParameters(T theParameters)
theParameters - The parameters to use as input. May also be null if the operation
does not require any input parameters.<T extends IBaseParameters> IOperationUntypedWithInput<T> withNoParameters(Class<T> theOutputParameterType)
theOutputParameterType - The type to use for the output parameters (this should be set to
Parameters.class drawn from the version of the FHIR structures you are using)<T extends IBaseParameters> IOperationUntypedWithInputAndPartialOutput<T> withParameter(Class<T> theParameterType, String theName, IBase theValue)
A sample invocation of this class could look like:
Bundle bundle = client.operation()
.onInstance(new IdType("Patient/A161443"))
.named("everything")
.withParameter(Parameters.class, "_count", new IntegerType(50))
.useHttpGet()
.returnResourceType(Bundle.class)
.execute();
theParameterType - The type to use for the output parameters (this should be set to
Parameters.class drawn from the version of the FHIR structures you are using)theName - The first parameter nametheValue - The first parameter value<T extends IBaseParameters> IOperationUntypedWithInputAndPartialOutput<T> withSearchParameter(Class<T> theParameterType, String theName, IQueryParameterType theValue)
theParameterType - The type to use for the output parameters (this should be set to
Parameters.class drawn from the version of the FHIR structures you are using)theName - The first parameter nametheValue - The first parameter valueCopyright © 2014–2017 University Health Network. All rights reserved.