[SOLVED] How to REST search obs by patient and concept

The REST API says that the obs web service should support search by patient and concept, but it does not seem to be working. The following GET query: http://uat01.openmrs.org:8080/openmrs/ws/rest/v1/obs?patient=86419a11-7955-4a53-b75f-1fdf13b372dd returns a lot of obs, but when I add the concept parameter to the query the results is empty: http://uat01.openmrs.org:8080/openmrs/ws/rest/v1/obs?patient=86419a11-7955-4a53-b75f-1fdf13b372dd&concept=af74a20c-3de2-4edc-aec8-e1aef83038a4

Does the above syntax look correct? Am I missing something else? Or, there is a bug with the Obs SearchHandler I should investigate? Thanks.

Sorry, I got the wrong concept UUID. This works fine: http://uat01.openmrs.org:8080/openmrs/ws/rest/v1/obs?patient=86419a11-7955-4a53-b75f-1fdf13b372dd&concept=5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

1 Like