Arathy, Angshu | #1671 | changed result association to encounters in case of closed visit