arkhn / Cohort360

A web application to find patients, build cohorts and visualize data
Apache License 2.0
0 stars 0 forks source link

Ne pas inclure les patients opposés lors de la création d'une cohorte #76

Open MiskoG opened 3 years ago

MiskoG commented 3 years ago

Don't know if it's really a bug or if we did that on purpose.

How to reproduce :

1) From the DPO Portal, add a Consent opposition for a patient (right now on demo : Henriette HEBERT)

2) Then in Cohort, start a new cohort on the Psychiatrie perimeter, with a full text search criteria "tracheobronchomalacia"

3) There are 9 patients including our Henriette HEBERT. When we go in the patient list, she doesn't appear (there are 8 patients) which is cool, but she shouldn't have been included in the first place 🙈

MiskoG commented 3 years ago

(removing opposed patients from already existing cohorts is an other subject, maybe an edge case that we can just forget by now)

simonvadee commented 3 years ago

can you confirm that this happens only when using "full-text search" criterias ? If that's the case, it's not an easy fix because the regex search is really dumb for now (and very custom, not well integrated into hapi) so it's hard taking permissions into account.