Tabnine Logo
IOperationUntypedWithInputAndPartialOutput.useHttpGet
Code IndexAdd Tabnine to your IDE (free)

How to use
useHttpGet
method
in
ca.uhn.fhir.rest.gclient.IOperationUntypedWithInputAndPartialOutput

Best Java code snippets using ca.uhn.fhir.rest.gclient.IOperationUntypedWithInputAndPartialOutput.useHttpGet (Showing top 6 results out of 315)

origin: jamesagnew/hapi-fhir

@SuppressWarnings("unused")
private static void operationHttpGet() {
 // START SNIPPET: operationHttpGet
 // Create a client to talk to the HeathIntersections server
 FhirContext ctx = FhirContext.forDstu2();
 IGenericClient client = ctx.newRestfulGenericClient("http://fhir-dev.healthintersections.com.au/open");
 client.registerInterceptor(new LoggingInterceptor(true));
 
 // Create the input parameters to pass to the server
 Parameters inParams = new Parameters();
 inParams.addParameter().setName("start").setValue(new DateDt("2001-01-01"));
 inParams.addParameter().setName("end").setValue(new DateDt("2015-03-01"));
 
 // Invoke $everything on "Patient/1"
 Parameters outParams = client
   .operation()
   .onInstance(new IdDt("Patient", "1"))
   .named("$everything")
   .withParameters(inParams)
   .useHttpGet() // Use HTTP GET instead of POST
   .execute();
 // END SNIPPET: operationHttpGet
}
origin: org.openehealth.ipf.commons/ipf-commons-ihe-fhir-r4-pixpdq

  private IClientExecutable<IOperationUntypedWithInput<Parameters>, ?> getClientExecutable(IGenericClient client, Parameters requestData) {
    return client.operation()
        .onType(Patient.class)
        .named(Iti83Constants.PIXM_OPERATION_NAME)
        .withParameters(requestData)
        .useHttpGet();
  }
}
origin: org.openehealth.ipf.platform-camel/ipf-platform-camel-ihe-fhir-dstu2-pixpdq

protected Parameters sendManuallyOnType(Parameters queryParameters) {
  Parameters result = client.operation()
      .onType(Patient.class)
      .named(Iti83Constants.PIXM_OPERATION_NAME)
      .withParameters(queryParameters)
      .useHttpGet()
      .execute();
  return result;
}
origin: org.openehealth.ipf.platform-camel/ipf-platform-camel-ihe-fhir-stu3-pixpdq

protected Parameters sendManuallyOnType(Parameters queryParameters) {
  Parameters result = client.operation()
      .onType(Patient.class)
      .named(Iti83Constants.PIXM_OPERATION_NAME)
      .withParameters(queryParameters)
      .useHttpGet()
      .execute();
  return result;
}
origin: org.openehealth.ipf.platform-camel/ipf-platform-camel-ihe-fhir-dstu2-pixpdq

protected Parameters sendManuallyOnInstance(String resourceId, Parameters queryParameters) {
  Parameters result = client.operation()
      .onInstance(new IdType("Patient", resourceId))
      .named(Iti83Constants.PIXM_OPERATION_NAME)
      .withParameters(queryParameters)
      .useHttpGet()
      .execute();
  return result;
}
origin: org.openehealth.ipf.platform-camel/ipf-platform-camel-ihe-fhir-stu3-pixpdq

protected Parameters sendManuallyOnInstance(String resourceId, Parameters queryParameters) {
  Parameters result = client.operation()
      .onInstance(new IdType("Patient", resourceId))
      .named(Iti83Constants.PIXM_OPERATION_NAME)
      .withParameters(queryParameters)
      .useHttpGet()
      .execute();
  return result;
}
ca.uhn.fhir.rest.gclientIOperationUntypedWithInputAndPartialOutputuseHttpGet

Popular methods of IOperationUntypedWithInputAndPartialOutput

  • execute

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (ScheduledExecutorService)
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Path (java.nio.file)
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now