Qustionnaires Unliked Patient filter

This commit is contained in:
2026-05-06 01:58:01 +01:00
parent 51864267d7
commit e3a1ef78cf
12 changed files with 17 additions and 10042 deletions

View File

@@ -754,8 +754,8 @@ def _apply_value_replacement(value, replacements):
return value
for value_before, value_after in replacements:
# bool est une sous-classe de int en Python (True == 1, False == 0),
# donc on bloque le match si l'un est bool et pas l'autre.
# bool is a subclass of int in Python (True == 1, False == 0):
# reject the match if one side is bool and the other is not.
if isinstance(value, bool) != isinstance(value_before, bool):
continue
if value == value_before: