[#CSM- 10] Add different indexing policies

Supported indexing patient data without specifying a particular patient, and showing progress in the UI as the process goes on