fixed the bug not showing current ipd admission