Interface IQuery<Y>

    • Method Detail

      • count

        IQuery<Ycount​(int theCount)
        Specifies the _count parameter, which indicates to the server how many resources should be returned on a single page.
        Since:
        1.4
      • include

        IQuery<Yinclude​(Include theInclude)
        Add an "_include" specification or an "_include:recurse" specification. If you are using a constant from one of the built-in structures you can select whether you want recursive behaviour by using the following syntax:
        • Recurse: .include(Patient.INCLUDE_ORGANIZATION.asRecursive())
        • No Recurse: .include(Patient.INCLUDE_ORGANIZATION.asNonRecursive())
      • lastUpdated

        IQuery<YlastUpdated​(DateRangeParam theLastUpdated)
        Add a "_lastUpdated" specification
        Since:
        HAPI FHIR 1.1 - Note that option was added to FHIR itself in DSTU2
      • limitTo

        @Deprecated
        IQuery<YlimitTo​(int theLimitTo)
        Deprecated.
        This parameter is badly named, since FHIR calls this parameter "_count" and not "_limit". Use count(int) instead (it also sets the _count parameter)
        Specifies the _count parameter, which indicates to the server how many resources should be returned on a single page.
      • returnBundle

        <B extends IBaseBundleIQuery<B> returnBundle​(Class<B> theClass)
        Request that the client return the specified bundle type, e.g. org.hl7.fhir.dstu2.model.Bundle.class or ca.uhn.fhir.model.dstu2.resource.Bundle.class
      • totalMode

        IQuery<YtotalMode​(SearchTotalModeEnum theTotalMode)
        Request that the server modify the response using the _total param THIS IS AN EXPERIMENTAL FEATURE - Use with caution, as it may be removed or modified in a future version.
      • revInclude

        IQuery<YrevInclude​(Include theIncludeTarget)
        Add a "_revinclude" specification
        Since:
        HAPI FHIR 1.0 - Note that option was added to FHIR itself in DSTU2
      • withAnyProfile

        IQuery<YwithAnyProfile​(Collection<String> theProfileUris)
        Matches any of the profiles given as argument. This would result in an OR search for resources matching one or more profiles. To do an AND search, make multiple calls to withProfile(String).
        Parameters:
        theProfileUris - The URIs of a given profile to search for resources which match.
      • withProfile

        IQuery<YwithProfile​(String theProfileUri)
        Match only resources where the resource has the given profile declaration. This parameter corresponds to the _profile URL parameter.
        Parameters:
        theProfileUri - The URI of a given profile to search for resources which match
      • withSecurity

        IQuery<YwithSecurity​(String theSystem,
                               String theCode)
        Match only resources where the resource has the given security tag. This parameter corresponds to the _security URL parameter.
        Parameters:
        theSystem - The tag code system, or null to match any code system (this may not be supported on all servers)
        theCode - The tag code. Must not be null or empty.
      • withTag

        IQuery<YwithTag​(String theSystem,
                          String theCode)
        Match only resources where the resource has the given tag. This parameter corresponds to the _tag URL parameter.
        Parameters:
        theSystem - The tag code system, or null to match any code system (this may not be supported on all servers)
        theCode - The tag code. Must not be null or empty.