Question:
Hi guys.
i’m using postman to query openmrs 1.9.11 with web service.
Here is my query openmrs/ws/rest/v1/patient?lastviewed&v=full
but i all the time got { "results": [] }
whatever i do with a patient in openmrs.
I must be missing something.
**
When you look at the patient resource in the REST docs, there no such parameter support : lastviewed , it’s anyway not a Patient property. So it correctly returns an empty result set.
You can always look at our swager Document for all the suported params ,because all the Resources are well documenetd. However , In case you need a specific param that is not supported yet, you can always create a ticket and we can always write a custom search handler for it