Tabnine Logo
ca.uhn.fhir.jpa.searchparam.extractor
Code IndexAdd Tabnine to your IDE (free)

How to use ca.uhn.fhir.jpa.searchparam.extractor

Best Java code snippets using ca.uhn.fhir.jpa.searchparam.extractor (Showing top 20 results out of 315)

origin: jamesagnew/hapi-fhir

public void setUpdatedTime(Date theUpdateTime) {
  setUpdatedTime(stringParams, theUpdateTime);
  setUpdatedTime(numberParams, theUpdateTime);
  setUpdatedTime(quantityParams, theUpdateTime);
  setUpdatedTime(dateParams, theUpdateTime);
  setUpdatedTime(uriParams, theUpdateTime);
  setUpdatedTime(coordsParams, theUpdateTime);
  setUpdatedTime(tokenParams, theUpdateTime);
}
origin: jamesagnew/hapi-fhir

public void findMissingSearchParams(ModelConfig theModelConfig, ResourceTable theEntity, Set<Entry<String, RuntimeSearchParam>> theActiveSearchParams) {
  findMissingSearchParams(theModelConfig, theEntity, theActiveSearchParams, RestSearchParameterTypeEnum.STRING, stringParams);
  findMissingSearchParams(theModelConfig, theEntity, theActiveSearchParams, RestSearchParameterTypeEnum.NUMBER, numberParams);
  findMissingSearchParams(theModelConfig, theEntity, theActiveSearchParams, RestSearchParameterTypeEnum.QUANTITY, quantityParams);
  findMissingSearchParams(theModelConfig, theEntity, theActiveSearchParams, RestSearchParameterTypeEnum.DATE, dateParams);
  findMissingSearchParams(theModelConfig, theEntity, theActiveSearchParams, RestSearchParameterTypeEnum.URI, uriParams);
  findMissingSearchParams(theModelConfig, theEntity, theActiveSearchParams, RestSearchParameterTypeEnum.TOKEN, tokenParams);
}
origin: jamesagnew/hapi-fhir

protected Set<ResourceIndexedSearchParamDate> extractSearchParamDates(ResourceTable theEntity, IBaseResource theResource) {
  return mySearchParamExtractor.extractSearchParamDates(theEntity, theResource);
}
origin: jamesagnew/hapi-fhir

  SubscriptionMatchResult match(String criteria, IBaseResource resource) {
    ResourceTable entity = new ResourceTable();
    String resourceType = myContext.getResourceDefinition(resource).getName();
    entity.setResourceType(resourceType);
    ResourceIndexedSearchParams searchParams = new ResourceIndexedSearchParams();
    mySearchParamExtractorService.extractFromResource(searchParams, entity, resource);
    myResourceLinkExtractor.extractResourceLinks(searchParams, entity, resource, resource.getMeta().getLastUpdated(), myInlineResourceLinkResolver, false);
    return myCriteriaResourceMatcher.match(criteria, resource, searchParams);
  }
}
origin: jamesagnew/hapi-fhir

@Bean(autowire = Autowire.BY_TYPE)
public SearchParamExtractorR4 searchParamExtractor() {
  return new SearchParamExtractorR4();
}
origin: jamesagnew/hapi-fhir

@Bean(autowire = Autowire.BY_TYPE)
public SearchParamExtractorDstu3 searchParamExtractor() {
  return new SearchParamExtractorDstu3();
}
origin: jamesagnew/hapi-fhir

private ResourceLink createResourceLink(ResourceTable theEntity, Date theUpdateTime, IResourceLinkResolver theResourceLinkResolver, RuntimeSearchParam nextSpDef, String theNextPathsUnsplit, PathAndRef nextPathAndRef, IIdType theNextId, String theTypeString, Class<? extends IBaseResource> theType, String theId) {
  ResourceTable targetResource = theResourceLinkResolver.findTargetResource(nextSpDef, theNextPathsUnsplit, theNextId, theTypeString, theType, theId);
  if (targetResource == null) return null;
  ResourceLink resourceLink = new ResourceLink(nextPathAndRef.getPath(), theEntity, targetResource, theUpdateTime);
  return resourceLink;
}
origin: jamesagnew/hapi-fhir

public boolean isLogicalReference(IIdType theId) {
  return LogicalReferenceHelper.isLogicalReference(myConfig.getModelConfig(), theId);
}
origin: jamesagnew/hapi-fhir

protected Set<ResourceIndexedSearchParamQuantity> extractSearchParamQuantity(ResourceTable theEntity, IBaseResource theResource) {
  return mySearchParamExtractor.extractSearchParamQuantity(theEntity, theResource);
}
origin: jamesagnew/hapi-fhir

protected Set<ResourceIndexedSearchParamCoords> extractSearchParamCoords(ResourceTable theEntity, IBaseResource theResource) {
  return mySearchParamExtractor.extractSearchParamCoords(theEntity, theResource);
}
origin: jamesagnew/hapi-fhir

protected Set<BaseResourceIndexedSearchParam> extractSearchParamTokens(ResourceTable theEntity, IBaseResource theResource) {
  return mySearchParamExtractor.extractSearchParamTokens(theEntity, theResource);
}
origin: jamesagnew/hapi-fhir

protected Set<ResourceIndexedSearchParamUri> extractSearchParamUri(ResourceTable theEntity, IBaseResource theResource) {
  return mySearchParamExtractor.extractSearchParamUri(theEntity, theResource);
}
origin: jamesagnew/hapi-fhir

protected Set<ResourceIndexedSearchParamNumber> extractSearchParamNumber(ResourceTable theEntity, IBaseResource theResource) {
  return mySearchParamExtractor.extractSearchParamNumber(theEntity, theResource);
}
origin: jamesagnew/hapi-fhir

protected Set<ResourceIndexedSearchParamString> extractSearchParamStrings(ResourceTable theEntity, IBaseResource theResource) {
  return mySearchParamExtractor.extractSearchParamStrings(theEntity, theResource);
}
origin: jamesagnew/hapi-fhir

@Bean(autowire = Autowire.BY_TYPE)
public SearchParamExtractorDstu2 searchParamExtractor() {
  return new SearchParamExtractorDstu2();
}
origin: jamesagnew/hapi-fhir

private void extractTokensFromCodeableConcept(List<String> theSystems, List<String> theCodes, CodeableConceptDt theCodeableConcept, ResourceTable theEntity, Set<BaseResourceIndexedSearchParam> theListToPopulate, RuntimeSearchParam theParameterDef) {
  for (CodingDt nextCoding : theCodeableConcept.getCoding()) {
    extractTokensFromCoding(theSystems, theCodes, theEntity, theListToPopulate, theParameterDef, nextCoding);
  }
}
origin: jamesagnew/hapi-fhir

private void extractTokensFromCodeableConcept(List<String> theSystems, List<String> theCodes, CodeableConcept theCodeableConcept, ResourceTable theEntity,
                               Set<BaseResourceIndexedSearchParam> theListToPopulate, RuntimeSearchParam theParameterDef) {
  for (Coding nextCoding : theCodeableConcept.getCoding()) {
    extractTokensFromCoding(theSystems, theCodes, theEntity, theListToPopulate, theParameterDef, nextCoding);
  }
}
origin: jamesagnew/hapi-fhir

private void extractTokensFromCodeableConcept(List<String> theSystems, List<String> theCodes, CodeableConcept theCodeableConcept, ResourceTable theEntity,
                               Set<BaseResourceIndexedSearchParam> theListToPopulate, RuntimeSearchParam theParameterDef) {
  for (Coding nextCoding : theCodeableConcept.getCoding()) {
    extractTokensFromCoding(theSystems, theCodes, theEntity, theListToPopulate, theParameterDef, nextCoding);
  }
}
origin: jamesagnew/hapi-fhir

@Bean(autowire = Autowire.BY_TYPE)
public SearchParamExtractorR4 searchParamExtractor() {
  return new SearchParamExtractorR4();
}
origin: jamesagnew/hapi-fhir

@Bean(autowire = Autowire.BY_TYPE)
public SearchParamExtractorDstu3 searchParamExtractor() {
  return new SearchParamExtractorDstu3();
}
ca.uhn.fhir.jpa.searchparam.extractor

Most used classes

  • ResourceIndexedSearchParams
  • ResourceLinkExtractor
  • SearchParamExtractorDstu3
  • SearchParamExtractorR4
  • SearchParamExtractorService
  • SearchParamExtractorDstu2,
  • BaseSearchParamExtractor,
  • IResourceLinkResolver,
  • ISearchParamExtractor,
  • PathAndRef,
  • SearchParamExtractorR4$SearchParamExtractorR4HostServices
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