Interface IOperationUntyped

    • Method Detail

      • withNoParameters

        <T extends IBaseParametersIOperationUntypedWithInput<T> withNoParameters​(Class<T> theOutputParameterType)
        The operation does not require any input parameters
        Parameters:
        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)
      • withParameter

        <T extends IBaseParametersIOperationUntypedWithInputAndPartialOutput<T> withParameter​(Class<T> theParameterType,
                                                                                                String theName,
                                                                                                IBase theValue)
        Use chained method calls to construct a Parameters input. This form is a convenience in order to allow simple method chaining to be used to build up a parameters resource for the input of an operation without needing to manually construct one.

        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();
         

        Parameters:
        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 name
        theValue - The first parameter value
      • withSearchParameter

        <T extends IBaseParametersIOperationUntypedWithInputAndPartialOutput<T> withSearchParameter​(Class<T> theParameterType,
                                                                                                      String theName,
                                                                                                      IQueryParameterType theValue)
        Use chained method calls to construct a Parameters input. This form is a convenience in order to allow simple method chaining to be used to build up a parameters resource for the input of an operation without needing to manually construct one.
        Parameters:
        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 name
        theValue - The first parameter value