Class MdmSearchParamSvc

java.lang.Object
ca.uhn.fhir.mdm.svc.MdmSearchParamSvc

@Service public class MdmSearchParamSvc extends Object
  • Constructor Details

  • Method Details

    • mapFromCriteria

      public ca.uhn.fhir.jpa.searchparam.SearchParameterMap mapFromCriteria(String theResourceType, String theResourceCriteria)
    • getValueFromResourceForSearchParam

      public List<String> getValueFromResourceForSearchParam(org.hl7.fhir.instance.model.api.IBaseResource theResource, String theSearchParam)
    • getSearchParameterMapFromCriteria

      public ca.uhn.fhir.jpa.searchparam.SearchParameterMap getSearchParameterMapFromCriteria(String theSourceType, @Nullable String theCriteria)
      Given a source type, and a criteria string of the shape name=xinvalid input: '&birthDate'=y, generate a SearchParameterMap that represents this query.
      Parameters:
      theSourceType - the resource type to execute the search on
      theCriteria - the string search criteria.
      Returns:
      the generated SearchParameterMap, or an empty one if there is no criteria.
    • generateSearchBuilderForType

    • searchParamTypeIsValidForResourceType

      public boolean searchParamTypeIsValidForResourceType(String theSearchParamType, String theResourceType)
      Will return true if the types match, or the search param type is '*', otherwise false.
      Parameters:
      theSearchParamType -
      theResourceType -
      Returns: