- Change the way first diagnosis date (which is the index event) was selected. Now it is the first (min DIAGNOSIS_ID)
- Change the way first diagnosis date (which is the index event) was selected. Now it is the first (min DIAGNOSIS_ID)

MTFA/CohortEx,pmadril/CohortEx