Charles, Banka | #1348 | Taking default visit type from open visit. Otherwise throw error if not configured