Class FhirEndpointConfiguration<AuditDatasetType extends FhirAuditDataset>


@UriParams public class FhirEndpointConfiguration<AuditDatasetType extends FhirAuditDataset> extends AuditableEndpointConfiguration
Configuration of a FHIR endpoint instance
Since:
3.1
Author:
Christian Ohr
  • Constructor Details

  • Method Details

    • getAndRemoveOrResolveReferenceParameters

      public <T> List<T> getAndRemoveOrResolveReferenceParameters(FhirComponent<AuditDatasetType> component, Map<String,Object> parameters, String key, Class<T> type)
    • getRestfulClientFactory

      public SslAwareAbstractRestfulClientFactory<?> getRestfulClientFactory()
    • getClientRequestFactory

      public <T extends IClientExecutable<?, ?>> ClientRequestFactory<T> getClientRequestFactory()
    • setConnectTimeout

      public void setConnectTimeout(int connectTimeout)
    • setConnectRequestTimeout

      public void setConnectRequestTimeout(int connectTimeout)
    • setTimeout

      public void setTimeout(int timeout)
    • setPoolSize

      public void setPoolSize(int poolSize)
    • setDisableServerValidation

      public void setDisableServerValidation(boolean disableServerValidation)
      By default, the client will query the server before the very first operation to download the server's conformance/metadata statement and verify that the server is appropriate for the given client. This check is only done once per server endpoint for a given FhirContext and is useful to prevent bugs or unexpected behaviour when talking to servers.

      It may introduce unneccesary overhead however in circumstances where the client and server are known to be compatible. Setting this to true disables this check.

    • getPath

      public String getPath()
    • getContext

      public FhirContext getContext()
    • getServletName

      public String getServletName()
    • getResourceProvider

      public List<? extends FhirProvider> getResourceProvider()
    • getHapiClientInterceptorFactories

      public List<HapiClientInterceptorFactory> getHapiClientInterceptorFactories()
    • getHapiServerInterceptorFactories

      public List<HapiServerInterceptorFactory> getHapiServerInterceptorFactories()
    • isLazyLoadBundles

      public boolean isLazyLoadBundles()
      If this is true, all paging requests are routed into the route (see LazyBundleProvider fo details. Otherwise, all results are fetched once and cached in order to serve subsequent paging requests.
    • isSort

      public boolean isSort()
      If this is true, sorting is executed in the BundleProvider if _sort parameters are provided. The sorting logic is expected to be implemented in FhirSearchParameters implementations. If this is false, the Camel route is expected to return sorted results if the query has requested this.
    • getSecurityInformation

      public FhirSecurityInformation<?> getSecurityInformation()
    • getConsumerSelector

      public Predicate<RequestDetails> getConsumerSelector()
    • isCacheBundles

      public boolean isCacheBundles()
      Only considered if lazyLoadBundles is true. The (partial) results of paging requests are cached so that subsequent requests only fetch resources that have not yet been requested.