fixed the bug search of patient in triage and opd queue