Class ReferenceClientParam

java.lang.Object
ca.uhn.fhir.rest.gclient.ReferenceClientParam
All Implemented Interfaces:
IParam

public class ReferenceClientParam extends Object implements IParam
  • Constructor Details

  • Method Details

    • getParamName

      public String getParamName()
      Description copied from interface: IParam
      Returns the name of this parameter
      Specified by:
      getParamName in interface IParam
    • hasChainedProperty

      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<ReferenceClientParam> hasChainedProperty(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();
       
    • hasId

      Match the referenced resource if the resource has the given ID (this can be the logical ID or the absolute URL of the resource)
    • hasId

      Match the referenced resource if the resource has the given ID (this can be the logical ID or the absolute URL of the resource)
    • hasAnyOfIds

      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

      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

      missing

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