From e6bc2be14e8f69902a5d3f457a80864c6eac7cda Mon Sep 17 00:00:00 2001 From: Alfred-Mutai Date: Wed, 23 Apr 2025 13:34:58 +0300 Subject: [PATCH] POC-982: Elicited Contacts Displaying Blank Family History Fields on Patient Banner --- app/family-history/family-history.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/family-history/family-history.service.js b/app/family-history/family-history.service.js index bd37858e4..50acbc27a 100644 --- a/app/family-history/family-history.service.js +++ b/app/family-history/family-history.service.js @@ -247,7 +247,7 @@ export class FamilyTestingService { patient_uuid = '${params.patientUuid}' and fm_age < 20) t2 ON (t1.patient_id = t2.patient_id) - where tx.patient_uuid = '${params.patientUuid}' ${appendWhereClause}`; + where t1.date_elicited is not null and tx.patient_uuid = '${params.patientUuid}' ${appendWhereClause}`; /* 1.eligible_for_tracing = 0, not eligible for testing 2.eligible_for_tracing = 1, traced and tested