Interface FHIRSearchContext

    • Method Detail

      • getSearchResourceTypes

        List<String> getSearchResourceTypes()
      • setSearchResourceTypes

        void setSearchResourceTypes​(List<String> searchResourceTypes)
      • setSearchParameters

        void setSearchParameters​(List<QueryParameter> searchParameters)
      • hasSortParameters

        boolean hasSortParameters()
      • hasIncludeParameters

        boolean hasIncludeParameters()
      • hasRevIncludeParameters

        boolean hasRevIncludeParameters()
      • getElementsParameters

        List<String> getElementsParameters()
        Get the list of element names requested to be included in the returned resources.
        Returns:
        a list of strings or null to indicate that there is currently no elements filter associated with the search
      • setElementsParameters

        void setElementsParameters​(List<String> elementsToInclude)
        Set the list of element names requested to be included in the returned resources. An empty list of strings will indicate that only mandatory elements should be included in the search result. Null is used to represent "no filter".
      • hasElementsParameters

        boolean hasElementsParameters()
        Returns:
        true when the elements parameter is not null
      • addElementsParameter

        void addElementsParameter​(String elementToInclude)
        Parameters:
        elementToInclude -
      • hasSummaryParameter

        boolean hasSummaryParameter()
        Returns:
        true when the summary parameter is not null
      • getSummaryParameter

        SummaryValueSet getSummaryParameter()
        Get the summary parameter.
        Returns:
        the value of the summary parameter
      • setSummaryParameter

        void setSummaryParameter​(SummaryValueSet summary)
        Set the value of the summary parameter.
        Parameters:
        summary - the value
      • hasTotalParameter

        boolean hasTotalParameter()
        Returns:
        true when the total parameter is not null
      • getTotalParameter

        TotalValueSet getTotalParameter()
        Get the total parameter.
        Returns:
        the value of the total parameter
      • setTotalParameter

        void setTotalParameter​(TotalValueSet total)
        Set the value of the total parameter.
        Parameters:
        total - the value