Vinay | #1012 | New Visit creation API that decides whether to create a visit or update existing.
Get and Save encounterdata based on visittype, encountertype and patient.