Closed nehav39 closed 6 years ago
Not possible.
I don't remember why we opened this. Querying the patient using alphabets also returns empty array. Patient can only be queried using uuid or minimum 3 letters from his/her name The 2nd condition is what I figured out when trying to understand how find patient fragment works and by reading its code. Even rest return empty array on words less than 3 character.
Not possible.
https://talk.openmrs.org/t/gettting-all-results-from-rest-api-returns-empty-array/2622/2?u=hardikk08
So apparently the back end doesn't allows querying all the patients at once to avoid overloading the server. Reporting module is developed for that purpose as Darius said.