angshu | #1325 | changed search to query bahmnicore/patient/ instead of ws/visit resource, changed implementation altogether