nehav39 / intelehealth-openmrs-module

Mozilla Public License 2.0
1 stars 1 forks source link

Find patient screen should have a list of all patients (like a alphabetized list) #75

Closed nehav39 closed 6 years ago

hardikk08 commented 6 years ago

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.

nehav39 commented 6 years ago

Not possible.

hardikk08 commented 6 years ago

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.

image

nehav39 commented 6 years ago

Not possible.