Vinay | #1012 | New Visit creation API that decides whether to create a visit or update existing.