diff --git a/eb_dashboard.py b/eb_dashboard.py index 88a6993..cf03856 100644 --- a/eb_dashboard.py +++ b/eb_dashboard.py @@ -1238,9 +1238,9 @@ def get_all_questionnaires_by_patient(patient_id, record_data): # patient_id, the questionnaire is considered unlinked → clear answers # to prevent use of orphaned data. # (disable: comment out the block below) - answers_patient = answers.get("subject") if isinstance(answers, dict) else None - if not answers_patient or answers_patient != patient_id: - answers = {} + #answers_patient = answers.get("subject") if isinstance(answers, dict) else None + #if not answers_patient or answers_patient != patient_id: + # answers = {} # ──────────────────────────────────────────────────────────────────────── if q_id: