fixed the bug while we are doing conclude visit from opd as admit and not admitting patient in ipd still treated as admitted patient