Interesting I didn’t know about that feature, but it comes from the
registrationcore module (this code).
If you’re an advanced dev I would suggest trying to debug the server-side code for this search handler and see what’s going on.
Otherwise, most of the patient searching functionality is in the
reporting module (with
reportingrest) though I’m not sure if searching by address is supported. And its API is a bit different, because it’s going to return references to patients rather than the whole patients themselves.
(Just thinking about this now, I guess it would be a nice feature to include a Search Handler in the reporting module that lets the
patient resource run reporting cohort queries…)