private IClientExecutable<IOperationUntypedWithInput<Parameters>, ?> getClientExecutable(IGenericClient client, Parameters requestData) { return client.operation() .onType(Patient.class) .named(Iti83Constants.PIXM_OPERATION_NAME) .withParameters(requestData) .useHttpGet(); } }
private IClientExecutable<IOperationUntypedWithInput<Parameters>, ?> getClientExecutable(IGenericClient client, Parameters requestData) { return client.operation() .onType(Patient.class) .named(Iti83Constants.PIXM_OPERATION_NAME) .withParameters(requestData) .useHttpGet(); } }
/** * Perform the operation across all versions of all resources of the given type on the server * * @param resourceType The resource type to operate on * @param name Operation name * @param parameters The parameters to use as input. May also be <code>null</code> if the operation * does not require any input parameters. * @param outputParameterType The type to use for the output parameters (this should be set to * <code>Parameters.class</code> drawn from the version of the FHIR structures you are using), may be NULL * @param useHttpGet use HTTP GET verb * @param returnType If this operation returns a single resource body as its return type instead of a <code>Parameters</code> * resource, use this method to specify that resource type. This is useful for certain * operations (e.g. <code>Patient/NNN/$everything</code>) which return a bundle instead of * a Parameters resource, may be NULL * @param extraParameters see {@link ExtraParameters} for a full list of parameters that can be passed, may be NULL * @param <T> extends {@link IBaseParameters} * @return the {@link IBaseResource} */ public <T extends IBaseParameters> IBaseResource onType(Class<IBaseResource> resourceType, String name, T parameters, Class<T> outputParameterType, boolean useHttpGet, Class<IBaseResource> returnType, Map<ExtraParameters, Object> extraParameters) { IOperationUnnamed operationUnnamed = client.operation().onType(resourceType); IOperationUntypedWithInput<? extends IBaseResource> operationUntypedWithInput = processNamedOperationParameters( name, parameters, outputParameterType, useHttpGet, returnType, extraParameters, operationUnnamed); return operationUntypedWithInput.execute(); }
protected Parameters sendManuallyOnType(Parameters queryParameters) { Parameters result = client.operation() .onType(Patient.class) .named(Iti83Constants.PIXM_OPERATION_NAME) .withParameters(queryParameters) .useHttpGet() .execute(); return result; }
protected Parameters sendManuallyOnType(Parameters queryParameters) { Parameters result = client.operation() .onType(Patient.class) .named(Iti83Constants.PIXM_OPERATION_NAME) .withParameters(queryParameters) .useHttpGet() .execute(); return result; }