added support in searchMedicalRecord for attended search field