Class IncludesUtil
- java.lang.Object
-
- org.linuxforhealth.fhir.search.parameters.IncludesUtil
-
public class IncludesUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IncludesUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.String>computeIncludesParamValues(java.lang.String baseResourceType, java.util.Set<java.lang.String> resourceTypesToInclude, SearchHelper searchHelper)Computes the list of supported include parameter values that target resource types from the passed set of resourceTypesToInclude.(package private) static java.util.Map<ResourceType,java.util.List<java.lang.String>>getSearchCodesByType(java.lang.String compartmentMemberType, SearchHelper searchHelper)
-
-
-
Method Detail
-
computeIncludesParamValues
public static java.util.List<java.lang.String> computeIncludesParamValues(java.lang.String baseResourceType, java.util.Set<java.lang.String> resourceTypesToInclude, SearchHelper searchHelper) throws java.lang.ExceptionComputes the list of supported include parameter values that target resource types from the passed set of resourceTypesToInclude.- Parameters:
baseResourceType-resourceTypesToInclude-searchHelper-- Returns:
- The list of values to use for the _include search parameter.
- Throws:
java.lang.Exception
-
getSearchCodesByType
static java.util.Map<ResourceType,java.util.List<java.lang.String>> getSearchCodesByType(java.lang.String compartmentMemberType, SearchHelper searchHelper) throws java.lang.Exception
- Parameters:
compartmentMemberType-searchHelper-- Returns:
- a map from resource target type to the list of reference search parameter codes that can target that type
- Throws:
java.lang.Exception
-
-