angshu,indraneel|925|opd patient modeule. minor restructuring of view code