Add index to DB for REST API performance and fixed duplicate records issue in getPatientStudy