Class ReferenceClientParam

    • Method Detail

      • hasChainedProperty

        public ICriterion<ReferenceClientParamhasChainedProperty​(ICriterion<?> theCriterion)
        Include a chained search. For example:
         Bundle resp = ourClient
           .search()
           .forResource(QuestionnaireResponse.class)
           .where(QuestionnaireResponse.SUBJECT.hasChainedProperty(Patient.FAMILY.matches().value("SMITH")))
           .returnBundle(Bundle.class)
           .execute();
         
      • hasChainedProperty

        public ICriterion<ReferenceClientParamhasChainedProperty​(String theResourceType,
                                                                   ICriterion<?> theCriterion)
        Include a chained search with a resource type. For example:
         Bundle resp = ourClient
           .search()
           .forResource(QuestionnaireResponse.class)
           .where(QuestionnaireResponse.SUBJECT.hasChainedProperty("Patient", Patient.FAMILY.matches().value("SMITH")))
           .returnBundle(Bundle.class)
           .execute();
         
      • hasAnyOfIds

        public ICriterion<ReferenceClientParamhasAnyOfIds​(Collection<String> theIds)
        Match the referenced resource if the resource has ANY of the given IDs (this is an OR search, not an AND search), (this can be the logical ID or the absolute URL of the resource). Note that to specify an AND search, simply add a subsequent where criteria with the same parameter.
      • hasAnyOfIds

        public ICriterion<ReferenceClientParamhasAnyOfIds​(String... theIds)
        Match the referenced resource if the resource has ANY of the given IDs (this is an OR search, not an AND search), (this can be the logical ID or the absolute URL of the resource). Note that to specify an AND search, simply add a subsequent where criteria with the same parameter.
      • isMissing

        public ICriterion<?> isMissing​(boolean theMissing)
        Description copied from interface: IParam
        Sets the :missing qualifier for this parameter. Set this to true to indicate that the server should return resources with this value

        populated

        . Set this to false to indicate that the server should return resources with this value missing.
        Specified by:
        isMissing in interface IParam