We are finding a need to create custom search queries for Obs in this case being able to query all the obs that match a specific concept and value without having to specify a patient, ie for all patients.
From my little webservice knowledge, I would think that adding /obscustom should work as an additional mapping for the Obs class, but I have been told that this is not possible. Is this planned support in the future?
The crude way of dealing with this would be to create a CustomObs class that extends Obs class, and resources without having any additional implementation but it does not feel clean
I’m not sure if I’m completely understanding your question, but are you aware that we support letting modules add custom “search handlers” to a resource, which will be triggered based on the combination of parameters that you pass to the query?