Hi @Swammer,
These are couple of things:
- I can be wrong but I’d use Condition occurrence as initial event instead of Visit (more knowledge about your data is needed)
- You specified cohort_start_date, but didn’t do it for cohort_end_date. By default observation_period_end_date is used for it. Records are then collapsed to some union period (cohort era overlapping is not allowed). Change cohort Exit criteria.
I only added cohort end for 1 showcase as well as used Condition domain as proxy
and run on data. Number of records is 2-3 times person count in both designs.
Here You can find more profound talks about the logic of builder