aarthy, angshu | #1671 | not creating visit type LAB_VISIT_IN_ABSENTEE, creating visit and setting end date only if the date is not today's date