code: public ICriterion<ReferenceClientParam> hasChainedProperty(String theResourceType, ICriterion<?> theCriterion) {
  		return new ReferenceChainCriterion(getParamName(), theResourceType, theCriterion);
  	}
docs: Include a chained search with a resource type. For example:
  <pre>
  Bundle resp = ourClient
  .search()
  .forResource(QuestionnaireResponse.class)
  .where(QuestionnaireResponse.SUBJECT.hasChainedProperty("Patient", Patient.FAMILY.matches().value("SMITH")))
  .returnBundle(Bundle.class)
  .execute();
  </pre>