Is it possible to search on reference type only?

I’d like to search for all observation performed by patients. Is it possible?

I’m using HAPI FHIR JPA Server 5.1.0 which does not support the negation, which could have been a work around in our case.

I’ve tried:

  • performer=Patient
  • performer=Patient/*
  • performer:Patient=*
  • performer:Patient
  • performer:Patient.gender:missing=false
  • performer:Patient.gender:missing=true

I’ve found out that some parameters :missing need to be somehow activated (though there is no info of this in the result, if it’s a subquery like the one above), and that if done, it will have a bad performance (see dao docs)

What is the best way of searching for patient made observations?