Tabnine Logo
IHistory.onInstance
Code IndexAdd Tabnine to your IDE (free)

How to use
onInstance
method
in
ca.uhn.fhir.rest.gclient.IHistory

Best Java code snippets using ca.uhn.fhir.rest.gclient.IHistory.onInstance (Showing top 2 results out of 315)

origin: jamesagnew/hapi-fhir

.onInstance(new IdType("Patient/123"))
.andReturnBundle(Bundle.class)
.preferResponseType(MyPatient.class)
origin: org.apache.camel/camel-fhir-api

/**
 * Perform the operation across all versions of a specific resource (by ID and type) on the server.
 * Note that <code>theId</code> must be populated with both a resource type and a resource ID at
 * a minimum.
 * @param id the {@link IIdType} which must be populated with both a resource type and a resource ID at
 * @param returnType Request that the method return a Bundle resource (such as <code>ca.uhn.fhir.model.dstu2.resource.Bundle</code>).
 *                Use this method if you are accessing a DSTU2+ server.
 * @param count Request that the server return only up to <code>theCount</code> number of resources, may be NULL
 * @param cutoff Request that the server return only resource versions that were created at or after the given time (inclusive), may be NULL
 * @param iCutoff Request that the server return only resource versions that were created at or after the given time (inclusive), may be NULL
 * @param <T> extends {@link IBaseBundle}
 * @param extraParameters see {@link ExtraParameters} for a full list of parameters that can be passed, may be NULL
 * @throws IllegalArgumentException If <code>id</code> does not contain at least a resource type and ID
 * @return the {@link IBaseBundle}
 */
public <T extends IBaseBundle> T onInstance(IIdType id, Class<T> returnType, Integer count, Date cutoff, IPrimitiveType<Date> iCutoff, Map<ExtraParameters, Object> extraParameters) {
  IHistoryTyped<T> tiHistoryTyped = client.history().onInstance(id).andReturnBundle(returnType);
  processOptionalParams(count, cutoff, iCutoff, tiHistoryTyped);
  ExtraParameters.process(extraParameters, tiHistoryTyped);
  return tiHistoryTyped.execute();
}
ca.uhn.fhir.rest.gclientIHistoryonInstance

Popular methods of IHistory

  • onServer
  • onType

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getContentResolver (Context)
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • BoxLayout (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • CodeWhisperer alternatives
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