Class BaseSearchParamExtractor.CompositeExtractor

java.lang.Object
ca.uhn.fhir.jpa.searchparam.extractor.BaseSearchParamExtractor.CompositeExtractor
Enclosing class:
BaseSearchParamExtractor

Extractor for composite SPs. Extracts elements, and then recurses and applies extractors for each component SP using the element as the new root.
  • Constructor Details

    • CompositeExtractor

      public CompositeExtractor(org.hl7.fhir.instance.model.api.IBaseResource theResource)
  • Method Details

    • extract

      public void extract(ISearchParamExtractor.SearchParamSet<ResourceIndexedSearchParamComposite> theParams, ca.uhn.fhir.context.RuntimeSearchParam theCompositeSearchParam, org.hl7.fhir.instance.model.api.IBase theValue, String thePath, boolean theWantLocalReferences)
      Extract the subcomponent index data for each component of a composite SP from an IBase element.
      Parameters:
      theParams - will add 1 or 0 ResourceIndexedSearchParamComposite instances for theValue
      theCompositeSearchParam - the composite SP
      theValue - the focus element for the subcomponent extraction
      thePath - unused api param
      theWantLocalReferences - passed down to reference extraction