Bundle response = client.search()
.forResource("Observation")
.where(....)
.returnBundle(Bundle.class)
.execute();
Searched a whole while and still can not get the answer. I am using hapi fhir http://hapifhir.io/, and using Java.