Cohort Builder Programme Enrollment Searches

I am currently working on issue CB-32 (Program enrollment component search) and I have a bit of confusion with two of the program enrollment status searches I’m supposed to implement.

I was wondering what the difference is between the two search fields In the programme and Enrolled in the programme as shown below.

cc @darius @dkayiwa
I need your opinion on this, maybe you could shed more light incase I’m missing anything.

Hmm I guess we needed clearer naming.

“In the program” is supposed to mean “was in the program at any point in the period”

“Enrolled in…” means that their program.enrollmentDate falls within the period.

“Completed in…” means that the end date falls within the period.

Does that make sense?

-Darius (by phone)

Yes @darius It makes sense.

Let me take another look at it from this perspective. If I have any other concerns I would get back to you.

Thank you.