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